diff for duplicates of <20160119202513.GC6510@localhost> diff --git a/a/1.txt b/N1/1.txt index fba3e00..09c42b0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -8,13 +8,13 @@ On Mon, Jan 18, 2016 at 02:04:05PM +0000, Graeme Gregory wrote: > > > > > > > From the functionality point of view this series might be split into the > > > > > > > following logic parts: > > > > > > > 1. Make MMCONFIG code arch-agnostic which allows all architectures to collect -> > > > > > > PCI config regions and used when necessary. +> > > > > > > ???PCI config regions and used when necessary. > > > > > > > 2. Move non-arch specific bits to the core code. > > > > > > > 3. Use MMCONFIG code and implement generic ACPI based PCI host controller driver. > > > > > > > 4. Enable above driver on ARM64 > > > > > > > > > > > > > > Patches has been built on top of 4.4 and can be found here: -> > > > > > > git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v3) +> > > > > > > git at github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v3) > > > > > > > > > > > > > > NOTE, this patch set depends on Matthew's patches: > > > > > > > http://www.spinics.net/lists/linux-pci/msg45950.html @@ -35,14 +35,14 @@ On Mon, Jan 18, 2016 at 02:04:05PM +0000, Graeme Gregory wrote: > > > > > > --- a/drivers/pci/probe.c > > > > > > +++ b/drivers/pci/probe.c > > > > > > @@ -1717,7 +1717,7 @@ void pci_device_add(struct pci_dev *dev, struct pci_bus *bus) -> > > > > > set_dev_node(&dev->dev, pcibus_to_node(bus)); -> > > > > > dev->dev.dma_mask = &dev->dma_mask; -> > > > > > dev->dev.dma_parms = &dev->dma_parms; -> > > > > > - dev->dev.coherent_dma_mask = 0xffffffffull; -> > > > > > + dev->dev.coherent_dma_mask = DMA_BIT_MASK(64); -> > > > > > pci_dma_configure(dev); +> > > > > > ????????set_dev_node(&dev->dev, pcibus_to_node(bus)); +> > > > > > ????????dev->dev.dma_mask = &dev->dma_mask; +> > > > > > ????????dev->dev.dma_parms = &dev->dma_parms; +> > > > > > -???????dev->dev.coherent_dma_mask = 0xffffffffull; +> > > > > > +???????dev->dev.coherent_dma_mask = DMA_BIT_MASK(64); +> > > > > > ????????pci_dma_configure(dev); > > > > > > -> > > > > > pci_set_dma_max_seg_size(dev, 65536); +> > > > > > ????????pci_set_dma_max_seg_size(dev, 65536); > > > > > > > > > > > > I suspect we need to set coherent_dma_mask somewhere in the platform but I do > > > > > > not know where this should happen. Hopefully an ARM64 expert can help. diff --git a/a/content_digest b/N1/content_digest index fd8ba88..eabee8d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,36 +5,10 @@ "ref\01452781481.28109.8.camel@redhat.com\0" "ref\020160115121231.GD8520@xora-haswell.xora.org.uk\0" "ref\020160118140405.GC11384@xora-haswell.xora.org.uk\0" - "From\0Bjorn Helgaas <helgaas@kernel.org>\0" - "Subject\0Re: [PATCH V3 00/21] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI\0" + "From\0helgaas@kernel.org (Bjorn Helgaas)\0" + "Subject\0[PATCH V3 00/21] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI\0" "Date\0Tue, 19 Jan 2016 14:25:13 -0600\0" - "To\0Graeme Gregory <gg@slimlogic.co.uk>\0" - "Cc\0Mark Salter <msalter@redhat.com>" - linaro-acpi@lists.linaro.org - catalin.marinas@arm.com - will.deacon@arm.com - okaya@codeaurora.org - wangyijing@huawei.com - Lorenzo.Pieralisi@arm.com - Tomasz Nowicki <tn@semihalf.com> - ddaney@caviumnetworks.com - linux-acpi@vger.kernel.org - robert.richter@caviumnetworks.com - linux-pci@vger.kernel.org - jcm@redhat.com - arnd@arndb.de - Stefano.Stabellini@eu.citrix.com - Liviu.Dudau@arm.com - bhelgaas@google.com - tglx@linutronix.de - mw@semihalf.com - linux-arm-kernel@lists.infradead.org - jchandra@broadcom.com - rjw@rjwysocki.net - linux-kernel@vger.kernel.org - hanjun.guo@linaro.org - Suravee.Suthikulpanit@amd.com - " jiang.liu@linux.intel.com\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On Mon, Jan 18, 2016 at 02:04:05PM +0000, Graeme Gregory wrote:\n" @@ -47,13 +21,13 @@ "> > > > > > > From the functionality point of view this series might be split into the\n" "> > > > > > > following logic parts:\n" "> > > > > > > 1. Make MMCONFIG code arch-agnostic which allows all architectures to collect\n" - "> > > > > > > \302\240\302\240\302\240PCI config regions and used when necessary.\n" + "> > > > > > > ???PCI config regions and used when necessary.\n" "> > > > > > > 2. Move non-arch specific bits to the core code.\n" "> > > > > > > 3. Use MMCONFIG code and implement generic ACPI based PCI host controller driver.\n" "> > > > > > > 4. Enable above driver on ARM64\n" "> > > > > > > \n" "> > > > > > > Patches has been built on top of 4.4 and can be found here:\n" - "> > > > > > > git@github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v3)\n" + "> > > > > > > git at github.com:semihalf-nowicki-tomasz/linux.git (pci-acpi-v3)\n" "> > > > > > > \n" "> > > > > > > NOTE, this patch set depends on Matthew's patches:\n" "> > > > > > > http://www.spinics.net/lists/linux-pci/msg45950.html\n" @@ -74,14 +48,14 @@ "> > > > > > --- a/drivers/pci/probe.c\n" "> > > > > > +++ b/drivers/pci/probe.c\n" "> > > > > > @@ -1717,7 +1717,7 @@ void pci_device_add(struct pci_dev *dev, struct pci_bus *bus)\n" - "> > > > > > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240set_dev_node(&dev->dev, pcibus_to_node(bus));\n" - "> > > > > > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240dev->dev.dma_mask = &dev->dma_mask;\n" - "> > > > > > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240dev->dev.dma_parms = &dev->dma_parms;\n" - "> > > > > > -\302\240\302\240\302\240\302\240\302\240\302\240\302\240dev->dev.coherent_dma_mask = 0xffffffffull;\n" - "> > > > > > +\302\240\302\240\302\240\302\240\302\240\302\240\302\240dev->dev.coherent_dma_mask = DMA_BIT_MASK(64);\n" - "> > > > > > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240pci_dma_configure(dev);\n" + "> > > > > > ????????set_dev_node(&dev->dev, pcibus_to_node(bus));\n" + "> > > > > > ????????dev->dev.dma_mask = &dev->dma_mask;\n" + "> > > > > > ????????dev->dev.dma_parms = &dev->dma_parms;\n" + "> > > > > > -???????dev->dev.coherent_dma_mask = 0xffffffffull;\n" + "> > > > > > +???????dev->dev.coherent_dma_mask = DMA_BIT_MASK(64);\n" + "> > > > > > ????????pci_dma_configure(dev);\n" "> > > > > > \n" - "> > > > > > \302\240\302\240\302\240\302\240\302\240\302\240\302\240\302\240pci_set_dma_max_seg_size(dev, 65536);\n" + "> > > > > > ????????pci_set_dma_max_seg_size(dev, 65536);\n" "> > > > > > \n" "> > > > > > I suspect we need to set coherent_dma_mask somewhere in the platform but I do\n" "> > > > > > not know where this should happen. Hopefully an ARM64 expert can help.\n" @@ -117,4 +91,4 @@ "\n" Bjorn -385f58190fa24dfa0c7bab505109b63e592223e6e47e048533d92ce6c7f18433 +373b79ff13cb6ca50272b083c96170785d6e5326373ff6282892d842709dca23
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.