[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273022] MSI/MSI-X assignment fails if APIC ID > 255"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Aug 2023 03:43:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273022
Bug ID: 273022
Summary: MSI/MSI-X assignment fails if APIC ID > 255
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: emaste@freebsd.org
APIC address is calculated as:
#define INTEL_ADDR(msi) \
(MSI_INTEL_ADDR_BASE | (msi)->msi_cpu << 12 | \
MSI_INTEL_ADDR_RH_OFF | MSI_INTEL_ADDR_DM_PHYSICAL)
See Intel SDM 11.11.1 Message Address Register Format
bits 19-12 are:
Destination ID — This field contains an 8-bit destination ID. It identifies the
message’s target processor(s).
The destination ID corresponds to bits 63:56 of the I/O APIC Redirection Table
Entry if the IOAPIC is used to
dispatch the interrupt to the processor(s).
if msi_cpu > 255 then (msi)->msi_cpu << 12 will overflow into bits 31-20 which
need to contain 0xfee
--
You are receiving this mail because:
You are the assignee for the bug.