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

Cédric Le Goater clg at kaod.org
Fri Jun 12 21:37:21 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 witherspoon with 2048 KVM guests each with 4 vCPUS.

Thanks,

C.

Changes since v1:

 - rephrased comment on the GIRQ
 - used sizeof() in more places

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 | 208 ++++++++++++++++++++++++++++++------------------------
 1 file changed, 117 insertions(+), 91 deletions(-)

-- 
2.25.4



More information about the Skiboot mailing list