Message ID | 20230307151416.176595-6-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2492666wrd; Tue, 7 Mar 2023 07:25:51 -0800 (PST) X-Google-Smtp-Source: AK7set8kX++udvWBqrhFjvEHgQ7A+0KzL3Wpub2qZgUcDuRIQ0R9H8S0Z7TYiRWAPbZrSVDV4skU X-Received: by 2002:a17:906:1846:b0:888:1f21:4429 with SMTP id w6-20020a170906184600b008881f214429mr14359405eje.19.1678202751541; Tue, 07 Mar 2023 07:25:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678202751; cv=none; d=google.com; s=arc-20160816; b=wTVOyUu7j7F2H5ksadSO2I9mG+EHSsKvjKM6rgI6W6Tj6u5PZqgEJpijMRc7URxkdH ZpBaWUyKGetJO4Wwtsi5dqvodoWY+o7Ns2rEaCWIbS4cCh+SGVBJym6c8t9LrE65WJKI RFfqMOA0dJXVG1dT5gunHGmO+NDUfLAHJh1eLCOKRKCnZXGufLRJDUBUxoEOLQDiNnb1 FVb6vmH895nw1JxY3iQ/QRq+JxbIai970sPmk3fpw0s0PXd7uqlQAW18aOzTBJ0fxV+C oR5m+RP9Jj5O7TtDeshxPG3AQ1Cl3721/1zUJM6QDBCyBm+Ra2BMOgIhuexsb7cTAQJk ekfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VAvWJkbCnkvCCrjEbntOUm0v01njPW2wZQKEuX5KGW0=; b=oiH4W1OgG/zWkNVlkT8WzIZYhRIlaWHc/oazfsBVX9TRhQu9bYHcYJl+UuyzA/s50v GkYZdMZU3q4zOnGpqRVM47ZgSS585EsH9P7pphxlKAwOsspBvVkriwPtQeQAR3gNDSOZ DM7udlHsRBVcim0Ya8Z1aEDjUQP6XVoGCV+OJlJngORCTFgvqTzklX9zn1vsC5+vDr5A KFFF1xa9SF2+nd95GOGnFVHwMDcGdYeDpYJbkwSkbWvCQylXp7/EOR2zNsU2WV7BwdZR dCSA2oaXbnouPyj5M3RiGqHwDvs6SW6BKKrnE+J59ri97dwy1Pdai5vDrhf1B+FuWt37 3iog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HNUPtFiv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb2-20020a170906a44200b009076924e8cesi3044931ejb.251.2023.03.07.07.25.27; Tue, 07 Mar 2023 07:25:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HNUPtFiv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230166AbjCGPSL (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 7 Mar 2023 10:18:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbjCGPRf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Mar 2023 10:17:35 -0500 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2199498A9 for <linux-kernel@vger.kernel.org>; Tue, 7 Mar 2023 07:14:42 -0800 (PST) Received: by mail-pl1-x62e.google.com with SMTP id n6so14418526plf.5 for <linux-kernel@vger.kernel.org>; Tue, 07 Mar 2023 07:14:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678202082; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VAvWJkbCnkvCCrjEbntOUm0v01njPW2wZQKEuX5KGW0=; b=HNUPtFivuXck9bKH1v/OW+mJdGen3G1yROd35N9fSwvXOESdOYuwuwRsourE1FGH6a VkbWNV9qDYEPfwm/PhwxdCG48bc1+nBl5pj1B4AhW97hfwJSo9HV6UicIxBIWeburtsq 69VCHPr86Xjiji3vItjVaSC2BUx/1K4hAoob6wFHNzCcj8E9dzQiV5WEGsRRWlVRuRBT M0W+gih57ordX2DGX3tqSIWjHrl/vzWMrS7Tfsz1gm9yAQ4byhn4766nJkaZzb1qm88B eeovI1O6W+PMItNUw/73iKhLEvTgYz4Xml79jMm4nhYWXzX4AtsinX5T8uonCT/+kjqD BnYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678202082; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VAvWJkbCnkvCCrjEbntOUm0v01njPW2wZQKEuX5KGW0=; b=tN5w5kuMQoUn2XdsJU1PRFuI0jdCV6Gq0AUY64x/gG8QyGIqUb1yRZtSj6mNQEEXzX MqMqtpsgbKPlbubTDQ6yDHlQsFPigsAwql3CyvJIalPI/3oHCufl0QbDeK5zb41dir7Z zicNKvnnp7hVSaaPlVRR1sD9rWmLTGMudl+AFQoYQYhNyYMF9bvdj+jtVerTA0LQiH1f 65ns78Nmloo2uyvVrTvAS7Ixjgh46ohTQmv4cWpCGTMHjYW8YOfpN8D5EJ5zLPfzMsX+ Gtgir08m2P+uTdvRgMcH0jfjDO2KLvoD8qup29M9M7whZb3WbsoztYWmcEGI+rEFCBQ8 emeA== X-Gm-Message-State: AO0yUKUqHmPV3eUjwn36eyU5ayso4BZusLgWQIa6tLY6TNfkGFX2g4Zi SXNgu1cAF1g0HO+QIzztFPjK X-Received: by 2002:a17:902:ec8f:b0:19a:972a:7cb3 with SMTP id x15-20020a170902ec8f00b0019a972a7cb3mr19475595plg.60.1678202082304; Tue, 07 Mar 2023 07:14:42 -0800 (PST) Received: from localhost.localdomain ([59.97.52.140]) by smtp.gmail.com with ESMTPSA id t8-20020a17090340c800b0019c2cf12d15sm8549332pld.116.2023.03.07.07.14.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 07:14:41 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: lpieralisi@kernel.org, kw@linux.com Cc: kishon@kernel.org, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH v2 5/7] PCI: qcom-ep: Add support for Link down notification Date: Tue, 7 Mar 2023 20:44:14 +0530 Message-Id: <20230307151416.176595-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230307151416.176595-1-manivannan.sadhasivam@linaro.org> References: <20230307151416.176595-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759723128769339989?= X-GMAIL-MSGID: =?utf-8?q?1759723128769339989?= |
Series |
Add support for MHI Endpoint function driver
|
|
Commit Message
Manivannan Sadhasivam
March 7, 2023, 3:14 p.m. UTC
Add support to pass Link down notification to Endpoint function driver
so that the LINK_DOWN event can be processed by the function.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
drivers/pci/controller/dwc/pcie-qcom-ep.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/controller/dwc/pcie-qcom-ep.c b/drivers/pci/controller/dwc/pcie-qcom-ep.c index 19b32839ea26..4ce01ff7527c 100644 --- a/drivers/pci/controller/dwc/pcie-qcom-ep.c +++ b/drivers/pci/controller/dwc/pcie-qcom-ep.c @@ -569,6 +569,7 @@ static irqreturn_t qcom_pcie_ep_global_irq_thread(int irq, void *data) if (FIELD_GET(PARF_INT_ALL_LINK_DOWN, status)) { dev_dbg(dev, "Received Linkdown event\n"); pcie_ep->link_status = QCOM_PCIE_EP_LINK_DOWN; + pci_epc_linkdown(pci->ep.epc); } else if (FIELD_GET(PARF_INT_ALL_BME, status)) { dev_dbg(dev, "Received BME event. Link is enabled!\n"); pcie_ep->link_status = QCOM_PCIE_EP_LINK_ENABLED;