Page MenuHomeFreeBSD

Hyper-V: Detect Extended Destination ID support
ClosedPublic

Authored by cperciva on Feb 22 2026, 4:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 11, 12:38 AM
Unknown Object (File)
Fri, Apr 10, 6:56 AM
Unknown Object (File)
Wed, Apr 8, 9:51 AM
Unknown Object (File)
Tue, Apr 7, 11:06 PM
Unknown Object (File)
Tue, Apr 7, 4:13 PM
Unknown Object (File)
Sun, Apr 5, 4:08 PM
Unknown Object (File)
Sun, Apr 5, 1:09 PM
Unknown Object (File)
Sun, Apr 5, 12:03 AM
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.Tue, Mar 17, 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.Mon, Mar 23, 6:50 AM