Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [PATCH 2/2] powernv/powerpc: Clear PECE1 in LPCR via stop-api only on Hotplug | Date | Tue, 25 Jul 2017 20:46:19 +1000 |
| |
Nicholas Piggin <npiggin@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
chers
| |