Skip to contentSkip to conversation

x86/platform/intel-mid: Correct MSI for watchdog device

PATCH New Andy Shevchenko 2 participants 2 messages Mar 12, 2017 – Mar 13, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/platform/intel-mid: Correct MSI for watchdog device

The interrupt line used for watchdog is 12 according to the official Intel Edison BSP code.

And indeed after fixing it we start getting an interrupt and thus:

[  191.699951] Kernel panic - not syncing: Kernel Watchdog
Fixes 78a3bb9e408b ("x86: intel-mid: add watchdog platform code for Merrifield")
Cc David Cohen <[email protected]>
---
 arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c +1 -1
index 86edd1e941eb..9e304e2ea4f5 100644
@@ -19,7 +19,7 @@
 #include <asm/intel_scu_ipc.h>
 #include <asm/io_apic.h>
 
-#define TANGIER_EXT_TIMER0_MSI 15
+#define TANGIER_EXT_TIMER0_MSI 12
 
 static struct platform_device wdt_dev = {
 	.name = "intel_mid_wdt",
Signature · 1 line
2.11.0
#1 lore raw

[tip:x86/urgent] x86/platform/intel-mid: Correct MSI IRQ line for watchdog device

x86/platform/intel-mid: Correct MSI IRQ line for watchdog device
Commit-ID:  80354c29025833acd72ddac1ffa21c6cb50128cd
Gitweb:     http://git.kernel.org/tip/80354c29025833acd72ddac1ffa21c6cb50128cd
Author:     Andy Shevchenko <[email protected]>
AuthorDate: Sun, 12 Mar 2017 17:07:44 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 13 Mar 2017 08:11:57 +0100

x86/platform/intel-mid: Correct MSI IRQ line for watchdog device

The interrupt line used for the watchdog is 12, according to the official Intel Edison BSP code.

And indeed after fixing it we start getting an interrupt and thus the watchdog starts working again:

  [  191.699951] Kernel panic - not syncing: Kernel Watchdog
Cc Borislav Petkov <[email protected]>
Cc David Cohen <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Fixes 78a3bb9e408b ("x86: intel-mid: add watchdog platform code for Merrifield")
---
 arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c +1 -1
index 86edd1e9..9e304e2 100644
@@ -19,7 +19,7 @@
 #include <asm/intel_scu_ipc.h>
 #include <asm/io_apic.h>
 
-#define TANGIER_EXT_TIMER0_MSI 15
+#define TANGIER_EXT_TIMER0_MSI 12
 
 static struct platform_device wdt_dev = {
 	.name = "intel_mid_wdt",