Re: [Qemu-devel] [PATCH v6 1/3] pci: Add support for Designware IP block

2018-03-03 Thread Andrey Smirnov
On Sat, Mar 3, 2018 at 7:55 PM, Michael S. Tsirkin wrote: > On Tue, Feb 13, 2018 at 02:47:24PM -0800, Andrey Smirnov wrote: >> On Tue, Feb 13, 2018 at 2:15 PM, Michael S. Tsirkin wrote: >> > On Tue, Feb 13, 2018 at 12:24:40PM -0800, Andrey Smirnov wrote: >> >>

Re: [Qemu-devel] [PATCH v6 1/3] pci: Add support for Designware IP block

2018-03-03 Thread Michael S. Tsirkin
On Tue, Feb 13, 2018 at 02:47:24PM -0800, Andrey Smirnov wrote: > On Tue, Feb 13, 2018 at 2:15 PM, Michael S. Tsirkin wrote: > > On Tue, Feb 13, 2018 at 12:24:40PM -0800, Andrey Smirnov wrote: > >> On Tue, Feb 13, 2018 at 10:13 AM, Michael S. Tsirkin > >>

Re: [Qemu-devel] [PATCH v6 1/3] pci: Add support for Designware IP block

2018-03-03 Thread Andrey Smirnov
On Tue, Feb 13, 2018 at 2:47 PM, Andrey Smirnov wrote: > On Tue, Feb 13, 2018 at 2:15 PM, Michael S. Tsirkin wrote: >> On Tue, Feb 13, 2018 at 12:24:40PM -0800, Andrey Smirnov wrote: >>> On Tue, Feb 13, 2018 at 10:13 AM, Michael S. Tsirkin

Re: [Qemu-devel] [PATCH v6 1/3] pci: Add support for Designware IP block

2018-02-13 Thread Andrey Smirnov
On Tue, Feb 13, 2018 at 2:15 PM, Michael S. Tsirkin wrote: > On Tue, Feb 13, 2018 at 12:24:40PM -0800, Andrey Smirnov wrote: >> On Tue, Feb 13, 2018 at 10:13 AM, Michael S. Tsirkin wrote: >> > On Tue, Feb 13, 2018 at 09:07:10AM -0800, Andrey Smirnov wrote: >> >>

Re: [Qemu-devel] [PATCH v6 1/3] pci: Add support for Designware IP block

2018-02-13 Thread Michael S. Tsirkin
On Tue, Feb 13, 2018 at 12:24:40PM -0800, Andrey Smirnov wrote: > On Tue, Feb 13, 2018 at 10:13 AM, Michael S. Tsirkin wrote: > > On Tue, Feb 13, 2018 at 09:07:10AM -0800, Andrey Smirnov wrote: > >> +static void designware_pcie_root_class_init(ObjectClass *klass, void > >>

Re: [Qemu-devel] [PATCH v6 1/3] pci: Add support for Designware IP block

2018-02-13 Thread Andrey Smirnov
On Tue, Feb 13, 2018 at 10:13 AM, Michael S. Tsirkin wrote: > On Tue, Feb 13, 2018 at 09:07:10AM -0800, Andrey Smirnov wrote: >> +static void designware_pcie_root_class_init(ObjectClass *klass, void *data) >> +{ >> +PCIDeviceClass *k = PCI_DEVICE_CLASS(klass); >> +

Re: [Qemu-devel] [PATCH v6 1/3] pci: Add support for Designware IP block

2018-02-13 Thread Michael S. Tsirkin
On Tue, Feb 13, 2018 at 09:07:10AM -0800, Andrey Smirnov wrote: > +static void designware_pcie_root_class_init(ObjectClass *klass, void *data) > +{ > +PCIDeviceClass *k = PCI_DEVICE_CLASS(klass); > +DeviceClass *dc = DEVICE_CLASS(klass); > + > +set_bit(DEVICE_CATEGORY_BRIDGE,

[Qemu-devel] [PATCH v6 1/3] pci: Add support for Designware IP block

2018-02-13 Thread Andrey Smirnov
Add code needed to get a functional PCI subsytem when using in conjunction with upstream Linux guest (4.13+). Tested to work against "e1000e" (network adapter, using MSI interrupts) as well as "usb-ehci" (USB controller, using legacy PCI interrupts). Based on "i.MX6 Applications Processor