Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-21 Thread Yijing Wang
在 2014/11/22 1:20, Bjorn Helgaas 写道: [+cc Marc] On Tue, Nov 11, 2014 at 09:23:59PM -0700, Bjorn Helgaas wrote: On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: Now PCI host bridge drivers in arm associate MSI chip and PCI bus by adding .add_bus(), and assign MSI chip pointer to ev

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-21 Thread Bjorn Helgaas
[+cc Marc] On Tue, Nov 11, 2014 at 09:23:59PM -0700, Bjorn Helgaas wrote: > On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: > > Now PCI host bridge drivers in arm associate MSI chip and > > PCI bus by adding .add_bus(), and assign MSI chip pointer > > to every PCI bus. Associating MSI

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-18 Thread Marc Zyngier
On Mon, Nov 17 2014 at 9:02:46 pm GMT, Thomas Gleixner wrote: > On Mon, 17 Nov 2014, Bjorn Helgaas wrote: >> On Mon, Nov 17, 2014 at 2:38 AM, Thomas Gleixner wrote: >> > The simplest way to dead with it is that I pull in pci/msi (assuming >> > that it contains only the above) and base the rest

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-17 Thread Thomas Gleixner
On Mon, 17 Nov 2014, Bjorn Helgaas wrote: > Super. Thank you very much for taking care of this; it's a big weight > off my mind. > > You can add my Acked-by to these patches if you want it. I would > suggest a minor comment expansion here, just because the code *looks > like* it's setting up som

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-17 Thread Bjorn Helgaas
On Mon, Nov 17, 2014 at 2:02 PM, Thomas Gleixner wrote: > On Mon, 17 Nov 2014, Bjorn Helgaas wrote: >> On Mon, Nov 17, 2014 at 2:38 AM, Thomas Gleixner wrote: >> > The simplest way to dead with it is that I pull in pci/msi (assuming >> > that it contains only the above) and base the rest of it on

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-17 Thread Thomas Gleixner
On Mon, 17 Nov 2014, Bjorn Helgaas wrote: > On Mon, Nov 17, 2014 at 2:38 AM, Thomas Gleixner wrote: > > The simplest way to dead with it is that I pull in pci/msi (assuming > > that it contains only the above) and base the rest of it on top, so I > > can deal with the resulting conflicts. So you s

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-17 Thread Bjorn Helgaas
On Mon, Nov 17, 2014 at 2:38 AM, Thomas Gleixner wrote: > On Sun, 16 Nov 2014, Bjorn Helgaas wrote: >> On Tue, Nov 11, 2014 at 09:23:59PM -0700, Bjorn Helgaas wrote: >> > On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: >> > > Yijing Wang (10): >> > > MSI: Rename msi_chip to msi_cont

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-17 Thread Thomas Gleixner
On Sun, 16 Nov 2014, Bjorn Helgaas wrote: > On Tue, Nov 11, 2014 at 09:23:59PM -0700, Bjorn Helgaas wrote: > > On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: > > > Yijing Wang (10): > > > MSI: Rename msi_chip to msi_controller for better readability > > > PCI/MSI: Introduce weak p

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-16 Thread Bjorn Helgaas
[+cc Marc, Yingjoe] On Tue, Nov 11, 2014 at 09:23:59PM -0700, Bjorn Helgaas wrote: > On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: > > Now PCI host bridge drivers in arm associate MSI chip and > > PCI bus by adding .add_bus(), and assign MSI chip pointer > > to every PCI bus. Associ

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-11 Thread Bjorn Helgaas
On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: > Now PCI host bridge drivers in arm associate MSI chip and > PCI bus by adding .add_bus(), and assign MSI chip pointer > to every PCI bus. Associating MSI chip and every PCI bus > is not necessary. All PCI busses under same PCI host brdi

[PATCH 00/10] Save MSI chip in pci_sys_data

2014-10-27 Thread Yijing Wang
Now PCI host bridge drivers in arm associate MSI chip and PCI bus by adding .add_bus(), and assign MSI chip pointer to every PCI bus. Associating MSI chip and every PCI bus is not necessary. All PCI busses under same PCI host brdige share the same MSI chip. So saving MSI chip in pci_sys_data is a b