lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 21 Nov 2022 16:23:01 +0100
From:   Geert Uytterhoeven <geert+renesas@...der.be>
To:     Yicong Yang <yangyicong@...ilicon.com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Mathieu Poirier <mathieu.poirier@...aro.org>,
        John Garry <john.garry@...wei.com>,
        Jonathan Cameron <Jonathan.Cameron@...wei.com>
Cc:     linux-kernel@...r.kernel.org,
        Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH] hwtracing: HISI_PTT should depend on ARCH_HISI

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 <geert+renesas@...der.be>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ