Subject: Re: [PATCH v2 2/5] KVM: arm64: Support set the DBM attr during memory abort

From: Marc Zyngier <[email-masked]>
Date: Sat, 22 Nov 2025 12:54:15 +0000

On Fri, 21 Nov 2025 09:23:39 +0000,
Tian Zheng <[email-masked]> wrote:
> 
> From: eillon <[email-masked]>
> 
> Add DBM support to automatically promote write-clean pages to
> write-dirty, preventing users from being trapped in EL2 due to
> missing write permissions.
> 
> Since the DBM attribute was introduced in ARMv8.1 and remains
> optional in later architecture revisions, including ARMv9.5.

What is the relevance of this statement?

> 
> Support set the DBM attr during user_mem_abort().

I don't think this commit message accurately describes what the code
does. This merely adds support to the page table code to set the DBM
bit in the S2 PTE, and nothing else.

	M.

-- 
Without deviation from the norm, progress is not possible.