CONFIG_X86_X2APIC is not available for thedefaultarchitecture x86.
Result is shown for architecture 64BIT

Support x2apic

modulename: x2apic_phys.ko

and/or

x2apic_cluster.ko

configname: CONFIG_X86_X2APIC

Linux Kernel Configuration
└─>Processor type and features
└─>Support x2apic
In linux kernel since version 2.6.30 (release Date: 2009-06-09)  
This enables x2apic support on CPUs that have this feature.

This allows 32-bit apic IDs (so it can support very large systems),
and accesses the local apic via MSRs not via mmio.

Some Intel systems circa 2022 and later are locked into x2APIC mode
and can not fall back to the legacy APIC modes if SGX or TDX are
enabled in the BIOS. They will boot with very reduced functionality
without enabling this option.

If you don't know what to do here, say N.