From patchwork Mon Jan 23 20:26:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 645607 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46C4AC25B50 for ; Mon, 23 Jan 2023 20:26:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229791AbjAWU02 (ORCPT ); Mon, 23 Jan 2023 15:26:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232241AbjAWU0Z (ORCPT ); Mon, 23 Jan 2023 15:26:25 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82A0B367FB for ; Mon, 23 Jan 2023 12:26:17 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id q5so7305625wrv.0 for ; Mon, 23 Jan 2023 12:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9bJvI0er9NKNpyW36Ww5MlEqVL1HalCL3An+z6IAwBs=; b=kJJvK6idxMBGC+1pmy/3TT8FBROK0VCDlR89DeNLjbGvXBkArBXsbKYsVDPpF85kG3 6Xyr/slLys+933gTy3O1JiZnHI8vZMmtaoD1h8K94krUipVEKZ7WxjKciQeP+STz1GhQ 5KDdRd/9lX7yqw5+6esYYIEm5v8pfxk+klTfUdf77tpfTW7Qr/MKf6xXnqUY6lyFJDNj gjxsYOHb0V/BIy8R0oBCyncvND/ofWdx52ijlAqQ1s3yQzTGriDLNRQUuwq850FBEB3a 2wzgpbPE3MfFBUz0fhOaLVVGNfT8MqzUeaPVrqq5FXPv7evJxnILfYTOlxzo8SXGnBNE cD2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9bJvI0er9NKNpyW36Ww5MlEqVL1HalCL3An+z6IAwBs=; b=NMXXq/mfzwf/e3bk9F3wNZ97tcehwiiaxqskfooN3LECUX/XitgqrZKbTGJdrbtIVx xflV6QzyngV5nR3v6IpUlyY3PX5Lwr5HDFY6oILi+ee/86k++NamRmSQ7bbW+4mmQ/Nx a5Z4MumbKFcwnBrUgJKNZVjPIoZCmt6QX1PWsClMmNcI+u9b2vqhuElGu8LEE6WtDRyI SiiD5GQDcn78Ktf5LOn1avBzxm5Ih04ziQH3B3/WqGlLFQY7M7hOYlZ7KYQJoMcWTxW8 oPooMRr3HwfcYKKP+pohNmpuLKSbt/qXeQed5uOZEK6oEN+F4fp++FmKsRuk7dxnEDV8 2VhA== X-Gm-Message-State: AO0yUKW0Vkdb216hWDi7lVrDirXQo6ydv18kcAl3a0GPXp33Mk1KYfDp vDkZYWuAMMC5wdBg/rjcjfqEAA== X-Google-Smtp-Source: AK7set8G62ZPGE3yj/GxRFf06B6qne0PaY4rDmY0nPTNs/5+g71n4+vH1n+t5qHnjsp9Y9c1WKdnCQ== X-Received: by 2002:a05:6000:5:b0:2bf:ae2f:c6ff with SMTP id h5-20020a056000000500b002bfae2fc6ffmr372304wrx.31.1674505576089; Mon, 23 Jan 2023 12:26:16 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id y15-20020adfdf0f000000b00236883f2f5csm220301wrl.94.2023.01.23.12.26.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 12:26:15 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] soc: qcom: restrict L2 accessors to ARM64 build tests Date: Mon, 23 Jan 2023 21:26:01 +0100 Message-Id: <20230123202601.1296983-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The QCOM_KRYO_L2_ACCESSORS can be compile tested only on ARM64 because it references asm/sysreg.h present only on ARM64. Mark the dependency correct, even though as a non-selectable option it does not have real effect. Signed-off-by: Krzysztof Kozlowski --- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 21c4ce2315ba..96b5d0a4ed48 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -80,7 +80,7 @@ config QCOM_DCC config QCOM_KRYO_L2_ACCESSORS bool - depends on ARCH_QCOM && ARM64 || COMPILE_TEST + depends on (ARCH_QCOM || COMPILE_TEST) && ARM64 config QCOM_MDT_LOADER tristate