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 > -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature