aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShahar S Matityahu <shahar.s.matityahu@intel.com>2019-04-15 14:43:04 +0300
committerLuca Coelho <luciano.coelho@intel.com>2019-04-18 14:07:39 +0300
commit1c6bca6d75bca2cc47b5eafb9f7f16e368ffbeca (patch)
treea8df92050c1f296e2f39e53c792b9f7ae4241d61 /tools/perf/scripts/python
parent614c70f35cd77a9af8e2ca841dcdb121cec3068f (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions