Re: [PATCH] drm/ttm: add pgprot handling for RISC-V

2025-07-22 Thread Han Gao
On Tue, Jul 22, 2025 at 7:21 PM Icenowy Zheng wrote: > > The RISC-V Svpbmt privileged extension provides support for overriding > page memory coherency attributes, and, along with vendor extensions like > Xtheadmae, supports pgprot_{writecombine,noncached} on RISC-V. > > Adapt the codepath that ma

[PATCH] drm/ttm: add pgprot handling for RISC-V

2025-07-22 Thread Icenowy Zheng
The RISC-V Svpbmt privileged extension provides support for overriding page memory coherency attributes, and, along with vendor extensions like Xtheadmae, supports pgprot_{writecombine,noncached} on RISC-V. Adapt the codepath that maps ttm_write_combined to pgprot_writecombine and ttm_noncached to