Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-25 Thread Suthikulpanit, Suravee
Hi Bjorn, On 8/25/2015 3:14 AM, Bjorn Helgaas wrote: On Mon, Aug 24, 2015 at 12:09 PM, Suravee Suthikulpanit wrote: commit 84cfb2213cd400fef227ec0d7829ec4e12895da9 Author: Bjorn Helgaas Date: Thu Aug 13 19:49:52 2015 -0500 ACPI / scan: Rename acpi_check_dma() to acpi_dma_is_coherent

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Bjorn Helgaas
On Mon, Aug 24, 2015 at 12:09 PM, Suravee Suthikulpanit wrote: >>> commit 84cfb2213cd400fef227ec0d7829ec4e12895da9 >>> Author: Bjorn Helgaas >>> Date: Thu Aug 13 19:49:52 2015 -0500 >>> >>> ACPI / scan: Rename acpi_check_dma() to acpi_dma_is_coherent() >>> >>> The name "acpi_check_dm

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Suravee Suthikulpanit
Hi Bjorn, On 8/25/15 00:32, Bjorn Helgaas wrote: Here it is again. On Thu, Aug 13, 2015 at 6:50 PM, Bjorn Helgaas wrote: Hi Suravee, On Thu, Aug 13, 2015 at 04:58:45PM +0700, Suravee Suthikulpanit wrote: This patch refactors of_pci_dma_configure() into a more generic pci_dma_configure(), wh

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Suravee Suthikulpanit
Hi, On 8/25/15 00:32, Bjorn Helgaas wrote: On Mon, Aug 24, 2015 at 9:41 AM, Suravee Suthikulpanit wrote: >Hi, > >Ping. Does anyone have any comments or suggestions? Yes, I sent you some ideas a couple weeks ago. I'll resend them. Not sure how I missed that one. Sorry. Thanks again, Sur

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Bjorn Helgaas
Here it is again. On Thu, Aug 13, 2015 at 6:50 PM, Bjorn Helgaas wrote: > Hi Suravee, > > On Thu, Aug 13, 2015 at 04:58:45PM +0700, Suravee Suthikulpanit wrote: >> This patch refactors of_pci_dma_configure() into a more generic >> pci_dma_configure(), which can be reused by non-OF code. >> Then,

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Bjorn Helgaas
On Mon, Aug 24, 2015 at 9:41 AM, Suravee Suthikulpanit wrote: > Hi, > > Ping. Does anyone have any comments or suggestions? Yes, I sent you some ideas a couple weeks ago. I'll resend them. > On 8/13/15 16:58, Suravee Suthikulpanit wrote: >> >> This patch refactors of_pci_dma_configure() into a

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Suravee Suthikulpanit
Hi, Ping. Does anyone have any comments or suggestions? Thanks, Suravee On 8/13/15 16:58, Suravee Suthikulpanit wrote: This patch refactors of_pci_dma_configure() into a more generic pci_dma_configure(), which can be reused by non-OF code. Then, it adds support for setting up PCI device DMA co

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-13 Thread Bjorn Helgaas
Hi Suravee, On Thu, Aug 13, 2015 at 04:58:45PM +0700, Suravee Suthikulpanit wrote: > This patch refactors of_pci_dma_configure() into a more generic > pci_dma_configure(), which can be reused by non-OF code. > Then, it adds support for setting up PCI device DMA coherency from > ACPI _CCA object th

[PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-13 Thread Suravee Suthikulpanit
This patch refactors of_pci_dma_configure() into a more generic pci_dma_configure(), which can be reused by non-OF code. Then, it adds support for setting up PCI device DMA coherency from ACPI _CCA object that should normally be specified in the DSDT node of its PCI host bridge.. Signed-off-by: Su