From patchwork Fri Sep 15 22:50:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 140989 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1530749vqi; Sat, 16 Sep 2023 00:34:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFujgizYAQ/st7kD6un8t/xDQ69SVg8BxsaJV0iT9CkTM5VFrOPMRyVdk/Tf7UBRSQlCYlh X-Received: by 2002:a17:902:ced1:b0:1bd:a42a:215e with SMTP id d17-20020a170902ced100b001bda42a215emr4844678plg.38.1694849669194; Sat, 16 Sep 2023 00:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694849669; cv=none; d=google.com; s=arc-20160816; b=dSXiTIGavVd5KivJPN7B75Jy5BqcxhO2KAejLYzO4+fHAapLdCkeLzgqnxz69UjSTy Unmm8iVXxI/R7DwilCAMQMytu9YE7/XRLw7/QSLffC2ikXCr6RnCyuD7bK0gyySD2MAP qWQ7Ud6muTYFKN8DSYoGWG+ECKi36Qy9K5K0sZ0zQmxyx3b5JZVI8hNUhVQ+nGidVkgM yDjGlrf50rv2SZ9rk1Xj2WLH1B/1QkFBufFm5OKfudiH8XhF9CupZF4IODy65h/JQuwH 7yUnhh1QtzMwdyZWD4chkCJjakeljD/GYN6z5ytfoW7EUZZiGsfcK9FRcFJcPNO4Rcx6 765g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=Rq+WMV61EQxBRnqNlUYUUkHdDShH4wAOxNrzM71Hi1A=; fh=VDJ8ITyVlD8+wZwLDEg/fGRkWYn8aossHZYqUTS8xsU=; b=JlOldz5sSRsxAOxhmJsOxq9Y4kstt3kaPYCMhnQG6TBr61DrUTfK38oxq/Bom9aw7j /h0QI+WCOf+gkFc9gDLk2fB2knRkpxrwaZmvkDjy/gtCANDyowHppERj2hU12SiL4ogA HQKSo0bS9+ixYxE2B7hcccCtSyrES6dd0rMEdFdWyVt1cCWiaZNpuBezHLiPHYPinHE3 e/wVMnXCQydf0xvRDixYiqDdhMwYSfKOIV1jhabbkGaSYrrmqiW0ktL6erNddoiDvOgH NI9BmI/DrNjQUivx7aIUskAlRMVbjsou1sx32yYxc8pmqhgs5G5HbHMHIBMBVRZxYGkX wYcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CE1rdsuk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id i12-20020a17090332cc00b001c09b7cf835si4903847plr.412.2023.09.16.00.34.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 00:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CE1rdsuk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id CA125813EA80; Fri, 15 Sep 2023 15:51:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237893AbjIOWvL (ORCPT + 28 others); Fri, 15 Sep 2023 18:51:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238113AbjIOWuu (ORCPT ); Fri, 15 Sep 2023 18:50:50 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E9882723; Fri, 15 Sep 2023 15:50:38 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38FMnYxI003314; Fri, 15 Sep 2023 22:50:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : date : subject : mime-version : content-type : content-transfer-encoding : message-id : to : cc; s=qcppdkim1; bh=Rq+WMV61EQxBRnqNlUYUUkHdDShH4wAOxNrzM71Hi1A=; b=CE1rdsukxrXsvhWkCjQ1eh1C/mmTlLsjwKxPAHVl6uItMlL1n9wYEqVLrdsnGj4BVvxF fWh4+Wd0sB1QSelJ5dn+qac4xQIh51LX+nYdKbzE/NVA4FuI858a1IdY/0MxuQZN0s9P m9xZ2B0KZrNYK9G8dzA+vePgABt3CaDhSH5roLIgHa/gNHVvKZTn32sEWMZBImui0Orr ECxuyjfHHQLvlpBlrWpuSQWXIYUoJ2jNvEqEKAgiKUfTLxirFh5Yw6rAxncmkSe6fQ+9 R2pTeM51SF6px1XxXO6Mo8aWGkIK/K9z+58Sf3K6E55q1LgdXBo5MZp2RAVAxSQmfDMI 3Q== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t4g2xje4x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2023 22:50:26 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38FMoPoP004061 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Sep 2023 22:50:25 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 15 Sep 2023 15:50:25 -0700 From: Bjorn Andersson Date: Fri, 15 Sep 2023 15:50:14 -0700 Subject: [PATCH] firmware: qcom: qseecom: Add missing AUXILIARY_BUS dependency MIME-Version: 1.0 Message-ID: <20230915-qseecom-auxiliary-fix-v1-1-38a46cfbfdb0@quicinc.com> X-B4-Tracking: v=1; b=H4sIAKXfBGUC/x2NQQ6CQAxFr0K6tgkDEsWrGBadsUiTcdA2GAzh7 jYs38t/+RsYq7DBrdpA+Ssmc3EIpwrSROXJKA9naOqmrfvQ4ceY0/xCWlbJQvrDUVYM3eVMkdu Y+it4G8kYo1JJk9dlydnlW9m3x9l92Pc/kbR6anwAAAA= To: Johan Hovold , Maximilian Luz , Bjorn Andersson CC: , , "Randy Dunlap" , Bjorn Andersson X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694818225; l=1206; i=quic_bjorande@quicinc.com; s=20230915; h=from:subject:message-id; bh=3AXZqUE/jJJNCUFli6CzTPo9/6Rt0QhpzCwi99m6qno=; b=Ax4uTMO/iuNbDHpLEfHlNzTBn4bi8xwn8CgTLxhtPD/C4N9dd8uZ5tC86rd4zMoAQUFc76oMOqRo j5bLz5uqAGo4ofsQIJ6w4CNBehZS3EYPphwI4Ft6lhlnAyoHFK0Q X-Developer-Key: i=quic_bjorande@quicinc.com; a=ed25519; pk=VkhObtljigy9k0ZUIE1Mvr0Y+E1dgBEH9WoLQnUtbIM= X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: hFMD9OpBP_5QXApnKI7KnJ7IYWGHhCPa X-Proofpoint-ORIG-GUID: hFMD9OpBP_5QXApnKI7KnJ7IYWGHhCPa X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-15_19,2023-09-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1011 phishscore=0 impostorscore=0 adultscore=0 mlxlogscore=962 bulkscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309150205 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_BLOCKED, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 15:51:39 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777178686744896317 X-GMAIL-MSGID: 1777178686744896317 The newly introduced QSEECOM driver fail to link if the system is built without CONFIG_AUXILIARY_BUS, make sure it is selected. Fixes: 00b1248606ba ("firmware: qcom_scm: Add support for Qualcomm Secure Execution Environment SCM interface") Reported-by: Randy Dunlap Closes: https://lore.kernel.org/r/9f156fa6-e5aa-4cb2-ab2b-b67fd8fc4840%40infradead.org Signed-off-by: Bjorn Andersson Acked-by: Randy Dunlap Tested-by: Randy Dunlap Reviewed-by: Maximilian Luz --- drivers/firmware/Kconfig | 1 + 1 file changed, 1 insertion(+) --- base-commit: dfa449a58323de195773cf928d99db4130702bf7 change-id: 20230915-qseecom-auxiliary-fix-1574abe3bc98 Best regards, diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index a94202229a71..8c608be30060 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -229,6 +229,7 @@ config QCOM_SCM_DOWNLOAD_MODE_DEFAULT config QCOM_QSEECOM bool "Qualcomm QSEECOM interface driver" depends on QCOM_SCM=y + select AUXILIARY_BUS help Various Qualcomm SoCs have a Secure Execution Environment (SEE) running in the Trust Zone. This module provides an interface to that via the