From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764578AbZE1U7Q (ORCPT ); Thu, 28 May 2009 16:59:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758354AbZE1U7C (ORCPT ); Thu, 28 May 2009 16:59:02 -0400 Received: from mx-out.daemonmail.net ([216.104.160.38]:33686 "EHLO mx-out.daemonmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754975AbZE1U7B (ORCPT ); Thu, 28 May 2009 16:59:01 -0400 From: "Michael S. Zick" Reply-To: lkml@morethan.org To: Pavel Machek Subject: Re: [BUG FIX] Make x86_32 uni-processor Atomic ops, Atomic Date: Thu, 28 May 2009 15:58:58 -0500 User-Agent: KMail/1.9.9 Cc: "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , linux-kernel@vger.kernel.org References: <200905221139.26941.lkml@morethan.org> <200905280829.15672.lkml@morethan.org> <20090528205008.GF11477@elf.ucw.cz> In-Reply-To: <20090528205008.GF11477@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905281559.00652.lkml@morethan.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu May 28 2009, Pavel Machek wrote: > On Thu 2009-05-28 08:29:13, Michael S. Zick wrote: > > On Thu May 28 2009, Pavel Machek wrote: > > > Hi! > > > > > > > The observation that executing an unnecessary 'lock' opcode in some > > > > cases slows down the machine is not felt by myself to be significant > > > > to duplicating my observations. Note: I have been wrong before. > > > > > > > > This is as informative as I can make the message. > > > > > > > > PS: *not* a single machine failure, tested on five machines, owned > > > > by four different people, two brands, with different use histories. > > > > > > I have seen some problems on via c7m based machines, where some 'smart > > > bios person' implemented EC access in AML (normally, it is accessed > > > from ec.c driver). Maybe you have similary bad bios? > > > > > > > How to tell or distingush? > > Did your looking at the dmidecode output show you that? > > Disassemble DSDT, and if you see strange code duplicating kernel's > ec.c driver, you have similar problem... Someone did that but wasn't looking for "strange code" - just fixing some entry size errors. You can find the replacement DSDT here: http://forum.netbookuser.com/viewtopic.php?pid=6512#p6512 (Which I am not using, since it mostly cosmetic.) Mike > Pavel