From patchwork Wed Jan 20 07:06:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Chiang X-Patchwork-Id: 74004 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0K77L6Y024766 for ; Wed, 20 Jan 2010 07:07:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752043Ab0ATHGi (ORCPT ); Wed, 20 Jan 2010 02:06:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755958Ab0ATHGf (ORCPT ); Wed, 20 Jan 2010 02:06:35 -0500 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:7720 "EHLO g5t0006.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755699Ab0ATHGc (ORCPT ); Wed, 20 Jan 2010 02:06:32 -0500 Received: from g5t0030.atlanta.hp.com (g5t0030.atlanta.hp.com [16.228.8.142]) by g5t0006.atlanta.hp.com (Postfix) with ESMTP id E92FCC019; Wed, 20 Jan 2010 07:06:30 +0000 (UTC) Received: from ldl (ldl.fc.hp.com [15.11.146.30]) by g5t0030.atlanta.hp.com (Postfix) with ESMTP id C52AD1402C; Wed, 20 Jan 2010 07:06:30 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id 864F8CF0019; Wed, 20 Jan 2010 00:06:30 -0700 (MST) Received: from ldl ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vOGbRBuafFgQ; Wed, 20 Jan 2010 00:06:30 -0700 (MST) Received: from eh.fc.hp.com (eh.fc.hp.com [15.11.146.105]) by ldl (Postfix) with ESMTP id 6E563CF0012; Wed, 20 Jan 2010 00:06:30 -0700 (MST) Received: from bob.kio (localhost [127.0.0.1]) by eh.fc.hp.com (Postfix) with ESMTP id 637F9261F0; Wed, 20 Jan 2010 00:06:30 -0700 (MST) Subject: [PATCH 1/2] ACPI: processor: add kernel command line support for early _PDC eval To: lenb@kernel.org From: Alex Chiang Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 20 Jan 2010 00:06:30 -0700 Message-ID: <20100120070630.19777.9292.stgit@bob.kio> In-Reply-To: <20100120070403.19777.31978.stgit@bob.kio> References: <20100120070403.19777.31978.stgit@bob.kio> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 736d456..826b6e1 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -199,6 +199,10 @@ and is between 256 and 4096 characters. It is defined in the file acpi_display_output=video See above. + acpi_early_pdc_eval [HW,ACPI] Evaluate processor _PDC methods + early. Needed on some platforms to properly + initialize the EC. + acpi_irq_balance [HW,ACPI] ACPI will balance active IRQs default in APIC mode diff --git a/drivers/acpi/processor_pdc.c b/drivers/acpi/processor_pdc.c index f336437..2944e7d 100644 --- a/drivers/acpi/processor_pdc.c +++ b/drivers/acpi/processor_pdc.c @@ -151,6 +151,13 @@ static int set_early_pdc_optin(const struct dmi_system_id *id) return 0; } +static int param_early_pdc_optin(char *s) +{ + early_pdc_optin = 1; + return 1; +} +__setup("acpi_early_pdc_eval", param_early_pdc_optin); + static struct dmi_system_id __cpuinitdata early_pdc_optin_table[] = { { set_early_pdc_optin, "HP Envy", {