Re: [PATCH] PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c

2021-03-22 Thread Lorenzo Pieralisi
On Wed, 17 Mar 2021 18:45:18 +0530, Kishon Vijay Abraham I wrote: > Both TI's AM65x (K3) and TI's K2 PCIe driver are implemented in > pci-keystone. However Only K2 PCIe driver should use it's own pci_ops > for configuration space accesses. But commit 10a797c6e54a > ("PCI: dwc: keystone: Use

Re: [PATCH] PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c

2021-03-18 Thread Krzysztof WilczyƄski
Hi Kishon, Thank you for the fix! [...] > @@ -798,7 +798,8 @@ static int __init ks_pcie_host_init(struct pcie_port *pp) > int ret; > > pp->bridge->ops = _pcie_ops; > - pp->bridge->child_ops = _child_pcie_ops; > + if (!ks_pcie->is_am6) > + pp->bridge->child_ops =

[PATCH] PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c

2021-03-17 Thread Kishon Vijay Abraham I
Both TI's AM65x (K3) and TI's K2 PCIe driver are implemented in pci-keystone. However Only K2 PCIe driver should use it's own pci_ops for configuration space accesses. But commit 10a797c6e54a ("PCI: dwc: keystone: Use pci_ops for config space accessors") used custom pci_ops for both AM65x and K2.