On 07/25/2011 11:51 AM, Mel Gorman wrote:
On Sat, Jul 23, 2011 at 02:23:35PM +0200, Bruno Friedmann wrote:
<SNIP> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=...
and
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=...
but for a not yet "blacklisted" model ?
That's what I'm expecting.
After testing : reboot work at 100% with reboot=pci
I don't know how or what to push upstream.
Can you test the following patch without the reboot=pci switch please? If it works, I'll push it upstream. Thanks.
==== CUT HERE ==== x86: Add reboot quirk for Dell Precision M4600
ACPI reboot does not work for Dell Precision M4600. Detect this machine via DMI and force the use of the PCI reboot method.
Reported-by: Bruno Friedmann
Signed-off-by: Mel Gorman --- arch/x86/kernel/reboot.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 9242436..7ca2ec4 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -443,6 +443,15 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6420"), }, }, + { /* Handle problems with rebooting on Dell Precision M4600's */ + .callback = set_pci_reboot, + .ident = "Dell Precision M4600", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Precision M4600"), + }, + }, + { } };
Greg sorry to bother you, If applying the patch is easy, how can I get just that rebuild against my actual 3.0.0-2-desktop #1 SMP PREEMPT Fri Jul 22 08:28:15 UTC 2011 (50c05d7) x86_64 x86_64 x86_64 GNU/Linux without rebuilding the whole kernel ? -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org