Re: [PATCH v5 10/16] x86/mce: enable Hygon support to MCE infrastructure

From: Pu Wen
Date: Thu Sep 06 2018 - 11:48:03 EST


On 2018/9/6 20:29, Borislav Petkov wrote:
Say what now?! What testing do you do if you boot a kernel which doesn't
even use the functionality you're testing?!

I'm sorry, this case is not good to demonstrate the useage. And I think
there are no other people will do the test without MCE in kernel. So
with MCE enabled in kernel is the main case to support.

The first way but change that dependency to CPU_SUP_AMD because there
are people building their own kernels and don't run distro configs. And
you need CPU_SUP_AMD because you're using their code.

That's good, will select CPU_SUP_AMD for CPU_SUP_HYGON to solve the
dependency issues in kernel.

--
Regards,
Pu Wen