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

[Xen-devel] [PATCH 2] Add user PM control interface

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 2] Add user PM control interface
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Wed, 10 Dec 2008 16:46:16 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 10 Dec 2008 00:46:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aclao8OSTus1scSXTYasx2SslWBvpA==
Thread-topic: [Xen-devel] [PATCH 2] Add user PM control interface
Add user PM control interface

This patch provide user PM control interface.
Now it only implements cpufreq related interface.

User can use libxc to get cpufreq parameters:
1. common parameter independent on cpufreq governor
    affected_cpus;
    scaling_available_frequencies;
    scaling_available_governors;
    scaling_driver;
    cpuinfo_cur_freq;
    cpuinfo_max_freq;
    cpuinfo_min_freq;
    scaling_max_freq;
    scaling_min_freq;
    scaling_governor
2. parameters depend on specific governor:
    userspace governor: scaling_setspeed;
    ondemand governor:  sampling_rate_max;
                        sampling_rate_min;
                        sampling_rate;
                        up_threshold;

User can also set cpufreq control parameters:
1. common control parameters:
    scaling_governor;
    scaling_max_freq;
    scaling_min_freq;
2. control parameters depend on specific governor:
    userspace governor: scaling_setspeed;
    ondemand governor:  sampling_rate;
                        up_threshold;

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>

Attachment: px-2-control-interface.patch
Description: px-2-control-interface.patch

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