summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2024-12-02 17:57:29 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2024-12-03 21:10:20 +0300
commitd44679fb954ffea961036ed1aeb7d65035f78489 (patch)
treefab43124bb397ee70e13a7c5e3b2c1e368646539 /tools/perf/scripts/python/export-to-sqlite.py
parent8d09e2d569f6e34301387f24433b42062517ca85 (diff)
downloadlinux-d44679fb954ffea961036ed1aeb7d65035f78489.tar.xz
drivers/virt: pkvm: Don't fail ioremap() call if MMIO_GUARD fails
Calling the MMIO_GUARD hypercall from guests which have not been enrolled (e.g. because they are running without pvmfw) results in -EINVAL being returned. In this case, MMIO_GUARD is not active and so we can simply proceed with the normal ioremap() routine. Don't fail ioremap() if MMIO_GUARD fails; instead WARN_ON_ONCE() to highlight that the pvm environment is slightly wonky. Fixes: 0f1269495800 ("drivers/virt: pkvm: Intercept ioremap using pKVM MMIO_GUARD hypercall") Signed-off-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20241202145731.6422-2-will@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions