qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Introduce SPAPR_NR_IPIS and fix max-cpus
@ 2023-11-22  9:21 Harsh Prateek Bora
  0 siblings, 0 replies; only message in thread
From: Harsh Prateek Bora @ 2023-11-22  9:21 UTC (permalink / raw)
  To: npiggin, qemu-ppc; +Cc: danielhb413, clg, david, qemu-devel, harshpb

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-22  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-22  9:21 [PATCH v2 0/2] Introduce SPAPR_NR_IPIS and fix max-cpus Harsh Prateek Bora

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).