a455aa72f7
The conversion to request_mem_region() is broken because it assumes that
the range is marked busy prior to release. However, due to the way that
the kmem driver manipulates the IORESOURCE_BUSY flag (clears it to let
{add,remove}_memory() handle busy) it requires a manual release_resource()
to perform cleanup.
Given that the actual 'struct resource *' needs to be recalled, not just
the range, add that tracking to the kmem driver-data.
Fixes:
|
||
---|---|---|
.. | ||
hmem | ||
pmem | ||
Kconfig | ||
Makefile | ||
bus.c | ||
bus.h | ||
dax-private.h | ||
device.c | ||
kmem.c | ||
super.c |