[PATCH v2 0/4] ppc/spapr: Nested HV fix and tidying

Nicholas Piggin posted 4 patches 10 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230620105737.160451-1-npiggin@gmail.com
Maintainers: Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Harsh Prateek Bora <harshpb@linux.ibm.com>
hw/ppc/meson.build              |   1 +
hw/ppc/spapr.c                  |   1 +
hw/ppc/spapr_hcall.c            | 335 +--------------------------
hw/ppc/spapr_nested.c           | 395 ++++++++++++++++++++++++++++++++
include/hw/ppc/spapr.h          |  62 -----
include/hw/ppc/spapr_cpu_core.h |   5 +-
include/hw/ppc/spapr_nested.h   | 102 +++++++++
7 files changed, 504 insertions(+), 397 deletions(-)
create mode 100644 hw/ppc/spapr_nested.c
create mode 100644 include/hw/ppc/spapr_nested.h
[PATCH v2 0/4] ppc/spapr: Nested HV fix and tidying
Posted by Nicholas Piggin 10 months, 2 weeks ago
To prepare for some later changes to nested-HV I would like to get
these cleanups done and move nested to its own file. This is
rebased and patch 4 has some nested function definitions and
structs in spapr_nested.h that Harsh suggested.

Thanks,
Nick

Nicholas Piggin (4):
  ppc/spapr: H_ENTER_NESTED should restore host XER ca field
  ppc/spapr: Add a nested state struct
  ppc/spapr: load and store l2 state with helper functions
  ppc/spapr: Move spapr nested HV to a new file

 hw/ppc/meson.build              |   1 +
 hw/ppc/spapr.c                  |   1 +
 hw/ppc/spapr_hcall.c            | 335 +--------------------------
 hw/ppc/spapr_nested.c           | 395 ++++++++++++++++++++++++++++++++
 include/hw/ppc/spapr.h          |  62 -----
 include/hw/ppc/spapr_cpu_core.h |   5 +-
 include/hw/ppc/spapr_nested.h   | 102 +++++++++
 7 files changed, 504 insertions(+), 397 deletions(-)
 create mode 100644 hw/ppc/spapr_nested.c
 create mode 100644 include/hw/ppc/spapr_nested.h

-- 
2.40.1
Re: [PATCH v2 0/4] ppc/spapr: Nested HV fix and tidying
Posted by Cédric Le Goater 10 months, 2 weeks ago
On 6/20/23 12:57, Nicholas Piggin wrote:
> To prepare for some later changes to nested-HV I would like to get
> these cleanups done and move nested to its own file. This is
> rebased and patch 4 has some nested function definitions and
> structs in spapr_nested.h that Harsh suggested.
> 
> Thanks,
> Nick
> 
> Nicholas Piggin (4):
>    ppc/spapr: H_ENTER_NESTED should restore host XER ca field
>    ppc/spapr: Add a nested state struct
>    ppc/spapr: load and store l2 state with helper functions
>    ppc/spapr: Move spapr nested HV to a new file
> 
>   hw/ppc/meson.build              |   1 +
>   hw/ppc/spapr.c                  |   1 +
>   hw/ppc/spapr_hcall.c            | 335 +--------------------------
>   hw/ppc/spapr_nested.c           | 395 ++++++++++++++++++++++++++++++++
>   include/hw/ppc/spapr.h          |  62 -----
>   include/hw/ppc/spapr_cpu_core.h |   5 +-
>   include/hw/ppc/spapr_nested.h   | 102 +++++++++
>   7 files changed, 504 insertions(+), 397 deletions(-)
>   create mode 100644 hw/ppc/spapr_nested.c
>   create mode 100644 include/hw/ppc/spapr_nested.h
> 

Applied to ppc-next.

Thanks,

C.