Re: [PATCH 0/2] ST-Ericsson dbx500 thermal driver

2012-08-16 Thread Hongbo Zhang
Hi all, Add more people into list, and add more information: 1. This driver also depends on the Amit Daniel Kachhap's generic cpu cooling driver besides the two dependencies mentioned. 2. Has been internally reviewed by Linux Walleij, Vincent, Rajagopal, Lee Jones. 3. This driver works on

Re: [PATCH 1/2] Thermal: Move struct thermal_cooling_device_instance to thermal.h

2012-08-16 Thread Hongbo Zhang
Add more people into list. On 10 August 2012 19:20, hongbo.zhang hongbo.zh...@linaro.org wrote: From: hongbo.zhang hongbo.zh...@linaro.com A thermal driver may need to walk through the cooling devices binded to itself, which are listed in cooling_devices of thermal_zone_device, and this

Re: New fast models device-tree topic for linux-linaro

2012-08-16 Thread Jon Medhurst (Tixy)
On Wed, 2012-08-15 at 18:55 +0100, Dave Martin wrote: On Wed, Aug 15, 2012 at 05:47:19PM +0100, Jon Medhurst (Tixy) wrote: However, on the big.LITLE models the A7 cores don't start, giving Failed to boot -38. Does that bootwrapper do anything to bring the A7s out of reset? I think by

Re: New fast models device-tree topic for linux-linaro

2012-08-16 Thread Tushar Behera
On 08/16/2012 08:24 AM, Tushar Behera wrote: On 08/16/2012 12:55 AM, Andrey Konovalov wrote: On 08/15/2012 08:47 PM, Jon Medhurst (Tixy) wrote: Hi Andrey Can you include a new topic to linux-linaro which contains device-tree files for ARM's fast models? This branch is tracking-armlt-rtsm [1]

[PATCH v3 00/23] Introduce Xen support on ARM

2012-08-16 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 v3 06/25] docs: Xen ARM DT bindings

2012-08-16 Thread Stefano Stabellini
Add a doc to describe the Xen ARM device tree bindings Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: devicetree-disc...@lists.ozlabs.org CC: David Vrabel david.vra...@citrix.com --- Documentation/devicetree/bindings/arm/xen.txt | 22 ++ 1 files

[PATCH v3 07/25] xen/arm: Xen detection and shared_info page mapping

2012-08-16 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 v3: - use the xen,xen notation rather than arm,xen;

[PATCH v3 05/25] xen/arm: empty implementation of grant_table arch specific functions

2012-08-16 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 v3 08/25] xen/arm: Introduce xen_pfn_t for pfn and mfn types

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

[PATCH v3 02/25] xen/arm: hypercalls

2012-08-16 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 v3 03/25] xen/arm: page.h definitions

2012-08-16 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 v3 09/25] xen/arm: Introduce xen_ulong_t for unsigned long

2012-08-16 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 v3 04/25] xen/arm: sync_bitops

2012-08-16 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 v3 25/25] [HACK] xen/arm: implement xen_remap_domain_mfn_range

2012-08-16 Thread Stefano Stabellini
From: Ian Campbell ian.campb...@citrix.com Do not apply! This is a simple, hacky implementation of xen_remap_domain_mfn_range, using XENMAPSPACE_gmfn_foreign. It should use same interface as hybrid x86. Changes in v2: - retain binary compatibility in xen_add_to_physmap: use a union. Changes

[PATCH v3 20/25] xen/arm: compile netback

2012-08-16 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 v3 14/25] xen/arm: initialize grant_table on ARM

2012-08-16 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 v3 16/25] xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST

2012-08-16 Thread Stefano Stabellini
Reset the IRQ_NOAUTOEN and IRQ_NOREQUEST flags that are enabled by default on ARM. If IRQ_NOAUTOEN is set, __setup_irq doesn't call irq_startup, that is responsible for calling irq_unmask at startup time. As a result event channels remain masked. Signed-off-by: Stefano Stabellini

[PATCH v3 11/25] xen: do not compile manage, balloon, pci, acpi and cpu_hotplug on ARM

2012-08-16 Thread Stefano Stabellini
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 --- drivers/xen/Makefile | 11 --- 1 files changed, 8 insertions(+), 3

[PATCH v3 24/25] xen: update xen_add_to_physmap interface

2012-08-16 Thread Stefano Stabellini
Update struct xen_add_to_physmap to be in sync with Xen's version of the structure. The size field was introduced by: changeset: 24164:707d27fe03e7 user:Jean Guyader jean.guya...@eu.citrix.com date:Fri Nov 18 13:42:08 2011 + summary: mm: New XENMEM space,

[PATCH v3 22/25] xen/arm: use the __HVC macro

2012-08-16 Thread Stefano Stabellini
Note: This patch depends on Dave Martin's patch series ARM: opcodes: Facilitate custom opcode injection. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: Dave Martin dave.mar...@linaro.org --- arch/arm/xen/hypercall.S | 14 +- 1 files changed, 5 insertions(+),

[PATCH v3 18/25] xen: allow privcmd for HVM guests

2012-08-16 Thread Stefano Stabellini
This patch removes the return -ENOSYS for auto_translated_physmap guests from privcmd_mmap, thus it allows ARM guests to issue privcmd mmap calls. However privcmd mmap calls are still going to fail for HVM and hybrid guests on x86 because the xen_remap_domain_mfn_range implementation is currently

[PATCH v3 23/25] xen: missing includes

2012-08-16 Thread Stefano Stabellini
Note: this patch should be already in Konrad's tree, it is here just for convenience. Changes in v3: - add missing pvclock-abi.h include to ia64 header files. Changes in v2: - remove pvclock hack; - remove include linux/types.h from xen/interface/xen.h. Signed-off-by: Stefano Stabellini

[PATCH v3 17/25] xen/arm: implement alloc/free_xenballooned_pages with alloc_pages/kfree

2012-08-16 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 v3 19/25] xen/arm: compile blkfront and blkback

2012-08-16 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 v3 21/25] arm/v2m: initialize arch_timers even if v2m_timer is not present

2012-08-16 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: Russell King li...@arm.linux.org.uk --- arch/arm/mach-vexpress/v2m.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index

[PATCH v3 15/25] xen/arm: receive Xen events on ARM

2012-08-16 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 --- arch/arm/include/asm/xen/events.h | 18 ++ arch/arm/xen/enlighten.c | 33

[PATCH v3 12/25] xen/arm: introduce CONFIG_XEN on ARM

2012-08-16 Thread Stefano Stabellini
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 files changed, 10 insertions(+), 0 deletions(-) diff --git

[PATCH v3 13/25] xen/arm: get privilege status

2012-08-16 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 +++

Re: TI LT Android for Panda board and perf

2012-08-16 Thread Dmitry Antipov
On 08/15/2012 06:56 PM, Shubhrajyoti wrote: How can I build perf myself? I tried cross compiling but failed...:-( what are the steps? Cross-compiling is tricky because perf requires a lot of libraries. I do it natively, using Ubuntu developer image. Also note that perf can't be compiled

Re: New fast models device-tree topic for linux-linaro

2012-08-16 Thread Jon Medhurst (Tixy)
On Wed, 2012-08-15 at 18:55 +0100, Dave Martin wrote: On Wed, Aug 15, 2012 at 05:47:19PM +0100, Jon Medhurst (Tixy) wrote: Hi Andrey Can you include a new topic to linux-linaro which contains device-tree files for ARM's fast models? This branch is tracking-armlt-rtsm [1] in the ARM LT

handy script: editing uinitrd file

2012-08-16 Thread Andy Doan
I've seen questions in the past about how to make quick changes to a uInitrd file. I hit the need to make a few changes today, and wrote a quick script others might find useful: http://people.linaro.org/~doanac/uinitrd.py Basically it extracts things to a temp directory, drops you into a

Change in floating point performance across kernels

2012-08-16 Thread Michael Hope
Hi there. I'm seeing a huge improvement in the SPEC floating point benchmarks between a hacked Ubuntu Precise 3.2.14 kernel and Linus 3.5. Does anyone know why off the top of their head? I see the same on a PandaBoard and PandaBoard ES. In both cases the CPU is locked to 1 GHz and other power

Re: [GIT PULL] bit-LITTLE-MP-v5

2012-08-16 Thread Viresh Kumar
On 15 August 2012 00:16, Andrey Konovalov andrey.konova...@linaro.orgwrote: Great! big-LITTLE-MP-v5 (together with the updated multiplatform topic) has been merged into linux-linaro-core-tracking tree. The tag is llct-20120814.0. Hi Andrey, There are few patches that are required to be part