Re: [PATCH] x86/apic: Don't disable x2APIC if locked

From: Dave Hansen
Date: Wed Aug 10 2022 - 17:57:22 EST


On 8/10/22 13:29, Daniel Sneddon wrote:
> On 8/10/22 13:06, Daniel Sneddon wrote:
>> I could add a blurb to the
>> documentation where nox2apic is defined as a parameter as well.
> While I'm at it, I'm thinking of adding something where CONFIG_X86_X2APIC is
> defined in kconfig. I'll put in a blurb about selecting N on SPR systems could
> prevent you from booting due to the lock.

Please don't make it _too_ specific. This is, after all, new
architecture that is presumably going to be in place long after we all
forget what SPR is.

Good Kconfig text would probably be something along the lines of:

Some ~2022 and later systems are locked into x2APIC mode and can
not fall back to the legacy APIC modes. They will be unable to
boot without enabling this option.

Would anybody hate if we just removed the CONFIG_X86_X2APIC prompt entirely?