Re: [PATCH 3/4] ppc/spapr: load and store l2 state with helper functions

2023-06-14 Thread Harsh Prateek Bora
On 6/14/23 17:32, Nicholas Piggin wrote: On Fri Jun 9, 2023 at 6:00 PM AEST, Harsh Prateek Bora wrote: On 6/8/23 14:43, Nicholas Piggin wrote: Arguably this is just shuffling around register accesses, but one nice thing it does is allow the exit to save away the L2 state then switch the en

Re: [PATCH 3/4] ppc/spapr: load and store l2 state with helper functions

2023-06-14 Thread Nicholas Piggin
On Fri Jun 9, 2023 at 6:00 PM AEST, Harsh Prateek Bora wrote: > > > On 6/8/23 14:43, Nicholas Piggin wrote: > > Arguably this is just shuffling around register accesses, but one nice > > thing it does is allow the exit to save away the L2 state then switch > > the environment to the L1 before copyi

Re: [PATCH 3/4] ppc/spapr: load and store l2 state with helper functions

2023-06-09 Thread Harsh Prateek Bora
On 6/8/23 14:43, Nicholas Piggin wrote: Arguably this is just shuffling around register accesses, but one nice thing it does is allow the exit to save away the L2 state then switch the environment to the L1 before copying L2 data back to the L1, which logically flows more naturally and simplif