WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [xen-devel][PATCH] Battery Management

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [xen-devel][PATCH] Battery Management
From: "Kamala Narasimhan" <Kamala.Narasimhan@xxxxxxxxxx>
Date: Tue, 14 Oct 2008 10:49:28 -0400
Cc:
Delivery-date: Tue, 14 Oct 2008 07:50:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D8078B8B3B09934AA9F8F2D5FB3F28CE08A3CEFD16@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <0519110A9448BC429B231AD118D7270805A2FE20@xxxxxxxxxxxxxxxxxxxxxx><D8078B8B3B09934AA9F8F2D5FB3F28CE08A3CEFD0A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <D8078B8B3B09934AA9F8F2D5FB3F28CE08A3CEFD16@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcktnWeVAB6gk6+1Q5i+o6SjyoeAKgAFm+HgAAmWLRAAC9XWoA==
Thread-topic: [xen-devel][PATCH] Battery Management
There isn't a whole range of VT-x enabled laptops I could get my hands
on to better answer your question.  However, given the current battery
firmware implementation trend, the pass-through mode is likely to work
on laptops that uses CMBattery interface.  The goal was to attempt to
put the base vACPI implementation that can be fine tuned as we go along
to better support a whole range of VT-x enabled laptops shipped in
future.  That said, I have tested pass-through mode on the hardware I
could get hold of (that uses CMBattery interface) and seen it work.

Thanks,
Kamala

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Tian, Kevin
> Sent: Tuesday, October 14, 2008 4:57 AM
> To: Tian, Kevin; Kamala Narasimhan; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [xen-devel][PATCH] Battery Management
> 
> Sorry that I didn't read your patch carefully which describes
> the purpose clearly. Just one question is, how confident are
> you for the commonality of 'underlying firmware' you borrowed,
> regarding port address, and port funcion? If moving to a
> different battery sub-system, does it still appy to or you need
> hard-code new set of interface into vACPI? :-)
> 
> Thanks,
> Kevin
> 
> >From:Tian, Kevin
> >Sent: Tuesday, October 14, 2008 12:25 PM
> >
> >>From: Kamala Narasimhan
> >>Sent: Tuesday, October 14, 2008 9:37 AM
> >>
> >>Attached is the initial battery management patch.  This patch
> >>covers the
> >>virtual firmware and tool stack changes and will be followed by a
qemu
> >>patch and a xen power management daemon patch.
> >>
> >>Signed-off-by: Kamala Narasimhan <kamala.narasimhan@xxxxxxxxxx>
> >>
> >
> >I'm not sure whether I fully understand "pass-through" mode and
> >"non pass-through" mode. I guess "pass-through" mode means
> >exposing real battery to HVM, while "non pass-through" mode
> >contructs a virtual battery (as in your current patch) and then let
> >another xen specific daemon to convert virtual battery ops into
> >real ones. If I understand correctly, your current implementation
> >only targets for "non pass-through" mode. Then do you plan to
> >support the other, which is more difficult as you may need merge
> >part of real ACPI table with virtual ones...
> >
> >Thanks,
> >Kevin
> >
> >_______________________________________________
> >Xen-devel mailing list
> >Xen-devel@xxxxxxxxxxxxxxxxxxx
> >http://lists.xensource.com/xen-devel
> >
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel