On Wed, Nov 11, 2015 at 11:27:51AM +1100, Benjamin Herrenschmidt wrote: > This provides MMIO based ICP access as found on POWER8 > > Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
[snip] > +static void xics_native_realize(DeviceState *dev, Error **errp) > +{ > + XICSState *s = XICS_NATIVE(dev); > + SysBusDevice *sbd = SYS_BUS_DEVICE(dev); Ah.. here's another wrinkle. So the current XICS is defined as a SysBusDevice, but that's not actually correct because it doesn't have MMIO. But your xics native does have MMIO, so my understanding is that SysBusDevice is appropriate. Not sure how to handle that -- 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