From patchwork Mon Jul 4 05:23:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaohua Li X-Patchwork-Id: 941472 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p645NPbG001133 for ; Mon, 4 Jul 2011 05:23:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751224Ab1GDFXW (ORCPT ); Mon, 4 Jul 2011 01:23:22 -0400 Received: from mga03.intel.com ([143.182.124.21]:32474 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750992Ab1GDFXW (ORCPT ); Mon, 4 Jul 2011 01:23:22 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 03 Jul 2011 22:23:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,471,1304319600"; d="scan'208";a="22317893" Received: from sli10-conroe.sh.intel.com (HELO [10.239.36.123]) ([10.239.36.123]) by azsmga001.ch.intel.com with ESMTP; 03 Jul 2011 22:23:20 -0700 Subject: [patch]acpi: add missing _OSI strings -- resend From: Shaohua Li To: linux acpi Cc: "Brown, Len" , Andrew Morton , "Jarosz, Sebastian" Date: Mon, 04 Jul 2011 13:23:20 +0800 Message-ID: <1309757000.15392.221.camel@sli10-conroe> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 04 Jul 2011 05:23:25 +0000 (UTC) Last post (Jun 14 ) is lost, resend. Linux supports some optional features, but it should notify BIOS about them in _OSI method. Currently Linux doesn't notify any, which might make such features not work because BIOS doesn't know about them. Reported-by: "Jarosz, Sebastian" Signed-off-by: Shaohua Li Acked-by: Matthew Garrett --- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 52ca964..a305115 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1083,7 +1083,13 @@ struct osi_setup_entry { bool enable; }; -static struct osi_setup_entry __initdata osi_setup_entries[OSI_STRING_ENTRIES_MAX]; +static struct osi_setup_entry __initdata + osi_setup_entries[OSI_STRING_ENTRIES_MAX] = { + {"Module Device", true}, + {"Processor Device", true}, + {"3.0 _SCP Extensions", true}, + {"Processor Aggregator Device", true}, +}; void __init acpi_osi_setup(char *str) {