[PATCH 2/2] powernv/powerpc: Clear PECE1 in LPCR via stop-api only on Hotplug
mpe at ellerman.id.au
Tue Jul 25 20:46:19 AEST 2017
Nicholas Piggin <npiggin at gmail.com> writes:
> I wonder if we should think about a more structured kernel API for
> modifying these kind of system registers so we always have the
> up-to-date values stored in memory. Many of them do need to be
> restored after sleep, but they don't need to be saved per-thread
> or saved every time we go to sleep.
Yes that's on my mental TODO. Paul and I have talked about it in the
past for KVM.
I'll write it down sometime so we at least remember :D
More information about the Linuxppc-dev