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

Bart Van Assche <[email protected]>
Newsgroups org.kernel.vger.linux-scsi
Message-ID <[email protected]>
On 8/4/26 12:42 PM, John Garry 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

Bart.
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.