KVM: arm64: Return EAGAIN for invalid PTE in attr walker
authorOliver Upton <oliver.upton@linux.dev>
Fri, 2 Dec 2022 18:51:53 +0000 (18:51 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 12 Jan 2023 21:09:20 +0000 (21:09 +0000)
commit76259cca479501579b0c524826c25fcc8bb90e97
tree6cdded89f42ae1fe334e452dd53c25a780bceb50
parentddcadb297ce5cc1cec0b0882d8b750e5e06fc9f4
KVM: arm64: Return EAGAIN for invalid PTE in attr walker

Return EAGAIN for invalid PTEs in the attr walker, signaling to the
caller that any serialization and/or invalidation can be elided.

Link: https://lore.kernel.org/r/20221202185156.696189-4-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hyp/pgtable.c