Page MenuHomeFreeBSD

Hyper-V: Detect Extended Destination ID support
ClosedPublic

Authored by cperciva on Feb 22 2026, 4:11 AM.
Tags
None
Referenced Files
F171028450: D55432.id172431.diff
Tue, Sep 8, 6:56 AM
Unknown Object (File)
Sat, Sep 5, 2:42 PM
Unknown Object (File)
Sat, Sep 5, 11:58 AM
Unknown Object (File)
Sat, Sep 5, 10:17 AM
Unknown Object (File)
Sat, Sep 5, 3:04 AM
Unknown Object (File)
Sat, Sep 5, 3:03 AM
Unknown Object (File)
Fri, Sep 4, 2:23 AM
Unknown Object (File)
Thu, Sep 3, 5:35 PM
Subscribers

Details

Summary

Hyper-V advertises support for the Extended Destination ID standard via
bit 2 of the value returned in the EAX register when the hypervisor
stack properties are queried via CPUID.

This is based on a a commit to the Linux kernel, as there does not seem
to be any other documentation of this feature.

MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Only enable if ext_dest_id is set to -1.

This revision is now accepted and ready to land.Mar 9 2026, 7:19 AM

Move detection code into local_apic.c

This revision now requires review to proceed.Mar 17 2026, 4:00 AM

@schakrabarti_microsoft.com I moved the detection code into local_apic.c since I'm using it for both MSIs and APIC RTEs now, but I assume since it's the same code your previous review applies equally well here.

This revision is now accepted and ready to land.Mar 23 2026, 6:50 AM