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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <533C9D8E.7030406@windriver.com>
Date:	Wed, 2 Apr 2014 19:30:22 -0400
From:	Paul Gortmaker <paul.gortmaker@...driver.com>
To:	"Brown, Len" <len.brown@...el.com>
CC:	"WYSOCKI, RAFAL" <rafael.j.wysocki@...el.com>,
	Arne Bockholdt <linux-kernel@...kholdt.com>,
	Jiang Liu <jiang.liu@...ux.intel.com>,
	"x86@...nel.org" <x86@...nel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Regression in intel_idle on Avaton/Rangely Mohon Peak board

On 14-04-02 05:58 PM, Brown, Len wrote:
>> [    0.840668] intel_idle: lapic_timer_reliable_states 0x2
> vs.
>> [    0.877528] intel_idle: lapic_timer_reliable_states 0xffffffff
> 
> This means CPUID.ARAT is set for the new board, and not set
> for the old board.  You can observe that also in /proc/cpuinfo flags
> where you will likely also find a visible stepping difference between
> these two boards.

Stepping is same, but ucode is different:

-microcode      : 0x7
+microcode      : 0xc
-bogomips       : 3399.78
+bogomips       : 4787.51
-cpu MHz                : 1700.000
+cpu MHz                : 2393.759

...and the newer core has "nonstop_tsc" and "arat" as you'd guessed.

> 
> Bring-up Avoton had ARAT disabled, and also had broken deep C-states.
> It looks like that is what your old board has.  Throw it away and
> use only production steppings.  If you are stuck w/ pre-production hardware,

Yep, understood (and expected) -- that is why I'd mentioned at the
beginning that "It may be that this early board/early bios makes it
a non-issue for mainline..."

> then you need to manually modify upstream Linux to make it happy --
> since upstream Linux only cares about production hardware.

Actually it turns out that the defconfig boots okay because it doesn't
use CONFIG_INTEL_IDLE, so that, or the command line max_cstate are
two easy work-arounds if others are stuck on the pre production kit.

Thanks for the suggestions and the final diagnosis.  The full cpuinfo
is below if there is anything you wanted to also see.

Paul.
---

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 77
model name      : Genuine Intel(R) CPU   4000  @ 1.70GHz
stepping        : 0
microcode       : 0x7
cpu MHz         : 1700.000
cache size      : 1024 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 8
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips        : 3399.78
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ