> Subject: [PATCH v2] mm: re-allow pinning of zero pfns (again) > > The below referenced commit makes the same error as 1c563432588d ("mm: > fix is_pinnable_page against a cma page"), re-interpreting the logic to > exclude pinning of the zero page, which breaks device assignment with vfio. > > To avoid further subtle mistakes, split the logic into discrete tests. > > Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx> > Suggested-by: Felix Kuehling <felix.kuehling@xxxxxxx> > Link: > https://lore.kernel.org/all/165490039431.944052.12458624139225785964.stgit > @omen > Fixes: f25cbb7a95a2 ("mm: add zone device coherent type memory > support") > Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx> > --- Tested-by: Slawomir Laba <slawomirx.laba@xxxxxxxxx>