diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-06-20 20:57:36 +1000 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2023-06-25 22:41:30 +0200 |
commit | cb4e61a33b7585642a8a7ff9e5b3b78599bcc582 (patch) | |
tree | 4eb01ea2874fd4325f6a22c3cac7d8342c65b2d1 /include | |
parent | c709e8eacd5578f84c0dffbfe65a743a281d1d46 (diff) |
ppc/spapr: load and store l2 state with helper functions
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.
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions