From: Catalin Marinas <catalin.marinas@arm.com>
To: Mostafa Saleh <smostafa@google.com>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
will@kernel.org, rppt@kernel.org, maz@kernel.org,
aneesh.kumar@kernel.org
Subject: Re: [PATCH 2/3] drivers/virt: pkvm: Fix end calculation in mmio_guard_ioremap_hook()
Date: Thu, 9 Jul 2026 10:08:47 +0100 [thread overview]
Message-ID: <ak9lH3TJst_SBx9I@arm.com> (raw)
In-Reply-To: <20260603110522.3331819-3-smostafa@google.com>
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>
next prev parent reply other threads:[~2026-07-09 9:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-03 11:05 [PATCH 0/3] arm64/coco: Convert pKVM to a CC platform Mostafa Saleh
2026-06-03 11:05 ` [PATCH 1/3] arm64/mm: Simplify SWIOTLB setup in arch_mm_preinit() Mostafa Saleh
2026-06-03 12:27 ` Mike Rapoport
2026-06-03 13:13 ` Mostafa Saleh
2026-06-04 9:03 ` Aneesh Kumar K.V
2026-06-04 8:55 ` Aneesh Kumar K.V
2026-07-09 9:08 ` Catalin Marinas
2026-07-12 15:33 ` Mostafa Saleh
2026-06-03 11:05 ` [PATCH 2/3] drivers/virt: pkvm: Fix end calculation in mmio_guard_ioremap_hook() Mostafa Saleh
2026-07-09 9:08 ` Catalin Marinas [this message]
2026-06-03 11:05 ` [PATCH 3/3] arm64/coco: Add pKVM as a CC platform Mostafa Saleh
2026-06-04 8:59 ` Aneesh Kumar K.V
2026-06-12 8:44 ` Mostafa Saleh
2026-06-12 15:07 ` Aneesh Kumar K.V
2026-07-09 9:10 ` Catalin Marinas
2026-07-09 9:11 ` Catalin Marinas
2026-07-07 8:02 ` [PATCH 0/3] arm64/coco: Convert pKVM to " Aneesh Kumar K.V
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ak9lH3TJst_SBx9I@arm.com \
--to=catalin.marinas@arm.com \
--cc=akpm@linux-foundation.org \
--cc=aneesh.kumar@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=rppt@kernel.org \
--cc=smostafa@google.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.