From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756694Ab1BCR6R (ORCPT ); Thu, 3 Feb 2011 12:58:17 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:35890 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753257Ab1BCR6Q (ORCPT ); Thu, 3 Feb 2011 12:58:16 -0500 Date: Thu, 3 Feb 2011 18:57:21 +0100 From: Ingo Molnar To: "H. Peter Anvin" Cc: Pavel Machek , Tejun Heo , "Ahmed S. Darwish" , Thomas Gleixner , Ingo Molnar , X86-ML , Tony Luck , Dave Jones , Andrew Morton , Randy Dunlap , Willy Tarreau , Willy Tarreau , Dirk Hohndel , Dirk.Hohndel@intel.com, IDE-ML , LKML , Linus Torvalds , Peter Zijlstra , Fr?d?ric Weisbecker , Borislav Petkov , Arjan van de Ven Subject: Re: [PATCH 0/2][concept RFC] x86: BIOS-save kernel log to disk upon panic Message-ID: <20110203175721.GB8785@elte.hu> References: <20110125134748.GA10051@laptop> <20110125140948.GA26762@elte.hu> <20110125150834.GD27510@htj.dyndns.org> <20110203143644.GA4085@ucw.cz> <4D4AC996.4070307@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D4AC996.4070307@zytor.com> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * H. Peter Anvin wrote: > On 02/03/2011 06:36 AM, Pavel Machek wrote: > > > > Could we read the log area, first, verify it contains signature, write > > it back? > > Pavel > > Yes, but that doesn't guarantee no data corruption caused by handing > over from one driver to another. Waiting a few seconds? Is there any sufficiently high number of X where waiting X seconds would make it safe to touch the hardware? (i.e. it would guarantee that pending commands are flushed, etc.) Thanks, Ingo