aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2021-07-30 16:46:04 +0000
committerDan Williams <[email protected]>2021-08-11 18:54:43 +0000
commitd9cee9f85b22fab88d2b76d2e92b18e3d0e6aa8c (patch)
tree4bda6335e754bdc28f93cf90c17b4ab2584ac1e8 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentACPI: NFIT: Fix support for virtual SPA ranges (diff)
downloadkernel-d9cee9f85b22fab88d2b76d2e92b18e3d0e6aa8c.tar.gz
kernel-d9cee9f85b22fab88d2b76d2e92b18e3d0e6aa8c.zip
libnvdimm/region: Fix label activation vs errors
There are a few scenarios where init_active_labels() can return without registering deactivate_labels() to run when the region is disabled. In particular label error injection creates scenarios where a DIMM is disabled, but labels on other DIMMs in the region become activated. Arrange for init_active_labels() to always register deactivate_labels(). Reported-by: Krzysztof Kensicki <[email protected]> Cc: <[email protected]> Fixes: bf9bccc14c05 ("libnvdimm: pmem label sets and namespace instantiation.") Reviewed-by: Jeff Moyer <[email protected]> Link: https://lore.kernel.org/r/162766356450.3223041.1183118139023841447.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions