On 2022/1/29 3:15, Ira Weiny wrote: > Ah... ok... > > Obviously I've not kept up with the software providers... > > For this use case, can kmap_local_page() work? > > Ira Hi Ira, I applied your patch set on my branch but ibv_reg_mr() with /dev/dax0.0 didn't trigger any warning or panic after enabling DEVMAP_ACCESS_PROTECTION. PS: ibv_reg_mr() calls page_address() in kernel. Do you know if some hardwares(e.g. CPU) need to support PKS feature? how to check the feature on hardwares? or do I need more steps? Best Regards, Xiao Yang