Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp345156pxb; Thu, 19 Aug 2021 00:28:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ14d7pOph7n8wMG6BL+N3FOLHqZeskjLI/jd6buB+r10ExaXzlf9aih4bSWh93VG1Lyj5 X-Received: by 2002:a5e:d905:: with SMTP id n5mr10502548iop.136.1629358137196; Thu, 19 Aug 2021 00:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629358137; cv=none; d=google.com; s=arc-20160816; b=a4SZ98zE+EmNmr5Xl9Z2VG10YhFvyOWoOLKYZ3mz6b/xsdwsJ57nXPTS6fcwh/n/LR XhlgNS7RbUrz6JqDssTdCuxpM1Q4fd8Gioh/4lJZQK9iSsToDk1hEEUnUWjs8BEIVhyI tIH6yHJKoBuNEskRkr7ddBr9Z+mhwSJUZWQuiElZqdJ1iYG1OXsfMWwJKSx1TXD4g6v8 OPnFacnM3kNWVmj8S0eLLfof8wJS9uHfgcZ56ENTobg6J4xjz4SwxkQAUPZ/UchAqqqj c5C4pmgdYm87L8i7DP1cINuX72DkbQEGempRn7JveedmTBSlGj1CEfr7Qnj+INrdE4z8 lR2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=SMnOoomAm4752IwcW9hy5NxRAMB23sMApr8BVfE5JJY=; b=hPEklpBTPqN82VWsGzwLKc/rhbZ2NijooBmcqZ9Q+R1kOR3fHvV6Jf8DXAC8GhuqiT W0wTI9m40kia2uPsvbSMu9p7Hoi+qw4bovBTsULdm0gfvXgMG/WNH1gXTHdkzcReHSDA X7h2dnYOH1CEQdNFdOFXyX1izesXmtEvN/oCT29PvOmt/JU58kslfTkVDbttAPksRWsk wcjX+DxjW+5kOfUVXiAYgtoTKBI2xw8a3jaYl5lS2vEi/4FfhI/bYZQuEovv+9AwcXIe DLE99Ycx01/7q/mxwBGNwSUi4G9n+uXfzNs5IV/Fl5i3Fs9vsveke5cZ2DEj6ZbpGGUu le5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si2609762ios.26.2021.08.19.00.28.45; Thu, 19 Aug 2021 00:28:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236731AbhHSH2C (ORCPT + 99 others); Thu, 19 Aug 2021 03:28:02 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3669 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232038AbhHSH2B (ORCPT ); Thu, 19 Aug 2021 03:28:01 -0400 Received: from fraeml739-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4GqxCT3XDBz6BH2P; Thu, 19 Aug 2021 15:26:29 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml739-chm.china.huawei.com (10.206.15.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Thu, 19 Aug 2021 09:27:23 +0200 Received: from [10.47.81.140] (10.47.81.140) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Thu, 19 Aug 2021 08:27:20 +0100 Subject: Re: [PATCH 0/3] Remove scsi_cmnd.tag To: Hannes Reinecke , Bart Van Assche , "Martin K. Petersen" CC: , , , , , , References: <1628862553-179450-1-git-send-email-john.garry@huawei.com> <176ce4f2-42c9-bba6-c8f9-70a08faa21b8@huawei.com> <038ec0c6-92c9-0f2a-7d81-afb91b8343af@suse.de> From: John Garry Message-ID: Date: Thu, 19 Aug 2021 08:27:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <038ec0c6-92c9-0f2a-7d81-afb91b8343af@suse.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.47.81.140] X-ClientProxiedBy: lhreml712-chm.china.huawei.com (10.201.108.63) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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- > > > 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!