Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751493AbaDPQfh (ORCPT ); Wed, 16 Apr 2014 12:35:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10840 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751113AbaDPQff (ORCPT ); Wed, 16 Apr 2014 12:35:35 -0400 Message-ID: <1397666122.2719.6.camel@adam.happyassassin.net> Authentication-Results: mail.happyassassin.net; dmarc=none header.from=redhat.com Subject: Re: [PATCH 0/9] I2C ACPI operation region handler support From: Adam Williamson To: Lan Tianyu Cc: wsa@the-dreams.de, rjw@rjwysocki.net, lenb@kernel.org, mika.westerberg@linux.intel.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 16 Apr 2014 09:35:22 -0700 In-Reply-To: <1397654682-7094-1-git-send-email-tianyu.lan@intel.com> References: <1397654682-7094-1-git-send-email-tianyu.lan@intel.com> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2014-04-16 at 21:24 +0800, Lan Tianyu wrote: > 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. > > [PATCH 1/9] ACPICA: Executer: Fix buffer allocation issue for > [PATCH 2/9] ACPICA: Export acpi_buffer_to_resource symbol > [PATCH 3/9] ACPI: Add acpi_bus_attach_private_data() to facilitate to > [PATCH 4/9] ACPI/Thermal: Use acpi_bus_attach_private_data() to > [PATCH 5/9] I2C: Add smbus quick read/write helper function > [PATCH 6/9] I2C: Add smbus word/block process call helper function > [PATCH 7/9] I2C/ACPI: Add i2c ACPI operation region support > [PATCH 8/9] I2C/ACPI: Move ACPI related code to i2c-acpi.c > [PATCH 9/9] I2C/ACPI: Add CONFIG_I2C_ACPI config I've tested the version of these changes that's available as https://bugzilla.kernel.org/attachment.cgi?id=131321 on my Venue 8 Pro and found it gives apparently accurate battery stats (and doesn't seem to make anything else explode). I'll try this form of the change out today if I can. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/