Re: [PATCH v2 10/17] media/videbuf1|2: Mark follow_pfn usage as unsafe

2020-10-10 Thread Mauro Carvalho Chehab
Em Fri, 9 Oct 2020 09:59:27 +0200 Daniel Vetter escreveu: > The media model assumes that buffers are all preallocated, so that > when a media pipeline is running we never miss a deadline because the > buffers aren't allocated or available. > > This means we cannot fix the v4l follow_pfn usage

[PATCH v2 10/17] media/videbuf1|2: Mark follow_pfn usage as unsafe

2020-10-09 Thread Daniel Vetter
The media model assumes that buffers are all preallocated, so that when a media pipeline is running we never miss a deadline because the buffers aren't allocated or available. This means we cannot fix the v4l follow_pfn usage through mmu_notifier, without breaking how this all works. The only