Searched hist:"1 c6bca6d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans.c | 1c6bca6d Mon Apr 15 06:43:04 CDT 2019 Shahar S Matityahu <shahar.s.matityahu@intel.com> iwlwifi: don't panic in error path on non-msix systems
The driver uses msix causes-register to handle both msix and non msix interrupts when performing sync nmi. On devices that do not support msix this register is unmapped and accessing it causes a kernel panic.
Solve this by differentiating the two cases and accessing the proper causes-register in each case.
Reported-by: Michal Hocko <mhocko@kernel.org> Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> 1c6bca6d Mon Apr 15 06:43:04 CDT 2019 Shahar S Matityahu <shahar.s.matityahu@intel.com> iwlwifi: don't panic in error path on non-msix systems The driver uses msix causes-register to handle both msix and non msix interrupts when performing sync nmi. On devices that do not support msix this register is unmapped and accessing it causes a kernel panic. Solve this by differentiating the two cases and accessing the proper causes-register in each case. Reported-by: Michal Hocko <mhocko@kernel.org> Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
|