Re: [RFC 4/5] vfio: amba: VFIO support for AMBA devices

2014-08-26 Thread Alex Williamson
On Tue, 2014-08-26 at 17:39 +0200, Antonios Motakis wrote: > Hello WIll, > > On Tue, Aug 26, 2014 at 12:50 PM, Will Deacon wrote: > > Hi Antonios, > > > > On Fri, Aug 22, 2014 at 10:01:27AM +0100, Antonios Motakis wrote: > >> Add support for discovering AMBA devices with VFIO and handle them > >>

Re: [RFC 4/5] vfio: amba: VFIO support for AMBA devices

2014-08-26 Thread Antonios Motakis
Hello WIll, On Tue, Aug 26, 2014 at 12:50 PM, Will Deacon wrote: > Hi Antonios, > > On Fri, Aug 22, 2014 at 10:01:27AM +0100, Antonios Motakis wrote: >> Add support for discovering AMBA devices with VFIO and handle them >> similarly to Linux platform devices. > > [...] > >> +static struct amba_id

Re: [RFC 4/5] vfio: amba: VFIO support for AMBA devices

2014-08-26 Thread Will Deacon
Hi Antonios, On Fri, Aug 22, 2014 at 10:01:27AM +0100, Antonios Motakis wrote: > Add support for discovering AMBA devices with VFIO and handle them > similarly to Linux platform devices. [...] > +static struct amba_id pl330_ids[] = { > + { 0, 0 }, > +}; > + > +MODULE_DEVICE_TABLE(amba, pl330

[RFC 4/5] vfio: amba: VFIO support for AMBA devices

2014-08-22 Thread Antonios Motakis
Add support for discovering AMBA devices with VFIO and handle them similarly to Linux platform devices. Signed-off-by: Antonios Motakis --- drivers/vfio/platform/vfio_amba.c | 129 ++ 1 file changed, 129 insertions(+) create mode 100644 drivers/vfio/platform/