arm64: hibernate: a couple of fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v11 patch 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64: hibernate: avoid potential TLB conflictarch/ | +17 | 0 replies | |
| 2/2 | arm64: hibernate: handle allocation failuresarch/ | +32 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | James Morse |
|---|---|
| 1/2 | A-b T-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 0/2] arm64: hibernate: a couple of fixes
Hi,
These patches fix a couple of issues I spotted in the arm64 hibernate code.
Patch 1 addresses potential Break-Before-Make violations, and patch 2 addresses failure cases where TTBR0 may be left pointing at memory which has been freed.
I've given the kernel a go with these patches applied, and I do not see any regressions in hibernation functionality.
Thanks,
Mark.
Since v1 [1]:
* s/suspend/hibernate/ in patch 1 title
* Use cpu_set_reserved_ttbr0() to safely handle userspace hibernation testing
* Add patch to safely handle allocation failures
[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2016-August/447392.html
Mark Rutland (2):
arm64: hibernate: avoid potential TLB conflict
arm64: hibernate: handle allocation failures
arch/arm64/kernel/hibernate.c | 82 ++++++++++++++++++++++++++----------------- 1 file changed, 49 insertions(+), 33 deletions(-)
Signature · 1 line
1.9.1