Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-04-03 Thread Rob Herring
On Wed, Mar 29, 2017 at 01:34:45PM +0200, Marc Gonzalez wrote: > This driver is used to work around HW bugs in the controller. > > Note: the controller does NOT support the following features. > > Legacy PCI interrupts > IO space > > Signed-off-by: Marc Gonzalez

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-04-03 Thread Rob Herring
On Wed, Mar 29, 2017 at 01:34:45PM +0200, Marc Gonzalez wrote: > This driver is used to work around HW bugs in the controller. > > Note: the controller does NOT support the following features. > > Legacy PCI interrupts > IO space > > Signed-off-by: Marc Gonzalez > --- >

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-30 Thread kbuild test robot
Hi Marc, [auto build test ERROR on v4.9-rc8] [also build test ERROR on next-20170330] [cannot apply to pci/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-30 Thread kbuild test robot
Hi Marc, [auto build test ERROR on v4.9-rc8] [also build test ERROR on next-20170330] [cannot apply to pci/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

RE: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread David Laight
> > For my education, what is the API to send an IPI? > > And the API to handle an IPI? > > There are a few ways you could implement some custom cross-call, > although in this case I think stop_machine() would probably be the most > appropriate candidate. However, you're right that in general it

RE: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread David Laight
> > For my education, what is the API to send an IPI? > > And the API to handle an IPI? > > There are a few ways you could implement some custom cross-call, > although in this case I think stop_machine() would probably be the most > appropriate candidate. However, you're right that in general it

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread Robin Murphy
On 29/03/17 13:53, Mason wrote: > On 29/03/2017 14:19, Robin Murphy wrote: > >> On 29/03/17 12:34, Marc Gonzalez wrote: >> >>> + /* >>> +* QUIRK #3 >>> +* Unfortunately, config and mem spaces are muxed. >>> +* Linux does not support such a setting, since drivers are free >>> +*

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread Robin Murphy
On 29/03/17 13:53, Mason wrote: > On 29/03/2017 14:19, Robin Murphy wrote: > >> On 29/03/17 12:34, Marc Gonzalez wrote: >> >>> + /* >>> +* QUIRK #3 >>> +* Unfortunately, config and mem spaces are muxed. >>> +* Linux does not support such a setting, since drivers are free >>> +*

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread Mason
On 29/03/2017 14:19, Robin Murphy wrote: > On 29/03/17 12:34, Marc Gonzalez wrote: > >> +/* >> + * QUIRK #3 >> + * Unfortunately, config and mem spaces are muxed. >> + * Linux does not support such a setting, since drivers are free >> + * to access mem space directly, at any

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread Mason
On 29/03/2017 14:19, Robin Murphy wrote: > On 29/03/17 12:34, Marc Gonzalez wrote: > >> +/* >> + * QUIRK #3 >> + * Unfortunately, config and mem spaces are muxed. >> + * Linux does not support such a setting, since drivers are free >> + * to access mem space directly, at any

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread Robin Murphy
On 29/03/17 12:34, Marc Gonzalez wrote: > This driver is used to work around HW bugs in the controller. > > Note: the controller does NOT support the following features. > > Legacy PCI interrupts > IO space > > Signed-off-by: Marc Gonzalez > --- >

Re: [PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread Robin Murphy
On 29/03/17 12:34, Marc Gonzalez wrote: > This driver is used to work around HW bugs in the controller. > > Note: the controller does NOT support the following features. > > Legacy PCI interrupts > IO space > > Signed-off-by: Marc Gonzalez > --- >

[PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread Marc Gonzalez
This driver is used to work around HW bugs in the controller. Note: the controller does NOT support the following features. Legacy PCI interrupts IO space Signed-off-by: Marc Gonzalez --- Documentation/devicetree/bindings/pci/tango-pcie.txt | 33 +

[PATCH v3 2/2] PCI: Add tango PCIe host bridge support

2017-03-29 Thread Marc Gonzalez
This driver is used to work around HW bugs in the controller. Note: the controller does NOT support the following features. Legacy PCI interrupts IO space Signed-off-by: Marc Gonzalez --- Documentation/devicetree/bindings/pci/tango-pcie.txt | 33 + drivers/pci/host/Kconfig