RFC Cache handling updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | ARM: Reduce __flush_dcache_page() visibilityarch/ arch/ arch/ | +4 | 0 replies | |
| 2/11 | ARM: Fix errata 411920 workaroundsarch/ arch/ arch/ | +13 | 5 replies | |
| 3/11 | ARM: move __flush_icache_all() out of flush_pfn_alias()arch/ | +8 | 0 replies | |
| 4/11 | ARM: Remove __flush_icache_all() from __flush_dcache_page()arch/ | +1 | 0 replies | |
| 5/11 | ARM: Avoid flush_dcache_page() for zero pagearch/ arch/ arch/ | +18 | 0 replies | |
| 6/11 | ARM: Avoid duplicated implementation for VIVT cache flushingarch/ arch/ | +19 | 0 replies | |
| 7/11 | ARM: Allocate ZERO_PAGE from highmemarch/ arch/ | +9 | 1 reply | |
| 8/11 | ARM: Avoid evaluating page_address() multiple timesarch/ | +4 | 0 replies | |
| 9/11 | ARM: Add I-cache invalidation for VIVT ASID tagged cachesarch/ | +6 | 3 replies | |
| 10/11 | ARM: arrange for flush_cache_range() to always flush the I-cachearch/ | +1 | 12 replies | |
| 11/11 | ARM: avoid flushing I-cache in flush_cache_mm()arch/ | +0 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 00/11] Cache handling updates
For RFC, this series of patches cleans up and updates various aspects of the kernel's cache handling. The 'fix errata 411920' patch is one which I'm intending pushing to mainline once the current set has been pulled.
A few things of note from this:
1. flush flush_dcache_page, on VIPT aliasing caches, we ended up flushing the I-cache multiple times. This has been fixed.
2. we now avoid flush_dcache_page operating on the ZERO_PAGE (for bss)
3. ZERO_PAGE can now be allocated from highmem
4. reinforced I-cache handling for VIVT ASID-tagged caches (to be more like VIVT caches were)
5. fix the RX->RW->RX issue by flushing the I-cache in flush_cache_range()
6. it seems pointless flushing the I-cache of VIPT caches in flush_cache_mm
Russell King (11):
ARM: Reduce __flush_dcache_page() visibility
ARM: Fix errata 411920 workarounds
ARM: move __flush_icache_all() out of flush_pfn_alias()
ARM: Remove __flush_icache_all() from __flush_dcache_page()
ARM: Avoid flush_dcache_page() for zero page
ARM: Avoid duplicated implementation for VIVT cache flushing
ARM: Allocate ZERO_PAGE from highmem
ARM: Avoid evaluating page_address() multiple times
ARM: Add I-cache invalidation for VIVT ASID tagged caches
ARM: arrange for flush_cache_range() to always flush the I-cache
ARM: avoid flushing I-cache in flush_cache_mm()
arch/arm/include/asm/cacheflush.h | 27 ++++++++++--- arch/arm/mm/context.c | 4 +- arch/arm/mm/fault-armv.c | 9 ++++ arch/arm/mm/flush.c | 74 ++++++++++++++++--------------------- arch/arm/mm/init.c | 9 ++++ arch/arm/mm/mm.h | 2 + arch/arm/mm/mmu.c | 10 ----- 7 files changed, 74 insertions(+), 61 deletions(-)