# RE: \[PATCH V4 1/3\] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

- From: Michael Kelley \<hidden\>
- Date: 2019-02-21 17:01:38 
- List: linux-hyperv
- Page: https://ratatoskr.run/linux-hyperv/2019/02/5521729
- Thread: https://ratatoskr.run/linux-hyperv/2019/02/5521729/t.md

```text
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>
```
