Re: [PATCH 0/6] cpuidle : per cpu latencies

2012-09-17 Thread Daniel Lezcano
On 09/08/2012 12:17 AM, Rafael J. Wysocki wrote: On Friday, September 07, 2012, Daniel Lezcano wrote: Since commit 46bcfad7a819bd17ac4e831b04405152d59784ab, cpuidle: Single/Global registration of idle states we have a single registration for the cpuidle states which makes sense. But

Re: fastmodel run over ubuntu 64bit machine

2012-09-17 Thread Dave Pigott
Hi Lei, I'm copying Andy Doan directly on this, since he's had more experience of getting FM working in LAVA and can probably point you in the right direction. Thanks Dave On 14 Sep 2012, at 14:35, Lei Wen wrote: Hi Dave, On Fri, Sep 14, 2012 at 3:58 PM, Dave Pigott

Re: [PATCH v4 12/24] xen/arm: introduce CONFIG_XEN on ARM

2012-09-17 Thread Sergei Shtylyov
Hello. On 09/14/2012 03:13 PM, Stefano Stabellini wrote: Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/Kconfig | 10 ++ 1

[GIT PULL]: big LITTLE MP v8

2012-09-17 Thread Viresh Kumar
Hi Andrey, This is PULL request for big LITTLE MP v8 branch: Major updates are: - Based on v3.6-rc5 - new branch from Paulm: rcu-hotplug-v1, vincent: scheduler-misc-v1 and sudeepk arm-multi_pmu_v1 - new version of patches from Morten: task-placement-v2 - config fragment updated

Re: [PATCH v2 3/3] devfreq: Add current freq callback in device profile

2012-09-17 Thread MyungJoo Ham
From: Rajagopal Venkat rajagopal.ven...@linaro.org Devfreq returns governor predicted frequency as current frequency via sysfs interface. But device may not support all frequencies that governor predicts. So add a callback in device profile to get current freq from driver. Also add a new

Re: [PATCH v4 12/24] xen/arm: introduce CONFIG_XEN on ARM

2012-09-17 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Sergei Shtylyov wrote: Hello. On 09/14/2012 03:13 PM, Stefano Stabellini wrote: Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk

Re: [PATCH v4 10/24] xen/arm: compile and run xenbus

2012-09-17 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: On Fri, Sep 14, 2012 at 12:13:12PM +0100, Stefano Stabellini wrote: bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an error. If Linux is running as an HVM domain and is running as Dom0, use xenstored_local_init

Re: Re: [PATCH 1/3] devfreq: core updates to support devices which can idle

2012-09-17 Thread MyungJoo Ham
On 10 September 2012 14:43, 함명주 myungjoo@samsung.com wrote: Prepare devfreq core framework to support devices which can idle. When device idleness is detected perhaps through runtime-pm, need some mechanism to suspend devfreq load monitoring and resume back when device is online.

Re: [PATCH v4 12/24] xen/arm: introduce CONFIG_XEN on ARM

2012-09-17 Thread Sergei Shtylyov
Hello. On 17-09-2012 14:57, Stefano Stabellini wrote: Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/Kconfig | 10 ++ 1

Re: [PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-17 Thread Rob Herring
On 09/14/2012 09:26 AM, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: On Fri, Sep 14, 2012 at 12:13:08PM +0100, Stefano Stabellini wrote: Add a doc to describe the Xen ARM device tree bindings Changes in v4: - xen,xen should be last as it is less specific; -

Re: [PATCH v4 10/24] xen/arm: compile and run xenbus

2012-09-17 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 12:13:12PM +0100, Stefano Stabellini wrote: bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an error. If Linux is running as an HVM domain and is running as Dom0, use xenstored_local_init to initialize the xenstore page and event channel.

Re: [PATCH v4 10/24] xen/arm: compile and run xenbus

2012-09-17 Thread Stefano Stabellini
On Mon, 17 Sep 2012, Konrad Rzeszutek Wilk wrote: On Fri, Sep 14, 2012 at 12:13:12PM +0100, Stefano Stabellini wrote: bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an error. If Linux is running as an HVM domain and is running as Dom0, use xenstored_local_init

Re: [PATCH v4 12/24] xen/arm: introduce CONFIG_XEN on ARM

2012-09-17 Thread Stefano Stabellini
On Mon, 17 Sep 2012, Sergei Shtylyov wrote: Hello. On 17-09-2012 14:57, Stefano Stabellini wrote: Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk

Re: [PATCH v4 10/24] xen/arm: compile and run xenbus

2012-09-17 Thread Konrad Rzeszutek Wilk
On Mon, Sep 17, 2012 at 12:05:59PM +0100, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: On Fri, Sep 14, 2012 at 12:13:12PM +0100, Stefano Stabellini wrote: bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an error. If Linux is

Re: [PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-17 Thread Stefano Stabellini
On Mon, 17 Sep 2012, Rob Herring wrote: On 09/14/2012 09:26 AM, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Konrad Rzeszutek Wilk wrote: On Fri, Sep 14, 2012 at 12:13:08PM +0100, Stefano Stabellini wrote: Add a doc to describe the Xen ARM device tree bindings Changes in v4: -

Re: [PATCH v4 12/24] xen/arm: introduce CONFIG_XEN on ARM

2012-09-17 Thread Konrad Rzeszutek Wilk
On Mon, Sep 17, 2012 at 04:07:37PM +0400, Sergei Shtylyov wrote: Hello. On 17-09-2012 14:57, Stefano Stabellini wrote: Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk

Re: [PATCH v4 12/24] xen/arm: introduce CONFIG_XEN on ARM

2012-09-17 Thread Stefano Stabellini
On Mon, 17 Sep 2012, Konrad Rzeszutek Wilk wrote: On Mon, Sep 17, 2012 at 04:07:37PM +0400, Sergei Shtylyov wrote: Hello. On 17-09-2012 14:57, Stefano Stabellini wrote: Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini

Re: [PATCH v4 10/24] xen/arm: compile and run xenbus

2012-09-17 Thread Konrad Rzeszutek Wilk
On Mon, Sep 17, 2012 at 02:45:00PM +0100, Stefano Stabellini wrote: On Mon, 17 Sep 2012, Konrad Rzeszutek Wilk wrote: On Fri, Sep 14, 2012 at 12:13:12PM +0100, Stefano Stabellini wrote: bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an error. If Linux is

Re: [PATCH v4 12/24] xen/arm: introduce CONFIG_XEN on ARM

2012-09-17 Thread Stefano Stabellini
On Mon, 17 Sep 2012, Stefano Stabellini wrote: On Mon, 17 Sep 2012, Sergei Shtylyov wrote: Hello. On 17-09-2012 14:57, Stefano Stabellini wrote: Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini

[Powertop][PATCH 2/2] Add stubs to support Android platform

2012-09-17 Thread Rajagopal Venkat
This patch adds stubs for features that are not supported by Andriod. An header file which defines all stubs is included only for Android builds. Signed-off-by: Rajagopal Venkat rajagopal.ven...@linaro.org --- Android.mk | 33 +++-- src/android_stubs.h |

[Powertop][PATCH 1/2] Updates to support Android platform

2012-09-17 Thread Rajagopal Venkat
This patch adds following minor changes to prepare powertop to support Android platform. - add missing HAVE_CONFIG_H conditional check. - remove un-used ethtool_cmd_speed_set and ethtool_cmd_speed functions. - minimize dependency on exception handling in catch blocks. These changes will not

Re: [GIT PULL]: big LITTLE MP v8

2012-09-17 Thread Jon Medhurst (Tixy)
On Mon, 2012-09-17 at 15:19 +0530, Viresh Kumar wrote: Hi Andrey, This is PULL request for big LITTLE MP v8 branch: Major updates are: - Based on v3.6-rc5 - new branch from Paulm: rcu-hotplug-v1, vincent: scheduler-misc-v1 and sudeepk arm-multi_pmu_v1 - new version of patches

General Invite Letter for Connect

2012-09-17 Thread Zach Pfeffer
Hey everyone, I'm sending out general invites based on this for anyone who's looking for something to use or modify: Howdy y’all! This is Zach on the Linaro Android team with an invitation to our upcoming Linaro Connect event. Tired of carrying changes around on your internal trees? Looking to

[PATCH v5 00/17] Introduce Xen support on ARM (based on 3.6-rc5)

2012-09-17 Thread Stefano Stabellini
Hi all, this patch series implements Xen support for ARMv7 with virtualization extensions. It allows a Linux guest to boot as dom0 and as domU on Xen on ARM. PV console, disk and network frontends and backends are all working correctly. It has been tested on a Versatile Express Cortex A15

[PATCH v5 06/17] docs: Xen ARM DT bindings

2012-09-17 Thread Stefano Stabellini
Add a doc to describe the Xen ARM device tree bindings Changes in v5: - add a comment about the size of the grant table memory region; - add a comment about the required presence of a GIC node; - specify that the described properties are part of a top-level hypervisor node; - specify

[PATCH v5 05/17] xen/arm: empty implementation of grant_table arch specific functions

2012-09-17 Thread Stefano Stabellini
Changes in v2: - return -ENOSYS rather than -1. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/xen/Makefile |2 +- arch/arm/xen/grant-table.c | 53 2

[PATCH v5 07/17] xen/arm: Xen detection and shared_info page mapping

2012-09-17 Thread Stefano Stabellini
Check for a node in the device tree compatible with xen,xen, if it is present set xen_domain_type to XEN_HVM_DOMAIN and continue initialization. Map the real shared info page using XENMEM_add_to_physmap with XENMAPSPACE_shared_info. Changes in v4: - simpler parsing of Xen version in the

[PATCH v5 04/17] xen/arm: sync_bitops

2012-09-17 Thread Stefano Stabellini
sync_bitops functions are equivalent to the SMP implementation of the original functions, independently from CONFIG_SMP being defined. We need them because _set_bit etc are not SMP safe if !CONFIG_SMP. But under Xen you might be communicating with a completely external entity who might be on

[PATCH v5 02/17] xen/arm: hypercalls

2012-09-17 Thread Stefano Stabellini
Use r12 to pass the hypercall number to the hypervisor. We need a register to pass the hypercall number because we might not know it at compile time and HVC only takes an immediate argument. Among the available registers r12 seems to be the best choice because it is defined as intra-procedure

[PATCH v5 03/17] xen/arm: page.h definitions

2012-09-17 Thread Stefano Stabellini
ARM Xen guests always use paging in hardware, like PV on HVM guests in the X86 world. Changes in v3: - improve comments. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/include/asm/xen/page.h | 82

[PATCH v5 01/17] arm: initial Xen support

2012-09-17 Thread Stefano Stabellini
- Basic hypervisor.h and interface.h definitions. - Skeleton enlighten.c, set xen_start_info to an empty struct. - Make xen_initial_domain dependent on the SIF_PRIVILIGED_BIT. The new code only compiles when CONFIG_XEN is set, that is going to be added to arch/arm/Kconfig in patch #11 xen/arm:

[PATCH v5 09/17] xen: do not compile manage, balloon, pci, acpi, pcpu and cpu_hotplug on ARM

2012-09-17 Thread Stefano Stabellini
Changes in v4: - compile pcpu only on x86; - use += instead of := for dom0- targets. Changes in v2: - make pci.o depend on CONFIG_PCI and acpi.o depend on CONFIG_ACPI. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com ---

[PATCH v5 10/17] xen/arm: introduce CONFIG_XEN on ARM

2012-09-17 Thread Stefano Stabellini
Changes in v5: - make XEN_DOM0 depend on XEN; - avoid select XEN_DOM0 in XEN. Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: Sergei Shtylyov sshtyl...@mvista.com --- arch/arm/Kconfig | 10 ++ 1

[PATCH v5 08/17] xen/arm: Introduce xen_ulong_t for unsigned long

2012-09-17 Thread Stefano Stabellini
All the original Xen headers have xen_ulong_t as unsigned long type, however when they have been imported in Linux, xen_ulong_t has been replaced with unsigned long. That might work for x86 and ia64 but it does not for arm. Bring back xen_ulong_t and let each architecture define xen_ulong_t as

[PATCH v5 16/17] xen/arm: compile netback

2012-09-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/include/asm/xen/hypercall.h | 19 +++ drivers/net/xen-netback/netback.c|1 + drivers/net/xen-netfront.c |1 + 3 files

[PATCH v5 12/17] xen/arm: initialize grant_table on ARM

2012-09-17 Thread Stefano Stabellini
Initialize the grant table mapping at the address specified at index 0 in the DT under the /xen node. After the grant table is initialized, call xenbus_probe (if not dom0). Changes in v2: - introduce GRANT_TABLE_PHYSADDR; - remove unneeded initialization of boot_max_nr_grant_frames.

[PATCH v5 14/17] xen/arm: implement alloc/free_xenballooned_pages with alloc_pages/kfree

2012-09-17 Thread Stefano Stabellini
Only until we get the balloon driver to work. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/xen/enlighten.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git

[PATCH v5 11/17] xen/arm: get privilege status

2012-09-17 Thread Stefano Stabellini
Use Xen features to figure out if we are privileged. XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/xen/enlighten.c |7 +++

[PATCH v5 15/17] xen/arm: compile blkfront and blkback

2012-09-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/block/xen-blkback/blkback.c |1 + include/xen/interface/io/protocols.h |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH v5 17/17] MAINTAINERS: add myself as Xen ARM maintainer

2012-09-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: Arnd Bergmann a...@arndb.de --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fdc0119..3d38291

[PATCH v5 13/17] xen/arm: receive Xen events on ARM

2012-09-17 Thread Stefano Stabellini
Compile events.c on ARM. Parse, map and enable the IRQ to get event notifications from the device tree (node /xen). Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/include/asm/xen/events.h | 18

Re: [GIT PULL]: big LITTLE MP v8

2012-09-17 Thread Andrey Konovalov
Hi Viresh, On 09/17/2012 01:49 PM, Viresh Kumar wrote: Hi Andrey, This is PULL request for big LITTLE MP v8 branch: Merged into linux-linaro-core-tracking, the tag is llct-20120917.0. Thanks, Andrey Major updates are: - Based on v3.6-rc5 - new branch from Paulm: rcu-hotplug-v1,

Re: [PATCH v2 3/3] devfreq: Add current freq callback in device profile

2012-09-17 Thread Rafael J. Wysocki
On Monday, September 17, 2012, MyungJoo Ham wrote: From: Rajagopal Venkat rajagopal.ven...@linaro.org Devfreq returns governor predicted frequency as current frequency via sysfs interface. But device may not support all frequencies that governor predicts. So add a callback in device

Re: [PATCH 0/6] cpuidle : per cpu latencies

2012-09-17 Thread Rafael J. Wysocki
On Monday, September 17, 2012, Daniel Lezcano wrote: On 09/08/2012 12:17 AM, Rafael J. Wysocki wrote: On Friday, September 07, 2012, Daniel Lezcano wrote: Since commit 46bcfad7a819bd17ac4e831b04405152d59784ab, cpuidle: Single/Global registration of idle states we have a single

Re: [PATCH 0/6] cpuidle : per cpu latencies

2012-09-17 Thread Daniel Lezcano
On 09/17/2012 10:50 PM, Rafael J. Wysocki wrote: On Monday, September 17, 2012, Daniel Lezcano wrote: On 09/08/2012 12:17 AM, Rafael J. Wysocki wrote: On Friday, September 07, 2012, Daniel Lezcano wrote: Since commit 46bcfad7a819bd17ac4e831b04405152d59784ab, cpuidle: Single/Global

Re: [PATCH v5 06/17] docs: Xen ARM DT bindings

2012-09-17 Thread Rob Herring
On 09/17/2012 12:38 PM, Stefano Stabellini wrote: Add a doc to describe the Xen ARM device tree bindings Changes in v5: - add a comment about the size of the grant table memory region; - add a comment about the required presence of a GIC node; - specify that the described properties are

Re: Re: [PATCH 1/3] devfreq: core updates to support devices which can idle

2012-09-17 Thread Rajagopal Venkat
On 17 September 2012 17:46, MyungJoo Ham myungjoo@samsung.com wrote: On 10 September 2012 14:43, 함명주 myungjoo@samsung.com wrote: Prepare devfreq core framework to support devices which can idle. When device idleness is detected perhaps through runtime-pm, need some mechanism to

Re: Re: Re: [PATCH 1/3] devfreq: core updates to support devices which can idle

2012-09-17 Thread MyungJoo Ham
Sender : Rajagopal Venkatrajagopal.ven...@linaro.org Date : 2012-09-18 14:20 (GMT+09:00) Title : Re: Re: [PATCH 1/3] devfreq: core updates to support devices which can idle On 17 September 2012 17:46, MyungJoo Ham wrote: On 10 September 2012 14:43, 함명주 wrote: Prepare devfreq core