Re: [XEN PATCH v2 5/5] x86/MCE: optional build of AMD/Intel MCE code

2024-05-14 Thread Jan Beulich
On 13.05.2024 11:11, Sergiy Kibrik wrote: > 06.05.24 14:32, Jan Beulich: >> On 02.05.2024 11:21, Sergiy Kibrik wrote: >>> Also global Intel-specific variables lmce_support & cmci_support have to be >>> redefined if !INTEL, as they get checked in common code. >> >> Them being checked in common code

Re: [XEN PATCH v2 5/5] x86/MCE: optional build of AMD/Intel MCE code

2024-05-13 Thread Sergiy Kibrik
06.05.24 14:32, Jan Beulich: On 02.05.2024 11:21, Sergiy Kibrik wrote: Separate Intel/AMD-specific MCE code using CONFIG_{INTEL,AMD} config options. Now we can avoid build of mcheck code if support for specific platform is intentionally disabled by configuration. Add default return value to ini

Re: [XEN PATCH v2 5/5] x86/MCE: optional build of AMD/Intel MCE code

2024-05-06 Thread Jan Beulich
On 02.05.2024 11:21, Sergiy Kibrik wrote: > Separate Intel/AMD-specific MCE code using CONFIG_{INTEL,AMD} config options. > Now we can avoid build of mcheck code if support for specific platform is > intentionally disabled by configuration. > > Add default return value to init_nonfatal_mce_checker

[XEN PATCH v2 5/5] x86/MCE: optional build of AMD/Intel MCE code

2024-05-02 Thread Sergiy Kibrik
Separate Intel/AMD-specific MCE code using CONFIG_{INTEL,AMD} config options. Now we can avoid build of mcheck code if support for specific platform is intentionally disabled by configuration. Add default return value to init_nonfatal_mce_checker() routine -- in case of a build with both AMD and I