From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752921AbcG2Pte (ORCPT ); Fri, 29 Jul 2016 11:49:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40000 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751531AbcG2Ptd (ORCPT ); Fri, 29 Jul 2016 11:49:33 -0400 From: Benjamin Tissoires To: Stephen Just , Robert Moore , Lv Zheng , "Rafael J. Wysocki" , Len Brown , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse Cc: linux-acpi@vger.kernel.org, devel@acpica.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] Add support for Microsoft Surface 3 power Date: Fri, 29 Jul 2016 17:49:24 +0200 Message-Id: <1469807366-24642-1-git-send-email-benjamin.tissoires@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 29 Jul 2016 15:49:32 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, The MS Surface 3 is a reduced platform which doesn't use a regular chip to report the battery information. Instead, they use ACPI Operation Region to do the processing in the MSHW0011 driver. This series aims at adding a reverse-engineered driver. I am not sure whether the ACPICA patch is required because of a bug in the ACPICA parsing or if MS just screwed up the DSDT. Anyway, it's there and was judged as acceptable while we find out the exact issue (in https://bugzilla.kernel.org/show_bug.cgi?id=106231 ) Cheers, Benjamin Benjamin Tissoires (2): ACPICA: adapt buffer length for Field Attrib Raw Process in Ops Region power: surface3_power: MSHW0011 rev-eng implementation drivers/acpi/acpica/exfield.c | 11 + drivers/power/Kconfig | 8 + drivers/power/Makefile | 1 + drivers/power/surface3_power.c | 724 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 744 insertions(+) create mode 100644 drivers/power/surface3_power.c -- 2.5.5