Files
android_kernel_xiaomi_sm8450/arch/x86/kernel
Libing Zhou f94c91f7ba x86/nmi: Fix nmi_handle() duration miscalculation
When nmi_check_duration() is checking the time an NMI handler took to
execute, the whole_msecs value used should be read from the @duration
argument, not from the ->max_duration, the latter being used to store
the current maximal duration.

 [ bp: Rewrite commit message. ]

Fixes: 248ed51048 ("x86/nmi: Remove irq_work from the long duration NMI handler")
Suggested-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Libing Zhou <libing.zhou@nokia-sbell.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Changbin Du <changbin.du@gmail.com>
Link: https://lkml.kernel.org/r/20200820025641.44075-1-libing.zhou@nokia-sbell.com
2020-10-01 14:42:08 +02:00
..
2020-07-02 15:51:48 +02:00
2020-06-11 15:15:23 +02:00
2020-06-11 15:15:23 +02:00
2020-06-11 20:02:46 +02:00
2020-06-20 11:47:35 +02:00
2019-11-12 16:21:15 +01:00
2019-11-12 16:21:15 +01:00
2019-06-24 19:19:24 +02:00
2020-06-02 10:59:12 -07:00
2020-03-21 16:03:25 +01:00
2020-07-27 14:31:07 -04:00
2020-07-27 14:31:07 -04:00
2020-02-16 20:58:06 +01:00
2020-04-15 11:13:12 +02:00