Re: [RFC PATCH] scsi: core: Drop Scsi_Host.default_lock

John Garry <[email protected]>
Newsgroups org.kernel.vger.linux-scsi
Organization Oracle Corporation
Message-ID <[email protected]>
On 04/08/2026 21:08, Bart Van Assche wrote:
>> Cool, I'll go through this. But how does it handle the arm v3-related 
>> drivers, like fas216? At a glance, the script requires gnu- 
>> a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07 - but I thought that HW like 
>> this requires an even earlier toolchain version.
> Correct. I think that gcc-8 or older is required to generate correct
> code. But generating correct code is not required to do build testing.
> Hence the following hack in my script for 32-bit ARM architectures that
> deletes a GCC version check from a Kconfig file:
> 
>        if [ "${arch%-*}" = "arm" ]; then
> 	# gcc-9 and later do not support armv3m. Hence the sed commands below.
> 	local f
> 	for f in arch/arm/Kconfig arch/arm/mach-rpc/Kconfig; do
> 	    if [ -e "$f" ]; then
> 		sed -i 's/GCC_VERSION < 90100 && //' "$f"
> 	    fi
> 	done
> 	sed -i 's/select CPU_32v3/select CPU_32v4/' arch/arm/mm/Kconfig
>        fi

ok, I'll try it, thanks!

I do have to question why we maintain support on modern kernels for such 
obsolete HW. The maintenance burden is not zero, as we see here ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.