[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c9d9891b-780b-4641-2b60-6319d525e17c@huawei.com>
Date: Thu, 19 Aug 2021 08:27:19 +0100
From: John Garry <john.garry@...wei.com>
To: Hannes Reinecke <hare@...e.de>,
Bart Van Assche <bvanassche@....org>,
"Martin K. Petersen" <martin.petersen@...cle.com>
CC: <satishkh@...co.com>, <sebaddel@...co.com>, <kartilak@...co.com>,
<jejb@...ux.ibm.com>, <linux-scsi@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <hch@....de>
Subject: Re: [PATCH 0/3] Remove scsi_cmnd.tag
On 19/08/2021 08:15, Hannes Reinecke wrote:
> Hey Bart,
>
> Thanks for this!
> Really helpful.
>
> Just a tiny wee snag:
>
> On 8/19/21 4:41 AM, Bart Van Assche wrote:
>> On 8/18/21 11:08 AM, John Garry wrote:
>>> Or maybe you or Bart have a better idea?
>>
>> This is how I test compilation of SCSI drivers on a SUSE system (only
>> the cross-compilation prefix is distro specific):
>>
>> # Acorn RiscPC
>> make ARCH=arm xconfig
>> # Select the RiscPC architecture (ARCH_RPC)
>> make -j9 ARCH=arm CROSS_COMPILE=arm-suse-linux-gnueabi- </dev/null
>>
>
> Acorn RiscPC is ARMv3, which sadly isn't supported anymore with gcc9.
> So for compilation I had to modify Kconfig to select ARMv4:
>
Yeah, that is what I was tackling this very moment.
> diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
> index 8355c3895894..22ec9e275335 100644
> --- a/arch/arm/mm/Kconfig
> +++ b/arch/arm/mm/Kconfig
> @@ -278,7 +278,7 @@ config CPU_ARM1026
> # SA110
> config CPU_SA110
> bool
> - select CPU_32v3 if ARCH_RPC
> + select CPU_32v4 if ARCH_RPC
Does that build fully for xconfig or any others which you tried?
> select CPU_32v4 if !ARCH_RPC
> select CPU_ABRT_EV4
> select CPU_CACHE_V4WB
>
Thanks to all!
Powered by blists - more mailing lists