Page MenuHomeFreeBSD

Hyper-V: Detect Extended Destination ID support
ClosedPublic

Authored by cperciva on Feb 22 2026, 4:11 AM.
Tags
None
Referenced Files
F161332858: D55432.id174420.diff
Thu, Jul 2, 9:58 PM
Unknown Object (File)
Wed, Jul 1, 8:03 PM
Unknown Object (File)
Fri, Jun 26, 12:30 PM
Unknown Object (File)
Wed, Jun 24, 10:17 AM
Unknown Object (File)
Mon, Jun 15, 5:48 PM
Unknown Object (File)
Fri, Jun 12, 12:26 PM
Unknown Object (File)
Thu, Jun 11, 2:56 AM
Unknown Object (File)
Wed, Jun 10, 10:10 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