Message ID | 1701432377-16899-4-git-send-email-quic_msarkar@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1068765vqy; Fri, 1 Dec 2023 04:08:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHycIcPsNLa91k6k1j+I2umASKZsdXwretaJ2osXtj9C9sfMBaEzQwQPJ4PAqua4SC8co8S X-Received: by 2002:a05:6359:c8c:b0:16e:2856:f70b with SMTP id go12-20020a0563590c8c00b0016e2856f70bmr21460903rwb.14.1701432500152; Fri, 01 Dec 2023 04:08:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701432500; cv=none; d=google.com; s=arc-20160816; b=gseCBHuzpgOBi8ZIqwsQe4kX//DdgJ1l1Bg7+nbKL/dqOAXcqsW4Exa5ZloN1zc7iY D5anhZwydwHVkBz4XbZQL5IUgnW/oah1NkiYNmZbEynImmsITp3zixUzL5gwq5H9EKw1 /+it9nhqdrLpoeptLD3300MTGfM6AFbq2EEVpJiQK/CqvoH4kh+2guQ7kUzz0M749BgW 9HxcJn5vyU67TTe5TscQOCF1qBKll78+CnoDsFlpa1LVbkuvxlhvRACxbYWsvQ8oShrz 7NnCT09ABKjM86Ag8QxYzZ4XRyMNCxnh6Fq7c1Z3MgDis0jkkeZu8ARfJUSG0N7TDgIt h2ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=prNP5FasTEW2PoWfZxjSPeYpxqgOwouJysxEz0u+kH8=; fh=5O60zCA/hhxm4MucUeuuKVUJ8jFWonmiib5uCeZhn2o=; b=dmBdE4bfciFf1vW6nYpLN1V4bGA7DbONjjfOsKmWH6PhZWhNNT84fIwxl75Zko4rJN DSZAgYlTRR1OFWNxXknfG03KtgvxH1kIj8gDFQ0j2KLVACgnhH2esVokG6f+ZzpxlBvX PbgPdwNQmavuFJQ8blFi825BRU1SNt5BMmezgfejvPY46ZmkfcOz2piY91X7s/+TMiyv /2y+okshwKLhhy8p2CMFMOzgXcy+5tHyky9RUvPo66flavGQ8c9gmjTEvx2xiwHk4Vf+ zLzu/1KDBG5RBOaoKQLKizNLjMjDVOaon2y753747i+cnMxDZY6Dew/dvS4CWqaiFj5U 3swA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dmt90K3q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id r17-20020a632b11000000b005b96c4292basi3138552pgr.29.2023.12.01.04.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 04:08:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dmt90K3q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B3A7F8079C90; Fri, 1 Dec 2023 04:07:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378733AbjLAMGj (ORCPT <rfc822;ruipengqi7@gmail.com> + 99 others); Fri, 1 Dec 2023 07:06:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378718AbjLAMGc (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 1 Dec 2023 07:06:32 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1C481722; Fri, 1 Dec 2023 04:06:37 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B17bpKN004360; Fri, 1 Dec 2023 12:06:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=prNP5FasTEW2PoWfZxjSPeYpxqgOwouJysxEz0u+kH8=; b=Dmt90K3qjYDjT9n4LZx8x03TQSpltcbMHmhvH6dMMPZUTwyJ8T/7r7PxIu2Uvno0cMwk OqGxpyBW87CK1CMNmySH1/nckewHFqvQV8963Wysei96cSJDMcbnYmAt/T9hSV69AS8U vKFBxH7ccwzA1apOf/7t4k7ORMC7cp4SQLMEcECvjnafaegCdzTedCbToSHULCACT2EH DIAx2lbzDeu+ZsQnibjSmX6rSS4gkUMQWOzSXX+7ve4K+9mlLh43cpvRWR0myYJHdGFK M40Sb5SMgJKCQCAcoDYLQ/UEU4jtC1ZY6zvWrVre/CeIXg3etvKTjRAB9PDdboc7JRqA 7g== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uq79h91c4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Dec 2023 12:06:28 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 3B1C6PSb020153; Fri, 1 Dec 2023 12:06:25 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3unmf08sjj-1; Fri, 01 Dec 2023 12:06:25 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3B1C6PtO020147; Fri, 1 Dec 2023 12:06:25 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-msarkar-hyd.qualcomm.com [10.213.111.194]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3B1C6Pnj020146; Fri, 01 Dec 2023 12:06:25 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3891782) id 6038A3064; Fri, 1 Dec 2023 17:36:24 +0530 (+0530) From: Mrinmay Sarkar <quic_msarkar@quicinc.com> To: agross@kernel.org, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org, robh+dt@kernel.org Cc: quic_shazhuss@quicinc.com, quic_nitegupt@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, dmitry.baryshkov@linaro.org, robh@kernel.org, quic_krichai@quicinc.com, quic_vbadigan@quicinc.com, quic_parass@quicinc.com, quic_schintav@quicinc.com, quic_shijjose@quicinc.com, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, Mrinmay Sarkar <quic_msarkar@quicinc.com>, Bjorn Helgaas <bhelgaas@google.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Kishon Vijay Abraham I <kishon@kernel.org>, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mhi@lists.linux.dev Subject: [PATCH v9 3/5] PCI: epf-mhi: Add "pci_epf_mhi_" prefix to the function names Date: Fri, 1 Dec 2023 17:36:14 +0530 Message-Id: <1701432377-16899-4-git-send-email-quic_msarkar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1701432377-16899-1-git-send-email-quic_msarkar@quicinc.com> References: <1701432377-16899-1-git-send-email-quic_msarkar@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: LHP9O9vjO-X4w41W2Lk-o4vrlyr1JVYQ X-Proofpoint-GUID: LHP9O9vjO-X4w41W2Lk-o4vrlyr1JVYQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-01_09,2023-11-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 mlxscore=0 phishscore=0 suspectscore=0 spamscore=0 mlxlogscore=746 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312010080 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 01 Dec 2023 04:07:19 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784081284826667476 X-GMAIL-MSGID: 1784081284826667476 |
Series |
arm64: qcom: sa8775p: add support for EP PCIe
|
|
Commit Message
Mrinmay Sarkar
Dec. 1, 2023, 12:06 p.m. UTC
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Without the prefix, the function name would appear as "/sys/kernel/config/functions/{sdx55/sm8450}". This will be a problem if multiple functions are supported for this endpoint device. So let's add the "pci_epf_mhi_" prefix to identify _this_ function uniquely. Even though it is an ABI breakage, this driver is not used anywhere outside Qcom and myself to my knowledge. So it safe to change the function name. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Mrinmay Sarkar <quic_msarkar@quicinc.com> --- drivers/pci/endpoint/functions/pci-epf-mhi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/endpoint/functions/pci-epf-mhi.c b/drivers/pci/endpoint/functions/pci-epf-mhi.c index b7b9d3e..5b0515a 100644 --- a/drivers/pci/endpoint/functions/pci-epf-mhi.c +++ b/drivers/pci/endpoint/functions/pci-epf-mhi.c @@ -677,8 +677,8 @@ static int pci_epf_mhi_probe(struct pci_epf *epf, } static const struct pci_epf_device_id pci_epf_mhi_ids[] = { - { .name = "sdx55", .driver_data = (kernel_ulong_t)&sdx55_info }, - { .name = "sm8450", .driver_data = (kernel_ulong_t)&sm8450_info }, + { .name = "pci_epf_mhi_sdx55", .driver_data = (kernel_ulong_t)&sdx55_info }, + { .name = "pci_epf_mhi_sm8450", .driver_data = (kernel_ulong_t)&sm8450_info }, {}, };