Re: [PATCH 12/13] ppc/pnv: Introduce PnvChipClass::xscom_pcba() method

2019-12-15 Thread David Gibson
On Fri, Dec 13, 2019 at 02:06:31PM +0100, Cédric Le Goater wrote: > On 13/12/2019 13:00, Greg Kurz wrote: > > The XSCOM bus is implemented with a QOM interface, which is mostly > > generic from a CPU type standpoint, except for the computation of > > addresses on the Pervasize Connect Bus (PCB) net

Re: [PATCH 12/13] ppc/pnv: Introduce PnvChipClass::xscom_pcba() method

2019-12-13 Thread Cédric Le Goater
On 13/12/2019 13:00, Greg Kurz wrote: > The XSCOM bus is implemented with a QOM interface, which is mostly > generic from a CPU type standpoint, except for the computation of > addresses on the Pervasize Connect Bus (PCB) network. This is handled Pervasive > by the pnv_xscom_pcba() function with

[PATCH 12/13] ppc/pnv: Introduce PnvChipClass::xscom_pcba() method

2019-12-13 Thread Greg Kurz
The XSCOM bus is implemented with a QOM interface, which is mostly generic from a CPU type standpoint, except for the computation of addresses on the Pervasize Connect Bus (PCB) network. This is handled by the pnv_xscom_pcba() function with a switch statement based on the chip_type class level attr