mbox series

[v4,0/9] misc ppc improvements/optimizations

Message ID 20241010054740.1106997-1-harshpb@linux.ibm.com
Headers show
Series misc ppc improvements/optimizations | expand

Message

Harsh Prateek Bora Oct. 10, 2024, 5:47 a.m. UTC
This a set of misc ppc arch specific code improvements/optimizations.
Most of the improvements are done in Power9/8/7 exception handling code
alongwith some code cleanups.

Since patch 7/7 of v2 series have been picked by Aditya in his patchset
for P11 support, I have excluded that patch in this series and based on
top of his v6 series which contains the required patch as 1/5.

Based on: <20240731055022.696051-1-adityag@linux.ibm.com>

Changelog:
v4: squashed patch 4,5 (in v3) as 4/9 (Nick)
    moved 6/10 (in v3) to last 9/9 (Nick)
    Added R-bys from Nick, Balaton.
v3: extended improvements to other Power arch p7, p8 (Nick)
    other minor improvements
v2: addressed review comments from BALATON Zoltan
v1: Initial patch

Harsh Prateek Bora (9):
  target/ppc: use locally stored msr and avoid indirect access
  target/ppc: optimize hreg_compute_pmu_hflags_value
  target/ppc: optimize hreg_compute_pmu_hflags_value
  target/ppc: optimize p9 exception handling routines
  target/ppc: optimize p8 exception handling routines
  target/ppc: optimize p7 exception handling routines
  target/ppc: simplify var usage in ppc_next_unmasked_interrupt
  target/ppc: combine multiple ail checks into one
  target/ppc: reduce duplicate code between init_proc_POWER{9, 10}

 target/ppc/cpu_init.c    |  58 ++--------
 target/ppc/excp_helper.c | 230 ++++++++++++++++++++-------------------
 target/ppc/helper_regs.c |  19 ++--
 3 files changed, 141 insertions(+), 166 deletions(-)