Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758619Ab3EGVs3 (ORCPT ); Tue, 7 May 2013 17:48:29 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:55914 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753119Ab3EGVs2 (ORCPT ); Tue, 7 May 2013 17:48:28 -0400 MIME-Version: 1.0 In-Reply-To: References: <337833384.57445.1361860509194.JavaMail.mail@webmail08> <569718148.80620.1361906088301.JavaMail.mail@webmail13> <771333906.75854.1367057440028.JavaMail.mail@webmail08> <518097B8.4020402@gmail.com> <384171828.66802.1367942365492.JavaMail.mail@webmail05> Date: Tue, 7 May 2013 23:48:26 +0200 Message-ID: Subject: Re: Abysmal HDD/USB write speed after sleep on a UEFI system From: Patrik Jakobsson To: Bjorn Helgaas Cc: Robert Hancock , "Artem S. Tashkinov" , Alan Stern , Linus Torvalds , linux-kernel , "linux-pci@vger.kernel.org" , "Rafael J. Wysocki" , Phillip Susi Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1316 Lines: 29 On Tue, May 7, 2013 at 10:20 PM, Bjorn Helgaas wrote: >> I'm not sure if reading /proc/mtrr actually reads the registers out of >> the CPU each time, or whether we just return the cached values we read >> out during initial boot-up. If the latter, then this output isn't >> really useful as there's no guarantee the values are still intact. > > Good point. From what I can tell, on Artem's system with "CPU0: > Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz," we would be using > generic_mtrr_ops, and generic_get_mtrr() appears to read from the > MSRs, so I think it should be useful. FWIW, that motherboard suffers from a PCI to PCIE bridge problem. It might have been fixed by bios upgrades by now but not sure. It might also suffer (depending on the revision) from the Sandy bridge SATA issue. So if affected, SATA controller is a ticking bomb. I have a P8H67-V motherboard but I haven't seen any suspend related issues. If this is totally unrelated I'm sorry for wasting your time. Just thought it might be good to know. Thanks Patrik Jakobsson -- 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/