RE: [PATCH v8 0/3] Handle corrected machine check interrupt storms

Luck, Tony posted 3 patches 2 years, 3 months ago
Only 0 patches received!
RE: [PATCH v8 0/3] Handle corrected machine check interrupt storms
Posted by Luck, Tony 2 years, 3 months ago
> Including placing most of the storm tracking code into threshold.c
> instead of bloating core.c.

The lkp test robot complains on a randconfig build with:

# CONFIG_X86_MCE_INTEL is not set
# CONFIG_X86_MCE_AMD is not set

about some undefined symbols. 

>> core.c:(.text+0x1130): undefined reference to `storm_desc'
>> core.c:(.text+0x1634): undefined reference to `mce_track_storm'

Simple fix would be to move definition of storm_desc into core.c
and provide a stub:

static inline void mce_track_storm(struct mce *mce) { }

for the case where neither INTEL nor AMD is configured.

in internal.h

-Tony