lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100709191825.GB8989@kroah.com>
Date:	Fri, 9 Jul 2010 12:18:25 -0700
From:	Greg KH <greg@...ah.com>
To:	Thomas Renninger <trenn@...e.de>
Cc:	lenb@...nel.org, linux-kernel@...r.kernel.org,
	linux-acpi@...r.kernel.org, platform-driver-x86@...r.kernel.org,
	astarikovskiy@...e.de, Bjorn Helgaas <bjorn.helgaas@...com>
Subject: Re: [PATCH 1/6] ACPI: Provide /sys/devices/system/ec/

On Thu, Jul 01, 2010 at 05:02:45PM +0200, Thomas Renninger wrote:
> This patch provides the same information through sysfs, which previously was
> provided through /proc/acpi/embedded_controller/*/info
> 
> Signed-off-by: Thomas Renninger <trenn@...e.de>
> 
> CC: Alexey Starikovskiy <astarikovskiy@...e.de>
> CC: Len Brown <lenb@...nel.org>
> CC: linux-kernel@...r.kernel.org
> CC: linux-acpi@...r.kernel.org
> CC: Bjorn Helgaas <bjorn.helgaas@...com>
> CC: platform-driver-x86@...r.kernel.org
> 
> Index: linux-2.6.34-master/drivers/acpi/Kconfig
> ===================================================================
> ---
>  drivers/acpi/Kconfig    |   13 +++++++
>  drivers/acpi/Makefile   |    1 +
>  drivers/acpi/ec.c       |   18 +++-------
>  drivers/acpi/ec_sys.c   |   92 +++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/acpi/internal.h |   24 ++++++++++++
>  5 files changed, 135 insertions(+), 13 deletions(-)
>  create mode 100644 drivers/acpi/ec_sys.c
> 
> diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
> index 7464115..f13708a 100644
> --- a/drivers/acpi/Kconfig
> +++ b/drivers/acpi/Kconfig
> @@ -104,6 +104,19 @@ config ACPI_SYSFS_POWER
>  	help
>  	  Say N to disable power /sys interface
>  
> +config ACPI_EC_SYSFS
> +	tristate "EC read/write access through sysfs"

As you are adding new sysfs files, please document them in
Documentation/ABI/

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ