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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110113190700.GB30866@kryptos.osrc.amd.com>
Date:	Thu, 13 Jan 2011 20:07:00 +0100
From:	Borislav Petkov <bp@...64.org>
To:	Matthew Garrett <mjg59@...f.ucam.org>
Cc:	Thomas Gleixner <tglx@...utronix.de>,
	Manoj Iyer <manoj.iyer@...onical.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	"Herrmann3, Andreas" <Andreas.Herrmann3@....com>
Subject: Re: [PATCH] Quirk to fix suspend/resume on Lenovo Edge 11,13,14,15

On Thu, Jan 13, 2011 at 06:58:07PM +0000, Matthew Garrett wrote:
> On Thu, Jan 13, 2011 at 07:51:49PM +0100, Thomas Gleixner wrote:
> 
> > What's odd is that the machines actually boot. I would have expected
> > that they do not boot at all if the BIOS IRQ0 pin2 override is
> > ignored. But it seems that takes effect just when the machine does a
> > suspend/resume. Weird!
> 
> The only thing that springs to mind is some BIOS code making incorrect 
> assumptions about timer setup when we trap into it. Is reprogramming the 
> timer back to the boot state over suspend plausible? If so, that'd 
> probably be a more general fix.

Well, Andreas did boot with 'hpet=verbose' on an affected machine here
and did a suspend/resume and the hpet config registers looked ok before
suspend and after resume. It might be that the HPET is temporarily
"insane" while resume lasts but we don't have any hard facts confirming
that so far. We've contemplated switching to the pit timer before
suspend and back to hpet after resume, as a brown-paper bag solution.
And this issue pertains only to SB800, that's why my machine here wasn't
affected - it has an SB700.

-- 
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
--
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