All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@bootlin.com>,
	Andre Przywara <andre.przywara@arm.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	USB list <linux-usb@vger.kernel.org>,
	Russell King <linux@armlinux.org.uk>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"open list:IOMMU DRIVERS" <iommu@lists.linux-foundation.org>,
	Alan Stern <stern@rowland.harvard.edu>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Robin Murphy <robin.murphy@arm.com>,
	Christoph Hellwig <hch@lst.de>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH 4/7] ARM: remove the unused virt_to_dma helper
Date: Thu, 21 Apr 2022 16:11:08 +0200	[thread overview]
Message-ID: <20220421141108.GA20492@lst.de> (raw)
In-Reply-To: <CAK8P3a2zSZsiq_FFHJMHex6uLc_7sUfvns8W8-mE52yzxOqhKw@mail.gmail.com>

On Thu, Apr 21, 2022 at 10:00:55AM +0200, Arnd Bergmann wrote:
> I think __virt_to_bus() is now unused as well and could be removed
> in the same step.

Yes.

> It looks like __bus_to_virt() is still used in the ISA DMA API, but
> as that is only used on footbridge and rpc, the generic version of
> that could be moved into rpc (footbridge already has a custom
> version).

That sounds like a useful cleanup, but isn't really in scope for
this series.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@lst.de>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>,
	Russell King <linux@armlinux.org.uk>,
	Linus Walleij <linus.walleij@linaro.org>,
	Andre Przywara <andre.przywara@arm.com>,
	Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@bootlin.com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Alan Stern <stern@rowland.harvard.edu>,
	Laurentiu Tudor <laurentiu.tudor@nxp.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Robin Murphy <robin.murphy@arm.com>,
	"open list:IOMMU DRIVERS" <iommu@lists.linux-foundation.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	USB list <linux-usb@vger.kernel.org>
Subject: Re: [PATCH 4/7] ARM: remove the unused virt_to_dma helper
Date: Thu, 21 Apr 2022 16:11:08 +0200	[thread overview]
Message-ID: <20220421141108.GA20492@lst.de> (raw)
In-Reply-To: <CAK8P3a2zSZsiq_FFHJMHex6uLc_7sUfvns8W8-mE52yzxOqhKw@mail.gmail.com>

On Thu, Apr 21, 2022 at 10:00:55AM +0200, Arnd Bergmann wrote:
> I think __virt_to_bus() is now unused as well and could be removed
> in the same step.

Yes.

> It looks like __bus_to_virt() is still used in the ISA DMA API, but
> as that is only used on footbridge and rpc, the generic version of
> that could be moved into rpc (footbridge already has a custom
> version).

That sounds like a useful cleanup, but isn't really in scope for
this series.

WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@lst.de>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>,
	Russell King <linux@armlinux.org.uk>,
	Linus Walleij <linus.walleij@linaro.org>,
	Andre Przywara <andre.przywara@arm.com>,
	Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@bootlin.com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Alan Stern <stern@rowland.harvard.edu>,
	Laurentiu Tudor <laurentiu.tudor@nxp.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Robin Murphy <robin.murphy@arm.com>,
	"open list:IOMMU DRIVERS" <iommu@lists.linux-foundation.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	USB list <linux-usb@vger.kernel.org>
Subject: Re: [PATCH 4/7] ARM: remove the unused virt_to_dma helper
Date: Thu, 21 Apr 2022 16:11:08 +0200	[thread overview]
Message-ID: <20220421141108.GA20492@lst.de> (raw)
In-Reply-To: <CAK8P3a2zSZsiq_FFHJMHex6uLc_7sUfvns8W8-mE52yzxOqhKw@mail.gmail.com>

On Thu, Apr 21, 2022 at 10:00:55AM +0200, Arnd Bergmann wrote:
> I think __virt_to_bus() is now unused as well and could be removed
> in the same step.

Yes.

> It looks like __bus_to_virt() is still used in the ISA DMA API, but
> as that is only used on footbridge and rpc, the generic version of
> that could be moved into rpc (footbridge already has a custom
> version).

That sounds like a useful cleanup, but isn't really in scope for
this series.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-04-21 14:11 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21  7:41 fully convert arm to use dma-direct Christoph Hellwig
2022-04-21  7:41 ` Christoph Hellwig
2022-04-21  7:41 ` Christoph Hellwig
2022-04-21  7:41 ` [PATCH 1/7] ARM: sa1100/assabet: move dmabounce hack to ohci driver Christoph Hellwig
2022-04-21  7:41   ` Christoph Hellwig
2022-04-21  7:41   ` Christoph Hellwig
2022-04-21  7:41 ` [PATCH 2/7] ARM: remove dmabounce Christoph Hellwig
2022-04-21  7:41   ` Christoph Hellwig
2022-04-21  7:41   ` Christoph Hellwig
2022-04-21  7:48   ` Arnd Bergmann
2022-04-21  7:48     ` Arnd Bergmann
2022-04-21  7:48     ` Arnd Bergmann
2022-04-21  7:42 ` [PATCH 3/7] ARM: mark various dma-mapping routines static in dma-mapping.c Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  7:49   ` Arnd Bergmann
2022-04-21  7:49     ` Arnd Bergmann
2022-04-21  7:49     ` Arnd Bergmann
2022-04-21  7:42 ` [PATCH 4/7] ARM: remove the unused virt_to_dma helper Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  8:00   ` Arnd Bergmann
2022-04-21  8:00     ` Arnd Bergmann
2022-04-21  8:00     ` Arnd Bergmann
2022-04-21 14:11     ` Christoph Hellwig [this message]
2022-04-21 14:11       ` Christoph Hellwig
2022-04-21 14:11       ` Christoph Hellwig
2022-04-21  7:42 ` [PATCH 5/7] ARM: use dma_to_phys/phys_to_dma in the dma-mapping code Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  8:02   ` Arnd Bergmann
2022-04-21  8:02     ` Arnd Bergmann
2022-04-21  8:02     ` Arnd Bergmann
2022-04-21  7:42 ` [PATCH 6/7] ARM: use the common dma_to_phys/phys_to_dma implementation where possible Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  8:05   ` Arnd Bergmann
2022-04-21  8:05     ` Arnd Bergmann
2022-04-21  8:05     ` Arnd Bergmann
2022-04-21 14:12     ` Christoph Hellwig
2022-04-21 14:12       ` Christoph Hellwig
2022-04-21 14:12       ` Christoph Hellwig
2022-04-21  7:42 ` [PATCH 7/7] ARM: use dma-direct unconditionally Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  7:42   ` Christoph Hellwig
2022-04-21  8:09   ` Arnd Bergmann
2022-04-21  8:09     ` Arnd Bergmann
2022-04-21  8:09     ` Arnd Bergmann
2022-04-21  8:14 ` fully convert arm to use dma-direct Arnd Bergmann
2022-04-21  8:14   ` Arnd Bergmann
2022-04-21  8:14   ` Arnd Bergmann
2022-04-21 10:41 ` Andre Przywara
2022-04-21 10:41   ` Andre Przywara
2022-04-21 10:41   ` Andre Przywara
2022-04-22 21:17 ` Linus Walleij
2022-04-22 21:17   ` Linus Walleij
2022-04-22 21:17   ` Linus Walleij
2022-04-23 10:27   ` Marc Zyngier
2022-04-23 10:27     ` Marc Zyngier
2022-04-23 10:27     ` Marc Zyngier
2022-04-23 16:43     ` Christoph Hellwig
2022-04-23 16:43       ` Christoph Hellwig
2022-04-23 16:43       ` Christoph Hellwig
2022-05-06 12:06   ` Marc Zyngier
2022-05-06 12:06     ` Marc Zyngier
2022-05-06 12:06     ` Marc Zyngier
2022-05-09  6:16     ` Christoph Hellwig
2022-05-09  6:16       ` Christoph Hellwig
2022-05-09  6:16       ` Christoph Hellwig
2022-05-09 15:44   ` Russell King (Oracle)
2022-05-09 15:44     ` Russell King (Oracle)
2022-05-09 15:44     ` Russell King (Oracle)
2022-05-09 21:51     ` Linus Walleij
2022-05-09 21:51       ` Linus Walleij
2022-05-09 21:51       ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220421141108.GA20492@lst.de \
    --to=hch@lst.de \
    --cc=andre.przywara@arm.com \
    --cc=andrew@lunn.ch \
    --cc=arnd@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=gregory.clement@bootlin.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=robin.murphy@arm.com \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.