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

2023-05-12 Thread Nicholas Piggin
On Fri May 5, 2023 at 9:03 PM AEST, Harsh Prateek Bora wrote: > > > On 5/3/23 06:09, 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

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

2023-05-05 Thread Harsh Prateek Bora
On 5/3/23 06:09, 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

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

2023-05-02 Thread Nicholas Piggin
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 simplifies the error paths. Signed-off-by: