Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754693Ab3GJXVQ (ORCPT ); Wed, 10 Jul 2013 19:21:16 -0400 Received: from mga02.intel.com ([134.134.136.20]:51563 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753834Ab3GJXVO (ORCPT ); Wed, 10 Jul 2013 19:21:14 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,1039,1363158000"; d="scan'208,223";a="368114244" Message-ID: <51DDEDEF.3000203@linux.intel.com> Date: Wed, 10 Jul 2013 16:27:43 -0700 From: Srinivas Pandruvada User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Daniel Walker CC: Linux Kernel Subject: Re: crash in sys_get_curr_temp References: <20130710220329.GA13732@fifo99.com> In-Reply-To: <20130710220329.GA13732@fifo99.com> Content-Type: multipart/mixed; boundary="------------040109030808050506070907" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 19451 Lines: 298 This is a multi-part message in MIME format. --------------040109030808050506070907 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Daniel. Thanks for reporting. Is it possible to test with the patch, which I just send to your email? Also attached here. Thanks, Srinivas On 07/10/2013 03:03 PM, Daniel Walker wrote: > Hi, > > > I get this crash on linux-next as of today .. > > > [ 4.678947] general protection fault: 0000 [#1] SMP > 2 [ 4.678953] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-next-20130710 #57 > 3 [ 4.678959] Hardware name: Intel Corp. Mohan Peak/Server, BIOS EDVLCRB1.86B.0017.R00.1305271414 05/27/2013 > 4 [ 4.678963] task: ffff88017aa80000 ti: ffff88017aa6c000 task.ti: ffff88017aa6c000 > 5 [ 4.678985] RIP: 0010:[] [] __rdmsr_on_cpu+0x29/0x40 > 6 [ 4.678987] RSP: 0000:ffff88017aa6dc70 EFLAGS: 00010046 > 7 [ 4.678989] RAX: 0000000000000000 RBX: 0000000000000246 RCX: 00000000000001b1 > 8 [ 4.678990] RDX: 0000000000000000 RSI: ffff88017aa6dd00 RDI: ffff88017aa6dcf8 > 9 [ 4.678992] RBP: ffff88017aa6dc70 R08: ffff88017aa3c9e8 R09: 0000000000000000 > 10 [ 4.678993] R10: 0000000000002172 R11: ffffffff812a6ae7 R12: 0000000000000000 > 11 [ 4.678995] R13: ffffffff81cb9ae0 R14: ffffffff812c0df0 R15: 0000000000000000 > 12 [ 4.678997] FS: 0000000000000000(0000) GS:ffff88017fc00000(0000) knlGS:0000000000000000 > 13 [ 4.678999] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > 14 [ 4.679000] CR2: ffff88017ffff000 CR3: 0000000001c0b000 CR4: 00000000001007f0 > 15 [ 4.679001] Stack: > 16 [ 4.679005] ffff88017aa6dce8 ffffffff8109ac29 ffffffff81e9ec04 ffffffff81e9ebe0 > 17 [ 4.679007] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > 18 [ 4.679010] 0000000000000000 ffffffff8119ed6c ffff88017ab90001 ffff88017aa6dd3c > 19 [ 4.679013] Call Trace: > 20 [ 4.679025] [] smp_call_function_single+0x149/0x190 > 21 [ 4.679032] [] ? __sysfs_add_one+0x6c/0x110 > 22 [ 4.679037] [] rdmsr_on_cpu+0x49/0x60 > 23 [ 4.679046] [] sys_get_curr_temp+0x2b/0x60 > 24 [ 4.679052] [] thermal_zone_get_temp+0x3c/0x60 > 25 [ 4.679057] [] thermal_zone_device_update+0x17/0xa0 > 26 [ 4.679061] [] thermal_zone_device_register+0x781/0xaa0 > 27 [ 4.679064] [] get_core_online+0x285/0x350 > 28 [ 4.679075] [] pkg_temp_thermal_init+0x6d/0x15c > 29 [ 4.679078] [] ? thermal_init+0xa2/0xa2 > 30 [ 4.679083] [] do_one_initcall+0x7f/0x108 > 31 [ 4.679089] [] ? parse_args+0x1e8/0x320 > 32 [ 4.679093] [] kernel_init_freeable+0x15a/0x1db > 33 [ 4.679096] [] ? do_early_param+0x88/0x88 > 34 [ 4.679102] [] ? rest_init+0x80/0x80 > 35 [ 4.679104] [] kernel_init+0x9/0x180 > 36 [ 4.679112] [] ret_from_fork+0x7c/0xb0 > 37 [ 4.679115] [] ? rest_init+0x80/0x80 > 38 [ 4.679152] Code: 90 90 48 8b 47 10 55 48 8d 77 08 65 8b 14 25 1c b0 00 00 48 89 e5 48 85 c0 74 0e 48 63 d2 48 89 c6 48 03 34 d5 e0 93 cb 81 8b 0f <0f> 32 48 c1 e2 20 89 c0 48 09 c2 89 16 48 c1 ea 20 89 56 04 5d > 39 [ 4.679155] RIP [] __rdmsr_on_cpu+0x29/0x40 > 40 [ 4.679156] RSP > 41 [ 4.679171] ---[ end trace 540c9227357f4c3a ]--- > 42 [ 4.679209] swapper/0 (1) used greatest stack depth: 4784 bytes left > 43 [ 4.679225] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Hi, > > > I get this crash on next as of today .. > > > [ 4.678947] general protection fault: 0000 [#1] SMP > 2 [ 4.678953] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-next-20130710 #57 > 3 [ 4.678959] Hardware name: Intel Corp. Mohan Peak/Server, BIOS EDVLCRB1.86B.0017.R00.1305271414 05/27/2013 > 4 [ 4.678963] task: ffff88017aa80000 ti: ffff88017aa6c000 task.ti: ffff88017aa6c000 > 5 [ 4.678985] RIP: 0010:[] [] __rdmsr_on_cpu+0x29/0x40 > 6 [ 4.678987] RSP: 0000:ffff88017aa6dc70 EFLAGS: 00010046 > 7 [ 4.678989] RAX: 0000000000000000 RBX: 0000000000000246 RCX: 00000000000001b1 > 8 [ 4.678990] RDX: 0000000000000000 RSI: ffff88017aa6dd00 RDI: ffff88017aa6dcf8 > 9 [ 4.678992] RBP: ffff88017aa6dc70 R08: ffff88017aa3c9e8 R09: 0000000000000000 > 10 [ 4.678993] R10: 0000000000002172 R11: ffffffff812a6ae7 R12: 0000000000000000 > 11 [ 4.678995] R13: ffffffff81cb9ae0 R14: ffffffff812c0df0 R15: 0000000000000000 > 12 [ 4.678997] FS: 0000000000000000(0000) GS:ffff88017fc00000(0000) knlGS:0000000000000000 > 13 [ 4.678999] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > 14 [ 4.679000] CR2: ffff88017ffff000 CR3: 0000000001c0b000 CR4: 00000000001007f0 > 15 [ 4.679001] Stack: > 16 [ 4.679005] ffff88017aa6dce8 ffffffff8109ac29 ffffffff81e9ec04 ffffffff81e9ebe0 > 17 [ 4.679007] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > 18 [ 4.679010] 0000000000000000 ffffffff8119ed6c ffff88017ab90001 ffff88017aa6dd3c > 19 [ 4.679013] Call Trace: > 20 [ 4.679025] [] smp_call_function_single+0x149/0x190 > 21 [ 4.679032] [] ? __sysfs_add_one+0x6c/0x110 > 22 [ 4.679037] [] rdmsr_on_cpu+0x49/0x60 > 23 [ 4.679046] [] sys_get_curr_temp+0x2b/0x60 > 24 [ 4.679052] [] thermal_zone_get_temp+0x3c/0x60 > 25 [ 4.679057] [] thermal_zone_device_update+0x17/0xa0 > 26 [ 4.679061] [] thermal_zone_device_register+0x781/0xaa0 > 27 [ 4.679064] [] get_core_online+0x285/0x350 > 28 [ 4.679075] [] pkg_temp_thermal_init+0x6d/0x15c > 29 [ 4.679078] [] ? thermal_init+0xa2/0xa2 > 30 [ 4.679083] [] do_one_initcall+0x7f/0x108 > 31 [ 4.679089] [] ? parse_args+0x1e8/0x320 > 32 [ 4.679093] [] kernel_init_freeable+0x15a/0x1db > 33 [ 4.679096] [] ? do_early_param+0x88/0x88 > 34 [ 4.679102] [] ? rest_init+0x80/0x80 > 35 [ 4.679104] [] kernel_init+0x9/0x180 > 36 [ 4.679112] [] ret_from_fork+0x7c/0xb0 > 37 [ 4.679115] [] ? rest_init+0x80/0x80 > 38 [ 4.679152] Code: 90 90 48 8b 47 10 55 48 8d 77 08 65 8b 14 25 1c b0 00 00 48 89 e5 48 85 c0 74 0e 48 63 d2 48 89 c6 48 03 34 d5 e0 93 cb 81 8b 0f <0f> 32 48 c1 e2 20 89 c0 48 09 c2 89 16 48 c1 ea 20 89 56 04 5d > 39 [ 4.679155] RIP [] __rdmsr_on_cpu+0x29/0x40 > 40 [ 4.679156] RSP > 41 [ 4.679171] ---[ end trace 540c9227357f4c3a ]--- > 42 [ 4.679209] swapper/0 (1) used greatest stack depth: 4784 bytes left > 43 [ 4.679225] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Hi, > > > I get this crash on next as of today .. > > > [ 4.678947] general protection fault: 0000 [#1] SMP > 2 [ 4.678953] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-next-20130710 #57 > 3 [ 4.678959] Hardware name: Intel Corp. Mohan Peak/Server, BIOS EDVLCRB1.86B.0017.R00.1305271414 05/27/2013 > 4 [ 4.678963] task: ffff88017aa80000 ti: ffff88017aa6c000 task.ti: ffff88017aa6c000 > 5 [ 4.678985] RIP: 0010:[] [] __rdmsr_on_cpu+0x29/0x40 > 6 [ 4.678987] RSP: 0000:ffff88017aa6dc70 EFLAGS: 00010046 > 7 [ 4.678989] RAX: 0000000000000000 RBX: 0000000000000246 RCX: 00000000000001b1 > 8 [ 4.678990] RDX: 0000000000000000 RSI: ffff88017aa6dd00 RDI: ffff88017aa6dcf8 > 9 [ 4.678992] RBP: ffff88017aa6dc70 R08: ffff88017aa3c9e8 R09: 0000000000000000 > 10 [ 4.678993] R10: 0000000000002172 R11: ffffffff812a6ae7 R12: 0000000000000000 > 11 [ 4.678995] R13: ffffffff81cb9ae0 R14: ffffffff812c0df0 R15: 0000000000000000 > 12 [ 4.678997] FS: 0000000000000000(0000) GS:ffff88017fc00000(0000) knlGS:0000000000000000 > 13 [ 4.678999] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > 14 [ 4.679000] CR2: ffff88017ffff000 CR3: 0000000001c0b000 CR4: 00000000001007f0 > 15 [ 4.679001] Stack: > 16 [ 4.679005] ffff88017aa6dce8 ffffffff8109ac29 ffffffff81e9ec04 ffffffff81e9ebe0 > 17 [ 4.679007] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > 18 [ 4.679010] 0000000000000000 ffffffff8119ed6c ffff88017ab90001 ffff88017aa6dd3c > 19 [ 4.679013] Call Trace: > 20 [ 4.679025] [] smp_call_function_single+0x149/0x190 > 21 [ 4.679032] [] ? __sysfs_add_one+0x6c/0x110 > 22 [ 4.679037] [] rdmsr_on_cpu+0x49/0x60 > 23 [ 4.679046] [] sys_get_curr_temp+0x2b/0x60 > 24 [ 4.679052] [] thermal_zone_get_temp+0x3c/0x60 > 25 [ 4.679057] [] thermal_zone_device_update+0x17/0xa0 > 26 [ 4.679061] [] thermal_zone_device_register+0x781/0xaa0 > 27 [ 4.679064] [] get_core_online+0x285/0x350 > 28 [ 4.679075] [] pkg_temp_thermal_init+0x6d/0x15c > 29 [ 4.679078] [] ? thermal_init+0xa2/0xa2 > 30 [ 4.679083] [] do_one_initcall+0x7f/0x108 > 31 [ 4.679089] [] ? parse_args+0x1e8/0x320 > 32 [ 4.679093] [] kernel_init_freeable+0x15a/0x1db > 33 [ 4.679096] [] ? do_early_param+0x88/0x88 > 34 [ 4.679102] [] ? rest_init+0x80/0x80 > 35 [ 4.679104] [] kernel_init+0x9/0x180 > 36 [ 4.679112] [] ret_from_fork+0x7c/0xb0 > 37 [ 4.679115] [] ? rest_init+0x80/0x80 > 38 [ 4.679152] Code: 90 90 48 8b 47 10 55 48 8d 77 08 65 8b 14 25 1c b0 00 00 48 89 e5 48 85 c0 74 0e 48 63 d2 48 89 c6 48 03 34 d5 e0 93 cb 81 8b 0f <0f> 32 48 c1 e2 20 89 c0 48 09 c2 89 16 48 c1 ea 20 89 56 04 5d > 39 [ 4.679155] RIP [] __rdmsr_on_cpu+0x29/0x40 > 40 [ 4.679156] RSP > 41 [ 4.679171] ---[ end trace 540c9227357f4c3a ]--- > 42 [ 4.679209] swapper/0 (1) used greatest stack depth: 4784 bytes left > 43 [ 4.679225] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Hi, > > > I get this crash on next as of today .. > > > [ 4.678947] general protection fault: 0000 [#1] SMP > 2 [ 4.678953] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-next-20130710 #57 > 3 [ 4.678959] Hardware name: Intel Corp. Mohan Peak/Server, BIOS EDVLCRB1.86B.0017.R00.1305271414 05/27/2013 > 4 [ 4.678963] task: ffff88017aa80000 ti: ffff88017aa6c000 task.ti: ffff88017aa6c000 > 5 [ 4.678985] RIP: 0010:[] [] __rdmsr_on_cpu+0x29/0x40 > 6 [ 4.678987] RSP: 0000:ffff88017aa6dc70 EFLAGS: 00010046 > 7 [ 4.678989] RAX: 0000000000000000 RBX: 0000000000000246 RCX: 00000000000001b1 > 8 [ 4.678990] RDX: 0000000000000000 RSI: ffff88017aa6dd00 RDI: ffff88017aa6dcf8 > 9 [ 4.678992] RBP: ffff88017aa6dc70 R08: ffff88017aa3c9e8 R09: 0000000000000000 > 10 [ 4.678993] R10: 0000000000002172 R11: ffffffff812a6ae7 R12: 0000000000000000 > 11 [ 4.678995] R13: ffffffff81cb9ae0 R14: ffffffff812c0df0 R15: 0000000000000000 > 12 [ 4.678997] FS: 0000000000000000(0000) GS:ffff88017fc00000(0000) knlGS:0000000000000000 > 13 [ 4.678999] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > 14 [ 4.679000] CR2: ffff88017ffff000 CR3: 0000000001c0b000 CR4: 00000000001007f0 > 15 [ 4.679001] Stack: > 16 [ 4.679005] ffff88017aa6dce8 ffffffff8109ac29 ffffffff81e9ec04 ffffffff81e9ebe0 > 17 [ 4.679007] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > 18 [ 4.679010] 0000000000000000 ffffffff8119ed6c ffff88017ab90001 ffff88017aa6dd3c > 19 [ 4.679013] Call Trace: > 20 [ 4.679025] [] smp_call_function_single+0x149/0x190 > 21 [ 4.679032] [] ? __sysfs_add_one+0x6c/0x110 > 22 [ 4.679037] [] rdmsr_on_cpu+0x49/0x60 > 23 [ 4.679046] [] sys_get_curr_temp+0x2b/0x60 > 24 [ 4.679052] [] thermal_zone_get_temp+0x3c/0x60 > 25 [ 4.679057] [] thermal_zone_device_update+0x17/0xa0 > 26 [ 4.679061] [] thermal_zone_device_register+0x781/0xaa0 > 27 [ 4.679064] [] get_core_online+0x285/0x350 > 28 [ 4.679075] [] pkg_temp_thermal_init+0x6d/0x15c > 29 [ 4.679078] [] ? thermal_init+0xa2/0xa2 > 30 [ 4.679083] [] do_one_initcall+0x7f/0x108 > 31 [ 4.679089] [] ? parse_args+0x1e8/0x320 > 32 [ 4.679093] [] kernel_init_freeable+0x15a/0x1db > 33 [ 4.679096] [] ? do_early_param+0x88/0x88 > 34 [ 4.679102] [] ? rest_init+0x80/0x80 > 35 [ 4.679104] [] kernel_init+0x9/0x180 > 36 [ 4.679112] [] ret_from_fork+0x7c/0xb0 > 37 [ 4.679115] [] ? rest_init+0x80/0x80 > 38 [ 4.679152] Code: 90 90 48 8b 47 10 55 48 8d 77 08 65 8b 14 25 1c b0 00 00 48 89 e5 48 85 c0 74 0e 48 63 d2 48 89 c6 48 03 34 d5 e0 93 cb 81 8b 0f <0f> 32 48 c1 e2 20 89 c0 48 09 c2 89 16 48 c1 ea 20 89 56 04 5d > 39 [ 4.679155] RIP [] __rdmsr_on_cpu+0x29/0x40 > 40 [ 4.679156] RSP > 41 [ 4.679171] ---[ end trace 540c9227357f4c3a ]--- > 42 [ 4.679209] swapper/0 (1) used greatest stack depth: 4784 bytes left > 43 [ 4.679225] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ao > n fault: 0000 [#1] SMP > 2 [ 4.678953] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-next-20130710 #57 > 3 [ 4.678959] Hardware name: Intel Corp. Mohan Peak/Server, BIOS EDVLCRB1.86B.0017.R00.1305271414 05/27/2013 > 4 [ 4.678963] task: ffff88017aa80000 ti: ffff88017aa6c000 task.ti: ffff88017aa6c000 > 5 [ 4.678985] RIP: 0010:[] [] __rdmsr_on_cpu+0x29/0x40 > 6 [ 4.678987] RSP: 0000:ffff88017aa6dc70 EFLAGS: 00010046 > 7 [ 4.678989] RAX: 0000000000000000 RBX: 0000000000000246 RCX: 00000000000001b1 > 8 [ 4.678990] RDX: 0000000000000000 RSI: ffff88017aa6dd00 RDI: ffff88017aa6dcf8 > 9 [ 4.678992] RBP: ffff88017aa6dc70 R08: ffff88017aa3c9e8 R09: 0000000000000000 > 10 [ 4.678993] R10: 0000000000002172 R11: ffffffff812a6ae7 R12: 0000000000000000 > 11 [ 4.678995] R13: ffffffff81cb9ae0 R14: ffffffff812c0df0 R15: 0000000000000000 > 12 [ 4.678997] FS: 0000000000000000(0000) GS:ffff88017fc00000(0000) knlGS:0000000000000000 > 13 [ 4.678999] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > 14 [ 4.679000] CR2: ffff88017ffff000 CR3: 0000000001c0b000 CR4: 00000000001007f0 > 15 [ 4.679001] Stack: > 16 [ 4.679005] ffff88017aa6dce8 ffffffff8109ac29 ffffffff81e9ec04 ffffffff81e9ebe0 > 17 [ 4.679007] 0000000000000000 0000000000000000 0000000000000000 0000000000000000 > 18 [ 4.679010] 0000000000000000 ffffffff8119ed6c ffff88017ab90001 ffff88017aa6dd3c > 19 [ 4.679013] Call Trace: > 20 [ 4.679025] [] smp_call_function_single+0x149/0x190 > 21 [ 4.679032] [] ? __sysfs_add_one+0x6c/0x110 > 22 [ 4.679037] [] rdmsr_on_cpu+0x49/0x60 > 23 [ 4.679046] [] sys_get_curr_temp+0x2b/0x60 > 24 [ 4.679052] [] thermal_zone_get_temp+0x3c/0x60 > 25 [ 4.679057] [] thermal_zone_device_update+0x17/0xa0 > 26 [ 4.679061] [] thermal_zone_device_register+0x781/0xaa0 > 27 [ 4.679064] [] get_core_online+0x285/0x350 > 28 [ 4.679075] [] pkg_temp_thermal_init+0x6d/0x15c > 29 [ 4.679078] [] ? thermal_init+0xa2/0xa2 > 30 [ 4.679083] [] do_one_initcall+0x7f/0x108 > 31 [ 4.679089] [] ? parse_args+0x1e8/0x320 > 32 [ 4.679093] [] kernel_init_freeable+0x15a/0x1db > 33 [ 4.679096] [] ? do_early_param+0x88/0x88 > 34 [ 4.679102] [] ? rest_init+0x80/0x80 > 35 [ 4.679104] [] kernel_init+0x9/0x180 > 36 [ 4.679112] [] ret_from_fork+0x7c/0xb0 > 37 [ 4.679115] [] ? rest_init+0x80/0x80 > 38 [ 4.679152] Code: 90 90 48 8b 47 10 55 48 8d 77 08 65 8b 14 25 1c b0 00 00 48 89 e5 48 85 c0 74 0e 48 63 d2 48 89 c6 48 03 34 d5 e0 93 cb 81 8b 0f <0f> 32 48 c1 e2 20 89 c0 48 09 c2 89 16 48 c1 ea 20 89 56 04 5d > 39 [ 4.679155] RIP [] __rdmsr_on_cpu+0x29/0x40 > 40 [ 4.679156] RSP > 41 [ 4.679171] ---[ end trace 540c9227357f4c3a ]--- > 42 [ 4.679209] swapper/0 (1) used greatest stack depth: 4784 bytes left > 43 [ 4.679225] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b > --------------040109030808050506070907 Content-Type: text/x-patch; name="0001-Thermal-x86-package-temperature-support.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Thermal-x86-package-temperature-support.patch" >From ab9c9150a947853654dc43dacbe7eed5f1356b63 Mon Sep 17 00:00:00 2001 From: Srinivas Pandruvada Date: Wed, 10 Jul 2013 16:19:44 -0700 Subject: [PATCH] Thermal: x86 package temperature support Even if there is a DTS sensor but no Package temp support, don't continue as MSR read may generate exception. Signed-off-by: Srinivas Pandruvada --- drivers/thermal/x86_pkg_temp_thermal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/x86_pkg_temp_thermal.c b/drivers/thermal/x86_pkg_temp_thermal.c index 5de56f6..0592135 100644 --- a/drivers/thermal/x86_pkg_temp_thermal.c +++ b/drivers/thermal/x86_pkg_temp_thermal.c @@ -511,8 +511,7 @@ static int get_core_online(unsigned int cpu) /* Check if there is already an instance for this package */ if (!phdev) { - if (!cpu_has(c, X86_FEATURE_DTHERM) && - !cpu_has(c, X86_FEATURE_PTS)) + if (!cpu_has(c, X86_FEATURE_PTS)) return -ENODEV; if (pkg_temp_thermal_device_add(cpu)) return -ENODEV; -- 1.7.11.7 --------------040109030808050506070907-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/