[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8760eg7q10.fsf@concordia.ellerman.id.au>
Date: Tue, 25 Jul 2017 20:46:19 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Nicholas Piggin <npiggin@...il.com>,
Gautham R Shenoy <ego@...ux.vnet.ibm.com>
Cc: Michael Neuling <mikey@...ling.org>,
Vaidyanathan Srinivasan <svaidy@...ux.vnet.ibm.com>,
Shilpasri G Bhat <shilpa.bhat@...ux.vnet.ibm.com>,
Akshay Adiga <akshay.adiga@...ux.vnet.ibm.com>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] powernv/powerpc: Clear PECE1 in LPCR via stop-api only on Hotplug
Nicholas Piggin <npiggin@...il.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
Powered by blists - more mailing lists