Message ID | 20240911015425.1253171-3-koichiro.den@canonical.com |
---|---|
State | New |
Headers | show |
Series | [SRU,J,1/1] ARM: 9359/1: flush: check if the folio is reserved for no-mapping addresses | expand |
diff --git a/arch/arm/mm/flush.c b/arch/arm/mm/flush.c index 7ff9feea13a6..b19ecc307ad4 100644 --- a/arch/arm/mm/flush.c +++ b/arch/arm/mm/flush.c @@ -280,6 +280,8 @@ void __sync_icache_dcache(pte_t pteval) return; page = pfn_to_page(pfn); + if (PageReserved(page)) + return; if (cache_is_vipt_aliasing()) mapping = page_mapping_file(page); else