summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2025-02-07 17:54:37 +0300
committerMarc Zyngier <maz@kernel.org>2025-02-09 13:20:38 +0300
commitc53fbdb60fb61fd6bda2bc0dc89837966625c5dc (patch)
tree1ef0e923b101372461b674911d301bf72fa00f73 /scripts/extract-fwblobs
parent0e459810285503fb354537e84049e212c5917c33 (diff)
downloadlinux-c53fbdb60fb61fd6bda2bc0dc89837966625c5dc.tar.xz
KVM: arm64: Improve error handling from check_host_shared_guest()
The check_host_shared_guest() path expects to find a last-level valid PTE in the guest's stage-2 page-table. However, it checks the PTE's level before its validity, which makes it hard for callers to figure out what went wrong. To make error handling simpler, check the PTE's validity first. Signed-off-by: Quentin Perret <qperret@google.com> Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Link: https://lore.kernel.org/r/20250207145438.1333475-2-qperret@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions