This a set of misc ppc arch specific code improvements/optimizations.
Although there exists similar instances for potential improvements in
the legacy ppc code, however, that can be taken up later as well.
Changelog:
v2: addressed review comments from BALATON Zoltan
v1: Initial patch
Harsh Prateek Bora (7):
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 p9 exception handling routines for lpcr
target/ppc: reduce duplicate code between init_proc_POWER{9,10}
target/ppc: redue code duplication across Power9/10 init code
target/ppc/cpu_init.h | 77 ++++++++++++++++++
target/ppc/cpu_init.c | 166 ++++++---------------------------------
target/ppc/excp_helper.c | 72 +++++++++--------
target/ppc/helper_regs.c | 19 ++---
4 files changed, 150 insertions(+), 184 deletions(-)
create mode 100644 target/ppc/cpu_init.h
--
2.39.3