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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E559EC05027 for ; Tue, 14 Feb 2023 14:21:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232796AbjBNOVA (ORCPT ); Tue, 14 Feb 2023 09:21:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232099AbjBNOUz (ORCPT ); Tue, 14 Feb 2023 09:20:55 -0500 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F6C5C0; Tue, 14 Feb 2023 06:20:53 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id AA6843200302; Tue, 14 Feb 2023 09:12:51 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Tue, 14 Feb 2023 09:12:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc: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=fm3; t=1676383971; x=1676470371; bh=YRxaNRC4BH 1ycBKeOawmXxp8krGFIkOuJJQE9+IMh0E=; b=dYZdi6z1BBW8qZ+1yTNZYVnlzu bd1rdhnWTBQ3winl855ARQim1KYx5d0+eSeo6xbILH8Dd+fYcX21cDZq7K4dym+B 1lwEKlo3CnmrObFIGtwewAtKRMzsl73+xY6yGXw4ROSf2JNAVLfo0944TMJrOJlZ 1tvTH+LTtEip7C0IQzn3doc2lo+gA72BqG/HXPologcAGGOGOUax47AkzoTZhd7g D2T/sxmJsk0xcjQvaoLyhMQwBm4UEFyETbAidyKWuUA/z8j6SmXY0dXJbmZNjLAq uBPdWjFbtnrjaivDuFbECbd8ILEgcMoOGSAuH1xj8fWbQgMPrq+YYQbJzS6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= fm1; t=1676383971; x=1676470371; bh=YRxaNRC4BH1ycBKeOawmXxp8krGF IkOuJJQE9+IMh0E=; b=plSFOhcc+E+PfxIEOh9EFkWLD7z1ZH8TqV/Yf3HqNFfO o0UDk42j6uzH+wqFQb5B5B5SJBG5Vp8XiBifhfV9EuPtwQXBmJ2NHelxCbZ5K3Hz RX8guFFpCTdjAgxtVPB3F6jfV+4TOUJeOoNh6wePzGygWyPBYQsHpUX5BP9niFFu 0xWhf9DXO6X1PnyKoYsbQ8kCvJyRgmqj5i382pEybyGb7+1MO7FGgNmSD3TYvLE6 InadPT5sQEdLtw3hir2yPkdkpAJYByGvuF9eRMMoXzjnAXyhvE8h5YKeIZ/QarqO JeNzq6/MysYlmsjyDmu2UcFPnWC13/9tKTDDjwfQ6Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeifedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 30FB2B60086; Tue, 14 Feb 2023 09:12:48 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-156-g081acc5ed5-fm-20230206.001-g081acc5e Mime-Version: 1.0 Message-Id: <4e57a5aa-fd7a-4cda-90e3-6a02cfeb04c0@app.fastmail.com> In-Reply-To: <20230214140121.131859-1-gregkh@linuxfoundation.org> References: <20230214140121.131859-1-gregkh@linuxfoundation.org> Date: Tue, 14 Feb 2023 15:12:29 +0100 From: "Arnd Bergmann" To: "Greg Kroah-Hartman" , linux-kernel@vger.kernel.org Cc: "Richard Henderson" , "Ivan Kokshaysky" , "Matt Turner" , "Thomas Bogendoerfer" , "James E . J . Bottomley" , "Helge Deller" , "David S . Miller" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "H. Peter Anvin" , "Christoph Hellwig" , "Marek Szyprowski" , "Robin Murphy" , "Konrad Rzeszutek Wilk" , linux-alpha@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, iommu@lists.linux.dev, Linux-Arch Subject: Re: [PATCH] dma-mapping: no need to pass a bus_type into get_arch_dma_ops() Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 14, 2023, at 15:01, Greg Kroah-Hartman wrote: > The get_arch_dma_ops() arch-specific function never does anything with > the struct bus_type that is passed into it, so remove it entirely as it > is not needed. > Signed-off-by: Greg Kroah-Hartman > --- > Note: Unless someone objects, I would like to take this through the > driver-core tree, as further bus_type cleanups depend on it, and it's > stand-alone from everyone else's tree at the moment from what I can > determine. Nice find! Reviewed-by: Arnd Bergmann It looks like the bus was last required in 2020 before commit 255a69a94b8c ("sparc32: use per-device dma_ops"). Arnd