From patchwork Thu Oct 22 10:16:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lad Prabhakar X-Patchwork-Id: 11850763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MIME_HEADER_CTYPE_ONLY,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, T_TVD_MIME_NO_HEADERS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12A83C4363A for ; Thu, 22 Oct 2020 10:16:25 +0000 (UTC) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5461C2419B for ; Thu, 22 Oct 2020 10:16:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="p5kf3EIV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5461C2419B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5645+4520388+8129055@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id jni4YY4521723xKJWuxh8gmt; Thu, 22 Oct 2020 03:16:23 -0700 X-Received: from relmlie6.idc.renesas.com (relmlie6.idc.renesas.com []) by mx.groups.io with SMTP id smtpd.web10.8438.1603361778788177942 for ; Thu, 22 Oct 2020 03:16:23 -0700 X-IronPort-AV: E=Sophos;i="5.77,404,1596466800"; d="scan'208";a="60292587" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 22 Oct 2020 19:16:23 +0900 X-Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 156F140104CA; Thu, 22 Oct 2020 19:16:21 +0900 (JST) From: "Lad Prabhakar" To: cip-dev@lists.cip-project.org, Pavel Machek , Nobuhiro Iwamatsu Cc: Biju Das Subject: [cip-dev] [PATCH 4.19.y-cip 05/13] PCI: endpoint: Add core init notifying feature Date: Thu, 22 Oct 2020 11:16:06 +0100 Message-Id: <20201022101614.9298-6-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20201022101614.9298-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20201022101614.9298-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: rEozodE2bC8prNi27Y1svjQsx4520388AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1603361783; bh=wlcPFt7qTebouhNwAobshO9cBsEfRI9VyWNodmmeG7s=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=p5kf3EIVyfj/fhTDUVkcipO7VgNfObsneCDS7RCw+bV6CEQtIopekRK9oAlRXc1hT/3 700Jx7uEKHYMsjT+t5tQSzs0wp542W5IMX7PrkohLl7ml/kvwQcVPPVw2+/JLWBh4lC0T jj+BjV03erWvPk+hiHi0krpB7EOxTUgmuro= From: Vidya Sagar commit 3d5f7d9f6a38ddcc105ebfb23b640630bbabba65 upstream. Add a new feature core_init_notifier for cores that can notify about their availability for initialization. Signed-off-by: Vidya Sagar Signed-off-by: Lorenzo Pieralisi Acked-by: Kishon Vijay Abraham I Signed-off-by: Lad Prabhakar --- include/linux/pci-epc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/pci-epc.h b/include/linux/pci-epc.h index 44bfbeb480bb..8f9bbc4b7ad1 100644 --- a/include/linux/pci-epc.h +++ b/include/linux/pci-epc.h @@ -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;