Page MenuHomeFreeBSD

Axe MINIMUM_MSI_INT.
ClosedPublic

Authored by jhb on Nov 14 2018, 8:04 PM.
Tags
None
Referenced Files
F169281493: D17991.id50509.diff
Tue, Sep 1, 3:14 AM
F169215235: D17991.id50426.diff
Mon, Aug 31, 9:33 PM
F169156245: D17991.id50493.diff
Mon, Aug 31, 3:08 PM
F169123766: D17991.id.diff
Mon, Aug 31, 12:05 PM
F169119211: D17991.diff
Mon, Aug 31, 11:32 AM
Unknown Object (File)
Wed, Aug 26, 1:16 PM
Unknown Object (File)
Tue, Aug 18, 6:41 PM
Unknown Object (File)
Mon, Aug 10, 11:11 PM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20812
Build 20206: arc lint + arc unit

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

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.