On Wed, Jul 05, 2017 at 07:13:13PM +0200, Cédric Le Goater wrote: > On a POWER9 sPAPR machine, the Client Architecture Support (CAS) > negotiation process determines whether the guest operates with an > interrupt controller using the XICS legacy model, as found on POWER8, > or in XIVE exploitation mode, the newer POWER9 interrupt model. This > patchset is a first proposal to add XIVE support in the sPAPR machine. > > The first patches introduce the XIVE exploitation mode in CAS. > > Follow models for the XIVE interrupt controller, source and presenter. > We try to reuse the ICS and ICP models of XICS because the sPAPR > machine is tied to the XICSFabric interface and should be using a > common framework to be able to switch from one controller model to > another. To be discussed of course. > > Then comes support for the Hypervisor's call which are used to > configure the interrupt sources and the event/notification queues of > the guest. > > Finally, the last patches try to integrate the XIVE interrupt model in > the sPAPR machine and this not without a couple of serious hacks to > have something to test. See 'Caveats' below for more details. > > This is a first draft and I expect a lot of rewrite before it reaches > mainline QEMU. Nevertheless, it compiles, boots and can be used for > some testing.
1 & 2 are straightforward enough that I've applied them already. The rest will take longer to review, obviously. -- 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