summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMostafa Saleh <smostafa@google.com>2026-06-03 11:05:21 +0000
committerWill Deacon <will@kernel.org>2026-07-17 18:49:12 +0100
commit62c740f823a8e47ffe56e45a7472c27cf988e2f6 (patch)
tree226e5f7bf6af38bc3df279dca2005167ab6a5b15 /tools/perf/scripts/python
parent26b483d52417253d88a3a01262ac85914a7aec8e (diff)
drivers/virt: pkvm: Fix end calculation in mmio_guard_ioremap_hook()
Sashiko (locally) reports a logical issues in mmio_guard_ioremap_hook() mmio_guard_ioremap_hook() attempts to handle unaligned addresses and sizes. However, aligning the start address before adding the size, might shift the end to the page before. Fixes: 0f1269495800 ("drivers/virt: pkvm: Intercept ioremap using pKVM MMIO_GUARD hypercall") Signed-off-by: Mostafa Saleh <smostafa@google.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions