[Skiboot] [PATCH v2 2/5] hw/psi-p9: Make interrupt name array global

Cédric Le Goater clg at kaod.org
Thu Sep 5 21:01:32 AEST 2019


>> yes. This is true for any HWIRQ number. The XIVE block id is embedded in
>> the IRQ number (see above) and it gives you some information on the chip id.
> 
> Yes, but it only tells you the chip ID. When there's multiple units on
> a chip (PHBs, or NPUs on swift) you need to encode something into the
> name.

There are predefined ranges for each PHB. So you can tell for these.

It's more difficult for the NPU interrupts because they are in the IPI set.

Anyhow it is good to have a literal name for all.

Thanks,

C.


More information about the Skiboot mailing list