Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
msix: Delay MSI-X enable till MASKALL is cleared
Since the kernel commit 4385539: PCI/MSI: Enable and mask MSI-X early,the MSIX is enabled early but vectors remained masked. This creates a problem in Qemu especially when it tries to read the MSI doorbell address(eg: S1 MSI setup). So check both MSIX_ENABLE_MASK is set and MSIX_MASKALL_MASK is cleared before we go ahead and setup MSI-X ToDo: Needs further tests and analysis to verify we don't break anything. Reported-by: qubingbing <qubingbing@hisilicon.com> Reported-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
- Loading branch information