diff options
| author | Marc Zyngier <[email protected]> | 2022-12-22 09:26:31 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2023-01-03 10:01:52 +0000 |
| commit | b8f8d190fa8fa1909dda12d771df67125d6fbf0c (patch) | |
| tree | f8ccf2401296fbef20c69fbb169eaaf9786afb61 /drivers/fpga | |
| parent | KVM: arm64: Fix S1PTW handling on RO memslots (diff) | |
| download | kernel-b8f8d190fa8fa1909dda12d771df67125d6fbf0c.tar.gz kernel-b8f8d190fa8fa1909dda12d771df67125d6fbf0c.zip | |
KVM: arm64: Document the behaviour of S1PTW faults on RO memslots
Although the KVM API says that a write to a RO memslot must result
in a KVM_EXIT_MMIO describing the write, the arm64 architecture
doesn't provide the *data* written by a Stage-1 page table walk
(we only get the address).
Since there isn't much userspace can do with so little information
anyway, document the fact that such an access results in a guest
exception, not an exit. This is consistent with the guest being
terminally broken anyway.
Reviewed-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions
