Re: [PATCH RESEND] xen/arm: use the __HVC macro

2012-11-05 Thread Dave Martin
On Wed, Oct 24, 2012 at 04:26:08PM +0100, Stefano Stabellini wrote:
> Use the new __HVC macro in hypercall.S.
> 
> Signed-off-by: Stefano Stabellini 

This is correct usage of the __HVC() macro, so

Acked-by: Dave Martin 

> ---
>  arch/arm/xen/hypercall.S |   14 +-
>  1 files changed, 5 insertions(+), 9 deletions(-)
> 
> diff --git a/arch/arm/xen/hypercall.S b/arch/arm/xen/hypercall.S
> index 074f5ed..71f7239 100644
> --- a/arch/arm/xen/hypercall.S
> +++ b/arch/arm/xen/hypercall.S
> @@ -48,20 +48,16 @@
>  
>  #include 
>  #include 
> +#include 
>  #include 
>  
>  
> -/* HVC 0xEA1 */
> -#ifdef CONFIG_THUMB2_KERNEL
> -#define xen_hvc .word 0xf7e08ea1
> -#else
> -#define xen_hvc .word 0xe140ea71
> -#endif
> +#define XEN_IMM 0xEA1
>  
>  #define HYPERCALL_SIMPLE(hypercall)  \
>  ENTRY(HYPERVISOR_##hypercall)\
>   mov r12, #__HYPERVISOR_##hypercall; \
> - xen_hvc;\
> + __HVC(XEN_IMM); \
>   mov pc, lr; \
>  ENDPROC(HYPERVISOR_##hypercall)
>  
> @@ -76,7 +72,7 @@ ENTRY(HYPERVISOR_##hypercall)   \
>   stmdb sp!, {r4} \
>   ldr r4, [sp, #4]\
>   mov r12, #__HYPERVISOR_##hypercall; \
> - xen_hvc \
> + __HVC(XEN_IMM); \
>   ldm sp!, {r4}   \
>   mov pc, lr  \
>  ENDPROC(HYPERVISOR_##hypercall)
> @@ -100,7 +96,7 @@ ENTRY(privcmd_call)
>   mov r2, r3
>   ldr r3, [sp, #8]
>   ldr r4, [sp, #4]
> - xen_hvc
> + __HVC(XEN_IMM)
>   ldm sp!, {r4}
>   mov pc, lr
>  ENDPROC(privcmd_call);
> -- 
> 1.7.2.5

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


New Gator version

2012-11-05 Thread Jon Medhurst (Tixy)
Hi Andrey

Two weeks ago ARM released a new version of Developer Studio 5 (v5.12)
which as usual included a new version of the Streamline plugin and the
corresponding new versions of the Gator daemon and module which run on
the target device.

I have updated my tracking branch which is pulled into
linux-linaro-core-tracking so Linaro's Linux 3.7 kernels will get this
new Gator version. However, I suspect that some builds will be staying
with Linux 3.6 for a while so I have a separate topic branch suitable
for pulling into this. I'm not completely sure how such branches will be
managed but, if it is possible, can the Gator version in 3.6 be replaced
by the new one from the branch '3.6-armlt-gator-5.12' in ARM LT tree
(git://git.linaro.org/landing-teams/working/arm/kernel) ?

Thanks

-- 
Tixy


___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: Support for Raspberry Pi

2012-11-05 Thread Michael Hope
On 4 November 2012 05:09, Loïc Minier  wrote:
> Hi Geert,
>
> On Fri, Nov 02, 2012, Geert Schuring wrote:
>> Could you tell me if you have any plans to enable Ubuntu on the Raspberry Pi
>> (ARMv6) ?
>
> Short answer: an Ubuntu ARMv6 port for the Raspberry Pi isn't a Linaro
> target, but we're taking patches and we're interested in some bugs!  :-)
>
> There are two main reasons for that:
> - Linaro doesn't have the capacity to do large scale distro ports, this
>   is usually mainly the job of distros, and we're sometimes giving a
>   hand
> - Linaro is all about the future of ARM, so the focus is mainly on ARMv7
>   and ARMv8 at this point
>
> That said, there is hope!  First, a bunch of Linaro folks have a
> Raspberry Pi and play with it; second, I believe Ubuntu's armel port is
> being re-targeted to ARMv5, so Ubuntu armel binaries should eventually
> run on the Pi.

Yip.  There's an unsupported cross compiler for Raspbian at:
 https://launchpad.net/linaro-toolchain-unsupported/+download

> Linaro does directly care about toolchain regressions you might
> encounter on ARMv5/ARMv6 (or even on x86), so please do report us any
> toolchain regressions caused by Linaro patches.

Yes please.  While we're focused on the Cortex-A series, we don't want
to harm earlier architectures.  If you see any speed or correctness
regressions please let us know.

-- Michael

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: [PATCH V3 5/5] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-05 Thread Hongbo Zhang
On 31 October 2012 10:18, viresh kumar  wrote:
> On Tue, Oct 30, 2012 at 10:19 PM, hongbo.zhang  
> wrote:
>> From: "hongbo.zhang" 
>
> Just a minor comment below.
>
>> This patch adds device tree properties for ST-Ericsson DB8500 thermal driver,
>> also adds the platform data to support the old fashion.
>>
>> Signed-off-by: hongbo.zhang 
>
> Reviewed-by: Viresh Kumar 
>
>> ---
>>  arch/arm/boot/dts/dbx5x0.dtsi  | 14 +
>>  arch/arm/boot/dts/snowball.dts | 31 ++
>>  arch/arm/configs/u8500_defconfig   |  4 +++
>>  arch/arm/mach-ux500/board-mop500.c | 64 
>> ++
>>  4 files changed, 113 insertions(+)
>
>> diff --git a/arch/arm/configs/u8500_defconfig 
>> b/arch/arm/configs/u8500_defconfig
>> index cc5e7a8..34918c4 100644
>> --- a/arch/arm/configs/u8500_defconfig
>> +++ b/arch/arm/configs/u8500_defconfig
>> @@ -118,3 +118,7 @@ CONFIG_DEBUG_KERNEL=y
>>  CONFIG_DEBUG_INFO=y
>>  # CONFIG_FTRACE is not set
>>  CONFIG_DEBUG_USER=y
>> +CONFIG_THERMAL=y
>> +CONFIG_CPU_THERMAL=y
>> +CONFIG_DB8500_THERMAL=y
>> +CONFIG_DB8500_CPUFREQ_COOLING=y
>
> Have you entered these manually?? Or used make savedefconfig?
Yes these are added manually, make savedefconfig should be better, but
it seems the original defconfig file are not well generated by
savedefconfig, this file will be changed too much if I use make
savedefconfig. If this is an issue, I will inform the maintainer to
update this.
After consideration, for this time, I will use savedefconfig to find
right places for my configs, discarding the other dis-order ones.

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


[GIT PULL]: big LITTLE MP v11

2012-11-05 Thread Viresh Kumar
Hi Andrey,

Please PULL b.L MP V11 branch from my tree. Pull request is generated
against v3.7-rc3:

Updates:
---
- Based on v3.7-rc3
- Stats:
 - Total Patches: 70
 - New Patches: 22
   - per-task-load-average-v3-merged: 1 by Peter Z.
   - per-entity-load-tracking-with-core-sched-v1: 15 by Preeti
   - sched-pack-small-tasks-v1:6 by Vincent
 - Dropped patches/branches (as they are already merged in 3.7): 24
   - arm-asymmetric-support-v3-v3.6-rc1: 1
   - per-cpu-thread-hotplug-v3-fixed: 8
   - rcu-hotplug-v1: 4
   - scheduler-misc-v1: 1
   - arm-multi_pmu_v2: 10 (out of 24 merged)
 - Updated Patches: 16
   - per-task-load-average-v3-merged updated with patches applied to
sched/core tip

8<

The following changes since commit 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64:

  Linux 3.7-rc3 (2012-10-28 12:24:48 -0700)

are available in the git repository at:

  git://git.linaro.org/arm/big.LITTLE/mp.git big-LITTLE-MP-v11

for you to fetch changes up to 0c44ec0c38e97e404d0f9921f5cbeb7deb1dfc8b:

  Merge branches 'arm-multi_pmu_v2', 'hw-bkp-v7.1-debug-v1',
'task-placement-v2', 'per-entity-load-tracking-with-core-sched-v1',
'config-fragments' and 'sched-pack-small-tasks-v1' into big-LITTLE-MP-v11
(2012-11-05 15:11:02 +0530)



Ben Segall (1):
  sched: Maintain per-rq runnable averages

Dietmar Eggemann (1):
  ARM: hw_breakpoint: v7.1 self-hosted debug powerdown support

Jon Medhurst (6):
  configs: Initial core configs
  configs: Make CONFIG_MODULES part of linaro-base
  configs: Replace CONFIG_PERF_COUNTERS with CONFIG_PERF_EVENTS
  configs: android: Enable FB_EARLYSUSPEND
  configs: android: Enable CONFIG_INPUT_UINPUT to get aidb working
  ARM: sched: Avoid empty 'slow' HMP domain

Lorenzo Pieralisi (1):
  ARM: kernel: provide cluster to logical cpu mask mapping API

Marc Zyngier (1):
  ARM: perf: add guest vs host discrimination

Mark Rutland (1):
  ARM: perf: register cpu_notifier at driver init

Morten Rasmussen (13):
  linaro/configs: Enable HMP priority filter by default
  sched: entity load-tracking load_avg_ratio
  sched: Task placement for heterogeneous systems based on task
load-tracking
  sched: Forced task migration on heterogeneous systems
  sched: Introduce priority-based task migration filter
  ARM: Add HMP scheduling support for ARM architecture
  ARM: sched: Use device-tree to provide fast/slow CPU list for HMP
  ARM: sched: Setup SCHED_HMP domains
  sched: Add ftrace events for entity load-tracking
  sched: Add HMP task migration ftrace event
  sched: SCHED_HMP multi-domain task migration control
  sched: Enable HMP priority filter by default
  sched: Only down migrate low priority tasks if allowed by affinity
mask

Paul Turner (15):
  sched: Track the runnable average on a per-task entity basis
  sched: Aggregate load contributed by task entities on parenting cfs_rq
  sched: Maintain the load contribution of blocked entities
  sched: Add an rq migration call-back to sched_class
  sched: Account for blocked load waking back up
  sched: Aggregate total task_group load
  sched: Compute load contribution by a group entity
  sched: Normalize tg load contributions against runnable time
  sched: Maintain runnable averages across throttled periods
  sched: Replace update_shares weight distribution with per-entity
computation
  sched: Refactor update_shares_cpu() -> update_blocked_avgs()
  sched: Update_cfs_shares at period edge
  sched: Make __update_entity_runnable_avg() fast
  sched: Introduce temporary FAIR_GROUP_SCHED dependency for
load-tracking
  sched: implement usage tracking

Peter Zijlstra (1):
  sched: Describe CFS load-balancer

Preeti U Murthy (14):
  sched:Prevent movement of short running tasks during load balancing
  sched:Pick the apt busy sched group during load balancing
  sched:Decide whether there be transfer of loads based on the PJT's
metric
  sched:Decide group_imb using PJT's metric
  sched:Calculate imbalance using PJT's metric
  sched: Changing find_busiest_queue to use PJT's metric
  sched: Change move_tasks to use PJT's metric
  sched: Some miscallaneous changes in load_balance
  sched: Modify check_asym_packing to use PJT's metric
  sched: Modify fix_small_imbalance to use PJT's metric
  sched: Modify find_idlest_group to use PJT's metric
  sched: Modify find_idlest_cpu to use PJT's metric
  sched: Modifying wake_affine to use PJT's metric
  sched: Explicit division calls on 64-bit integers

Ricardo Salveti de Araujo (7):
  configs: moving previous ubuntu.conf as ubuntu-minimal and creating a
full ubuntu one
  configs: ubuntu: be compatible with the enf