lkml.org 
[lkml]   [2019]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/4] PCI: endpoint: Add notification for core init completion
From
Date
Hi,

On 27/11/19 1:48 PM, Kishon Vijay Abraham I wrote:
> Hi,
>
> On 13/11/19 2:38 PM, Vidya Sagar wrote:
>> Add support to send notifications to EPF from EPC once the core
>> registers initialization is complete.
>>
>> Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
>> ---
>> drivers/pci/endpoint/pci-epc-core.c | 19 ++++++++++++++++++-
>> include/linux/pci-epc.h | 1 +
>> include/linux/pci-epf.h | 5 +++++
>> 3 files changed, 24 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/pci/endpoint/pci-epc-core.c b/drivers/pci/endpoint/pci-epc-core.c
>> index 2f6436599fcb..fcc3f7fb19c0 100644
>> --- a/drivers/pci/endpoint/pci-epc-core.c
>> +++ b/drivers/pci/endpoint/pci-epc-core.c
>> @@ -542,10 +542,27 @@ void pci_epc_linkup(struct pci_epc *epc)
>> if (!epc || IS_ERR(epc))
>> return;
>>
>> - atomic_notifier_call_chain(&epc->notifier, 0, NULL);
>> + atomic_notifier_call_chain(&epc->notifier, LINK_UP, NULL);
>> }
>> EXPORT_SYMBOL_GPL(pci_epc_linkup);
>
> Is this based on upstream kernel? or did you create this after applying [1]?

never mind, you've mentioned this depends on my other series in your cover letter.

Thanks
Kishon

\
 
 \ /
  Last update: 2019-11-27 09:25    [W:0.059 / U:1.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site