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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3874C64ED6 for ; Wed, 1 Mar 2023 13:38:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229777AbjCANiO (ORCPT ); Wed, 1 Mar 2023 08:38:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229766AbjCANiM (ORCPT ); Wed, 1 Mar 2023 08:38:12 -0500 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 397D03B875 for ; Wed, 1 Mar 2023 05:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677677844; 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=qWUfeTIK2JG/z0HaQdTVjbSobFn6johmFqmk8NE5TPA=; b=Oe9l+L4dqDREH1j5AhQRYrWw28FYkHYu/PhtaSLOB/ulLmL3HkHgZU3RgC1wn8mLfSrh+F 4PIix+Tybf80xKtWqCHJiMFyOcMc2U2mQ2K4SqGRHnkNd2gZMvLGDV+0q2tYdyerJ17G70 qMLCR7QTW+Ba4ONcVuQeVJC82GIud9Y= 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-673-BaLlk-2uPTKbvDKFCJXn9g-1; Wed, 01 Mar 2023 08:37:21 -0500 X-MC-Unique: BaLlk-2uPTKbvDKFCJXn9g-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A3D923C0E442; Wed, 1 Mar 2023 13:37:20 +0000 (UTC) Received: from localhost (ovpn-13-180.pek2.redhat.com [10.72.13.180]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 679C51121315; Wed, 1 Mar 2023 13:37:19 +0000 (UTC) Date: Wed, 1 Mar 2023 21:37:16 +0800 From: Baoquan He To: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, arnd@arndb.de, geert@linux-m68k.org, hch@infradead.org, mcgrof@kernel.org Subject: Re: [PATCH v2 0/2] arch/*/io.h: remove ioremap_uc in some architectures Message-ID: References: <20230301102208.148490-1-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230301102208.148490-1-bhe@redhat.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/01/23 at 06:22pm, Baoquan He wrote: > This patchset tries to remove ioremap_uc() in the current architectures > except of x86 and ia64. They will use the default ioremap_uc definition > in which returns NULL. > > If any arch sees a breakage caused by the default ioremap_uc(), it can > provide a sepcific one for its own usage. Forgot mentioning this patchset is based on below patchset. [PATCH v5 00/17] mm: ioremap: Convert architectures to take GENERIC_IOREMAP way https://lore.kernel.org/all/20230301034247.136007-1-bhe@redhat.com/T/#u > > v1->v2: > - Update log of patch 2, and document related to ioremap_uc() > according to Geert's comment. > - Add Geert's Acked-by. > > Baoquan He (2): > mips: add including > arch/*/io.h: remove ioremap_uc in some architectures > > Documentation/driver-api/device-io.rst | 11 ++++-- > arch/alpha/include/asm/io.h | 1 - > arch/hexagon/include/asm/io.h | 3 -- > arch/m68k/include/asm/kmap.h | 1 - > arch/mips/include/asm/io.h | 47 +++++++++++++++++++++++++- > arch/mips/include/asm/mmiowb.h | 2 -- > arch/parisc/include/asm/io.h | 2 -- > arch/powerpc/include/asm/io.h | 1 - > arch/sh/include/asm/io.h | 2 -- > arch/sparc/include/asm/io_64.h | 1 - > 10 files changed, 55 insertions(+), 16 deletions(-) > > -- > 2.34.1 >