[PATCH v2 0/2] Introduce SPAPR_NR_IPIS and fix max-cpus

Harsh Prateek Bora posted 2 patches 1 year ago
Only 0 patches received!
There is a newer version of this series
hw/ppc/spapr.c             | 9 +++------
hw/ppc/spapr_irq.c         | 4 ++--
include/hw/ppc/spapr_irq.h | 1 +
3 files changed, 6 insertions(+), 8 deletions(-)
[PATCH v2 0/2] Introduce SPAPR_NR_IPIS and fix max-cpus
Posted by Harsh Prateek Bora 1 year ago
On spapr, the max number of CPU IPIs are 4096 which is accounted during
spapr_irq_init but currently existing macro SPAPR_XIRQ_BASE is being
used to refer to that. Introducing SPAPR_NR_IPIS to refer to the range
of CPU IPIS which is being further used to initialize mc->max_cpus during
spapr_machine_class_init().

Harsh Prateek Bora (2):
  ppc/spapr: Introduce SPAPR_NR_IPIS to refer IRQ range for CPU IPIs.
  ppc/spapr: Initialize max_cpus limit to SPAPR_NR_IPIS.

 hw/ppc/spapr.c             | 9 +++------
 hw/ppc/spapr_irq.c         | 4 ++--
 include/hw/ppc/spapr_irq.h | 1 +
 3 files changed, 6 insertions(+), 8 deletions(-)

-- 
2.39.3