Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4453888rwb; Mon, 21 Nov 2022 07:47:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf6IkFKb7jsMpgIROwTB5WGeUi7Iz5rGT0NqAxhPtTbzNBpEzgU3J0dvAkvyWldcs7OElnAY X-Received: by 2002:a17:906:448d:b0:7ae:37aa:6bf with SMTP id y13-20020a170906448d00b007ae37aa06bfmr15914709ejo.481.1669045667370; Mon, 21 Nov 2022 07:47:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669045667; cv=none; d=google.com; s=arc-20160816; b=zVo/d3nrIrIfUawWrP9LQnd0vio1xlY70DVa1U5m1A7tLsz2m2LtztXDlTViiyeyKw Mlg4dyj+iTS21aLJlJ1kxw/CLkSGvbiKUPS2HHCc91GPHG5P40WcSf1TDyeMt2heCGDe POAK4/QKUhsCN8ABwdYl9qnzjJWCfwexivPxXVGZANSCUUWVIMSvlKXLfV5WMS4c9FqT 8v2kYn6fkjKJjUbi+DN4F4kS1Xuac+6yYO4LP3VvR0Gkamx3wRhdl8fAXBYaHM0WUnB3 JLl8P5cLtbFQFusvE5AZyO5CTNrajBPeVtqlqzPRY0u5Ugu/n+Q/FLb4iu1HPO/ZgvnC TGEw== 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 :message-id:date:subject:cc:to:from; bh=Irsm9D0iNbVV4wnb4xPO+GhEGCSPTP1SYq4TOaWi7qI=; b=JwVXrFgvFohRc/BMtXtPBIoyl5Mcpc7tYf81S9UTZIaDKwUkizYGz/FVn6fR4Kp7Ld PAmi+hscS3Yix6OkKYet+bLfA/1hRlW++1h0uVwPfB436KZbRpyOvy4dyzV7A2Ymh4c3 uAP2hF/SjhvGiLg3nLXZC8Z5BCGj0Ygn85vMT+YXwQODAdTTEh67RP/S/lbGp9quWWUC Mplw7zhW6QyUwBGFAe0Og74j2+VOpDEzWuVEC1eo4MgTA7uGm+HJPUyHIppIJf31un0B XwP5d58dhybs+Gi8EYvHAQz6IfNhbxdl/VXr1idQArFgecslpvQjiZOwZyxHSO88olqX o1Wg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a1709067c4a00b007309e8d567fsi7839198ejp.145.2022.11.21.07.47.13; Mon, 21 Nov 2022 07:47:47 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232333AbiKUPX6 (ORCPT + 91 others); Mon, 21 Nov 2022 10:23:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232296AbiKUPXl (ORCPT ); Mon, 21 Nov 2022 10:23:41 -0500 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 190C71572D for ; Mon, 21 Nov 2022 07:23:06 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:4821:1ba5:2638:5c3a]) by albert.telenet-ops.be with bizsmtp id n3P32800F5WXlCv063P3d2; Mon, 21 Nov 2022 16:23:04 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1ox8dT-0019CU-1i; Mon, 21 Nov 2022 16:23:03 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1ox8dS-00BPzz-MP; Mon, 21 Nov 2022 16:23:02 +0100 From: Geert Uytterhoeven To: Yicong Yang , Alexander Shishkin , Mathieu Poirier , John Garry , Jonathan Cameron Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] hwtracing: HISI_PTT should depend on ARCH_HISI Date: Mon, 21 Nov 2022 16:23:01 +0100 Message-Id: <1a31a50f01e880f4c137298a12b8023c55f59cdc.1669044155.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 The HiSilicon PCIe Tune and Trace Device is a PCIe Root Complex integrated Endpoint (RCiEP) device, which is only present on HiSilicon SoCs. Hence add a dependency on ARCH_HISI, to prevent asking the user about this driver when configuring a kernel without HiSilicon SoC support. Fixes: ff0de066b4632ccb ("hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device") Signed-off-by: Geert Uytterhoeven --- drivers/hwtracing/ptt/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing/ptt/Kconfig b/drivers/hwtracing/ptt/Kconfig index 6d46a09ffeb91992..96ee94a5d5b9fab8 100644 --- a/drivers/hwtracing/ptt/Kconfig +++ b/drivers/hwtracing/ptt/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config HISI_PTT tristate "HiSilicon PCIe Tune and Trace Device" - depends on ARM64 || (COMPILE_TEST && 64BIT) + depends on ARCH_HISI || (COMPILE_TEST && 64BIT) depends on PCI && HAS_DMA && HAS_IOMEM && PERF_EVENTS help HiSilicon PCIe Tune and Trace device exists as a PCIe RCiEP -- 2.25.1