Re: [PATCH 0/9] ACPI: debugfs/sysfs/procfs cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forget to mention, all these patches are based on ACPI test tree.

thanks,
rui

On Thu, 2010-07-15 at 10:46 +0800, Zhang Rui wrote:
> This patch set mainly cleans up the ACPI procfs/sysfs/debugfs code.
> 
> Patch 01 introduces 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.
> 
> Patch 02 introduces module parameter acpi.aml_debug_output, so that
>          we can get the ACPI Debug Object output even with
>          CONFIG_ACPI_DEBUG cleared.         
> 
> Patch 03 introduces 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.
> 
> Patch 04 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
>          /proc/acpi/sleep
>          because the sysfs I/F has been working well for years.
> 
> Patch 05, 06 and 07 remove the deprecated procfs I/F for ACPI
>          processor, power_resource and EC driver.
> 
> Patch 08 make the ACPI video procfs I/F depends on CONFIG_ACPI_PROCFS,
>          because we already have the sysfs I/F for backlight control,
>          and the other procfs I/F of this driver is not used by anyone.
> 
> Patch 09 make the ACPI thermal procfs I/F depends on CONFIG_ACPI_PROCFS
>          because the sysfs I/F, i.e. /sys/class/thermal, is available now.
> 
> Generally speaking, this patch set does the following things,
> 1. introduce new files for ACPI sysfs/debugfs I/F.
> 2. remove the deprecate ACPI procfs I/F.
> 3. make other ACPI procfs I/F that already has sysfs duplicate configurable,
>    so that we can remove them in the near future.
> 
> any comments are welcome.
> 
> thanks,
> rui
> 
> 
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux