From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5797EC7EE2E for ; Fri, 9 Jun 2023 08:34:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D84C88E0002; Fri, 9 Jun 2023 04:34:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D34388E0001; Fri, 9 Jun 2023 04:34:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C230B8E0002; Fri, 9 Jun 2023 04:34:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id B26A28E0001 for ; Fri, 9 Jun 2023 04:34:34 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 6413AC0183 for ; Fri, 9 Jun 2023 08:34:34 +0000 (UTC) X-FDA: 80882548068.25.FF345FF Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf26.hostedemail.com (Postfix) with ESMTP id 716ED140010 for ; Fri, 9 Jun 2023 08:34:32 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=RQkcyHuU; spf=pass (imf26.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1686299672; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=EknIZyUh7PQqINbfxxOFxOQjWFkQnRhHPN2hFuriDog=; b=Ak2y82VCc7Q7GOlS1XJeuopDgTmq/Gpj79TgU8MF6QeheekC34JcmO406FfuapbJko8ScW e1veFQ2wSWnGwPg0pfAeW8bkcsZ63rhVF0LdaIUYXUIMbKi2znXDvcjy7DsljfDbsxOAfQ eAwKKEQMgtsf6TU1sz90y4UaOewizq0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1686299672; a=rsa-sha256; cv=none; b=BNepUuPLtZfnQmI+iRDqkdo9ru+dHnc71xVizc930M3JGiKklTXAyQ64odJI0xwdVsuXx1 GbAMStCF56IJCuSrDlC1ozjLNVsInpwoHtLIxppnUmVgkmOryt8KfpTAaNKCfYCIRVbSsB RCvHlbvx/iDmu1ZJFVHtQMmzJYszMzw= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=RQkcyHuU; spf=pass (imf26.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686299671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EknIZyUh7PQqINbfxxOFxOQjWFkQnRhHPN2hFuriDog=; b=RQkcyHuU6PMO05dKdxrYQRbimmp4QOAwA5e+4LBb7cW7fvZPCEHlXHBMZnIa/y8Bawobd0 saJhJ2pflBXJT4ZqjyFWyMjb42vLaM65rve0KGZupVFDvAnY8GDXzDyp2+zxDRbxAaMWYh MUvHuhZOhF1S/BO00m4YSHRzlGlkPQM= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-649-KaJfyS03M-WHx2lyCun43w-1; Fri, 09 Jun 2023 04:34:22 -0400 X-MC-Unique: KaJfyS03M-WHx2lyCun43w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BAC91384CC69; Fri, 9 Jun 2023 08:34:21 +0000 (UTC) Received: from localhost (ovpn-12-92.pek2.redhat.com [10.72.12.92]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 48F8C515540; Fri, 9 Jun 2023 08:34:18 +0000 (UTC) Date: Fri, 9 Jun 2023 16:34:14 +0800 From: Baoquan He To: John Paul Adrian Glaubitz Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, arnd@arndb.de, christophe.leroy@csgroup.eu, hch@lst.de, rppt@kernel.org, willy@infradead.org, agordeev@linux.ibm.com, wangkefeng.wang@huawei.com, schnelle@linux.ibm.com, David.Laight@aculab.com, shorne@gmail.com, deller@gmx.de, Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org Subject: Re: [PATCH v6 11/19] sh: add including Message-ID: References: <20230609075528.9390-1-bhe@redhat.com> <20230609075528.9390-12-bhe@redhat.com> <025fe4853ff0a258dafdf71075419a2b740cabbd.camel@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <025fe4853ff0a258dafdf71075419a2b740cabbd.camel@physik.fu-berlin.de> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Stat-Signature: c8u5bpyd11jiteakbjrkc7fn8f86yr3u X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 716ED140010 X-Rspam-User: X-HE-Tag: 1686299672-14810 X-HE-Meta: U2F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dfRZTAOY4jH0/mc5hl+CtBoDPGrDSTPlymkjWRokiO1qOZapYSeC7zT69dyJvSJqJsc0Fup7VaTVe2sYG1s7aqbCXFZKLhpkuj48K+NlBLGua2kXQ= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 06/09/23 at 10:10am, John Paul Adrian Glaubitz wrote: > Hello Baoquan! > > On Fri, 2023-06-09 at 15:55 +0800, Baoquan He wrote: > > Also add macro definitions for port|mm io functions since SuperH > > has its own implementation in arch/sh/kernel/iomap.c and > > arch/sh/include/asm/io_noioport.h. These will conflict with the port|mm io > > function definitions in include/asm-generic/io.h to cause compiling > > errors like below: > > What change does the "Also" refer to? It refers to these kind of macro definitions, this place and those in other several places. Please correct me if I misused the expression to cause confusion. +#define ioread8 ioread8 +#define ioread16 ioread16 +#define ioread16be ioread16be +#define ioread32 ioread32 +#define ioread32be ioread32be + +#define iowrite8 iowrite8 +#define iowrite16 iowrite16 +#define iowrite16be iowrite16be +#define iowrite32 iowrite32 +#define iowrite32be iowrite32be + +#define ioread8_rep ioread8_rep +#define ioread16_rep ioread16_rep +#define ioread32_rep ioread32_rep + +#define iowrite8_rep iowrite8_rep +#define iowrite16_rep iowrite16_rep +#define iowrite32_rep iowrite32_rep