Re: [PATCH] PCI: dwc: Change the inheritance between the abstracted structures

2021-04-07 Thread Rob Herring
; ; Gustavo Pimentel > > ; Xiaowei Song > > ; Binghui Wang ; > > Stanimir Varbanov ; Pratyush Anand > > ; Kunihiko Hayashi > > ; Jason Yan ; > > Thierry Reding > > Subject: Re: [PATCH] PCI: dwc: Change the inheritance between the > > abstracted struct

RE: [PATCH] PCI: dwc: Change the inheritance between the abstracted structures

2021-04-07 Thread Z.q. Hou
; Pratyush Anand > ; Kunihiko Hayashi > ; Jason Yan ; > Thierry Reding > Subject: Re: [PATCH] PCI: dwc: Change the inheritance between the > abstracted structures > > On Tue, Apr 06, 2021 at 05:28:25PM +0800, Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > > > Curr

Re: [PATCH] PCI: dwc: Change the inheritance between the abstracted structures

2021-04-06 Thread Rob Herring
On Fri, Jan 29, 2021 at 3:32 AM Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > Currently the core struct dw_pcie includes both struct pcie_port > and dw_pcie_ep and the RC and EP platform drivers directly > includes the dw_pcie. So it results in a RC or EP platform driver > has 2 indirect

Re: [PATCH] PCI: dwc: Change the inheritance between the abstracted structures

2021-04-06 Thread Bjorn Helgaas
On Tue, Apr 06, 2021 at 05:28:25PM +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Currently the core struct dw_pcie includes both struct pcie_port > and dw_pcie_ep and the RC and EP platform drivers directly > includes the dw_pcie. So it results in a RC or EP platform driver > has 2

[PATCH] PCI: dwc: Change the inheritance between the abstracted structures

2021-04-06 Thread Zhiqiang Hou
From: Hou Zhiqiang Currently the core struct dw_pcie includes both struct pcie_port and dw_pcie_ep and the RC and EP platform drivers directly includes the dw_pcie. So it results in a RC or EP platform driver has 2 indirect parents pcie_port and dw_pcie_ep, but it doesn't make sense let RC

RE: [PATCH] PCI: dwc: Change the inheritance between the abstracted structures

2021-04-06 Thread Z.q. Hou
gt; Stanimir Varbanov ; Pratyush Anand > ; Kunihiko Hayashi > ; Jason Yan ; > Thierry Reding > Subject: [PATCH] PCI: dwc: Change the inheritance between the abstracted > structures > > From: Hou Zhiqiang > > Currently the core struct dw_pcie includes both struct pci