On 8/10/21 10:18 PM, Mike Rapoport wrote:
- return ioremap_prot(paddr, size, pgprot_val(PAGE_KERNEL_NO_CACHE)); + return ioremap_prot(paddr, size, + pgprot_val(pgprot_noncached(PAGE_KERNEL)));But this becomes _PAGE_CACHEABLE now. What did I miss?
We now use pgprot_noncached()arch/arc/include/asm/pgtable.h:30:#define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CACHEABLE))
-Vineet