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>] [day] [month] [year] [list]
Message-Id: <1618314942-9050-1-git-send-email-bnf20061983@gmail.com>
Date:   Tue, 13 Apr 2021 19:55:42 +0800
From:   Nianfu Bai <bnf20061983@...il.com>
To:     daniel.lezcano@...aro.org, tglx@...utronix.de
Cc:     linux-kernel@...r.kernel.org, ruifeng.zhang1@...soc.com,
        nianfu.bai@...soc.com
Subject: [PATCH] clocksource/drivers/sprd: Remove the dependency between sprd timer and SPRD arch

From: Nianfu Bai <nianfu.bai@...soc.com>

Tick broadcast installed by insmod cannot switch to oneshot mode correctly
caused by linux timer framework, need to build in kernel image. SPRD_TIMER
has been selected by SPRD arch, we have to enable SPRD arch when we build
sprd timer in kernel image, this action conflicts with general kernel image,
so we need to remove the dependency between sprd timer and SPRD arch.

Signed-off-by: Nianfu Bai <nianfu.bai@...soc.com>
Signed-off-by: Ruifeng Zhang <ruifeng.zhang1@...soc.com>
---
 drivers/clocksource/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 39aa21d..04b333c 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -447,10 +447,8 @@ config MTK_TIMER
 	  Support for Mediatek timer driver.
 
 config SPRD_TIMER
-	bool "Spreadtrum timer driver" if EXPERT
+	bool "Spreadtrum timer driver" if COMPILE_TEST
 	depends on HAS_IOMEM
-	depends on (ARCH_SPRD || COMPILE_TEST)
-	default ARCH_SPRD
 	select TIMER_OF
 	help
 	  Enables support for the Spreadtrum timer driver.
-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ