diff options
author | Marc Zyngier <maz@kernel.org> | 2025-07-21 13:19:51 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2025-07-21 19:35:57 +0300 |
commit | d9c5c2320156ba4c7ac79db2ea98f4445a18c2e7 (patch) | |
tree | 2af0f051a74a83acc1d1f7cc9c350de28dc21b77 /drivers/fpga/zynq-fpga.c | |
parent | 303084ad12767db64c84ba8fcd0450aec38c8534 (diff) | |
download | linux-d9c5c2320156ba4c7ac79db2ea98f4445a18c2e7.tar.xz |
KVM: arm64: Make RAS registers UNDEF when RAS isn't advertised
We currently always expose FEAT_RAS when available on the host.
As we are about to make this feature selectable from userspace,
check for it being present before emulating register accesses
as RAZ/WI, and inject an UNDEF otherwise.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250721101955.535159-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions