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]
Message-ID: <CACRpkdYLbFTnDn-X=TRb-P_SmwZkxiEFk5PG_y-12_shQrpO6Q@mail.gmail.com>
Date: Wed, 1 Oct 2025 21:14:22 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Franz-Josef Haider <fj.haider@...look.com>, Arnd Bergmann <arnd@...db.de>
Cc: linux@...linux.org.uk, ardb@...nel.org, rmk+kernel@...linux.org.uk, 
	ebiggers@...nel.org, nathan@...nel.org, rostedt@...dmis.org, kees@...nel.org, 
	dave@...ilevsky.ca, linux-arm-kernel@...ts.infradead.org, 
	linux-kernel@...r.kernel.org, trivial@...nel.org
Subject: Re: [PATCH] ARM: Make sure CPU_ARM940T kernel can be built.

On Wed, Oct 1, 2025 at 6:04 PM Franz-Josef Haider <fj.haider@...look.com> wrote:

> Hello, I have done this change because when trying to "select CPU_ARM940T" from a Kconfig for a device with arm940t cpu, the build ends up failing with errors like
>             arch/arm/lib/ashldi3.S: Assembler messages:
>             arch/arm/lib/ashldi3.S:44: Error: cannot honor width suffix -- `rsb ip,r2,#32'
>             arch/arm/lib/ashldi3.S:45: Error: thumb conditional instruction should be in IT block -- `movmi r1,r1,lsl r2'
>             arch/arm/lib/ashldi3.S:46: Error: thumb conditional instruction should be in IT block -- `movpl r1,r0,lsl r3'
>             arch/arm/lib/ashldi3.S:48: Error: thumb conditional instruction should be in IT block -- `lsrmi r3,r0,ip'
>             arch/arm/lib/ashldi3.S:49: Error: thumb conditional instruction should be in IT block -- `orrmi r1,r1,r3'
>             arch/arm/lib/ashldi3.S:50: Error: cannot honor width suffix -- `mov r0,r0,lsl r2'
>             arch/arm/lib/ashldi3.S:43: Error: immediate value out of range
>             make[3]: *** [scripts/Makefile.build:430: arch/arm/lib/ashldi3.o] Error 1
>             make[2]: *** [scripts/Makefile.build:556: arch/arm/lib] Error 2
>             make[2]: *** Waiting for unfinished jobs....
> With the change I am able to build a kernel which runs on a device with arm940t cpu (with the patch "ARM: Add missing mmu flags entry to arm940 proc info." which I've submitted as well. And with the necessary mach files etc).
>
> I can elaborate on this in the commit message and also adjust the condition to include the other CPU types you mentioned.

Yes please, thanks a lot Franz-Josef!

Also add:
Cc: stable@...r.kernel.org

in the bottom of the patch so this goes into stable.

Then eventually submit the patch to Russell's patch tracker when
we have reviewed it.

We (ARM SoC maintainers) are interested on what kind of system this is.
We really need to know if there are actively maintained ARM940t boards,
and with you posting this it seems the answer is yes, so please tell us
a bit about this device and what you're using it for.

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ