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: Nkernel test robot <lkp@intel.com> Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NQiuxu Zhuo <qiuxu.zhuo@intel.com> Signed-off-by: NTony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/r/20211224091126.1246-1-qiuxu.zhuo@intel.comSigned-off-by: NYouquan Song <youquan.song@intel.com>
Showing
想要评论请 注册 或 登录