summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-03-19 15:06:11 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-03-19 15:06:11 +0000
commitb42b3ae1699e071b2bf04b0d499b7479334465a3 (patch)
tree04665807a569651aaf8e76c4a829fa74c169bec7 /arch/arm
parentb36e78b216e632d90138751e4ff80044de303656 (diff)
parent0c66c6f4e21cb22220cbd8821c5c73fc157d20dc (diff)
Merge branches 'misc' and 'fixes' into for-linus
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mm/flush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mm/flush.c b/arch/arm/mm/flush.c
index d19d140a10c7..0749cf8a6637 100644
--- a/arch/arm/mm/flush.c
+++ b/arch/arm/mm/flush.c
@@ -296,6 +296,9 @@ void __sync_icache_dcache(pte_t pteval)
return;
folio = page_folio(pfn_to_page(pfn));
+ if (folio_test_reserved(folio))
+ return;
+
if (cache_is_vipt_aliasing())
mapping = folio_flush_mapping(folio);
else