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 5D3D9C64EC7 for ; Wed, 1 Mar 2023 10:23:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjCAKXI (ORCPT ); Wed, 1 Mar 2023 05:23:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjCAKXF (ORCPT ); Wed, 1 Mar 2023 05:23:05 -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 CCE0D3B3C0 for ; Wed, 1 Mar 2023 02:22:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677666139; 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: content-transfer-encoding:content-transfer-encoding; bh=MMRQRl3t6hAKjtY5VRuUkJZdfgn6RD+/9pcPLSeWAJw=; b=HoRo+6EzGujNBLtHNB5WLIOVf0pjPzE9TPsBW8HJPIMmOb6EuszSeCo2aFniqVXvssifYA mgYNO4PoByWDjPPqOvWj1SnsRsT/HNXP73pgK/gzKDox16v4ZLKv8EihQAUhZ8WYjsQHmk DYahyqY4CrtRtb/BS7BXnSw+MzaOCjA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-151--ajzeegeMgyallSEeClPog-1; Wed, 01 Mar 2023 05:22:15 -0500 X-MC-Unique: -ajzeegeMgyallSEeClPog-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 58311882820; Wed, 1 Mar 2023 10:22:15 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-13-180.pek2.redhat.com [10.72.13.180]) by smtp.corp.redhat.com (Postfix) with ESMTP id ED85D492C14; Wed, 1 Mar 2023 10:22:11 +0000 (UTC) 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, Baoquan He Subject: [PATCH v2 0/2] arch/*/io.h: remove ioremap_uc in some architectures Date: Wed, 1 Mar 2023 18:22:06 +0800 Message-Id: <20230301102208.148490-1-bhe@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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