linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zhang Rui <rui.zhang@intel.com>
To: "Brown, Len" <lenb@kernel.org>
Cc: "linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"Zhang, Rui" <rui.zhang@intel.com>
Subject: [PATCH 0/4 V2] ACPI: procfs/sysfs/debugfs code cleanup
Date: Sat, 12 Jun 2010 15:45:05 +0800	[thread overview]
Message-ID: <1276328705.19052.17837.camel@rzhang1-desktop> (raw)


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


                 reply	other threads:[~2010-06-12  7:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1276328705.19052.17837.camel@rzhang1-desktop \
    --to=rui.zhang@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).