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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D689BC433F5 for ; Thu, 3 Mar 2022 16:39:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ua7Baa0eWWCb37z1I9sT4l4HbRxfn1ftmNp61Blo/9w=; b=HpOmgVt8ZIjO1y eGhDIZtfPtKUBujEEq8fSxLE/QvN7DFYVYAhMdDRN43rLjH4zLmGkDHdmpL6Ss54uW6WoxH1Q6Xn4 ulmycCnYdp3HJIBKUCPFhs40es5mWcnBIfIK/y4tDno/GwDA06QFPGuWGl+vADmUNhRuTjtJYvzIM gfjX95F+uq6zOmzfXPfKc4Ld1u7P3wzJyjSRtGDTpzkzeyNscEKW5vSRN7r7OmucEDsAw6Z/NGR7n pylQhso00FbB+L+Oq2xay5IEc0Xs2eVJ7e6uvluCaX3RUe3BA2gIDnWc+cvl+WP4jlIu0wyx9JQf7 3oj143kZhPpZyyF5tyBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPoUX-007CfP-Q3; Thu, 03 Mar 2022 16:39:49 +0000 Received: from elvis.franken.de ([193.175.24.41]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPoUT-007Cay-LP; Thu, 03 Mar 2022 16:39:47 +0000 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1nPoU9-0008UX-00; Thu, 03 Mar 2022 17:39:25 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 23B82C28F1; Thu, 3 Mar 2022 17:39:00 +0100 (CET) Date: Thu, 3 Mar 2022 17:39:00 +0100 From: Thomas Bogendoerfer To: Christoph Hellwig Cc: iommu@lists.linux-foundation.org, x86@kernel.org, Anshuman Khandual , Tom Lendacky , Konrad Rzeszutek Wilk , Stefano Stabellini , Boris Ostrovsky , Juergen Gross , Joerg Roedel , David Woodhouse , Lu Baolu , Robin Murphy , linux-arm-kernel@lists.infradead.org, xen-devel@lists.xenproject.org, linux-ia64@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-hyperv@vger.kernel.org, tboot-devel@lists.sourceforge.net, linux-pci@vger.kernel.org Subject: Re: [PATCH 06/12] MIPS/octeon: use swiotlb_init instead of open coding it Message-ID: <20220303163900.GA11971@alpha.franken.de> References: <20220301105311.885699-1-hch@lst.de> <20220301105311.885699-7-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220301105311.885699-7-hch@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220303_083945_967061_B3B50096 X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, Mar 01, 2022 at 12:53:05PM +0200, Christoph Hellwig wrote: > Use the generic swiotlb initialization helper instead of open coding it. > > Signed-off-by: Christoph Hellwig > --- > arch/mips/cavium-octeon/dma-octeon.c | 15 ++------------- > arch/mips/pci/pci-octeon.c | 2 +- > 2 files changed, 3 insertions(+), 14 deletions(-) Acked-by: Thomas Bogendoerfer -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ] _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv