[PATCH 07/18] ARC: ioremap: use more commonly used PAGE_KERNEL based uncached flag
Vineet Gupta
vgupta at kernel.org
Wed Aug 11 11:58:27 PDT 2021
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
More information about the linux-snps-arc
mailing list