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

From: Benjamin Herrenschmidt <[email-masked]>
Date: Wed, 06 Aug 2014 16:25:47 +1000

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.