Using cluster mode by default greatly limits the amount of vectors
available, as then vector space is shared amongst all the CPUs in the
logical cluster.
This can lead to vector shortage issues on boxes with not a huge
amount of CPUs but with a non-trivial amount of devices, there are
reports of boxes with 32 CPUs (2 logical clusters, and thus only 414
dynamic vectors) that run out of vectors and fail to setup interrupts
for dom0.
This could be considered as a regression when switching from xAPIC
mode, as when using xAPIC only physical mode is supported.
Switch default Kconfig selection to use x2APIC physical mode.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
### x2apic_phys (x86)
> `= <boolean>`
-> Default: `true` if **FADT** mandates physical mode or if interrupt remapping
-> is not available, `false` otherwise.
+> Default: `false` if **FADT** mandates cluster mode, `true` otherwise.
In the case that x2apic is in use, this option switches between physical and
-clustered mode. The default, given no hint from the **FADT**, is cluster
+clustered mode. The default, given no hint from the **FADT**, is physical
mode.
### xenheap_megabytes (arm32)
choice
prompt "x2APIC default destination mode"
- default X2APIC_LOGICAL
+ default X2APIC_PHYS
---help---
Specify default destination mode for x2APIC.
- If unsure, choose "Logical".
+ If unsure, choose "Physical".
config X2APIC_LOGICAL
bool "Logical mode"