summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mce.h
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2021-03-28 04:54:04 +0200
committerAlex Deucher <alexander.deucher@amd.com>2021-10-06 21:53:24 +0200
commitf38ce910d8dfb7da439d0578d4b97259168306cd (patch)
treed609f6518bd8c825b00bf1b5a972faf7621883dd /arch/x86/include/asm/mce.h
parentdrm/amdgpu: return early if debugfs is not initialized (diff)
downloadlinux-f38ce910d8dfb7da439d0578d4b97259168306cd.tar.xz
linux-f38ce910d8dfb7da439d0578d4b97259168306cd.zip
x86/MCE/AMD: Export smca_get_bank_type symbol
Export smca_get_bank_type for use in the AMD GPU driver to determine MCA bank while handling correctable and uncorrectable errors in GPU UMC. Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Acked-by: Borislav Petkov <bp@suse.de> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'arch/x86/include/asm/mce.h')
-rw-r--r--arch/x86/include/asm/mce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h
index da9321548f6f..d69f716d8bc5 100644
--- a/arch/x86/include/asm/mce.h
+++ b/arch/x86/include/asm/mce.h
@@ -358,7 +358,7 @@ extern int mce_threshold_remove_device(unsigned int cpu);
void mce_amd_feature_init(struct cpuinfo_x86 *c);
int umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr);
-
+enum smca_bank_types smca_get_bank_type(unsigned int bank);
#else
static inline int mce_threshold_create_device(unsigned int cpu) { return 0; };