linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4 V2] ACPI: procfs/sysfs/debugfs code cleanup
@ 2010-06-12  7:45 Zhang Rui
  0 siblings, 0 replies; only message in thread
From: Zhang Rui @ 2010-06-12  7:45 UTC (permalink / raw)
  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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-12  7:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-12  7:45 [PATCH 0/4 V2] ACPI: procfs/sysfs/debugfs code cleanup Zhang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).