Page MenuHomeFreeBSD

Hyper-V: Detect Extended Destination ID support
ClosedPublic

Authored by cperciva on Feb 22 2026, 4:11 AM.
Tags
None
Referenced Files
F156551648: D55432.id172541.diff
Thu, May 14, 3:00 PM
F156537959: D55432.id174420.diff
Thu, May 14, 12:43 PM
F156506949: D55432.id173784.diff
Thu, May 14, 5:54 AM
Unknown Object (File)
Wed, May 13, 7:42 PM
Unknown Object (File)
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70929
Build 67812: arc lint + arc unit

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