[PATCH v4 11/16] powerpc/powernv: Release replaced TCE

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Aug 6 16:25:47 EST 2014


On Wed, 2014-07-30 at 19:31 +1000, Alexey Kardashevskiy wrote:
> +       if (oldtce & (TCE_PCI_WRITE | TCE_PCI_READ))
> +               put_page(pfn_to_page(__pa(oldtce) >> PAGE_SHIFT));

That probably needs set_page_dirty if TCE_PCI_WRITE is set

Cheers,
Ben.




More information about the Linuxppc-dev mailing list