From patchwork Mon Jun 22 03:31:17 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhang Rui X-Patchwork-Id: 31698 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5M3UbJ1016127 for ; Mon, 22 Jun 2009 03:30:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752281AbZFVDag (ORCPT ); Sun, 21 Jun 2009 23:30:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753324AbZFVDag (ORCPT ); Sun, 21 Jun 2009 23:30:36 -0400 Received: from mga11.intel.com ([192.55.52.93]:56781 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281AbZFVDaf (ORCPT ); Sun, 21 Jun 2009 23:30:35 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 21 Jun 2009 20:23:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.42,265,1243839600"; d="scan'208";a="701311629" Received: from rzhang-dt.sh.intel.com (HELO localhost.localdomain) ([10.239.36.94]) by fmsmga001.fm.intel.com with ESMTP; 21 Jun 2009 20:34:00 -0700 From: Zhang Rui To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org, Zhang Rui Subject: [PATCH 4/5] disable Vista compatibility on some sony laptops Date: Mon, 22 Jun 2009 11:31:17 +0800 Message-Id: <1245641478-31805-4-git-send-email-rui.zhang@intel.com> X-Mailer: git-send-email 1.5.4.4 In-Reply-To: <1245641478-31805-3-git-send-email-rui.zhang@intel.com> References: <1245641478-31805-1-git-send-email-rui.zhang@intel.com> <1245641478-31805-2-git-send-email-rui.zhang@intel.com> <1245641478-31805-3-git-send-email-rui.zhang@intel.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Linux claims Vista compatibility to the BIOS for a number of reasons, but this brings hard lockup on some Sony laptops. Disable Vista compatibility via DMI for these laptops unless we can figure out what Vista is doing for this platform. http://bugzilla.kernel.org/show_bug.cgi?id=12904 Signed-off-by: Zhang Rui --- drivers/acpi/blacklist.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 09c6980..f6baa77 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -192,6 +192,22 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "ESPRIMO Mobile V5505"), }, }, + { + .callback = dmi_disable_osi_vista, + .ident = "Sony VGN-NS10J_S", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "VGN-NS10J_S"), + }, + }, + { + .callback = dmi_disable_osi_vista, + .ident = "Sony VGN-SR290J", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "Sony VGN-SR290J"), + }, + }, /* * BIOS invocation of _OSI(Linux) is almost always a BIOS bug.