On 3/31/23 08:53, Harsh Prateek Bora wrote:
This patchset introduces helper routines to enable (and does) cleaning up of h_enter_nested() and spapr_exit_nested() routines in existing api for nested virtualization on Power/SPAPR for better code readability / maintenance. No functional changes intended with this patchset.
Adding Nick since he did most of this work. C.
Harsh Prateek Bora (5): ppc: spapr: cleanup cr get/store with helper routines. ppc: spapr: cleanup h_enter_nested() with helper routines. ppc: spapr: assert early rather late in h_enter_nested() ppc: spapr: cleanup spapr_exit_nested() with helper routines. MAINTAINERS: Adding myself in the list for ppc/spapr MAINTAINERS | 1 + hw/ppc/spapr_hcall.c | 251 ++++++++++++++++++++++++------------------- target/ppc/cpu.c | 17 +++ target/ppc/cpu.h | 2 + 4 files changed, 161 insertions(+), 110 deletions(-)