Page MenuHomeFreeBSD

Hyper-V: Detect Extended Destination ID support
AcceptedPublic

Authored by cperciva on Feb 22 2026, 4:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 22, 7:06 PM
Unknown Object (File)
Sat, Mar 21, 9:14 AM
Unknown Object (File)
Fri, Mar 20, 11:24 AM
Unknown Object (File)
Wed, Mar 18, 9:33 PM
Unknown Object (File)
Wed, Mar 11, 9:28 AM
Unknown Object (File)
Sun, Mar 8, 4:00 PM
Unknown Object (File)
Sat, Mar 7, 8:18 PM
Unknown Object (File)
Tue, Mar 3, 1:32 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 71443
Build 68326: 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.Mon, Mar 9, 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