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: <mhng-d1b1b80d-95b9-445e-ab35-db1bf388e9ef@palmerdabbelt-glaptop1>
Date:   Thu, 04 Jun 2020 17:01:43 -0700 (PDT)
From:   Palmer Dabbelt <palmer@...belt.com>
To:     maochenxi@...in.com
CC:     Paul Walmsley <paul.walmsley@...ive.com>, aou@...s.berkeley.edu,
        linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
        maochenxi@...in.com
Subject:     Re: [PATCH 1/1] riscv: Select ARCH_SUPPORTS_ATOMIC_RMW by default

On Mon, 01 Jun 2020 17:54:28 PDT (-0700), maochenxi@...in.com wrote:
> Enable ARCH_SUPPORTS_ATOMIC_RMW by default to support
> osq_lock in mutex/rwsem locks.
> ---
>  arch/riscv/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index a31e1a41913a..cbdc605d20d9 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -68,6 +68,7 @@ config RISCV
>  	select ARCH_HAS_GCOV_PROFILE_ALL
>  	select HAVE_COPY_THREAD_TLS
>  	select HAVE_ARCH_KASAN if MMU && 64BIT
> +	select ARCH_SUPPORTS_ATOMIC_RMW
>
>  config ARCH_MMAP_RND_BITS_MIN
>  	default 18 if 64BIT

You need a Signed-off-by for all patches, even small ones like this.  I'm also
going to consider this a bit too large of a change to take during the merge
window: there's very little code, but it dramatically changes the behavior of
the system -- in other words, it's a 5.9 candidate, not a 5.8 one.

Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ