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] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 13 Nov 2022 16:16:52 +0000
From:   <Conor.Dooley@...rochip.com>
To:     <bjorn@...nel.org>, <stillson@...osinc.com>
CC:     <greentime.hu@...ive.com>, <guoren@...ux.alibaba.com>,
        <vincent.chen@...ive.com>, <paul.walmsley@...ive.com>,
        <palmer@...belt.com>, <aou@...s.berkeley.edu>, <guoren@...nel.org>,
        <linux-riscv@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v12 04/17] riscv: Add vector feature to compile

On 07/11/2022 17:21, Björn Töpel wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> [Cropping the huge Cc:-list.]
> 
> Chris Stillson <stillson@...osinc.com> writes:
> 
>> From: Guo Ren <guoren@...ux.alibaba.com>
>>
>> This patch adds a new config option which could enable assembler's
>> vector feature.
>>
>> Signed-off-by: Guo Ren <guoren@...ux.alibaba.com>
>> Co-developed-by: Greentime Hu <greentime.hu@...ive.com>
>> Signed-off-by: Greentime Hu <greentime.hu@...ive.com>
>> ---
>>  arch/riscv/Kconfig  | 15 +++++++++++++--
>>  arch/riscv/Makefile |  1 +
>>  2 files changed, 14 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
>> index ed66c31e4655..e294d85bfb7d 100644
>> --- a/arch/riscv/Kconfig
>> +++ b/arch/riscv/Kconfig
>> @@ -432,7 +432,17 @@ config FPU
>>
>>         If you don't know what to do here, say Y.
>>
>> -endmenu # "Platform type"
>> +config VECTOR
>> +     bool "VECTOR support"
>> +     depends on GCC_VERSION >= 120000 || CLANG_VERSION >= 130000
>> +     default n
>> +     help
>> +       Say N here if you want to disable all vector related procedure
>> +       in the kernel.
>> +
>> +       If you don't know what to do here, say Y.
>> +
>> +endmenu
> 
> "VECTOR" is not really consistent to how the other configs are named;
> RISCV_ISA_V, RISCV_ISA_VECTOR, RISCV_VECTOR?

It'd be RISCV_ISA_V to match the others single letter extentions, right?

The toolchain dependency check here also seems rather naive.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ