Re: [PATCH v9 0/5] Simplify PCIe native ownership detection logic

2020-09-29 Thread Kuppuswamy, Sathyanarayanan
Hi, On 9/29/20 2:04 PM, Bjorn Helgaas wrote: On Tue, Sep 29, 2020 at 4:00 PM Kuppuswamy, Sathyanarayanan wrote: Hi Bjorn, On 9/27/20 6:11 PM, Kuppuswamy Sathyanarayanan wrote: Currently, PCIe capabilities ownership status is detected by verifying the status of pcie_ports_native, pcie_ports_

Re: [PATCH v9 0/5] Simplify PCIe native ownership detection logic

2020-09-29 Thread Bjorn Helgaas
On Tue, Sep 29, 2020 at 4:00 PM Kuppuswamy, Sathyanarayanan wrote: > > Hi Bjorn, > > On 9/27/20 6:11 PM, Kuppuswamy Sathyanarayanan wrote: > > Currently, PCIe capabilities ownership status is detected by > > verifying the status of pcie_ports_native, pcie_ports_dpc_native > > and _OSC negotiated r

Re: [PATCH v9 0/5] Simplify PCIe native ownership detection logic

2020-09-29 Thread Kuppuswamy, Sathyanarayanan
Hi Bjorn, On 9/27/20 6:11 PM, Kuppuswamy Sathyanarayanan wrote: Currently, PCIe capabilities ownership status is detected by verifying the status of pcie_ports_native, pcie_ports_dpc_native and _OSC negotiated results (cached in struct pci_host_bridge ->native_* members). But this logic can be

[PATCH v9 0/5] Simplify PCIe native ownership detection logic

2020-09-27 Thread Kuppuswamy Sathyanarayanan
Currently, PCIe capabilities ownership status is detected by verifying the status of pcie_ports_native, pcie_ports_dpc_native and _OSC negotiated results (cached in struct pci_host_bridge ->native_* members). But this logic can be simplified, and we can use only struct pci_host_bridge ->native_* m

[PATCH v9 0/5] Simplify PCIe native ownership detection logic

2020-09-22 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan Currently, PCIe capabilities ownership status is detected by verifying the status of pcie_ports_native, pcie_ports_dpc_native and _OSC negotiated results (cached in struct pci_host_bridge ->native_* members). But this logic can be simplified, and we can use only