Re: [PATCH v3 08/16] s390/pci: Remove races against pte updates

2020-10-21 Thread Daniel Vetter
On Wed, Oct 21, 2020 at 11:38 AM Niklas Schnelle wrote: > > > > On 10/21/20 10:56 AM, Daniel Vetter wrote: > > Way back it was a reasonable assumptions that iomem mappings never > > change the pfn range they point at. But this has changed: > > > > - gpu drivers dynamically manage their memory

Re: [PATCH v3 08/16] s390/pci: Remove races against pte updates

2020-10-21 Thread Niklas Schnelle
On 10/21/20 10:56 AM, Daniel Vetter wrote: > Way back it was a reasonable assumptions that iomem mappings never > change the pfn range they point at. But this has changed: > > - gpu drivers dynamically manage their memory nowadays, invalidating > ptes with unmap_mapping_range when buffers get

[PATCH v3 08/16] s390/pci: Remove races against pte updates

2020-10-21 Thread Daniel Vetter
Way back it was a reasonable assumptions that iomem mappings never change the pfn range they point at. But this has changed: - gpu drivers dynamically manage their memory nowadays, invalidating ptes with unmap_mapping_range when buffers get moved - contiguous dma allocations have moved from