Page MenuHomeFreeBSD

powerpc64/powernv: Don't mask MSIs in OPAL
ClosedPublic

Authored by jhibbits on Sep 29 2018, 3:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 12 2024, 8:19 PM
Unknown Object (File)
Dec 20 2023, 4:43 AM
Unknown Object (File)
Dec 3 2023, 10:18 AM
Unknown Object (File)
Nov 9 2023, 2:03 AM
Unknown Object (File)
Nov 7 2023, 6:02 AM
Unknown Object (File)
Oct 22 2023, 1:20 AM
Unknown Object (File)
Oct 20 2023, 6:59 AM
Unknown Object (File)
Oct 8 2023, 12:58 AM
Subscribers

Details

Summary

Discussing with Benjamin Herrenschmidt, MSIs, and edge-triggered
interrupts in general, must not be masked in XICS and XIVE, else
subsequent interrupts may be ignored.

Testing locally on my Talos II (single CPU, 18-core POWER9), NVMe now
works with MSI, improving read throughput by ~70% (900MB/s -> 1.67GB/s,
with 64MB block size) over INTx interrupts, and snd_hda(4) now will
actually play music with MSI. Previously, snd_hda(4) would not receive
interrupts, timing out, and declaring the channels dead.

This has also been tested by Kevin Bowling, and others, with great
success. Kevin reported NVMe unusable on his Talos II prior to this
patch.

Diff Detail

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