Page MenuHomeFreeBSD

Axe MINIMUM_MSI_INT.
ClosedPublic

Authored by jhb on Nov 14 2018, 8:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 13 2024, 6:29 AM
Unknown Object (File)
Feb 2 2024, 4:11 AM
Unknown Object (File)
Jan 21 2024, 6:51 PM
Unknown Object (File)
Dec 27 2023, 2:16 PM
Unknown Object (File)
Dec 27 2023, 2:04 PM
Unknown Object (File)
Dec 22 2023, 10:56 PM
Unknown Object (File)
Nov 30 2023, 6:37 PM
Unknown Object (File)
Oct 21 2023, 1:20 AM
Subscribers

Details

Summary

Just allow MSI interrupts to always start at the end of the I/O APIC
pins. Since existing machines already have more than 255 I/O APIC
pins, IRQ 255 is no longer reliably invalid, so just remove the
minimum starting value for MSI.

Test Plan
  • boot an amd64 VM under bhyve
  • I have not tested Xen.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb marked an inline comment as done.Nov 14 2018, 8:05 PM

It is perhaps debatable if we want this change since it will change the IRQ values users see (and users might be used to >= 256 meaning MSI), and I probably won't MFC it if we do decide we want it in HEAD for those reasons.

sys/x86/xen/pvcpu_enum.c
202 ↗(On Diff #50426)

I believe this matches the intent of the comment.

May be export the first_msi_irq as ro mib ?

  • Add a read-only sysctl for first_msi_irq.
This revision is now accepted and ready to land.Nov 16 2018, 7:39 PM
This revision was automatically updated to reflect the committed changes.