All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/2] arm64: hibernate: a couple of fixes
@ 2016-08-11 13:11 Mark Rutland
  2016-08-11 13:11 ` [PATCHv2 1/2] arm64: hibernate: avoid potential TLB conflict Mark Rutland
  2016-08-11 13:11 ` [PATCHv2 2/2] arm64: hibernate: handle allocation failures Mark Rutland
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Rutland @ 2016-08-11 13:11 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-12 18:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-11 13:11 [PATCHv2 0/2] arm64: hibernate: a couple of fixes Mark Rutland
2016-08-11 13:11 ` [PATCHv2 1/2] arm64: hibernate: avoid potential TLB conflict Mark Rutland
2016-08-11 13:11 ` [PATCHv2 2/2] arm64: hibernate: handle allocation failures Mark Rutland
2016-08-12 18:07   ` James Morse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.