From patchwork Mon Feb 24 02:23:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corey Minyard X-Patchwork-Id: 3705641 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3AD9B9F35F for ; Mon, 24 Feb 2014 02:24:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6719A201DD for ; Mon, 24 Feb 2014 02:24:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8348B201BF for ; Mon, 24 Feb 2014 02:24:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752313AbaBXCYa (ORCPT ); Sun, 23 Feb 2014 21:24:30 -0500 Received: from mail-ob0-f170.google.com ([209.85.214.170]:53151 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbaBXCY2 (ORCPT ); Sun, 23 Feb 2014 21:24:28 -0500 Received: by mail-ob0-f170.google.com with SMTP id wp4so4662004obc.1 for ; Sun, 23 Feb 2014 18:24:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=4KMHHGjTIhPtyLEKFdYuy+xzVjfjQ8mZaHtjyOO7KQc=; b=g1KI9/SQjcT+0En/XQM8Q4tNz7AeFWuymOVokvNdxwQFVN9kU1hvWbUaREtyHvmb00 /smM30UX5xsSFrFIJk+4zm2likNRr7ZvA9GEEZ8xgRCBGoBp2usdEg8sSUAA0TlIH6z1 m7wS4OVm5eTbQEtQoWaQTQoa8ijDcWAapAYoBvzFfFJkssijH/VxmJAJttXLOVpld+W7 hmpmtXDfugSEZd6Kk8FL6CIY/69ixRIufPTSJF3O1Cr5sgReF0Rd7WVqpQ0x1A2g+AwN NIhf1zFABDQbNOOS+2dwd2bK3mU7uY7ED8DDRAXofHSDOZW+t5dnwmOAiQ3FujJm+oha 7CwA== X-Received: by 10.60.116.74 with SMTP id ju10mr19114737oeb.6.1393208668077; Sun, 23 Feb 2014 18:24:28 -0800 (PST) Received: from t430.minyard.home (pool-173-57-152-84.dllstx.fios.verizon.net. [173.57.152.84]) by mx.google.com with ESMTPSA id ii8sm30769958obb.11.2014.02.23.18.24.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Feb 2014 18:24:27 -0800 (PST) Received: from t430.minyard.home (t430.minyard.home [127.0.0.1]) by t430.minyard.home (8.14.7/8.14.7) with ESMTP id s1O2OPbo017076; Sun, 23 Feb 2014 20:24:25 -0600 Received: (from cminyard@localhost) by t430.minyard.home (8.14.7/8.14.7/Submit) id s1O2OPTR017075; Sun, 23 Feb 2014 20:24:25 -0600 From: minyard@acm.org To: OpenIPMI Developers Cc: Linux Kernel , Russ Anderson , Matthew Garrett , lenb@kernel.org, rjw@rjwysocki.net, linux-acpi@vger.kernel.org Subject: [PATCH 3/3] Change ACPI IPMI support to "default y" Date: Sun, 23 Feb 2014 20:23:36 -0600 Message-Id: <1393208616-16500-4-git-send-email-minyard@acm.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1393208616-16500-1-git-send-email-minyard@acm.org> References: <1393208616-16500-1-git-send-email-minyard@acm.org> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Matthew Garrett The ACPI IPMI driver implements IPMI operation region support for the ACPI core. Systems that declare ACPI operation regions may reference them at any time, including during kernel initialisation. These accesses will fail unless the ACPI IPMI driver is present, and undesirable system behaviour may result. Set the default to Y in order to encourage distributions and users to configure kernels to avoid awkward surprises. Signed-off-by: Matthew Garrett --- drivers/acpi/Kconfig | 2 +- drivers/char/ipmi/Kconfig | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 4770de5..0e6aab9 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -162,7 +162,7 @@ config ACPI_PROCESSOR config ACPI_IPMI tristate "IPMI" depends on IPMI_SI - default n + default y help This driver enables the ACPI to access the BMC controller. And it uses the IPMI request/response message to communicate with BMC diff --git a/drivers/char/ipmi/Kconfig b/drivers/char/ipmi/Kconfig index 8e14360..5eb7e85 100644 --- a/drivers/char/ipmi/Kconfig +++ b/drivers/char/ipmi/Kconfig @@ -5,6 +5,7 @@ menuconfig IPMI_HANDLER tristate 'IPMI top-level message handler' depends on HAS_IOMEM + default y if ACPI help This enables the central IPMI message handler, required for IPMI to work. @@ -45,6 +46,7 @@ config IPMI_DEVICE_INTERFACE config IPMI_SI tristate 'IPMI System Interface handler' + default y if ACPI help Provides a driver for System Interfaces (KCS, SMIC, BT). Currently, only KCS and SMIC are supported. If