Page MenuHomeFreeBSD

Hyper-V: Detect Extended Destination ID support
ClosedPublic

Authored by cperciva on Feb 22 2026, 4:11 AM.
Tags
None
Referenced Files
F156456838: D55432.id172431.diff
Wed, May 13, 7:42 PM
F156430594: D55432.id.diff
Wed, May 13, 4:11 PM
Unknown Object (File)
Mon, May 11, 2:31 AM
Unknown Object (File)
Mon, May 11, 2:31 AM
Unknown Object (File)
Sun, May 3, 6:28 AM
Unknown Object (File)
Fri, May 1, 2:33 PM
Unknown Object (File)
Fri, May 1, 2:24 PM
Unknown Object (File)
Wed, Apr 29, 1:02 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