From: <redacted> <redacted> Sent: Monday, February 11, 2019 6:20 AM
Hyper-V doesn't provide irq remapping for IO-APIC. To enable x2apic,
set x2apic destination mode to physcial mode when x2apic is available
and Hyper-V IOMMU driver makes sure cpus assigned with IO-APIC irqs have
8-bit APIC id.
Reviewed-by: Thomas Gleixner <redacted>
Signed-off-by: Lan Tianyu <redacted>
---
Change since v2:
- Fix compile error due to x2apic_phys
- Fix comment indent
Change since v1:
- Remove redundant extern for x2apic_phys
Reviewed-by: Michael Kelley <redacted>