From: Marc Zyngier <maz@kernel.org>
To: Oliver Upton <oupton@kernel.org>
Cc: kvmarm@lists.linux.dev, Joey Gouly <joey.gouly@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Zenghui Yu <yuzenghui@huawei.com>
Subject: Re: [PATCH] KVM: arm64: nv: Respect stage-2 write permssion when setting stage-1 AF
Date: Fri, 09 Jan 2026 11:31:35 +0000 [thread overview]
Message-ID: <86y0m7koo8.wl-maz@kernel.org> (raw)
In-Reply-To: <20260108204230.677172-1-oupton@kernel.org>
On Thu, 08 Jan 2026 20:42:30 +0000,
Oliver Upton <oupton@kernel.org> wrote:
>
> Naturally, updating the Access Flag in a stage-1 descriptor requires
> write permission at stage-2, although this isn't actually enforced in
> KVM's software PTW.
>
> Generate a stage-2 permission fault if the stage-1 walk attempts to
> update the descriptor and its corresponding stage-2 translation lacks
> write permission.
>
> Fixes: bff8aa213dee ("KVM: arm64: Implement HW access flag management in stage-1 SW PTW")
> Signed-off-by: Oliver Upton <oupton@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2026-01-09 11:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-08 20:42 [PATCH] KVM: arm64: nv: Respect stage-2 write permssion when setting stage-1 AF Oliver Upton
2026-01-09 11:31 ` Marc Zyngier [this message]
2026-01-10 10:22 ` Oliver Upton
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=86y0m7koo8.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=joey.gouly@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=oupton@kernel.org \
--cc=suzuki.poulose@arm.com \
--cc=yuzenghui@huawei.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox