# Re: \[V4 PATCH 3/6\] pci: Generic function for setting up PCI device DMA coherency

- From: Suthikulpanit, Suravee \<Suravee.Suthikulpanit@amd.com\>
- Date: 2015-05-16 15:14:45 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/05/4495212
- Thread: https://ratatoskr.run/linux-arm-kernel/2015/05/4494731/t.md

```text
Hi Bjorn,

On 5/16/15, 07:41, "Bjorn Helgaas" [ref] wrote:

>On Fri, May 15, 2015 at 4:23 PM, Suravee Suthikulpanit
>[ref] 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 that should normally be specified in the DSDT node
>> of its PCI host bridge..
>
>From the changelog, it sounds like you might be able to split this
>into two patches:
>
>1) Refactor of_pci_dma_configure(), with no functional change
>2) Add support for using _CCA
>
>If that's possible, please do so to make this easier to review.
>
>Bjorn

Yes, I can separate the patch out. This would mainly affect ACPI+PCI
support for ARM64 (which is in progress).

Thanks,

Surafvee
```
