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

- From: Bjorn Helgaas \<bhelgaas@google.com\>
- Date: 2015-05-16 12:41:38 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/05/4495196
- Thread: https://ratatoskr.run/linux-arm-kernel/2015/05/4494731/t.md

```text
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
```
