HomeFreeBSD

Hyper-V: vPCI: limit 64 cpus for msi/msix interrupt handling

Description

Hyper-V: vPCI: limit 64 cpus for msi/msix interrupt handling

On older Hyper-V vPCI protocol version 1.1, only the first 64 cpus
are able to handle msi/msix. This is true on FreeBSD 13.x and earlier
releases. If MSI IRQ is assigned to cpu id greater than 63, it would
lead to missing interrupts. Add check in set_interrupt_apic_ids() to
only add first 64 cpus into the interrupt cpu set.

Reported by: NetApp
Tested by: NetApp
Reviewed by: kib
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D44297

Details

Provenance
whuAuthored on Mar 11 2024, 10:15 AM
Reviewer
kib
Differential Revision
D44297: Hyper-V: vPCI: limit 64 cpus for msi/msix interrupt handling on FreeBSD 13.x
Parents
rG6766a47c0211: vnet: add CURVNET_ASSERT_SET
Branches
Unknown
Tags
Unknown