From patchwork Mon Oct 6 19:23:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corey Minyard X-Patchwork-Id: 5039251 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 6FDF89F30B for ; Mon, 6 Oct 2014 19:23:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98CE22015A for ; Mon, 6 Oct 2014 19:23:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B683420149 for ; Mon, 6 Oct 2014 19:23:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752548AbaJFTXj (ORCPT ); Mon, 6 Oct 2014 15:23:39 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:49368 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751809AbaJFTXi (ORCPT ); Mon, 6 Oct 2014 15:23:38 -0400 Received: by mail-oi0-f48.google.com with SMTP id g201so4064172oib.7 for ; Mon, 06 Oct 2014 12:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=UzcB68dNtTwsW81542omBm+lW0tTM+Bv7Ghk8x4zZuc=; b=IWLZDAJ9gFYHg7M4h9F5IWBNWpQadquUGC+2cLzeXhtIOwRua2Eoyk/YRvEGhC+1Wp S2xGas9EY8kPIG1HaX1WYMNcFFCDbADLUBjjMH+9KVP1cfAhPNEvCoWm3hYtAJLy6053 cChgJql8p3dKAUzV+WZEuLpso673dynTSTC7xMYjA3wc21kJKBxrFkuDOUESRMTB7E+s NrVIQ2VXsHY3OzQlNUfdVdFuAyBC6Ew/UevMJdGfrZK/CUMyS41llARjf1wCgbo240Ua FNpKXx1IgndBbYCrEOvNXxOTRvhIpbwktnLW92xLzQlEWzXGRQgSbKdPtMR6Ahv5Fb7M fiow== X-Received: by 10.182.22.82 with SMTP id b18mr30319588obf.32.1412623418314; Mon, 06 Oct 2014 12:23:38 -0700 (PDT) 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 e5sm10579501oex.12.2014.10.06.12.23.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Oct 2014 12:23:37 -0700 (PDT) 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 s96JNPaJ003976; Mon, 6 Oct 2014 14:23:35 -0500 Received: (from cminyard@localhost) by t430.minyard.home (8.14.7/8.14.7/Submit) id s96JNFFg003287; Mon, 6 Oct 2014 14:23:15 -0500 From: minyard@acm.org To: linux-acpi@vger.kernel.org Cc: Linux Kernel , OpenIPMI Developers , Matthew Garrett , Corey Minyard Subject: [PATCH] Change ACPI IPMI support to "default y" Date: Mon, 6 Oct 2014 14:23:11 -0500 Message-Id: <1412623391-1923-1-git-send-email-minyard@acm.org> X-Mailer: git-send-email 1.8.3.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, URIBL_RHS_DOB autolearn=ham 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 Signed-off-by: Corey Minyard --- 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 d0f3265..21d384d 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -176,7 +176,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 db1c9b7..e0d688a 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