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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1398695268-28645-1-git-send-email-tianyu.lan@intel.com>
Date:	Mon, 28 Apr 2014 22:27:39 +0800
From:	Lan Tianyu <tianyu.lan@...el.com>
To:	wsa@...-dreams.de, rjw@...ysocki.net,
	mika.westerberg@...ux.intel.com, awilliam@...hat.com,
	lenb@...nel.org
Cc:	linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-acpi@...r.kernel.org, tianyu.lan@...el.com
Subject: [Patch V2 0/9] I2C ACPI operation region handler support 

ACPI 5.0 spec(5.5.2.4.5) defines GenericSerialBus(i2c, spi, uart) operation
region. It allows ACPI aml code able to access such kind of devices to
implement some ACPI standard method.

On the Asus T100TA, Bios use GenericSerialBus operation region to access
i2c device to get battery info. So battery function depends on the I2C
operation region support. Here is the bug link.
https://bugzilla.kernel.org/show_bug.cgi?id=69011

This patchset is to add I2C ACPI operation region handler support.

Change Since V1:
       Fix some code style and memory leak issues in Patch 7

[Patch V2 1/9] ACPICA: Executer: Fix buffer allocation issue for
[Patch V2 2/9] ACPICA: Export acpi_buffer_to_resource symbol
[Patch V2 3/9] ACPI: Add acpi_bus_attach_private_data() to facilitate
[Patch V2 4/9] ACPI/Thermal: Use acpi_bus_attach_private_data() to
[Patch V2 5/9] I2C: Add smbus quick read/write helper function
[Patch V2 6/9] I2C: Add smbus word/block process call helper function
[Patch V2 7/9] I2C/ACPI: Add i2c ACPI operation region support
[Patch V2 8/9] I2C/ACPI: Move ACPI related code to i2c-acpi.c
[Patch V2 9/9] I2C/ACPI: Add CONFIG_I2C_ACPI config

 drivers/acpi/acpica/exfield.c  | 104 ++++++++++++++++++++++++++++++++++---
 drivers/acpi/acpica/rscreate.c |   1 +
 drivers/acpi/bus.c             |  18 ++++++-
 drivers/acpi/thermal.c         |   9 ++--
 drivers/i2c/Kconfig            |  17 ++++++-
 drivers/i2c/Makefile           |   5 +-
 drivers/i2c/i2c-acpi.c         | 384 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/i2c/i2c-core.c         | 183 ++++++++++++++++++++++++++++++++---------------------------------
 include/acpi/acpi_bus.h        |   1 +
 include/linux/acpi.h           |  11 ++++
 include/linux/i2c.h            |  18 +++++++
 11 files changed, 640 insertions(+), 111 deletions(-)
--
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