diff options
author | Qiuxu Zhuo <qiuxu.zhuo@intel.com> | 2021-12-24 04:11:26 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2022-01-04 09:08:00 -0800 |
commit | c370baa328022cbd46c59c821d1b467a97f047be (patch) | |
tree | f0a0e5bb84c7c0930966146269792e03c7581e2c /samples/vfio-mdev/mdpy-fb.c | |
parent | c9e6606c7fe92b50a02ce51dda82586ebdf99b48 (diff) |
EDAC/i10nm: Release mdev/mbase when failing to detect HBM
On systems without HBM (High Bandwidth Memory) mdev/mbase are not
released/unmapped.
Add the code to release mdev/mbase when failing to detect HBM.
[Tony: re-word commit message]
Cc: <stable@vger.kernel.org>
Fixes: c945088384d0 ("EDAC/i10nm: Add support for high bandwidth memory")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20211224091126.1246-1-qiuxu.zhuo@intel.com
Diffstat (limited to 'samples/vfio-mdev/mdpy-fb.c')
0 files changed, 0 insertions, 0 deletions