[RFC PATCH v5 02/10] iommupt: Add RISC-V dirty tracking PTE ops

Jason Gunthorpe jgg at nvidia.com
Wed Oct 28 08:28:08 PDT 2026


On Tue, 20 Oct 2026 17:40:58 +0800, fangyu.yu at linux.alibaba.com <fangyu.yu at linux.alibaba.com> wrote:
> Implement the three dirty-tracking hooks required by the generic page
> table framework for the RISC-V format:
> 
>   pt_entry_is_write_dirty():
>     Check the D bit (bit 7) in the PTE.
> 
>   pt_entry_make_write_clean():
>     Clear the D bit across the full contiguous range.
> 
> [...]

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

-- 
Jason



More information about the kvm-riscv mailing list