Re: [RFC PATCH] scsi: core: Drop Scsi_Host.default_lock
Bart Van Assche <[email protected]> Tue, 4 Aug 2026 13:08:19 -0700
| Newsgroups | gmane.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.