Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1778428rwd; Fri, 9 Jun 2023 01:54:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ANUvvE2O5PA/qHSUGA5ze6kfp6Iqa79AjVtvfA17yRkhUZM0C4uT7SMlLc2O3aXfIGoBw X-Received: by 2002:a05:6214:29c7:b0:629:58a7:9aab with SMTP id gh7-20020a05621429c700b0062958a79aabmr935218qvb.32.1686300847983; Fri, 09 Jun 2023 01:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686300847; cv=none; d=google.com; s=arc-20160816; b=BV05ZQr73LQWd00yBk8w3mX0qaH6ToF5EhbydQNy2i8wCPmNQI6UsGH59Sp/iRQfgE EJVT/DFCteZBnGQqzRCotR3aEtR/zEYF32szrSvJ07uaAtzxe4wKnc9ZQ+f0rGmYbhNT yX3+fKh/gDLNtgZloqawp20GDrP9Zh+vFx6cYoWOHpfqfolsdk/EBDUuVigImAfEetAd NXrI+S1CaZSW7UpTjUeK8ZMYUIjPNonhhIJnI3QryfIs3i+hgQilekpHoXoWPuPF6j6W TGXRqx3T+89IeOfFeMn/HrUq/B3ldRMi7rSVA6fByGA9TtfQvDtbH8QJpgLyQetTPsDq CuMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EknIZyUh7PQqINbfxxOFxOQjWFkQnRhHPN2hFuriDog=; b=ZG0AnkKpD+j6XSe75EyJHNRuj8KLL5LfTevEpjOKTTk76ZPE/fmwVyKnvrcLA9B3Xw g0vcDwMxLA4SfAqw0Bsw7cEVf1L9QP1MmnI/Lway32jcKLd/TBvwSlWyW7Crz+xLMhQ0 S7BBhBNbG5W/aP61Qq/s3QnLbzC8pK5UTTdbC/I85JZqqAKfoXm5dBg7Y8blLU2TpdwL 4SdE7GjvEhSmm6N2t9Eit8CYdpMSFDT2fOhiinyXWmROGTEdoRX8HSjGE5XWq/KZyVrU 9cNipC+L5ths24+jcR+BNZHYzul+HwhUz4xG/3VwngDaFHJSsGl/68FAtQO0kq+fLbts BANg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JUSn51en; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a63d80d000000b0053eefa04db9si2308787pgh.48.2023.06.09.01.53.53; Fri, 09 Jun 2023 01:54:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JUSn51en; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240717AbjFIIfv (ORCPT + 99 others); Fri, 9 Jun 2023 04:35:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241232AbjFIIfR (ORCPT ); Fri, 9 Jun 2023 04:35:17 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FA0D1B9 for ; Fri, 9 Jun 2023 01:34:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686299667; 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=JUSn51enxiCrY7E6IBWFzEDgjCAo3fGVq4xUKk4iDnx2/6KLyr6QYtsP9+oPDCL6WI0x3/ 5va9a0rZr4A3o0V5h1Zw/mBg8X/aldm0XlUkNysriXLeGmofw3Fhs5FL2aRPwYMqeeSWyI 5lq4KY7SiININo8jroCs1j8ewhi6IwM= 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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