diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-12 16:01:55 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-12 16:01:55 -0500 |
commit | 84886c262ebcfa40751ed508268457af8a20c1aa (patch) | |
tree | 7ae331173c47e822f9cc2ab3539151bfe868a7a4 /arch/arm64/include/asm/esr.h | |
parent | 501cfe06790651af4470d8ca77f162515867cd4d (diff) | |
parent | 50a8d3315960c74095c59e204db44abd937d4b5d (diff) | |
download | linux-stable-84886c262ebcfa40751ed508268457af8a20c1aa.tar.gz linux-stable-84886c262ebcfa40751ed508268457af8a20c1aa.tar.bz2 linux-stable-84886c262ebcfa40751ed508268457af8a20c1aa.zip |
Merge tag 'kvmarm-fixes-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into kvm-master
KVM/arm64 fixes for 5.16, take #1
- Fix the host S2 finalization by solely iterating over the memblocks
instead of the whole IPA space
- Tighten the return value of kvm_vcpu_preferred_target() now that
32bit support is long gone
- Make sure the extraction of ESR_ELx.EC is limited to the architected
bits
- Comment fixups
Diffstat (limited to 'arch/arm64/include/asm/esr.h')
-rw-r--r-- | arch/arm64/include/asm/esr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/esr.h b/arch/arm64/include/asm/esr.h index a305ce256090..d52a0b269ee8 100644 --- a/arch/arm64/include/asm/esr.h +++ b/arch/arm64/include/asm/esr.h @@ -68,6 +68,7 @@ #define ESR_ELx_EC_MAX (0x3F) #define ESR_ELx_EC_SHIFT (26) +#define ESR_ELx_EC_WIDTH (6) #define ESR_ELx_EC_MASK (UL(0x3F) << ESR_ELx_EC_SHIFT) #define ESR_ELx_EC(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT) |