lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 1 Feb 2021 11:24:27 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Borislav Petkov <bp@...e.de>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        Zhang Rui <rui.zhang@...el.com>,
        LKML <linux-kernel@...r.kernel.org>, x86@...nel.org,
        lkp@...ts.01.org, lkp@...el.com
Subject: [thermal]  1dba8a9538:
 WARNING:at_arch/x86/kernel/irq.c:#thermal_set_handler


Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 1dba8a9538f5164eb8874eed4c7d6799a3c64963 ("thermal: Move therm_throt there from x86/mce")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git ras/core


in testcase: nvml
version: nvml-x86_64-09f75f696-1_20210122
with following parameters:

	test: pmem
	group: ex
	nr_pmem: 1
	fs: ext4
	mount_option: dax
	bp_memmap: 32G!4G
	ucode: 0x7000019



on test machine: 16 threads Intel(R) Xeon(R) CPU D-1541 @ 2.10GHz with 48G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>


kern  :warn  : [    2.133973] ------------[ cut here ]------------
kern  :warn  : [    2.133973] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/irq.c:390 thermal_set_handler+0x2b/0x40
kern  :warn  : [    2.133973] Modules linked in:
kern  :warn  : [    2.133973] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.11.0-rc2-00003-g1dba8a9538f5 #1
kern  :warn  : [    2.133973] Hardware name: Supermicro SYS-5018D-FN4T/X10SDV-8C-TLN4F, BIOS 1.1 03/02/2016
kern  :warn  : [    2.133973] RIP: 0010:thermal_set_handler+0x2b/0x40
kern  :warn  : [    2.133973] Code: 1f 44 00 00 48 85 ff 74 15 48 81 3d b3 b3 5f 01 41 e4 b7 81 75 14 48 89 3d aa b3 5f 01 c3 48 c7 05 9e b3 5f 01 41 e4 b7 81
 c3 <0f> 0b eb e8 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 0f
kern  :warn  : [    2.133973] RSP: 0000:ffffc900000a7ec8 EFLAGS: 00010093
kern  :warn  : [    2.133973] RAX: 0000000000000003 RBX: ffff888c7fa51460 RCX: 00000000000001b2
kern  :warn  : [    2.133973] RDX: 0000000000000000 RSI: 00000000000100fa RDI: ffffffff81917220
kern  :warn  : [    2.133973] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000020
kern  :warn  : [    2.133973] R10: 0000000000000100 R11: 0000000000000000 R12: 0000000000000003
kern  :warn  : [    2.133973] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
kern  :warn  : [    2.133973] FS:  0000000000000000(0000) GS:ffff888c7fa40000(0000) knlGS:0000000000000000
kern  :warn  : [    2.133973] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern  :warn  : [    2.133973] CR2: 0000000000000000 CR3: 0000000c7e20a001 CR4: 00000000003706a0
kern  :warn  : [    2.133973] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kern  :warn  : [    2.133973] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kern  :warn  : [    2.133973] Call Trace:
kern  :warn  : [    2.133973]  intel_init_thermal+0x147/0x400
kern  :warn  : [    2.133973]  identify_cpu+0x2e4/0x600
kern  :warn  : [    2.133973]  identify_secondary_cpu+0x13/0x80
kern  :warn  : [    2.133973]  smp_store_cpu_info+0x45/0x60
kern  :warn  : [    2.133973]  start_secondary+0x5b/0x160
kern  :warn  : [    2.133973]  secondary_startup_64_no_verify+0xc2/0xcb
kern  :warn  : [    2.133973] ---[ end trace 2e8e45d064946973 ]---



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Oliver Sang


View attachment "config-5.11.0-rc2-00003-g1dba8a9538f5" of type "text/plain" (172412 bytes)

View attachment "job-script" of type "text/plain" (5836 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (30996 bytes)

View attachment "job.yaml" of type "text/plain" (4907 bytes)

View attachment "reproduce" of type "text/plain" (2318 bytes)

Powered by blists - more mailing lists