PCI: endpoint: Add core init notifying feature
authorVidya Sagar <vidyas@nvidia.com>
Mon, 17 Feb 2020 12:10:32 +0000 (17:40 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 25 Feb 2020 12:01:18 +0000 (12:01 +0000)
Add a new feature core_init_notifier for cores that can notify about
their availability for initialization.

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
include/linux/pci-epc.h

index ccaf6e3fa93194a42c59187acd3d9b70f3bd565f..9ffe6bd081ae35b68c00ed959914494f006e21db 100644 (file)
@@ -120,6 +120,7 @@ struct pci_epc {
  */
 struct pci_epc_features {
        unsigned int    linkup_notifier : 1;
+       unsigned int    core_init_notifier : 1;
        unsigned int    msi_capable : 1;
        unsigned int    msix_capable : 1;
        u8      reserved_bar;