Re: ARM A9 oprofile

2012-02-24 Thread Ming Lei
On Fri, Feb 24, 2012 at 9:56 PM, Dmitry Antipov wrote: > On 02/24/2012 01:44 PM, Ming Lei wrote: > >> Could you share us how you reproduced the problem? and which >> kernel are you used to reproduce it? > > > The kernel is Linus' tree (bb4c7e9a9908548b458f34afb2fee74dc0d49f90), > .config is attach

Re: [PATCH v2 4/4] arm/dts: OMAP3: Add mmc controller nodes and board data

2012-02-24 Thread Tony Lindgren
* Rajendra Nayak [120223 19:29]: > On Friday 24 February 2012 12:27 AM, Tony Lindgren wrote: > >>--- a/arch/arm/boot/dts/omap3.dtsi > >>+++ b/arch/arm/boot/dts/omap3.dtsi > >>@@ -113,5 +113,31 @@ > >>#size-cells =<0>; > >>ti,hwmods = "i2c3"; > >>

Re: [PATCH] gic : check if there are pending interrupts

2012-02-24 Thread Russell King - ARM Linux
On Fri, Feb 24, 2012 at 02:45:48PM +0100, Daniel Lezcano wrote: > The following patch checks if there are pending interrupts on the gic. > > This function is needed for example for the ux500 cpuidle driver. > When the A9 cores and the gic are decoupled from the PRCMU, the idle > routine has to che

Re: [PATCH] gic : check if there are pending interrupts

2012-02-24 Thread Rob Herring
On 02/24/2012 07:45 AM, Daniel Lezcano wrote: > The following patch checks if there are pending interrupts on the gic. > > This function is needed for example for the ux500 cpuidle driver. > When the A9 cores and the gic are decoupled from the PRCMU, the idle > routine has to check if an interrupt

Re: gcc: Thumb interworking and weakly linked functions

2012-02-24 Thread Aneesh V
On Thursday 23 February 2012 07:26 PM, Richard Earnshaw wrote: On 23/02/12 10:27, Aneesh V wrote: Ok. Agree. I never used to use %function when I wrote assembly functions earlier. I am sure a lot of code will break if this was enforced. If you've not used %function on ARM, then your code is se

Re: gcc: Thumb interworking and weakly linked functions

2012-02-24 Thread Aneesh V
On Thursday 23 February 2012 05:17 PM, Ulrich Weigand wrote: Aneesh V wrote on 23.02.2012 11:27:40: The "packed" attribute specifies that all struct elements ought to be considered to have alignment requirement 1 instead of their default alignment. Thus the whole struct ends up having alignme

[PATCH] gic : check if there are pending interrupts

2012-02-24 Thread Daniel Lezcano
The following patch checks if there are pending interrupts on the gic. This function is needed for example for the ux500 cpuidle driver. When the A9 cores and the gic are decoupled from the PRCMU, the idle routine has to check if an interrupt is pending on the gic before entering in retention mode

Re: [PATCH v2 1/4] mmc: omap_hsmmc: Convert hsmmc driver to use device tree

2012-02-24 Thread Rajendra Nayak
On Friday 24 February 2012 06:32 PM, Cousson, Benoit wrote: On 2/24/2012 1:58 PM, Rajendra Nayak wrote: On Friday 24 February 2012 06:21 PM, Cousson, Benoit wrote: On 2/24/2012 12:35 PM, Rajendra Nayak wrote: On Friday 24 February 2012 05:02 PM, T Krishnamoorthy, Balaji wrote: On Thu, Feb 23,

Re: [PATCH v2 1/4] mmc: omap_hsmmc: Convert hsmmc driver to use device tree

2012-02-24 Thread Cousson, Benoit
On 2/24/2012 1:58 PM, Rajendra Nayak wrote: On Friday 24 February 2012 06:21 PM, Cousson, Benoit wrote: On 2/24/2012 12:35 PM, Rajendra Nayak wrote: On Friday 24 February 2012 05:02 PM, T Krishnamoorthy, Balaji wrote: On Thu, Feb 23, 2012 at 5:31 PM, Rajendra Nayak wrote: ... +Required prope

Re: [PATCH v2 1/4] mmc: omap_hsmmc: Convert hsmmc driver to use device tree

2012-02-24 Thread Rajendra Nayak
On Friday 24 February 2012 06:21 PM, Cousson, Benoit wrote: On 2/24/2012 12:35 PM, Rajendra Nayak wrote: On Friday 24 February 2012 05:02 PM, T Krishnamoorthy, Balaji wrote: On Thu, Feb 23, 2012 at 5:31 PM, Rajendra Nayak wrote: Define dt bindings for the ti-omap-hsmmc, and adapt the driver to

Re: [PATCH v2 1/4] mmc: omap_hsmmc: Convert hsmmc driver to use device tree

2012-02-24 Thread Cousson, Benoit
On 2/24/2012 12:35 PM, Rajendra Nayak wrote: On Friday 24 February 2012 05:02 PM, T Krishnamoorthy, Balaji wrote: On Thu, Feb 23, 2012 at 5:31 PM, Rajendra Nayak wrote: Define dt bindings for the ti-omap-hsmmc, and adapt the driver to extract data (which was earlier passed as platform_data) fro

Re: [PATCH-WIP 07/13] xen/arm: receive xen events on arm

2012-02-24 Thread Stefano Stabellini
On Fri, 24 Feb 2012, David Vrabel wrote: > On 23/02/12 17:48, Stefano Stabellini wrote: > > Compile events.c and use IRQ 32 to receive events notifications. > > > > Signed-off-by: Stefano Stabellini > > > +#ifdef CONFIG_ARM > > +#define IRQ_EVTCHN_CALLBACK 63 > > +irqreturn_t xen_arm_callback(in

Re: [PATCH v2 1/4] mmc: omap_hsmmc: Convert hsmmc driver to use device tree

2012-02-24 Thread Rajendra Nayak
On Friday 24 February 2012 05:02 PM, T Krishnamoorthy, Balaji wrote: On Thu, Feb 23, 2012 at 5:31 PM, Rajendra Nayak wrote: Define dt bindings for the ti-omap-hsmmc, and adapt the driver to extract data (which was earlier passed as platform_data) from device tree. Signed-off-by: Rajendra Nayak

Re: [PATCH v2 1/4] mmc: omap_hsmmc: Convert hsmmc driver to use device tree

2012-02-24 Thread T Krishnamoorthy, Balaji
On Thu, Feb 23, 2012 at 5:31 PM, Rajendra Nayak wrote: > Define dt bindings for the ti-omap-hsmmc, and adapt > the driver to extract data (which was earlier passed as > platform_data) from device tree. > > Signed-off-by: Rajendra Nayak > --- >  .../devicetree/bindings/mmc/ti-omap-hsmmc.txt      |

Re: [PATCH v2 4/4] arm/dts: OMAP3: Add mmc controller nodes and board data

2012-02-24 Thread Cousson, Benoit
On 2/24/2012 5:00 AM, Rajendra Nayak wrote: On Friday 24 February 2012 12:27 AM, Tony Lindgren wrote: --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -113,5 +113,31 @@ #size-cells =<0>; ti,hwmods = "i2c3"; }; + + mmc1: mmc@1 { + compatible = "ti,omap2-hsmmc"; + ti,hwmods

RE: [PATCH 2/4] thermal: Add generic cpufreq cooling implementation

2012-02-24 Thread R, Durgadoss
Hi Amit, > -Original Message- > From: amit kachhap [mailto:amitdani...@gmail.com] On Behalf Of Amit Daniel > Kachhap > Sent: Wednesday, February 22, 2012 3:44 PM > To: linux...@lists.linux-foundation.org > Cc: linux-ker...@vger.kernel.org; mj...@srcf.ucam.org; linux- > a...@vger.kernel.org

Re: [PATCH-WIP 07/13] xen/arm: receive xen events on arm

2012-02-24 Thread David Vrabel
On 23/02/12 17:48, Stefano Stabellini wrote: > Compile events.c and use IRQ 32 to receive events notifications. > > Signed-off-by: Stefano Stabellini > +#ifdef CONFIG_ARM > +#define IRQ_EVTCHN_CALLBACK 63 > +irqreturn_t xen_arm_callback(int irq, void *arg) > +{ > + __xen_evtchn_do_upcall();

Re: [PATCH v2 3/4] arm/dts: OMAP4: Add mmc controller nodes and board data

2012-02-24 Thread T Krishnamoorthy, Balaji
On Fri, Feb 24, 2012 at 3:56 PM, Rajendra Nayak wrote: > On Friday 24 February 2012 03:46 PM, T Krishnamoorthy, Balaji wrote: >>> >>> diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi >>> index 29f4589..9204f60 100644 >>> --- a/arch/arm/boot/dts/omap4.dtsi >>> +++ b/arch/arm

Re: [PATCH v2 3/4] arm/dts: OMAP4: Add mmc controller nodes and board data

2012-02-24 Thread Russell King - ARM Linux
On Fri, Feb 24, 2012 at 03:56:52PM +0530, Rajendra Nayak wrote: > I don't know if we can, but even if we could, we take care of the same > bootargs working on two boards (say sdp and panda) *if* on sdp I have my > filesystem on eMMC and on panda I have it on external card. > What happens if I want

Re: [PATCH v2 3/4] arm/dts: OMAP4: Add mmc controller nodes and board data

2012-02-24 Thread Rajendra Nayak
On Friday 24 February 2012 03:46 PM, T Krishnamoorthy, Balaji wrote: diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 29f4589..9204f60 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -25,6 +25,11 @@ serial1 =&uart2;

Re: [PATCH v2 3/4] arm/dts: OMAP4: Add mmc controller nodes and board data

2012-02-24 Thread T Krishnamoorthy, Balaji
> diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi > index 29f4589..9204f60 100644 > --- a/arch/arm/boot/dts/omap4.dtsi > +++ b/arch/arm/boot/dts/omap4.dtsi > @@ -25,6 +25,11 @@ >                serial1 = &uart2; >                serial2 = &uart3; >                serial3 =

Re: [PATCH v2 0/6] mmc: omap_hsmmc: Clean up use/abuse of pdev->id

2012-02-24 Thread Rajendra Nayak
Chris, On Thursday 23 February 2012 04:56 PM, Rajendra Nayak wrote: Re-sending as these patches did not make it to the lists due to issues with my 'git send-email' This series mainly cleans up all instances of hardcoding's in the driver based on pdev->id. This is cleanup leading to the DT adapt

Re: ARM A9 oprofile

2012-02-24 Thread Ming Lei
On Fri, Feb 24, 2012 at 4:23 PM, Dmitry Antipov wrote: > On 02/23/2012 04:57 AM, Ming Lei wrote: > >> No, it doesn't work with upstream kernel now. You need to apply the >> patches[1][2] >> against upstream kernel to route CTIs IRQ so that OMAP4 PMU/perf can work >> well. >> >> [1], http://marc.in

Re: ARM A9 oprofile

2012-02-24 Thread Dmitry Antipov
On 02/23/2012 04:57 AM, Ming Lei wrote: No, it doesn't work with upstream kernel now. You need to apply the patches[1][2] against upstream kernel to route CTIs IRQ so that OMAP4 PMU/perf can work well. [1], http://marc.info/?l=linux-omap&m=132686049213313&w=2 [2], http://marc.info/?l=linux-arm-