Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp401218rdh; Thu, 26 Oct 2023 05:36:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEaB/XLr7iabkndFvM3sbwhmsBp7BbPlaX38/s2AODAL39EHH5N3k5vm2xI8HkxFfqswN9 X-Received: by 2002:aca:2b02:0:b0:3a7:82e8:8fd1 with SMTP id i2-20020aca2b02000000b003a782e88fd1mr17802562oik.20.1698323819244; Thu, 26 Oct 2023 05:36:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698323819; cv=none; d=google.com; s=arc-20160816; b=TjgL/rqFeCI3ckzE0bwm0di+gcim4HWvYmMCMGwNpwCMdlOjKlFiE5xgPjPOF9kBGl Xm0AMH0m4ukEZRxHHcZx1NHlFHP7LMjom0UF2K1fSWNIO/VQ0TN50RlRQihVk2Fidtd/ cJAuPaHF4oo9nbeE1FwfAyFogZgI7zXZwHltPkfpf/CxgQ+NfDau1ZJVti5XUlS0Olk7 p2frGoQTbhsq2TrTPL6oZ4HVHK2TSuslvNCBqbq8EUb3tYVftIZGV/aLBEavuI6pfVLZ c7m0RESnue0M/Hr3iHIhBhz0DAekgWU5yNze3vR5uv0XX2B9BwmVNVnZLsbNP5lrHIjw U7vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:cc:to:from :date:references:in-reply-to:message-id:mime-version:user-agent :feedback-id:dkim-signature:dkim-signature; bh=7Ou35+gtN5wPlKenTK4K7QdEWtUFHuuBjgjvnmJt2so=; fh=uiVF6Z1yA896lS/ax3eH9P7AWg2htH4cc/x6RmDv/m8=; b=r7jooqwsmHZ/X8/yOQVOD5SLUd93G3WlXpI0Gnxi1YtN6ZgFarGXTs4HgkJWbdWg3T C3yMDuF2nAF6QLfe3h78lGta3PXgVhne0wR669PXlLQ3qP0jMrKOb2xOVRWd4LFHabQT 9k5ba9KmhL5c0TJds/CsmL7ZdVdn6nEI6Czvu+ZLMa1Vz7a/H8xDX6dE/s53bB3hGEla RtTu6srY0uEpzOzGMRG7Y0YSUVCA7gu3T1zPRuuXLqGkW3qDkEI9ewcLLcThS5XRxS6y AYgL7yNw/clnQdG9rihW/NQMeCNYIgzdoXLTM9O4/ZeprD8iNFEEvec+37o42uWh4uhI PrfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b="ReK/1CPM"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=loijJ83r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id 62-20020a251541000000b00d9ac3550843si36490ybv.550.2023.10.26.05.36.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 05:36:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b="ReK/1CPM"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=loijJ83r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 43E1D810CAAC; Thu, 26 Oct 2023 05:36:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344896AbjJZMgs (ORCPT + 99 others); Thu, 26 Oct 2023 08:36:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230413AbjJZMgq (ORCPT ); Thu, 26 Oct 2023 08:36:46 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32E10111; Thu, 26 Oct 2023 05:36:43 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 6632E3200943; Thu, 26 Oct 2023 08:36:41 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Thu, 26 Oct 2023 08:36:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1698323800; x=1698410200; bh=7Ou35+gtN5wPlKenTK4K7QdEWtUFHuuBjgj vnmJt2so=; b=ReK/1CPMHcj4oFv60BrYhPVG1zqUf01nfY1GKPWcNf69ULCkO8o cnP8yuy5WQmqBeNLBdnx5BJVYm6Z2qRPNSb+q6QXW4R2/Wrq1GKORxLZsnMNIxxY 6PG1jsYaHi/9fj96JAPLCKrr9OoudlC6RYE6s3RFVPOJ7vN/X7LpY01xWgNevNa7 +7RYD67P1hdjp4srkFlYBgiob57FfonvLTXqde6ri0zooVr+EH/pEoQRfKos+1Ce Og+toa/ApC7M0jWyY7X6ONmOShWHFE+3zpvt2vINo9n4c3Tke38wISEe4yipxtDc aGrfNOqerCiyDzq34glZqQRkLneKPgek2Cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698323800; x=1698410200; bh=7Ou35+gtN5wPlKenTK4K7QdEWtUFHuuBjgj vnmJt2so=; b=loijJ83r4Let7U+9tN186djBs/D0jVuaFqRfByNiqGvgbW7yuIH IQ8/m6s50xNKY0IdAKlVGkIB/4qRjrxAEKKypCIPTL0w0PoqoXhUhj7PFx4dGFny bxj04yVY9TpU2p41660X7hqq6Fu4r2k3qIBdbfmlzEBMbE3PDa4QU8qzsanHZ4E5 JA0NuwKApPdV5RXu+3uAayL+yZPFPb81lpcu/yEwS6jLq61QXKobVB4YcMeWelWO kwCXkgkxMiawKTxtP+8jpKLB9o0IMpMULEX7pxPQFVDIbSXoAoBG1nwDzapRYOut Eafmz0T75gCZLMLT+WgcQEvCTpR+efc8Erw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrledvgdehfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedflfhi rgiguhhnucgjrghnghdfuceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh eqnecuggftrfgrthhtvghrnhepudefgeeftedugeehffdtheefgfevffelfefghefhjeeu geevtefhudduvdeihefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 06B5A36A0075; Thu, 26 Oct 2023 08:36:39 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1048-g9229b632c5-fm-20231019.001-g9229b632 MIME-Version: 1.0 Message-Id: In-Reply-To: <20230921110424.215592-1-bhe@redhat.com> References: <20230921110424.215592-1-bhe@redhat.com> Date: Thu, 26 Oct 2023 13:36:13 +0100 From: "Jiaxun Yang" To: "Baoquan He" , linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, "Andrew Morton" , "Arnd Bergmann" , mpe@ellerman.id.au, "Geert Uytterhoeven" , "Luis Chamberlain" , hch@infradead.org, "Thomas Bogendoerfer" , "Florian Fainelli" , deller@gmx.de Subject: Re: [PATCH v5 0/4] arch/*/io.h: remove ioremap_uc in some architectures Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 26 Oct 2023 05:36:56 -0700 (PDT) =E5=9C=A82023=E5=B9=B49=E6=9C=8821=E6=97=A5=E4=B9=9D=E6=9C=88 =E4=B8=8B=E5= =8D=8812:04=EF=BC=8CBaoquan He=E5=86=99=E9=81=93=EF=BC=9A > This patchset tries to remove ioremap_uc() in the current architectures > except of x86 and ia64. They will use the default ioremap_uc version > in which returns NULL. Anyone who wants to add new > invocation of ioremap_uc(), please consider using ioremap() instead or > adding a new ARCH specific ioremap_uc(), or refer to the callsite > in drivers/video/fbdev/aty/atyfb_base.c. > > This change won't cuase breakage to the current kernel because in the > only ioremap_uc callsite, an adjustment is made to eliminate impact in > patch 1 of this series. > > To get rid of all of them other than x86 and ia64, add asm-generic/io.h > to asm/io.h of mips ARCH. With this adding, we can get rid of the > ioremap_uc() in mips too. This is done in patch 2. And a followup patch > 4 is added to remove duplicated code according to Arnd's suggestion. > > Test: > =3D=3D=3D=3D=3D > Except of Jiaxun's efficient testing on patch 2/4, I also did cross co= mpiling > of this series on mips64, building passed. > For whole series: Tested-by: Jiaxun Yang Hi Arnd and Thomas, I've got some work pending based on this series, however I'm unclear abo= ut which tree this series will go since both of you give acked-by. Given that there are some tree-wide modifications, I guess it should go = into Arnd's asm-generic tree? Thanks --=20 - Jiaxun