On Sat, May 30, 2026 at 04:50:50PM +0000, John Groves wrote: > From: John Groves <[email protected]> > > Clear pgmap->vmemmap_shift for static DAX devices. When rebinding a static > device from device_dax (which may set vmemmap_shift based on alignment) to > fsdev_dax, the stale vmemmap_shift persists on the shared pgmap. Explicitly > zero it before devm_memremap_pages() so the vmemmap is built for order-0 > folios as fsdev requires. > > Fixes: d5406bd458b0a ("dax: add fsdev.c driver for fs-dax on character dax") > Signed-off-by: John Groves <[email protected]> > ---
Reviewed-by: Alison Schofield <[email protected]>

