Re: [XEN PATCH v1 5/7] x86/MCE: guard {intel/amd}_mcheck_init() calls

2024-04-29 Thread Jan Beulich
On 23.04.2024 10:56, Sergiy Kibrik wrote: > --- a/xen/arch/x86/cpu/mcheck/mce.c > +++ b/xen/arch/x86/cpu/mcheck/mce.c > @@ -761,7 +761,8 @@ void mcheck_init(struct cpuinfo_x86 *c, bool bsp) > { > case X86_VENDOR_AMD: > case X86_VENDOR_HYGON: > -inited = amd_mcheck_init(c,

Re: [XEN PATCH v1 5/7] x86/MCE: guard {intel/amd}_mcheck_init() calls

2024-04-26 Thread Stefano Stabellini
On Tue, 23 Apr 2024, Sergiy Kibrik wrote: > Guard calls to CPU-specific mcheck init routines in common MCE code > using new INTEL/AMD config options. > > The purpose is not to build platform-specific mcheck code and calls to it, > if this platform is disabled in config. > > Signed-off-by: Sergiy