Thread (18 messages) 18 messages, 4 authors, 2018-10-02

[PATCH] ARM: makefile: pass -march=armv4 to assembler even on CPU32v3

From: Jason@zx2c4.com (Jason A. Donenfeld)
Date: 2018-10-02 04:08:27
Also in: lkml

Hi Russell,
On 1 October 2018 at 19:56, Russell King - ARM Linux [off-list ref] wrote:
We could argue that the ARMv3 assembly files are now stable, so the
chances of ldrh/strh being introduced is low, which would make this
change tolerable, but the commit message needs to spell out that
we lose this protection.
Actually I don't think that argument really holds too well. We very
well could introduce some new ARMv4 assembly -- an optimized crypto
routine, for example -- and it could use ldrh/strh. That isn't the
case now, but it might be the case later. For that reason, I suspect
the proper solution is just not building new cryptography assembly
that's written for ARMv4 in mind on CPU_32v3 systems. This way there's
never a mismatch of expectations.

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help