summary refs log tree commit diff
path: root/Documentation
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2022-12-02 18:51:56 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-03 10:23:54 +0200
commiteb1de0a2347cf1968bf0ee39cbed2239ea9f210a (patch)
tree0bb17c5ce09f17dcc550f07e94184e2e695c275b /Documentation
parent17e188e0feb008bab5f4b083083dff7cdc633ca1 (diff)
downloadlinux-eb1de0a2347cf1968bf0ee39cbed2239ea9f210a.tar.gz
KVM: arm64: Condition HW AF updates on config option
[ Upstream commit 1dfc3e905089a0bcada268fb5691a605655e0319 ]

As it currently stands, KVM makes use of FEAT_HAFDBS unconditionally.
Use of the feature in the rest of the kernel is guarded by an associated
Kconfig option.

Align KVM with the rest of the kernel and only enable VTCR_HA when
ARM64_HW_AFDBM is enabled. This can be helpful for testing changes to
the stage-2 access fault path on Armv8.1+ implementations.

Link: https://lore.kernel.org/r/20221202185156.696189-7-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Stable-dep-of: 6df696cd9bc1 ("arm64: errata: Mitigate Ampere1 erratum AC03_CPU_38 at stage-2")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions