Message ID | 155059665292.1466090.8750653555749574947.stgit@bahia.lab.toulouse-stg.fr.ibm.com |
---|---|
Headers | show |
Series | spapr: Add support for PHB hotplug | expand |
On Tue, Feb 19, 2019 at 06:17:33PM +0100, Greg Kurz wrote: > This allows to hotplug/unplug PHBs. I could successfully test: > - using in-kernel XICS, emulated XICS and XIVE > - hotplug/unplug with e1000 device to validate LSIs > - hotplug/unplug with virtio-net device to validate MSIs > - some simple migration scenarios > > Based on David's ppc-for-4.0 branch SHA1: Applied! > > 6f585625d0d1 target/ppc: Basic POWER9 bare-metal radix MMU support > > Please comment. > > Changes in v5: > - all DRC subtypes generate FDT fragment at configure connector time > - Drop all the LSI bitmap and allocation/typing disintricate stuff > - set IRQ type in KVM at claim time > - fix hotplug call chain > - added PHB unplug test to tests/device-plug-test > > Changes in v4: > - added a LSI bitmap to XICS > - no longer need compat property in XICS > - simplified the patches to access the name and the phandle of the > interrupt controller > - delay the creation of the PHB drc->fdt to RTAS ibm,configure-connector > > Change in v3: > - reworked phandle related code some more > - disintricate allocation/"type setting" of interrupts > - identify LSIs at machine init > > Changes in v2: > - rebased on current ppc-for-4.0 > - added some preliminary cleanup > - call unrealize from realize error path > - advertise PHB hotplug in last patch > - reworked phandle related code > - sync LSIs to KVM >
On Wed, 20 Feb 2019 14:30:53 +1100 David Gibson <david@gibson.dropbear.id.au> wrote: > On Tue, Feb 19, 2019 at 06:17:33PM +0100, Greg Kurz wrote: > > This allows to hotplug/unplug PHBs. I could successfully test: > > - using in-kernel XICS, emulated XICS and XIVE > > - hotplug/unplug with e1000 device to validate LSIs > > - hotplug/unplug with virtio-net device to validate MSIs > > - some simple migration scenarios > > > > Based on David's ppc-for-4.0 branch SHA1: > > Applied! > Thanks David and everyone who helped ! Cheers, -- Greg > > > > 6f585625d0d1 target/ppc: Basic POWER9 bare-metal radix MMU support > > > > Please comment. > > > > Changes in v5: > > - all DRC subtypes generate FDT fragment at configure connector time > > - Drop all the LSI bitmap and allocation/typing disintricate stuff > > - set IRQ type in KVM at claim time > > - fix hotplug call chain > > - added PHB unplug test to tests/device-plug-test > > > > Changes in v4: > > - added a LSI bitmap to XICS > > - no longer need compat property in XICS > > - simplified the patches to access the name and the phandle of the > > interrupt controller > > - delay the creation of the PHB drc->fdt to RTAS ibm,configure-connector > > > > Change in v3: > > - reworked phandle related code some more > > - disintricate allocation/"type setting" of interrupts > > - identify LSIs at machine init > > > > Changes in v2: > > - rebased on current ppc-for-4.0 > > - added some preliminary cleanup > > - call unrealize from realize error path > > - advertise PHB hotplug in last patch > > - reworked phandle related code > > - sync LSIs to KVM > > >