[PATCH v3 0/8] target/ppc: powerpc_excp improvements (2/n)

Fabiano Rosas posted 8 patches 2 years, 3 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220107222601.4101511-1-farosas@linux.ibm.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>
target/ppc/arch_dump.c   |   2 +-
target/ppc/cpu.h         |  25 ++++--
target/ppc/excp_helper.c | 183 ++++++++++++---------------------------
3 files changed, 73 insertions(+), 137 deletions(-)
[PATCH v3 0/8] target/ppc: powerpc_excp improvements (2/n)
Posted by Fabiano Rosas 2 years, 3 months ago
Version 3:

- patches 1,3,4,5,6,7: unchanged, reviewed;

- patch 2: started using qemu_loglevel_mask(CPU_LOG_MMU) instead of
           qemu_log_enabled;

	   I decided to not rename the function at this point because
	   it is used for both 60x and 7x5 and these two will be split
	   in the near future, so allow me to postpone that;

- patch 8: new patch using env->has_hv_mode to fix the endianness of
           powernv dumps as suggested by David.

v2:
https://lists.nongnu.org/archive/html/qemu-ppc/2022-01/msg00139.html

v1:
https://lists.nongnu.org/archive/html/qemu-ppc/2022-01/msg00054.html

RFC v1:
https://lists.nongnu.org/archive/html/qemu-ppc/2021-06/msg00026.html

RFC v2:
https://lists.nongnu.org/archive/html/qemu-ppc/2021-12/msg00542.html

Cleanups 1/n [already merged]:
https://mail.gnu.org/archive/html/qemu-ppc/2021-12/msg00696.html

Fabiano Rosas (8):
  target/ppc: powerpc_excp: Extract software TLB logging into a function
  target/ppc: powerpc_excp: Keep 60x/7x5 soft MMU logs active
  target/ppc: powerpc_excp: Group unimplemented exceptions
  target/ppc: Add HV support to ppc_interrupts_little_endian
  target/ppc: Add MSR_ILE support to ppc_interrupts_little_endian
  target/ppc: Use ppc_interrupts_little_endian in powerpc_excp
  target/ppc: Introduce a wrapper for powerpc_excp
  target/ppc: Set the correct endianness for powernv memory dumps

 target/ppc/arch_dump.c   |   2 +-
 target/ppc/cpu.h         |  25 ++++--
 target/ppc/excp_helper.c | 183 ++++++++++++---------------------------
 3 files changed, 73 insertions(+), 137 deletions(-)

-- 
2.33.1


Re: [PATCH v3 0/8] target/ppc: powerpc_excp improvements (2/n)
Posted by Cédric Le Goater 2 years, 3 months ago
Hello Fabiano,

On 1/7/22 23:25, Fabiano Rosas wrote:
> Version 3:
> 
> - patches 1,3,4,5,6,7: unchanged, reviewed;
> 
> - patch 2: started using qemu_loglevel_mask(CPU_LOG_MMU) instead of
>             qemu_log_enabled;
> 
> 	   I decided to not rename the function at this point because
> 	   it is used for both 60x and 7x5 and these two will be split
> 	   in the near future, so allow me to postpone that;
> 
> - patch 8: new patch using env->has_hv_mode to fix the endianness of
>             powernv dumps as suggested by David.


I have queued this version for ppc-7.0. You can send followups on top
of it.

Thanks,

C.