Re: [RFC PATCH v2 0/2] KVM: arm64: Add support for BBM level 3

Linu Cherian <[email protected]>
Newsgroups dev.linux.lists.kvmarm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi,

On Thu, Jul 23, 2026 at 06:21:38PM +0000, Mostafa Saleh wrote:
> This patch series adds support for BBM level 3 to KVM pgtable, it
> depends on [1]
> 
> Changes from v1:
> https://lore.kernel.org/all/[email protected]/
> - Limit BBML3 to systems with FWB and DIC and remove race check.
> 
> Motivation
> ==========
> I have been looking into this for the context of:
> - Page table sharing between the host CPU stage-2 and the SMMUv3 for
>   protected KVM.
> - Use the pagtable code to populate SMMUv3 stage-2 shadowed
>   page table [2]
> 
> However, BBM level 3 is still useful for CPU only operations as it
> avoids intermediately breaking translation.
> 
> Design
> ======
> Some of the conditions that BBM level 3 will be useful in (RWHZWS):
> 1) A change to a PTE memory type, shareability, cacheability or OA

Could you please clarify how BBM level 3 is helping this particular scenario ?
This is supposed to be a case where break before make is required.

Thanks,
Linu Cherian.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.