lkml.org 
[lkml]   [2014]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2 2/2] PCI: generic: Add msi_parent DT binding


On 11/12/14 14:09, Srikanth Thokala wrote:
>>> @@ -122,9 +123,19 @@ static int gen_pci_config_write(struct pci_bus *bus, unsigned int devfn,
>>> >> return PCIBIOS_SUCCESSFUL;
>>> >> }
>>> >>
>>> >>+static int gen_pci_set_msi_parent(struct pci_bus *bus)
>>> >>+{
>>> >>+ struct gen_pci *pci = bus_to_gen_pci(bus);
>>> >>+
>>> >>+ bus->msi = pci->mchip;
>>> >>+
>>> >>+ return PCIBIOS_SUCCESSFUL;
>>> >>+}
>>> >>+
>>> >> static struct pci_ops gen_pci_ops = {
>>> >> .read = gen_pci_config_read,
>>> >> .write = gen_pci_config_write,
>>> >>+ .set_msi_parent = gen_pci_set_msi_parent,
>> >
>> >We assign the msi chip through add_bus() call, do we still need this?
>> >
> There are series of patches from Yijing Wang around this. You may have
> to go through them.
>
> Srikanth
>

Hm.. I was not aware of this patch. Thanks for the pointer. I'll check
them out.

Suravee


\
 
 \ /
  Last update: 2014-11-12 13:21    [W:0.048 / U:19.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site