Add L2 cache cleaning to generic CPU suspend
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 of 11 patches 0 repliesNew
1 of 11 patches is in this archive. The cover letter announces 11.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 8/11 | ARM: pm: no need to save/restore context ID registerarch/ | +1 | 1 reply |
Reviews trailers per patch
The patch has no Reviewed-by or Acked-by.
| Patch | Santosh Shilimkar |
|---|---|
| Series | T-b |
| 8/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] Add L2 cache cleaning to generic CPU suspend
Quoted 19 lines · Russell King - ARM Linux
Some systems (such as OMAP) preserve the L2 cache across a suspend/ resume cycle. This means they do not perform L2 cache maintanence in their suspend finisher function.
However, the side effect is that the saved CPU state is not readable by the resume code because it is sitting in the L2 cache.
This patch series adds L2 cache cleaning to the generic CPU suspend/ resume support code, making it possible to use this on systems with L2 cache enabled without having to clean/invalidate the entire L2 cache.
We also add a separate page table, allocated at boot time, for the resume process to use so we don't have to fiddle about with tweaking entries in the current processes page table. Moreover, the current processes page table may be in use by another CPU in the system if these paths are used from cpuidle or hotplug, so changing the page table is technically unsound.
Quoted 8 lines
Overall, this makes it possible for OMAP4 systems to use this code.
The first four patches in this set are already merged into Linus' tree as bug fixes, and are included here for completeness given that the kernel.org infrastructure is currently offline.
This has (so far) only been tested on OMAP4. Further testing on OMAP3 and Assabet will follow.
Thanks a lot Russell for this series. I have tested the entire series with OMAP4 S2R and CPUIDLE and it works great.
Regards
Santosh