On 7/29/22 10:59, Pawan Gupta wrote:
if (!boot_cpu_unknown_bug(bug))
return sprintf(buf, "Unknown\n");
Thoughts?
Sounds good. Similar to this Borislav suggested to add X86_BUG_MMIO_UNKNOWN. I will see if I can combine both approaches.
I'd say Borislav's is better if there is going to be a small number of "unknown" things in total. Mine might be better if we expect a *bunch* of them.
In other words, I'm rooting for Borislav's.