Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PCI/MSI: Add MSIX option to write to ENTRY_DATA before any reads
Commit 7d5ec3d ("PCI/MSI: Mask all unused MSI-X entries") introduces a readl() from ENTRY_VECTOR_CTRL before the writel() to ENTRY_DATA. This is correct, however some hardware, like the Sun Neptune chips, the niu module, will cause an error and/or fatal trap if any MSIX table entry is read before the corresponding ENTRY_DATA field is written to. This patch adds an optional early writel() in msix_prepare_msi_desc(). Cc: [email protected] Signed-off-by: Jonathan Currier <[email protected]>
- Loading branch information