]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
UBUNTU: SAUCE: rtw88: pci: enable MSI interrupt
authorYu-Yen Ting <steventing@realtek.com>
Wed, 7 Aug 2019 08:28:07 +0000 (16:28 +0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 16 Sep 2019 13:06:57 +0000 (15:06 +0200)
commit67465104891d98f3610f0c145f4165774405ed4f
treeeb0dc3b3b6f52acab91f0f9734d5a67f180aa4c4
parentffb27dd360dbb8182a04db1dc4e8b902427edc40
UBUNTU: SAUCE: rtw88: pci: enable MSI interrupt

BugLink: https://bugs.launchpad.net/bugs/1838133
MSI interrupt should be enabled on certain platform.

Add a module parameter disable_msi to disable MSI interrupt,
driver will then use legacy interrupt instead.

One could rebind the PCI device, probe() will pick up the
new value of the module parameter. Such as:

    echo '0000:01:00.0' > /sys/bus/pci/drivers/rtw_pci/unbind
    echo '0000:01:00.0' > /sys/bus/pci/drivers/rtw_pci/bind

Tested-by: Ján Veselý <jano.vesely@gmail.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Yu-Yen Ting <steventing@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Link: https://lore.kernel.org/linux-wireless/1565166487-22048-1-git-send-email-yhchuang@realtek.com/
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/wireless/realtek/rtw88/pci.c
drivers/net/wireless/realtek/rtw88/pci.h