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  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:   Thu, 28 Feb 2019 19:24:43 +0000
From:   Vineet Gupta <vineet.gupta1@...opsys.com>
To:     Guenter Roeck <linux@...ck-us.net>
CC:     Eugeniy Paltsev <eugeniy.paltsev@...opsys.com>,
        Claudiu Zissulescu <claudiu.zissulescu@...opsys.com>,
        "linux-snps-arc@...ts.infradead.org" 
        <linux-snps-arc@...ts.infradead.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARCv2: Add explcit unaligned access support (and
 ability to disable too)

On 2/28/19 10:59 AM, Guenter Roeck wrote:
>> Once the patch hits mainline you could use that. In the mean time I'll back out
>> the "detector" as it might trip other people too.
>>
> Can you possibly use $(cc-option,-mno-unaligned-access), or would that
> defeat the purpose ?
>

Indeed I was looking into Kconfig documentation and found something similar.
However there's an anti-dependency. It is enabled by default and can only be
disabled with $(cc-option,-mno-unaligned-access)
So guess we will have to change  ARC_USE_UNALIGNED_MEM_ACCESS to
ARC_*LACKS*_UNALIGNED_MEM_ACCESS

I'll tinker a bit and post an update soon.

-Vineet

Powered by blists - more mailing lists