[PATCH v2 0/9] ppc/ppc405: Fixes

Cédric Le Goater posted 9 patches 2 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220103063441.3424853-1-clg@kaod.org
Maintainers: Daniel Henrique Barboza <danielhb413@gmail.com>, Greg Kurz <groug@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, "Cédric Le Goater" <clg@kaod.org>
target/ppc/cpu.h             |   2 +
target/ppc/helper.h          |   2 +
target/ppc/spr_tcg.h         |   3 +
hw/ppc/mpc8544_guts.c        |   9 +-
hw/ppc/ppc.c                 |  67 +++++++++-----
hw/ppc/ppc405_uc.c           |   2 -
hw/ppc/ppc4xx_devs.c         |  39 +++------
hw/ppc/ppc4xx_pci.c          |  11 ++-
target/ppc/cpu_init.c        |  33 +++++--
target/ppc/excp_helper.c     |  87 +++++++++++++++++--
target/ppc/mmu_common.c      | 164 ++++++++++++++++-------------------
target/ppc/mmu_helper.c      |  97 ++++++++++-----------
target/ppc/timebase_helper.c |  10 +++
target/ppc/translate.c       |  20 +++++
hw/ppc/trace-events          |   7 ++
15 files changed, 338 insertions(+), 215 deletions(-)
[PATCH v2 0/9] ppc/ppc405: Fixes
Posted by Cédric Le Goater 2 years, 4 months ago
Hello,

The series starts with a couple of cleanups helping debug. It then
adds back support for 405 timers which was broken 10 years ago.

Thanks,

C. 

Changes in v2:

 - removed inlining from powerpc_excp() routines
 - fixed a compile breakage with CONFIG_USER_ONLY
 - removed all DEBUG defines from MMU models

Cédric Le Goater (9):
  target/ppc: Remove static inline
  target/ppc: Print out literal exception names in logs
  ppc/ppc4xx: Convert printfs()
  ppc/ppc405: Activate MMU logs
  ppc/ppc405: Restore TCR and STR write handlers
  ppc/ppc405: Rework ppc_40x_timers_init() to use a PowerPCCPU
  ppc/ppc405: Fix timer initialization
  ppc/ppc405: Introduce a store helper for SPR_40x_PID
  ppc/ppc405: Dump specific registers

 target/ppc/cpu.h             |   2 +
 target/ppc/helper.h          |   2 +
 target/ppc/spr_tcg.h         |   3 +
 hw/ppc/mpc8544_guts.c        |   9 +-
 hw/ppc/ppc.c                 |  67 +++++++++-----
 hw/ppc/ppc405_uc.c           |   2 -
 hw/ppc/ppc4xx_devs.c         |  39 +++------
 hw/ppc/ppc4xx_pci.c          |  11 ++-
 target/ppc/cpu_init.c        |  33 +++++--
 target/ppc/excp_helper.c     |  87 +++++++++++++++++--
 target/ppc/mmu_common.c      | 164 ++++++++++++++++-------------------
 target/ppc/mmu_helper.c      |  97 ++++++++++-----------
 target/ppc/timebase_helper.c |  10 +++
 target/ppc/translate.c       |  20 +++++
 hw/ppc/trace-events          |   7 ++
 15 files changed, 338 insertions(+), 215 deletions(-)

-- 
2.31.1


Re: [PATCH v2 0/9] ppc/ppc405: Fixes
Posted by Cédric Le Goater 2 years, 4 months ago
On 1/3/22 07:34, Cédric Le Goater wrote:
> Hello,
> 
> The series starts with a couple of cleanups helping debug. It then
> adds back support for 405 timers which was broken 10 years ago.
> 
> Thanks,
> 
> C.
> 
> Changes in v2:
> 
>   - removed inlining from powerpc_excp() routines
>   - fixed a compile breakage with CONFIG_USER_ONLY
>   - removed all DEBUG defines from MMU models

Applied in ppc-next.

Thanks,

C.