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-prev] [day] [month] [year] [list]
Message-ID: <d5ce9003-b070-0dfc-042c-a2879b992959@huawei.com>
Date:   Thu, 26 Nov 2020 09:00:08 +0800
From:   Kefeng Wang <wangkefeng.wang@...wei.com>
To:     Palmer Dabbelt <palmer@...belt.com>,
        <linux-riscv@...ts.infradead.org>
CC:     Palmer Dabbelt <palmerdabbelt@...gle.com>, <tglx@...utronix.de>,
        <daniel.lezcano@...aro.org>, <kernel-team@...roid.com>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drivers: clocksource: timer-riscv: Depend on the SBI

Hi Palmer,  I send a same patch and have been acked from you : )

https://patchwork.kernel.org/project/linux-riscv/patch/20201028131230.72907-1-wangkefeng.wang@huawei.com/

On 2020/11/26 3:58, Palmer Dabbelt wrote:
> From: Palmer Dabbelt <palmerdabbelt@...gle.com>
>
> Fundamentally this is an SBI timer driver, so it cannot be enabled without
> support for the RISC-V SBI.
>
> Fixes: d5be89a8d118 ("RISC-V: Resurrect the MMIO timer implementation for M-mode systems")
> Signed-off-by: Palmer Dabbelt <palmerdabbelt@...gle.com>
> ---
>   drivers/clocksource/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> index 68b087bff59c..3eeaf0efba8f 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -655,6 +655,7 @@ config ATCPIT100_TIMER
>   config RISCV_TIMER
>   	bool "Timer for the RISC-V platform" if COMPILE_TEST
>   	depends on GENERIC_SCHED_CLOCK && RISCV
> +	depends on RISCV_SBI
>   	select TIMER_PROBE
>   	select TIMER_OF
>   	help

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ