linux-yocto/arch/arm64/kvm/hyp/nvhe
Marc Zyngier afa9b48f32 KVM: arm64: Shave a few bytes from the EL2 idmap code
Our idmap is becoming too big, to the point where it doesn't fit in
a 4kB page anymore.

There are some low-hanging fruits though, such as the el2_init_state
horror that is expanded 3 times in the kernel. Let's at least limit
ourselves to two copies, which makes the kernel link again.

At some point, we'll have to have a better way of doing this.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241009204903.GA3353168@thelio-3990X
2024-10-17 09:17:56 +01:00
..
.gitignore KVM: arm64: Generate hyp relocation data 2021-01-23 14:01:00 +00:00
cache.S KVM: arm64: Provide I-cache invalidation by virtual address at EL2 2022-11-11 17:16:25 +00:00
debug-sr.c KVM: arm64: Exclude host_debug_data from vcpu_arch 2024-04-12 13:57:41 +01:00
early_alloc.c KVM: arm64: Provide {get,put}_page() stubs for early hyp allocator 2021-12-16 12:58:55 +00:00
ffa.c KVM: arm64: Add memory length checks and remove inline in do_ffa_mem_xfer 2024-09-10 21:05:29 +01:00
gen-hyprel.c KVM: arm64: nVHE: gen-hyprel: Skip R_AARCH64_ABS32 2024-06-20 17:40:54 +00:00
host.S KVM: arm64: nVHE: Simplify invalid_host_el2_vect 2024-06-20 17:40:54 +00:00
hyp-init.S KVM: arm64: Shave a few bytes from the EL2 idmap code 2024-10-17 09:17:56 +01:00
hyp-main.c KVM: arm64: Constrain the host to the maximum shared SVE VL with pKVM 2024-10-01 15:25:23 +01:00
hyp-smp.c KVM: arm64: Unmap 'kvm_arm_hyp_percpu_base' from the host 2022-11-11 17:19:35 +00:00
hyp.lds.S KVM: arm64: Introduce a BSS section for use at Hyp 2021-03-19 12:01:20 +00:00
list_debug.c list: Introduce CONFIG_LIST_HARDENED 2023-08-15 14:57:25 -07:00
Makefile KVM: arm64: fix override-init warnings in W=1 builds 2024-08-02 18:58:03 +00:00
mem_protect.c KVM: arm64: Avoid BUG-ing from the host abort path 2024-05-01 16:46:58 +01:00
mm.c KVM: arm64: Fix typos 2024-02-24 09:13:33 +00:00
page_alloc.c mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER 2024-01-08 15:27:15 -08:00
pkvm.c KVM: arm64: Fix __pkvm_init_vcpu cptr_el2 error path 2024-10-01 15:25:23 +01:00
psci-relay.c KVM: arm64: Add accessor for per-CPU state 2024-04-12 13:57:30 +01:00
setup.c KVM: arm64: Fix __pkvm_init_switch_pgd call ABI 2024-06-20 17:40:53 +00:00
stacktrace.c arm64: stacktrace: track hyp stacks in unwinder's address space 2022-09-09 12:30:08 +01:00
switch.c Merge branch kvm-arm64/fpmr into kvmarm-master/next 2024-09-12 08:36:41 +01:00
sys_regs.c KVM: arm64: Replace custom macros with fields from ID_AA64PFR0_EL1 2024-07-04 12:21:12 +01:00
sysreg-sr.c KVM: arm64: Simplify __kvm_enable_ssbs() 2020-11-27 11:32:44 +00:00
timer-sr.c KVM: arm64: Program the timer traps with VHE layout in hVHE mode 2023-06-12 23:17:24 +00:00
tlb.c KVM: arm64: Ensure TLBI uses correct VMID after changing context 2024-08-15 14:05:02 +01:00