mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Reboot through the BIOS on newer HP laptops
Date: Sat, 26 Nov 2005 20:33:26 -0800	[thread overview]
Message-ID: <20051126203326.07b09394.akpm@osdl.org> (raw)
In-Reply-To: <20051124052107.GA28070@srcf.ucam.org>

Matthew Garrett <mjg59@srcf.ucam.org> wrote:
>
> Newer HP laptops (nc4200, nc6xxx, nc8xxx) hang on reboot with a standard 
> configuration. Passing reboot=b makes them work. This patch adds a DMI 
> quirk that defaults them to this mode, and doesn't appear to have any 
> adverse affects on older HPs.
> 
> Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
> 
> --- a/arch/i386/kernel/reboot.c.orig	2005-09-20 18:54:50.000000000 +0100
> +++ a/arch/i386/kernel/reboot.c	2005-09-20 18:58:11.000000000 +0100
> @@ -135,6 +135,14 @@
>  			DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 2400"),
>  		},
>  	},
> +	{       /* HP laptops have weird reboot issues */
> +	        .callback = set_bios_reboot,
> +		.ident = "HP Laptop",
> +		.matches = {
> +		        DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq"),
> +		},
> +	},
>  	{ }
>  };

This seems rather generic.  I recently added one entry:

	{	/* Handle problems with rebooting on HP nc6120 */
		.callback = set_bios_reboot,
		.ident = "HP Compaq nc6120",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
			DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq nc6120"),
		},
	},

But your patch will do this for all HP laptops, will it not?  Worrisome. 
Is it not possible to identify particular models?

  parent reply	other threads:[~2005-11-27  4:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24  5:21 Matthew Garrett
2005-11-24  7:26 ` Alistair John Strachan
2005-11-24  7:29   ` Matthew Garrett
2005-11-27  4:33 ` Andrew Morton [this message]
2005-11-27 11:56   ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051126203326.07b09394.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®