Cache maintenance on VIPT caches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Rabin Vincent |
|---|---|
| Series | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Cache maintenance on VIPT caches
Quoted 7 lines · Catalin Marinas
The first and third patches have already been posted in the same form. The second patch have been modified to handle all the VIPT caches via
__sync_icache_dcache(). The initial use case for this patch was dealing with an SMP race condition but following suggestions from Rabin, it was extended to cover ARMv6 onwards, both UP and SMP.Any Tested-by's are welcome.
This version also fixes the MMC rootfs init crashes, without the need for the flush_kernel_dcache_page() change:
Will you be submitting this patch for linux-next? I ask because the mmci patches that I posted convert that driver to use the sg_miter API (which uses flush_kernel_dcache_page() internally), and not do any flushing inside the driver itself. Or do you think it would be appropriate to have the driver call flush_dcache_page() explicitly? (Although this would be double flushing on systems with aliasing caches where flush_kernel_dcache_page() is not a no-op.)
Rabin