Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-16 Thread Bjorn Helgaas
On Tue, Sep 15, 2020 at 09:09:20AM -0700, Sean V Kelley wrote: > Walking the bus with an RCEC as it is probed in the portdrv_pci.c can be > done with both its own bus (bitmap) and with supported associated bus > ranges. In that walk I’m able to find all the associated endpoints via both > bitmap

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-16 Thread Bjorn Helgaas
On Mon, Sep 14, 2020 at 09:55:53AM -0700, Sean V Kelley wrote: > On 11 Sep 2020, at 17:50, Bjorn Helgaas wrote: > > On Fri, Sep 11, 2020 at 04:16:03PM -0700, Sean V Kelley wrote: > > > I’ve done some experimenting with this approach, and I think > > > there may be a problem of just walking the

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-15 Thread Sean V Kelley
On 15 Sep 2020, at 9:09, Sean V Kelley wrote: On 14 Sep 2020, at 9:55, Sean V Kelley wrote: On 11 Sep 2020, at 17:50, Bjorn Helgaas wrote: On Fri, Sep 11, 2020 at 04:16:03PM -0700, Sean V Kelley wrote: On 4 Sep 2020, at 19:23, Bjorn Helgaas wrote: On Fri, Sep 04, 2020 at 10:18:30PM +,

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-15 Thread Sean V Kelley
On 14 Sep 2020, at 9:55, Sean V Kelley wrote: On 11 Sep 2020, at 17:50, Bjorn Helgaas wrote: On Fri, Sep 11, 2020 at 04:16:03PM -0700, Sean V Kelley wrote: On 4 Sep 2020, at 19:23, Bjorn Helgaas wrote: On Fri, Sep 04, 2020 at 10:18:30PM +, Kelley, Sean V wrote: Hi Bjorn, Quick

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-14 Thread Sean V Kelley
On 11 Sep 2020, at 17:50, Bjorn Helgaas wrote: On Fri, Sep 11, 2020 at 04:16:03PM -0700, Sean V Kelley wrote: On 4 Sep 2020, at 19:23, Bjorn Helgaas wrote: On Fri, Sep 04, 2020 at 10:18:30PM +, Kelley, Sean V wrote: Hi Bjorn, Quick question below... On Wed, 2020-09-02 at 14:55 -0700,

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-11 Thread Bjorn Helgaas
On Fri, Sep 11, 2020 at 04:16:03PM -0700, Sean V Kelley wrote: > On 4 Sep 2020, at 19:23, Bjorn Helgaas wrote: > > On Fri, Sep 04, 2020 at 10:18:30PM +, Kelley, Sean V wrote: > > > Hi Bjorn, > > > > > > Quick question below... > > > > > > On Wed, 2020-09-02 at 14:55 -0700, Sean V Kelley

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-11 Thread Sean V Kelley
On 4 Sep 2020, at 19:23, Bjorn Helgaas wrote: On Fri, Sep 04, 2020 at 10:18:30PM +, Kelley, Sean V wrote: Hi Bjorn, Quick question below... On Wed, 2020-09-02 at 14:55 -0700, Sean V Kelley wrote: Hi Bjorn, On Wed, 2020-09-02 at 14:00 -0500, Bjorn Helgaas wrote: On Wed, Aug 12, 2020 at

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-04 Thread Bjorn Helgaas
On Fri, Sep 04, 2020 at 10:18:30PM +, Kelley, Sean V wrote: > Hi Bjorn, > > Quick question below... > > On Wed, 2020-09-02 at 14:55 -0700, Sean V Kelley wrote: > > Hi Bjorn, > > > > On Wed, 2020-09-02 at 14:00 -0500, Bjorn Helgaas wrote: > > > On Wed, Aug 12, 2020 at 09:46:53AM -0700, Sean

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-04 Thread Kelley, Sean V
Hi Bjorn, Quick question below... On Wed, 2020-09-02 at 14:55 -0700, Sean V Kelley wrote: > Hi Bjorn, > > On Wed, 2020-09-02 at 14:00 -0500, Bjorn Helgaas wrote: > > On Wed, Aug 12, 2020 at 09:46:53AM -0700, Sean V Kelley wrote: > > > From: Qiuxu Zhuo > > > > > > When an RCEC device signals

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-02 Thread Sean V Kelley
Hi Bjorn, On Wed, 2020-09-02 at 14:00 -0500, Bjorn Helgaas wrote: > On Wed, Aug 12, 2020 at 09:46:53AM -0700, Sean V Kelley wrote: > > From: Qiuxu Zhuo > > > > When an RCEC device signals error(s) to a CPU core, the CPU core > > needs to walk all the RCiEPs associated with that RCEC to check >

Re: [PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-09-02 Thread Bjorn Helgaas
On Wed, Aug 12, 2020 at 09:46:53AM -0700, Sean V Kelley wrote: > From: Qiuxu Zhuo > > When an RCEC device signals error(s) to a CPU core, the CPU core > needs to walk all the RCiEPs associated with that RCEC to check > errors. So add the function pcie_walk_rcec() to walk all RCiEPs > associated

[PATCH v3 04/10] PCI/RCEC: Add pcie_walk_rcec() to walk associated RCiEPs

2020-08-12 Thread Sean V Kelley
From: Qiuxu Zhuo When an RCEC device signals error(s) to a CPU core, the CPU core needs to walk all the RCiEPs associated with that RCEC to check errors. So add the function pcie_walk_rcec() to walk all RCiEPs associated with the RCEC device. Co-developed-by: Sean V Kelley Signed-off-by: Sean