linux-yocto/arch/arm64
Nianyao Tang 23a5773a5d arm64/cpufeatures/kvm: Add ARMv8.9 FEAT_ECBHB bits in ID_AA64MMFR1 register
commit e8cde32f11 upstream.

Enable ECBHB bits in ID_AA64MMFR1 register as per ARM DDI 0487K.a
specification.

When guest OS read ID_AA64MMFR1_EL1, kvm emulate this reg using
ftr_id_aa64mmfr1 and always return ID_AA64MMFR1_EL1.ECBHB=0 to guest.
It results in guest syscall jump to tramp ventry, which is not needed
in implementation with ID_AA64MMFR1_EL1.ECBHB=1.
Let's make the guest syscall process the same as the host.

Signed-off-by: Nianyao Tang <tangnianyao@huawei.com>
Link: https://lore.kernel.org/r/20240611122049.2758600-1-tangnianyao@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[ This fixes performance regressions introduced by commit 4117975672
  ("arm64: errata: Add newer ARM cores to the
  spectre_bhb_loop_affected() lists") for guests running on neoverse v2
  hardware, which supports ECBHB. ]
Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-01 09:47:32 +01:00
..
boot arm64: dts: rockchip: use cs-gpios for spi1 on ringneck 2025-07-24 08:53:13 +02:00
configs arm64: defconfig: mediatek: enable PHY drivers 2025-06-19 15:28:24 +02:00
crypto crypto: arm64/neonbs - fix out-of-bounds access on short input 2024-03-06 14:48:40 +00:00
hyperv arm64/hyperv: Use CPUHP_AP_HYPERV_ONLINE state to fix CPU online sequencing 2023-06-17 23:09:47 +00:00
include arm64/entry: Mask DAIF in cpu_switch_to(), call_on_irq_stack() 2025-08-01 09:47:30 +01:00
kernel arm64/cpufeatures/kvm: Add ARMv8.9 FEAT_ECBHB bits in ID_AA64MMFR1 register 2025-08-01 09:47:32 +01:00
kvm KVM: arm64: Tear down vGIC on failed vCPU creation 2025-04-25 10:45:23 +02:00
lib arm64: insn: Add support for encoding DSB 2025-05-18 08:24:10 +02:00
mm arm64: Restrict pagetable teardown to avoid false warning 2025-06-27 11:09:00 +01:00
net bpf, arm64: Fix address emission with tag-based KASAN enabled 2025-05-22 14:12:25 +02:00
tools arm64: errata: Add workaround for Arm errata 3194386 and 3312417 2024-08-14 13:58:48 +02:00
xen xen/arm: call uaccess_ttbr0_enable for dm_op hypercall 2025-06-19 15:28:46 +02:00
Kbuild
Kconfig arm64: Support ARM64_VA_BITS=52 when setting ARCH_MMAP_RND_BITS_MAX 2025-06-19 15:28:07 +02:00
Kconfig.debug
Kconfig.platforms STM32 STM32MP25 for v6.5, round 1 2023-06-20 22:28:44 +02:00
Makefile arm64: Force position-independent veneers 2024-11-01 01:58:27 +01:00