Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-06-19 Thread Bjorn Helgaas
On Fri, Jun 19, 2015 at 4:06 PM, Luis R. Rodriguez wrote: > I hope to have provided a bit of new information to help you > reconsider this series to go through you but since you seem to be fine > for this to go through another tree and since I failed to notice that > I should also get Arnd's Ack

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-06-19 Thread Luis R. Rodriguez
On Tue, Jun 16, 2015 at 3:20 PM, Bjorn Helgaas wrote: > On Tue, Jun 16, 2015 at 2:16 PM, Luis R. Rodriguez > wrote: >> On Thu, May 28, 2015 at 5:36 PM, Luis R. Rodriguez >> wrote: >>> On Wed, May 27, 2015 at 1:04 PM, Luis R. Rodriguez wrote: On Tue, May 26, 2015 at 12:40:08PM -0500, Bjorn

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-06-16 Thread Bjorn Helgaas
On Tue, Jun 16, 2015 at 2:16 PM, Luis R. Rodriguez wrote: > On Thu, May 28, 2015 at 5:36 PM, Luis R. Rodriguez > wrote: >> On Wed, May 27, 2015 at 1:04 PM, Luis R. Rodriguez wrote: >>> On Tue, May 26, 2015 at 12:40:08PM -0500, Bjorn Helgaas wrote: On Fri, May 22, 2015 at 02:23:41AM +0200, L

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-06-16 Thread Luis R. Rodriguez
On Thu, May 28, 2015 at 5:36 PM, Luis R. Rodriguez wrote: > On Wed, May 27, 2015 at 1:04 PM, Luis R. Rodriguez wrote: >> On Tue, May 26, 2015 at 12:40:08PM -0500, Bjorn Helgaas wrote: >>> On Fri, May 22, 2015 at 02:23:41AM +0200, Luis R. Rodriguez wrote: >>> > On Thu, May 21, 2015 at 05:33:21PM -

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-29 Thread Luis R. Rodriguez
On Thu, May 28, 2015 at 10:57 PM, Tomi Valkeinen wrote: > > > On 29/05/15 03:36, Luis R. Rodriguez wrote: >> On Wed, May 27, 2015 at 1:04 PM, Luis R. Rodriguez wrote: >>> On Tue, May 26, 2015 at 12:40:08PM -0500, Bjorn Helgaas wrote: On Fri, May 22, 2015 at 02:23:41AM +0200, Luis R. Rodrigue

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-28 Thread Tomi Valkeinen
On 29/05/15 03:36, Luis R. Rodriguez wrote: > On Wed, May 27, 2015 at 1:04 PM, Luis R. Rodriguez wrote: >> On Tue, May 26, 2015 at 12:40:08PM -0500, Bjorn Helgaas wrote: >>> On Fri, May 22, 2015 at 02:23:41AM +0200, Luis R. Rodriguez wrote: On Thu, May 21, 2015 at 05:33:21PM -0500, Bjorn He

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-28 Thread Luis R. Rodriguez
On Wed, May 27, 2015 at 1:04 PM, Luis R. Rodriguez wrote: > On Tue, May 26, 2015 at 12:40:08PM -0500, Bjorn Helgaas wrote: >> On Fri, May 22, 2015 at 02:23:41AM +0200, Luis R. Rodriguez wrote: >> > On Thu, May 21, 2015 at 05:33:21PM -0500, Bjorn Helgaas wrote: >> > > >> > > I tentatively put this

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-27 Thread Luis R. Rodriguez
On Tue, May 26, 2015 at 12:40:08PM -0500, Bjorn Helgaas wrote: > On Fri, May 22, 2015 at 02:23:41AM +0200, Luis R. Rodriguez wrote: > > On Thu, May 21, 2015 at 05:33:21PM -0500, Bjorn Helgaas wrote: > > > > > > I tentatively put this (and the rest of the series) on a pci/resource > > > branch. I'

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-26 Thread Bjorn Helgaas
On Fri, May 22, 2015 at 02:23:41AM +0200, Luis R. Rodriguez wrote: > On Thu, May 21, 2015 at 05:33:21PM -0500, Bjorn Helgaas wrote: > > > > I tentatively put this (and the rest of the series) on a pci/resource > > branch. I'm hoping you'll propose some clarification about > > EXPORT_SYMBOL_GPL().

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-21 Thread Luis R. Rodriguez
On Thu, May 21, 2015 at 05:33:21PM -0500, Bjorn Helgaas wrote: > > I tentatively put this (and the rest of the series) on a pci/resource > branch. I'm hoping you'll propose some clarification about > EXPORT_SYMBOL_GPL(). EXPORT_SYMBOL_GPL() also serves to ensure only GPL modules can only run tha

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-21 Thread Bjorn Helgaas
On Wed, May 20, 2015 at 04:08:10PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This allows drivers to take advantage of write-combining > when possible. The PCI specification does not allow for us > to automatically identify a memory region which needs > write-combining so dri

Re: [Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-21 Thread Bjorn Helgaas
On Wed, May 20, 2015 at 04:08:10PM -0700, Luis R. Rodriguez wrote: > ... > --- a/lib/pci_iomap.c > +++ b/lib/pci_iomap.c > @@ -52,6 +52,46 @@ void __iomem *pci_iomap_range(struct pci_dev *dev, > EXPORT_SYMBOL(pci_iomap_range); > > /** > + * pci_iomap_wc_range - create a virtual WC mapping cooki

[Xen-devel] [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-20 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This allows drivers to take advantage of write-combining when possible. The PCI specification does not allow for us to automatically identify a memory region which needs write-combining so drivers have to identify these areas on their own. There is IORESOURCE_PREFETCH bu