From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhang Rui Subject: [PATCH 0/4 V2] ACPI: procfs/sysfs/debugfs code cleanup Date: Sat, 12 Jun 2010 15:45:05 +0800 Message-ID: <1276328705.19052.17837.camel@rzhang1-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com ([134.134.136.20]:41000 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752869Ab0FLHoz (ORCPT ); Sat, 12 Jun 2010 03:44:55 -0400 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Brown, Len" Cc: "linux-acpi@vger.kernel.org" , "Zhang, Rui" This patch set mainly cleans up the ACPI procfs/sysfs/debugfs code. 1. removes the deprecated ACPI procfs I/F, including /proc/acpi/debug_layer /proc/acpi/debug_level /proc/acpi/info /proc/acpi/dsdt /proc/acpi/fadt because the sysfs I/F has been working for years w/o any problems. 2. introduce drivers/acpi/sysfs.c, code for ACPI sysfs I/F, including /sys/module/acpi/parameters/debug_layer, /sys/module/acpi/parameters/debug_level, /sys/module/acpi/parameters/trace_method_name /sys/module/acpi/parameters/trace_debug_layer /sys/module/acpi/parameters/trace_debug_level /sys/module/acpi/parameters/trace_state /sys/module/acpi/parameters/acpica_version, /sys/firmware/acpi/interrupts/*, /sys/firmware/acpi/tables/*, is moved to this file. 3. introduce drivers/acpi/debugfs.c, code for ACPI debugfs I/F, i.e. /sys/kernel/debug/acpi/custom_method, is moved to this file. And also make the ACPI debugfs I/F always built in, even when CONFIG_ACPI_DEBUG is cleared. 4. introduce module parameter acpi.aml_debug, which is an enhancement of the runtime custom method overriding mechanism. any comments are welcome. thanks, rui