debug: disable irq_check_en by default
authorjianxin.pan <jianxin.pan@amlogic.com>
Fri, 29 Jun 2018 09:46:53 +0000 (17:46 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 29 Jun 2018 09:51:20 +0000 (02:51 -0700)
PD#165796: disable irq_check_en by default, because it may affect some
benchmark results.
It can be enabled by debugfs:
echo 1 > /sys/kernel/debug/lockup/irq_check_en

Change-Id: I6c39a9a6fc2f372eb71e0c1a0872865079e758cb
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
drivers/amlogic/debug/debug_lockup.c

index 09fc563..eec7a24 100644 (file)
@@ -61,7 +61,7 @@ static unsigned long irq_dis_thr = LONG_IRQDIS;
 core_param(irq_dis_thr, irq_dis_thr, ulong, 0644);
 static unsigned long sirq_thr = LONG_SIRQ;
 core_param(sirq_thr, sirq_thr, ulong, 0644);
-static int irq_check_en = 1;
+static int irq_check_en;
 core_param(irq_check_en, irq_check_en, int, 0644);
 static int isr_check_en = 1;
 core_param(isr_check_en, isr_check_en, int, 0644);