[Skiboot] [PATCH 00/11] xive/p9: various small cleanups

Cédric Le Goater clg at kaod.org
Thu Jun 4 23:21:15 AEST 2020


Hello,

Here are cleanups which try to deobfuscate some magic values used in
the driver and add documentation in the commit logs. The only
significant change is on the size of the VP space which now depends on
the number of EQ descriptors. We have 1M of these and we use 8
priorities per VP. Therefore, our VP space should be limited to 128k.

Tested on a boston with 256 KVM guests each with 4 vCPUS. For the
record, it takes 25s for all to reach login.

Thanks,

C.

Cédric Le Goater (11):
  xive/p9: Introduce XIVE_INT_ORDER
  xive/p9: Clarify the global IRQ number encoding
  xive/p9: Introduce XIVE_ESB_SHIFT
  xive/p9: Introduce XIVE_EQ_ORDER
  xive/p9: Clarify the escalation IRQ encoding
  xive/p9: Introduce XIVE_EQ_SHIFT
  xive/p9: Use sizeof() instead of hardcoded values
  xive/p9: Clarify indirect table allocation
  xive/p9: Force 64K page size on the IC and TM BARs
  xive/p9: Modify the size of the VP space
  xive/p9: Introduce definitions for VP ids of HW threads

 hw/xive.c | 196 ++++++++++++++++++++++++++++++------------------------
 1 file changed, 109 insertions(+), 87 deletions(-)

-- 
2.25.4



More information about the Skiboot mailing list