summaryrefslogtreecommitdiff
path: root/arch/sh/Kconfig.cpu
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2020-07-08 19:25:46 +0300
committerWill Deacon <will@kernel.org>2020-07-08 23:35:48 +0300
commit68cf617309b5f6f3a651165f49f20af1494753ae (patch)
tree18e4f45c77c974af20ef7122d3ec7c68e1fd45f3 /arch/sh/Kconfig.cpu
parent9b23d95c539ebc5d6d6b5d6f20d2d7922384e76e (diff)
downloadlinux-68cf617309b5f6f3a651165f49f20af1494753ae.tar.xz
KVM: arm64: Fix definition of PAGE_HYP_DEVICE
PAGE_HYP_DEVICE is intended to encode attribute bits for an EL2 stage-1 pte mapping a device. Unfortunately, it includes PROT_DEVICE_nGnRE which encodes attributes for EL1 stage-1 mappings such as UXN and nG, which are RES0 for EL2, and DBM which is meaningless as TCR_EL2.HD is not set. Fix the definition of PAGE_HYP_DEVICE so that it doesn't set RES0 bits at EL2. Acked-by: Marc Zyngier <maz@kernel.org> Cc: Marc Zyngier <maz@kernel.org> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: James Morse <james.morse@arm.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20200708162546.26176-1-will@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/sh/Kconfig.cpu')
0 files changed, 0 insertions, 0 deletions