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

2020-10-09 Thread Gerald Schaefer
On Wed, 7 Oct 2020 18:44:21 +0200 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 b

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

2020-10-08 Thread Daniel Vetter
On Thu, Oct 8, 2020 at 6:44 PM Gerald Schaefer wrote: > > On Wed, 7 Oct 2020 18:44:21 +0200 > 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

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

2020-10-07 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 dedic