From patchwork Fri Oct 20 06:19:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 155822 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2010:b0:403:3b70:6f57 with SMTP id fe16csp857745vqb; Thu, 19 Oct 2023 23:20:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFW08fMizsZ2URbPuFHGwRjb2CQwBYEHdJM7egqCTwNL5/AsYBNIkqlvFRz0hGehfPldb+x X-Received: by 2002:aa7:900b:0:b0:692:6417:728a with SMTP id m11-20020aa7900b000000b006926417728amr5333587pfo.14.1697782854660; Thu, 19 Oct 2023 23:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697782854; cv=none; d=google.com; s=arc-20160816; b=GXMd7IBO9+1LO5GyR00YSdkAKI5pVC3NeyvPudqQVn7V/07edcU0idy6gj2gF3ixPE QmUfxkQ52RueItzuxJIyfJJ4hTIoZSYE+ALC+xOe6xAsuTVKhQtxaHV7juHy533QwzAy L8XYDUqHFC/4WFKuj3+PVVl0GKZtVocDf9XNTXSdtCQrkuG9RYA5RG5MZTMv37ILSBi5 YYGajJzJosO6e7nfQaksSN5IvhNMlJ9RlemFATOZlxKmnl4hGZ7j2NVXrf0a762aIG2q 9p5S6veaJrBIizhDnW9EH3JSSay3N3WRLpr1eDgQWTX5IQSjyJRGnSF1bb/8+dN4QLff rMeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=CR3tJjuhXrtj1EfNzZkOrKaOBnf10GkEPIsMGQDmrqY=; fh=/PcbLsdifyktaw5PNVUHNeBf/uyMY7MMN8WFopaJ5z8=; b=lCczNWGpZNBfz+81B/fa1worqdOem6mA6bA7wWGv6E/RwyNgS8xibt5JjZKJueijqv Acvu9xggK97UXl/ANyAehzbojjDdYC55DiX/5GKUEukUe1obH9p9//TcdGaiWZIuGV1u oNeMxEhKIKOiabD1IB8eDZoIqSmdrY/ZvvSKOUjKK1Q4oOS9JpY2VTGj23RVI6JhDoUI M0jptVIULw7w6azvMSSlXNa0Pnx0r4rV0e1X5lswK7mcmRUqFeGv0UmB+npoN/5q82Gk 4Exw3r0CD44yYt2rNPx+a8GrvPnC8qo4QH+44D7/oiZgRICJluB3ZX03MyhdQOT6z55m bEIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PfUnbFDZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ca17-20020a056a02069100b005a1d8815ec0si1301382pgb.37.2023.10.19.23.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 23:20:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PfUnbFDZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id B494E8325EB0; Thu, 19 Oct 2023 23:20:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376332AbjJTGUi (ORCPT + 25 others); Fri, 20 Oct 2023 02:20:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376314AbjJTGUf (ORCPT ); Fri, 20 Oct 2023 02:20:35 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D651D55; Thu, 19 Oct 2023 23:20:34 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39K5SSVH029218; Fri, 20 Oct 2023 06:20:00 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 : mime-version : content-type; s=qcppdkim1; bh=CR3tJjuhXrtj1EfNzZkOrKaOBnf10GkEPIsMGQDmrqY=; b=PfUnbFDZbmCbWGF3rRvaLe8YQktJGIRpI/Mr+tqItfB2V/5o1LYyfnhvcrvuSXWT8jET /Bqr+L5r+DEPdzsQh5BaSuoevYjnstkrpqA3XCV2X575rXLWLfkd9tmSTylt18l46bEi uk811rmSJaIenODWa/2yX6qa7sTxgH7gpVy57zn+QEEPl5iaTqbDQIlJSRWYK+bpA+4c 1ZON13Pbdto+11qTf1SBt1RLqmNhQC29GLdoVypOoX/CwZ+gxLkALny7mAFw4P9QYLbL sfeanON2IOzpf3zPlGynMT5TmgFfyeSX44bycx9rOCaaS4VtoGTQ9ZDGBQuvYC4KwCza hA== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tubwr0wgp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Oct 2023 06:20:00 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39K6Jxmx007099 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Oct 2023 06:19:59 GMT Received: from varda-linux.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Thu, 19 Oct 2023 23:19:53 -0700 From: Varadarajan Narayanan To: , , , , , , , , , , , , , , , , , CC: Varadarajan Narayanan Subject: [PATCH v5 1/9] clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM Date: Fri, 20 Oct 2023 11:49:31 +0530 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: qwr7vRNZMZuGRG6QKZ5omULDuzDjv3qz X-Proofpoint-ORIG-GUID: qwr7vRNZMZuGRG6QKZ5omULDuzDjv3qz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-20_04,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=999 impostorscore=0 adultscore=0 mlxscore=0 clxscore=1015 phishscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310200053 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 23:20:52 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780254354337296734 X-GMAIL-MSGID: 1780254354337296734 The config IPQ_APSS_6018 should depend on QCOM_SMEM, to avoid the following error reported by 'kernel test robot' loongarch64-linux-ld: drivers/clk/qcom/apss-ipq6018.o: in function `apss_ipq6018_probe': >> apss-ipq6018.c:(.text+0xd0): undefined reference to `qcom_smem_get_soc_id' Fixes: 5e77b4ef1b19 ("clk: qcom: Add ipq6018 apss clock controller") Reported-by: kernel test robot Closes: https://lore.kernel.org/r/202310181650.g8THtfsm-lkp@intel.com/ Signed-off-by: Varadarajan Narayanan Reviewed-by: Konrad Dybcio --- v5: Update commit log with the error message --- drivers/clk/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig index 3194c8b..ad1acd9 100644 --- a/drivers/clk/qcom/Kconfig +++ b/drivers/clk/qcom/Kconfig @@ -131,6 +131,7 @@ config IPQ_APSS_6018 tristate "IPQ APSS Clock Controller" select IPQ_APSS_PLL depends on QCOM_APCS_IPC || COMPILE_TEST + depends on QCOM_SMEM help Support for APSS clock controller on IPQ platforms. The APSS clock controller manages the Mux and enable block that feeds the