From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932748Ab2ASTSj (ORCPT ); Thu, 19 Jan 2012 14:18:39 -0500 Received: from terminus.zytor.com ([198.137.202.10]:37717 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932485Ab2ASTSg (ORCPT ); Thu, 19 Jan 2012 14:18:36 -0500 Message-ID: <4F186C62.6000606@zytor.com> Date: Thu, 19 Jan 2012 11:17:54 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: Michael D Labriola CC: Alan Cox , Kushal Koolwal , linux-kernel@vger.kernel.org, michael.d.labriola@gmail.com, Ingo Molnar , Matthew Garrett , support@versalogic.com, Thomas Gleixner , x86@kernel.org Subject: Re: [PATCH] x86, reboot: skip DMI checks if reboot set by user References: <20120117195841.48fe8236@pyramind.ukuu.org.uk> <20120119154504.710e202e@pyramind.ukuu.org.uk> <4F18584F.7060603@zytor.com> In-Reply-To: X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/19/2012 11:14 AM, Michael D Labriola wrote: >> >> Yes, and such a patch would be appreciated. >> >> The reason it is as it is dates back to before the 32-64 bit >> unification, as far as I know. >> >> (BIOS reboot is currently not supported on 64 bits, mainly.) > > Well, that does complicate it a bit. I'll gin something up and see what > you think. I guess it will involve having an #ifdef CONFIG_X86_32 block > inside a single dmi_table structure for the BIOS quirks. > > Actually, set_kbd_reboot is inside the current X86_32 only block, along > with the one DMI callback that uses it. Is this correct? > Probably not, although I suspect most of the users of that are 32-bit only systems. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.