Commit 028e1264 authored by Qiuxu Zhuo's avatar Qiuxu Zhuo Committed by Youquan Song
Browse files

EDAC/i10nm: Release mdev/mbase when failing to detect HBM

mainline inclusion
from mainline-v5.16
commit c370baa3
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I5HAC1


CVE: NA

Intel-SIG: commit c370baa3 EDAC/i10nm: Release mdev/mbase when failing to detect HBM.
Backport to add EDAC HBM support.

--------------------------------

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: c9450883 ("EDAC/i10nm: Add support for high bandwidth memory")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarQiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20211224091126.1246-1-qiuxu.zhuo@intel.com


Signed-off-by: default avatarYouquan Song <youquan.song@intel.com>
parent 4a111add
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment