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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4BAF3C28B28 for ; Sat, 15 Mar 2025 10:59:24 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4ZFJCG3vfJz30WR; Sat, 15 Mar 2025 21:59:22 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2604:1380:45d1:ec00::3" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1742036362; cv=none; b=oSJNIfjrIcRu8ZxLkwnm8eHlQwRP8gAIayFAjNvJoHTD3uX+nyAAldLdIGaMR3hp70SzR+LI6qPzlkTvWpA1yuGjxgZa9Pgh5Gs1Xm83c+OT9lRp+ap1BPR0EPeKPiz5TemdZz5JPcg5zsX9SQD7hRkhGqrNlknoV3fRihfThHeBbAa+w2vb958/XD6G8cYFmcuL3XSHkrNtetOAhOp8pTnF0/mE6PXj9DnanWeDiRQSJrwMhibuKa0LYLTRqvjsRE29BGe7Sz6R2js9idjpqB4iv1RFmIanmFOkEUZ8D3oxtadqnOi89+PCrb6GrisEt35yfa7BnXLLo6mWxFtYpw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1742036362; c=relaxed/relaxed; bh=IrABPcdivvTaEQt+ie9Gu81RLwySO8rqlyCx4QdOs/Q=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=fMeq0RpqMk9YKnvN/Dcd6XiyZf7GGVTMQc4gVA1CoNEK78wrl3ML12gNkAZnWOrZveZuP3EuM/t/1qlpeCoWxV9KqztKu1SqPTj3Cwh2uK0FzRk4fpVzuT0yd4DwvKM7/h6cifL6JKvs3Ix8jluiBX28h45dq2PsqoCY0PZ16dqhcvWIOD/pyKshK2esZgj2QRmtnQ8Ye8t35OYX217ryNdG249gPE50imKLOmcyLi/eRJJI/UZY07eE6/PoFnSXoHz/no6SH/c5gGubXyDCfl0O1egV3BALF8M+YRJNVYDpTF51AbhGzngufZAhh5IqO/IMzuiAE62d8eYsU9ODvg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=QeGm8n/1; dkim-atps=neutral; spf=pass (client-ip=2604:1380:45d1:ec00::3; helo=nyc.source.kernel.org; envelope-from=arnd@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=QeGm8n/1; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=2604:1380:45d1:ec00::3; helo=nyc.source.kernel.org; envelope-from=arnd@kernel.org; receiver=lists.ozlabs.org) Received: from nyc.source.kernel.org (nyc.source.kernel.org [IPv6:2604:1380:45d1:ec00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4ZFJCF26Syz30Vw for ; Sat, 15 Mar 2025 21:59:21 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id B91ADA48A11; Sat, 15 Mar 2025 10:53:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7029DC4CEE5; Sat, 15 Mar 2025 10:59:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742036357; bh=iNj1uai8aBt7DaA8QRTxehgmfPjURYUtO7lvJ9FyPYE=; h=From:To:Cc:Subject:Date:From; b=QeGm8n/1yaBlknAiTM9PbcGBvfecLE14NaWyggw7irJxQ9ZUD4gwqWeD6R+76W8+o 5gZQY1kDfZgbS3U5Ra1LSv3PhQMXoT5G/0Dkekya8DP5aDGcA/Nui9Iw/HTHBij+GU KaOwiwXausYMh5f+P2Dhq3ZRMVh0bV870WhMtPWKeMqxj3BUGb6y9gI31eLbZi6tpu 2yddEKW6LavqZ+2iOUFrf5fg3qxiiVYyA5TbVg5+qaqjOZDpQJzNk/oRrL9Stu5ouB IwMueWvL5VGHzPMBsUALBkRyLFmjUPO0kQAnAqcZ0HX4E2/y0YbuJD6CcBwjOue+pl IOVRtFaA0/coQ== From: Arnd Bergmann To: linux-arch@vger.kernel.org Cc: Arnd Bergmann , Richard Henderson , Matt Turner , Geert Uytterhoeven , Greg Ungerer , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Naveen N Rao , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Julian Vetter , Bjorn Helgaas , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org Subject: [PATCH 0/6] asm-generic: io.h cleanups Date: Sat, 15 Mar 2025 11:59:01 +0100 Message-Id: <20250315105907.1275012-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann After the previous round of cleanups for asm-generic/io,h on the ioread64 helpers, I had another look at the architecture specific versions, especially those that caused build failures in the past. These are some simplifications that I would like to merge at the same time, please have a look. Hopefully these are all uncontroversial. I have a few more patches for m68k that need a more thorough review and testing, will post them after the merge window. Arnd Bergmann (6): alpha: stop using asm-generic/iomap.h sh: remove duplicate ioread/iowrite helpers parisc: stop using asm-generic/iomap.h powerpc: asm/io.h: remove split ioread64/iowrite64 helpers mips: drop GENERIC_IOMAP wrapper m68k/nommu: stop using GENERIC_IOMAP arch/alpha/include/asm/io.h | 31 ++++--- arch/m68k/Kconfig | 2 +- arch/m68k/include/asm/io_no.h | 4 - arch/mips/Kconfig | 2 +- arch/mips/include/asm/io.h | 21 ++--- arch/mips/lib/iomap-pci.c | 9 ++ arch/parisc/include/asm/io.h | 36 ++++++-- arch/powerpc/include/asm/io.h | 48 ---------- arch/sh/include/asm/io.h | 30 ++----- arch/sh/kernel/Makefile | 3 - arch/sh/kernel/iomap.c | 162 ---------------------------------- arch/sh/kernel/ioport.c | 5 -- arch/sh/lib/io.c | 4 +- drivers/sh/clk/cpg.c | 25 +++--- 14 files changed, 84 insertions(+), 298 deletions(-) delete mode 100644 arch/sh/kernel/iomap.c -- 2.39.5 Cc: Richard Henderson Cc: Matt Turner Cc: Geert Uytterhoeven Cc: Greg Ungerer Cc: Thomas Bogendoerfer Cc: "James E.J. Bottomley" Cc: Helge Deller Cc: Madhavan Srinivasan Cc: Michael Ellerman Cc: Nicholas Piggin Cc: Christophe Leroy Cc: Naveen N Rao Cc: Yoshinori Sato Cc: Rich Felker Cc: John Paul Adrian Glaubitz Cc: Arnd Bergmann Cc: Julian Vetter Cc: Bjorn Helgaas Cc: linux-alpha@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-m68k@lists.linux-m68k.org Cc: linux-mips@vger.kernel.org Cc: linux-parisc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-sh@vger.kernel.org