Quantcast
Channel: Linux | Kernel
Browsing all 165258 articles
Browse latest View live

[PATCH v3 07/23] arm64: KVM: VHE: Patch out use of HVC

With VHE, the host never issues an HVC instruction to get into the KVM code, as we can simply branch there. Use runtime code patching to simplify thi

View Article



[PATCH v3 08/23] arm64: KVM: VHE: Patch out kern_hyp_va

The kern_hyp_va macro is pretty meaninless with VHE, as there is only one mapping - the kernel one. In order to keep the code readable and efficient,

View Article

[PATCH v3 09/23] arm64: KVM: VHE: Introduce unified system register accessors

VHE brings its own bag of new system registers, or rather system register accessors, as it define new ways to access both guest and host system regist

View Article

[PATCH v3 10/23] arm64: KVM: VHE: Differenciate host/guest sysreg save/restore

With ARMv8, host and guest share the same system register file, making the save/restore procedure completely symetrical. With VHE, host and guest now

View Article

[PATCH v3 11/23] arm64: KVM: VHE: Split save/restore of registers shared...

A handful of system registers are still shared between host and guest, even while using VHE (tpidr*_el[01] and actlr_el1). Also, some of the vcpu sta

View Article


[PATCH v3 12/23] arm64: KVM: VHE: Use unified system register accessors

Use the recently introduced unified system register accessors for those sysregs that behave differently depending on VHE being in use or not. Reviewe

View Article

[PATCH v3 13/23] arm64: KVM: VHE: Enable minimal sysreg save/restore

We're now in a position where we can introduce VHE's minimal save/restore, which is limited to the handful of shared sysregs. Add the required altern

View Article

[PATCH v3 14/23] arm64: KVM: VHE: Make __fpsimd_enabled VHE aware

As non-VHE and VHE have different ways to express the trapping of FPSIMD registers to EL2, make __fpsimd_enabled a patchable predicate and provide a V

View Article


[PATCH v3 15/23] arm64: KVM: VHE: Implement VHE activate/deactivate_traps

Running the kernel in HYP mode requires the HCR_E2H bit to be set at all times, and the HCR_TGE bit to be set when running as a host (and cleared when

View Article


[PATCH v3 16/23] arm64: KVM: VHE: Use unified sysreg accessors for timer

Switch the timer code to the unified sysreg accessors. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.

View Article

[PATCH nf-next] netfilter: nf_defrag_ipv4: Drop redundant ip_send_check()

Since commit 0848f6428ba3 ("inet: frags: fix defragmented packet's IP header for af_packet"), ip_send_check() would be called twice for defragmentatio

View Article

[PATCH v3 17/23] arm64: KVM: VHE: Add fpsimd enabling on guest access

Despite the fact that a VHE enabled kernel runs at EL2, it uses CPACR_EL1 to trap FPSIMD access. Add the required alternative code to re-enable guest

View Article

[PATCH v3 18/23] arm64: KVM: VHE: Add alternative panic handling

As the kernel fully runs in HYP when VHE is enabled, we can directly branch to the kernel's panic() implementation, and not perform an exception retur

View Article


[PATCH v3 19/23] arm64: KVM: Move most of the fault decoding to C

The fault decoding process (including computing the IPA in the case of a permission fault) would be much better done in C code, as we have a reasonabl

View Article

[PATCH v3 20/23] arm64: perf: Count EL2 events if the kernel is running in HYP

When the kernel is running in HYP (with VHE), it is necessary to include EL2 events if the user requests counting kernel or hypervisor events. Signed

View Article


[PATCH v3 21/23] arm64: hw_breakpoint: Allow EL2 breakpoints if running in HYP

With VHE, we place kernel {watch,break}-points at EL2 to get things like kgdb and "perf -e mem:..." working. This requires a bit of repainting in the

View Article

[PATCH v3 22/23] arm64: VHE: Add support for running Linux in EL2 mode

With ARMv8.1 VHE, the architecture is able to (almost) transparently run the kernel at EL2, despite being written for EL1. This patch takes care of t

View Article


[PATCH v3 23/23] arm64: Panic when VHE and non VHE CPUs coexist

Having both VHE and non-VHE capable CPUs in the same system is likely to be a recipe for disaster. If the boot CPU has VHE, but a secondary is not, w

View Article

[PATCH v2] MIPS: Octeon: Add Octeon III CN7xxx interface detection

Add basic CN7XXX interface detection. This allows the kernel to boot with ethernet working as it initializes the ethernet ports with SGMII instead of

View Article

[PATCH] coccinelle: bugon: reduce rule applicability

Rule r is only use in org or report mode, so only execute it in those cases. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> --- scripts/coccine

View Article
Browsing all 165258 articles
Browse latest View live




Latest Images