Re: [PATCH 0/4] Add support to defer core initialization

From: Kishon Vijay Abraham I
Date: Sun Nov 24 2019 - 23:46:07 EST


Hi,

On 25/11/19 10:03 AM, Vidya Sagar wrote:
> On 11/18/2019 10:13 PM, Jingoo Han wrote:
>>
>>
>> ïOn 11/18/19, 1:55 AM, Vidya Sagar wrote:
>>>
>>> On 11/13/2019 2:38 PM, Vidya Sagar wrote:
>>>> EPC/DesignWare core endpoint subsystems assume that the core registers are
>>>> available always for SW to initialize. But, that may not be the case always.
>>>> For example, Tegra194 hardware has the core running on a clock that is derived
>>>> from reference clock that is coming into the endpoint system from host.
>>>> Hence core is made available asynchronously based on when host system is going
>>>> for enumeration of devices. To accommodate this kind of hardwares, support is
>>>> required to defer the core initialization until the respective platform driver
>>>> informs the EPC/DWC endpoint sub-systems that the core is indeed available for
>>>> initiaization. This patch series is attempting to add precisely that.
>>>> This series is based on Kishon's patch that adds notification mechanism
>>>> support from EPC to EPF @ http://patchwork.ozlabs.org/patch/1109884/
>>>>
>>>> Vidya Sagar (4):
>>>> ÂÂÂ PCI: dwc: Add new feature to skip core initialization
>>>> ÂÂÂ PCI: endpoint: Add notification for core init completion
>>>> ÂÂÂ PCI: dwc: Add API to notify core initialization completion
>>>> ÂÂÂ PCI: pci-epf-test: Add support to defer core initialization
>>>>
>>>> ÂÂ .../pci/controller/dwc/pcie-designware-ep.cÂÂ |Â 79 +++++++-----
>>>>  drivers/pci/controller/dwc/pcie-designware.h | 11 ++
>>>> ÂÂ drivers/pci/endpoint/functions/pci-epf-test.c | 114 ++++++++++++------
>>>> ÂÂ drivers/pci/endpoint/pci-epc-core.cÂÂÂÂÂÂÂÂÂÂ |Â 19 ++-
>>>> ÂÂ include/linux/pci-epc.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂ 2 +
>>>> ÂÂ include/linux/pci-epf.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂ 5 +
>>>> ÂÂ 6 files changed, 164 insertions(+), 66 deletions(-)
>>>>
>>>
>>> Hi Kishon / Gustavo / Jingoo,
>>> Could you please take a look at this patch series?
>>
>> You need a Ack from Kishon, because he made EP code.
> Hi Kishon,
> Could you please find time to review this series?

I'll review it this week. Sorry for the delay.

-Kishon