Message ID | 20230314044623.10254-7-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 v21csp1567578wrd; Mon, 13 Mar 2023 22:01:21 -0700 (PDT) X-Google-Smtp-Source: AK7set+he8FqJmP3Zz6lBp6PVmhhp8wXdRRZQUnpi4GaD5ZccuGrk61zCN9KbPZYeMHKEYLjFhcE X-Received: by 2002:a1f:32ce:0:b0:432:2c29:a3e0 with SMTP id y197-20020a1f32ce000000b004322c29a3e0mr1013504vky.13.1678770081164; Mon, 13 Mar 2023 22:01:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678770081; cv=none; d=google.com; s=arc-20160816; b=PrBakLkBbV6WouM/PB8XTqd7IL/W5lw4MpS2U5QU5bDe8PW7asvk+LDjfDTXBjK+Au rRATDIv7HvE31oaEtJIWx6exoaItRR1el88h38exzNgBF7Z85z6JjVousP9Ew/vOLRX8 Ylp7V+GVtP2r3Y1uOrbSxKKumIxFBXs3X2Fzw8MX28i6ayF8Rb4snw2O3y1WrCDvykMs M7AA1Hfw0nRreRjm25tkmHcVuRAF+gxWXLx2S8O0saEvgLvJQLPFWTV5x8vsY9VGDj4+ 7FUpoCdONfQ4cYAvhjveClUgL7wW+Fd9S1mljsSeD3ncXsHc8UCqWbKW9wNuX0CRPTYY +Z1g== 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=UG6X0V5nxXAs/7mwFsePGG2/rhZWHmM/NsTiFkA/mm8=; b=0mrxRFrmubEDsQ5ZdRbYnPlOuB5k4XWb+2dwuyZdKYTY8rWSjgkHZBEttbaUt92LZh XzEmEtuiuVU+irle5JEFTcZSM90rTmxwzEbvEI7QvFaiHTpv+htm3VKP/RbEMfE8yjSy LuMkL9tUDveJA/oTkLJUIaEDxVQMeaicNkKYhqSzowRYG+3ItAx2Yb8BmK1aZlvG/5ck Kq/HJyiqE/tFaQ6/+KMjaUMRsPn5KaFWLTg4z2WoXYyk/JivGGbGQfb4K3PBiQSGug8n iKA+BnlEgkKmWbzN9HhDSpPa47Ppmcdk8AWUKVsRkZk4pCTVX++qjrAgorTuPUmubmgK WEGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="A/G8tI3v"; 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 q64-20020a1fd943000000b004318a60fc2csi995426vkg.40.2023.03.13.22.01.05; Mon, 13 Mar 2023 22:01:21 -0700 (PDT) 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="A/G8tI3v"; 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 S230035AbjCNErY (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Tue, 14 Mar 2023 00:47:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbjCNErM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Mar 2023 00:47:12 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB3D3911D8 for <linux-kernel@vger.kernel.org>; Mon, 13 Mar 2023 21:46:52 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id h8so15314252plf.10 for <linux-kernel@vger.kernel.org>; Mon, 13 Mar 2023 21:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678769212; 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=UG6X0V5nxXAs/7mwFsePGG2/rhZWHmM/NsTiFkA/mm8=; b=A/G8tI3v0j1rlyEl0eaG32lsjFEdk1zArRvol3guPW7i0h9EOjCk00P7X/LsJ2YK8l uTqzNwCuAWKeabTDbjlaudLGKlwvVPt0uBFsh6ijip4jsSfQu99w+EKxcAcZ5wlprSoN JqK+zY3i/cCv93euqmx4wiDeiGEQQg89YGE+qQMHMZQAr/rK4gAPhicIxXy2MesqYllj XVJbJMnDakXv0ZShVsTTAtJqwjHbGFu63JypBaBPJV97ZjgcMqEJhOt9/iN66YDYoyIH LluzbtIpnsLOEvSK7Mgvcn8Gt9aEPK/Kh6GiQOpEtn+cEaNe00GOu3alKuiOtY0Rinxp MdsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678769212; 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=UG6X0V5nxXAs/7mwFsePGG2/rhZWHmM/NsTiFkA/mm8=; b=caQdfsm5fLJkFwdnLcMaABjSl0gR5H8OMduronTQNud/TdJCJUV9h2/vOMxr9KGyBQ lbbliJqffGOHR3wqLAsEY02uh+NSJ7pdO2VJLSqM02RvQmEhhwj8YJ6w8JLj4fAsq+ts uxhku1law8YGAZIzXDz/YmpWYOTPx67pa8dQdgYb1muWLQ2ZtfM3NQ4v+jEIm4J3eWqr GugOfMig3xLzSTWrCz2HKFaQjxIok8nXd3MJI2OWGJErTcFO/UQH6Pp/hP1K43Mu5dJ+ ZXTeFxYo4B/9O8jF7ULKCZKThd4+Px6y/NxG8Kif2K42km0OBqYRHNS9V9fKSAibu1TL J5tg== X-Gm-Message-State: AO0yUKVMi0SYdzaxcwg/8BpVzczEpNfQ/yGQl3OXF8dfL2p/sGfpzy1v bgGsuywavYxHgOsfNEFeGNIdx0LNOL8Qhjj5SQ== X-Received: by 2002:a17:903:1205:b0:19e:dc0e:1269 with SMTP id l5-20020a170903120500b0019edc0e1269mr27282300plh.7.1678769212290; Mon, 13 Mar 2023 21:46:52 -0700 (PDT) Received: from localhost.localdomain ([117.217.177.49]) by smtp.gmail.com with ESMTPSA id lh13-20020a170903290d00b0019c2b1c4ad4sm690125plb.6.2023.03.13.21.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 21:46:52 -0700 (PDT) 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 v3 6/7] PCI: qcom-ep: Add support for BME notification Date: Tue, 14 Mar 2023 10:16:22 +0530 Message-Id: <20230314044623.10254-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230314044623.10254-1-manivannan.sadhasivam@linaro.org> References: <20230314044623.10254-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?1760318016304535242?= X-GMAIL-MSGID: =?utf-8?q?1760318016304535242?= |
Series |
Add support for MHI Endpoint function driver
|
|
Commit Message
Manivannan Sadhasivam
March 14, 2023, 4:46 a.m. UTC
Add support to pass BME (Bus Master Enable) notification to Endpoint
function driver so that the BME 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 4ce01ff7527c..1435f516d3f7 100644 --- a/drivers/pci/controller/dwc/pcie-qcom-ep.c +++ b/drivers/pci/controller/dwc/pcie-qcom-ep.c @@ -573,6 +573,7 @@ static irqreturn_t qcom_pcie_ep_global_irq_thread(int irq, void *data) } 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; + pci_epc_bme_notify(pci->ep.epc); } else if (FIELD_GET(PARF_INT_ALL_PM_TURNOFF, status)) { dev_dbg(dev, "Received PM Turn-off event! Entering L23\n"); val = readl_relaxed(pcie_ep->parf + PARF_PM_CTRL);