Messages in this thread |  | | Date | Thu, 9 Jul 2026 10:08:47 +0100 | | From | Catalin Marinas <> | | Subject | Re: [PATCH 2/3] drivers/virt: pkvm: Fix end calculation in mmio_guard_ioremap_hook() |
| |
On Wed, Jun 03, 2026 at 11:05:21AM +0000, Mostafa Saleh wrote: > 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>
|  |