]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: add a new NMI type
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 26 Dec 2024 15:44:52 +0000 (17:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 13:00:54 +0000 (14:00 +0100)
0x88 is not a regular firmware crash but a PREG NMI which means that we
access a place we're not supposed to.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241226174257.596dfc97f6b1.Iec765d5fe12ac74c6ee0035e9cb62b98c11639cb@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/img.c

index b7deca05a9534b82711656b494155f9dac75fcf8..c2f4fc83a22cd1660d4fa5abab79b72b143c6539 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /*
  * Copyright(c) 2019 - 2021 Intel Corporation
+ * Copyright(c) 2024 Intel Corporation
  */
 #include <fw/api/commands.h>
 #include "img.h"
@@ -75,6 +76,7 @@ static const struct {
        { "NMI_INTERRUPT_ACTION_PT", 0x7C },
        { "NMI_INTERRUPT_UNKNOWN", 0x84 },
        { "NMI_INTERRUPT_INST_ACTION_PT", 0x86 },
+       { "NMI_INTERRUPT_PREG", 0x88 },
        { "PNVM_MISSING", FW_SYSASSERT_PNVM_MISSING },
        { "ADVANCED_SYSASSERT", 0 },
 };