RE: Common ARM context save/restore code

2010-10-18 Thread Bobby Batacharia
Hi, Thanks for the response. > The pre-defined locations are needed because not every registers needs to > be saved. For example in GIC, pending. Clear, Set sets of register are > pretty much same with inverted logic and can be easily decoded without > saving all of them but just one type of it.

RE: Common ARM context save/restore code

2010-10-18 Thread Shilimkar, Santosh
> -Original Message- > From: Bobby Batacharia [mailto:bobby.batacha...@arm.com] > Sent: Monday, October 18, 2010 12:33 PM > To: Shilimkar, Santosh; Jon Callan; linaro-dev@lists.linaro.org > Subject: RE: Common ARM context save/restore code > > Hi, > > Thanks for the response. > > > The p

Re: Common ARM context save/restore code

2010-10-18 Thread David Rusling
All, this could be a good topic at lin...@uds... Dave Sent from yet another ARM powered mobile device On 18 Oct 2010, at 06:18, "Shilimkar, Santosh" wrote: > Bobby, >> -Original Message- >> From: Bobby Batacharia [mailto:bobby.batacha...@arm.com] >> Sent: Sunday, October 17, 2010 4:0

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
Hi Eric, Thanks for the links. I was following the patches to add the babbage registration specific bits (see patch below). I can see following mmc related boot log showing the card is initialized and recognized. sdhci: Copyright(c) Pierre Ossman mmc0: SDHCI controller on platform [sdhci-esdhc-

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
Correct Richard address ... On Mon, Oct 18, 2010 at 4:10 PM, Shawn Guo wrote: > Hi Eric, > > Thanks for the links.  I was following the patches to add the babbage > registration specific bits (see patch below).  I can see following mmc > related boot log showing the card is initialized and recogn

RE: Common ARM context save/restore code

2010-10-18 Thread Bobby Batacharia
> Space as well as time. Space is more important factor. Got it. Presumably you're saving to on-chip SRAM, not DRAM, even for non-secure state. Generic code should care about both space & time too, but in cases where there's a trade-off between the two there's very clearly a need for SoC speci

[PATCHv3] cpufreq for freescale mx51

2010-10-18 Thread yong . shen
From: Yong Shen the operating points are tested on babbage 3.0 Signed-off-by: Yong Shen --- arch/arm/Kconfig |6 + arch/arm/mach-mx5/Kconfig |1 + arch/arm/mach-mx5/Makefile |1 + arch/arm/mach-mx5/board-mx51_babbage.c | 12 ++- arch

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
On Tue, Oct 12, 2010 at 11:59 AM, Shawn Guo wrote: > I applied the patches on linux-linaro-2.6.35, and can mount the rootfs on mmc. > I'm sorry. This is a mis-communication. To clarify it, I tested Zhu Richard's bits other than Wolfram's at that time. As you have seen, I'm running into some pr

RE: Common ARM context save/restore code

2010-10-18 Thread Catalin Marinas
On Sat, 2010-10-16 at 18:21 +0100, Bobby Batacharia wrote: > > Yes, the earlier the better to starting incorporating the > > changes in Linux. [...] > Our plan is definitely to get this into the Linaro kernel for the > 11.05 release. My preferred approach is to get it into Catalin's > public tree b

Re: [PATCHv2] cpufreq for freescale mx51

2010-10-18 Thread Yong Shen
Hi Sascha, On Mon, Oct 18, 2010 at 4:31 PM, Sascha Hauer wrote: > Hi Yong, > > On Mon, Oct 18, 2010 at 01:43:43PM +0800, Yong Shen wrote: > > Hi Sascha, > > > > Thanks for your thorough review. I have two feedbacks to your commends. > > Sorry for delayed response, cause I had a hard time due to

RE: Common ARM context save/restore code

2010-10-18 Thread Bobby Batacharia
Hi Catalin, > > Our plan is definitely to get this into the Linaro kernel for the > > 11.05 release. My preferred approach is to get it into Catalin's > > public tree by early Q1, so that we stand a chance of merging it into > > the Linaro consolidated kernel. > > Another step before this would be

Re: [PATCHv2] cpufreq for freescale mx51

2010-10-18 Thread Sascha Hauer
Hi Yong, On Mon, Oct 18, 2010 at 01:43:43PM +0800, Yong Shen wrote: > Hi Sascha, > > Thanks for your thorough review. I have two feedbacks to your commends. > Sorry for delayed response, cause I had a hard time due to my computer crash > and data loss. > > > diff --git a/arch/arm/mach-mx5/cpu.c

Re: SD/MMC for i.MX51

2010-10-18 Thread Eric Bénard
Hi Shawn, Le 18/10/2010 10:10, Shawn Guo a écrit : But when I try to login console, it gives a bunch of error messages like below. mmcblk0: error -110 transferring data, sector 1737392, nr 2, card status 0xe00 end_request: I/O error, dev mmcblk0, sector 1737392 mmcblk0: error -84 transferring d

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
On Mon, Oct 18, 2010 at 5:34 PM, Eric Bénard wrote: > I just tested a linaro rootfs on SDCard (we have a nand flash so until now > we had our rootfs on it) and got the same errors as you. > As suggested by Richard, SDHCI_QUIRK_BROKEN_TIMEOUT_VAL seems to fix the > problem, so can you try the follo

Re: [PATCHv3] cpufreq for freescale mx51

2010-10-18 Thread Amit Kucheria
Yong, I get the following errors if I try to compile this with the Linaro toolchain. In file included from /home/amit/work/sources/linux-amit-upstream.git/arch/arm/plat-mxc/include/mach/hardware.h:63:0, from /home/amit/work/sources/linux-amit-upstream.git/arch/a

Re: SD/MMC for i.MX51

2010-10-18 Thread Eric Bénard
Hi Shawn, Le 18/10/2010 11:46, Shawn Guo a écrit : Yes, it's working. And I can get into Linaro console now. So we need the following bits to get it work. - Wolfram's esdhc driver (merged) - SDHCI_QUIRK_BROKEN_TIMEOUT_VAL patch - Babbage registration patch (based on Eric's bits) - Related ker

Re: SD/MMC for i.MX51

2010-10-18 Thread Shawn Guo
Here you go. I'm using Linaro tree below. git://git.linaro.org/kernel/linux-linaro-2.6.35.git Also make sure you have the change below for /bin/auto-serial-console. line #15 of auto-serial-console: tty[A-Z]* )--> tty[a-zA-Z]* ) On Mon, Oct 18, 2010 at 6:42 PM, Eric Bénard wrote: > Hi S

Re: SD/MMC for i.MX51

2010-10-18 Thread Eric Bénard
Le 18/10/2010 12:58, Shawn Guo a écrit : Here you go. I'm using Linaro tree below. git://git.linaro.org/kernel/linux-linaro-2.6.35.git Also make sure you have the change below for /bin/auto-serial-console. line #15 of auto-serial-console: tty[A-Z]* )--> tty[a-zA-Z]* ) Thanks. Now it's

Flavoured toolchains anyone?

2010-10-18 Thread Marcin Juszkiewicz
Some of Linaro developers works with ARM devices older then ARMv7-a architecture. Other people experiments with hard-float ABI. Each of them has to rebuild toolchain for own use and that means playing with components to have them build properly. But it is no more - I made some patches and arme

RE: userspace access to cache geometry information

2010-10-18 Thread Catalin Marinas
On Sat, 2010-10-16 at 02:05 +0100, Woodruff, Richard wrote: > > From: linaro-dev-boun...@lists.linaro.org [mailto:linaro-dev- > > boun...@lists.linaro.org] On Behalf Of Peter Maydell > > > One of the Valgrind subtools is Cachegrind; this is a cache > > profiler. (It simulates the I1, D1 and L2 cac

Re: SD/MMC for i.MX51

2010-10-18 Thread John Rigby
Shawn, So does git://git.linaro.org/kernel/linux-linaro-2.6.35.git have everything you want in the linaro packaged kernel? Can you tell me what CONFIGs need to be turned on? Thanks, John On Mon, Oct 18, 2010 at 4:58 AM, Shawn Guo wrote: > Here you go.  I'm using Linaro tree below. > > git://gi

Re: SD/MMC for i.MX51

2010-10-18 Thread Nicolas Pitre
On Mon, 18 Oct 2010, John Rigby wrote: > Shawn, > > So does git://git.linaro.org/kernel/linux-linaro-2.6.35.git have > everything you want in the linaro packaged kernel? I don't think so. Seems that the device registration for Babbage is missing, as well as a quirk for the timeout problem. Ho

Re: SD/MMC for i.MX51

2010-10-18 Thread John Rigby
Nicolas, Thanks for the info. I'll wait to see more patches/testing from Shawn before pulling. John On Mon, Oct 18, 2010 at 8:50 AM, Nicolas Pitre wrote: > On Mon, 18 Oct 2010, John Rigby wrote: > >> Shawn, >> >> So does git://git.linaro.org/kernel/linux-linaro-2.6.35.git have >> everything yo

Re: export kernel clock information to user space

2010-10-18 Thread Vincent Guittot
Hi, The goal of the patch is to provide an easy way to find the guilty clocks when we are optimizing the power consumption of a platform. I agree with you that it's not enough for a complete PM and it might be extended to other features (in addition to regulator framework). Such debug interface sh

Notes & Actions: Linaro Graphics Working Group - Oct 18, 2010

2010-10-18 Thread Alexandros Frantzis
Hi, notes and actions from our Monday graphics cross-vendor call are available on the wiki: + https://wiki.linaro.org/WorkingGroups/Middleware/Graphics/Notes/2010-10-18 Details about when and where of this meeting can be found here: + https://wiki.linaro.org/WorkingGroups/Middleware/Graphics

Flavoured toolchains anyone?

2010-10-18 Thread Marcin Juszkiewicz
Some of Linaro developers works with ARM devices older then ARMv7-a architecture. Other people experiments with hard-float ABI. Each of them has to rebuild toolchain for own use and that means playing with components to have them build properly. But it is no more - I made some patches and arme

Re: [PATCHv3] cpufreq for freescale mx51

2010-10-18 Thread Sascha Hauer
On Mon, Oct 18, 2010 at 04:21:45PM +0800, yong.s...@linaro.org wrote: > From: Yong Shen > > the operating points are tested on babbage 3.0 > > Signed-off-by: Yong Shen > --- > arch/arm/Kconfig |6 + > arch/arm/mach-mx5/Kconfig |1 + > arch/arm/mach-mx

Re: [PATCHv2] cpufreq for freescale mx51

2010-10-18 Thread Sascha Hauer
On Mon, Oct 18, 2010 at 05:08:14PM +0800, Yong Shen wrote: > Hi Sascha, > > > On Mon, Oct 18, 2010 at 4:31 PM, Sascha Hauer wrote: > > > Hi Yong, > > > > On Mon, Oct 18, 2010 at 01:43:43PM +0800, Yong Shen wrote: > > > Hi Sascha, > > > > > > Thanks for your thorough review. I have two feedbacks

Re: Flavoured toolchains anyone?

2010-10-18 Thread Michael Hope
I like it. Any chance of flavouring -mcpu= or -mtune= to set the compiler to A9 by default as well? -- Michael On Tue, Oct 19, 2010 at 2:44 AM, Marcin Juszkiewicz wrote: > > Some of Linaro developers works with ARM devices older then ARMv7-a > architecture. Other people experiments with hard-fl

Re: SD/MMC for i.MX51

2010-10-18 Thread john stultz
On Mon, 2010-10-18 at 18:58 +0800, Shawn Guo wrote: > Here you go. I'm using Linaro tree below. > > git://git.linaro.org/kernel/linux-linaro-2.6.35.git I've tried using this tree, (as well as the pengutronix.de tree and linus' upstream) with an older 9.04 disk image, but none of the booting kern

Linaro gitweb stops working?

2010-10-18 Thread Shawn Guo
I used to access Linaro gitweb below all the time. But from yesterday, I found it stops working for me. Anyone else experienced the same problem, or it's just the problem on my end? http://git.linaro.org/gitweb -- Regards, Shawn ___ linaro-dev maili

Re: Linaro gitweb stops working?

2010-10-18 Thread Yong Shen
it works for me. try again. Yong On Tue, Oct 19, 2010 at 9:51 AM, Shawn Guo wrote: > I used to access Linaro gitweb below all the time. But from > yesterday, I found it stops working for me. Anyone else experienced > the same problem, or it's just the problem on my end? > > http://git.linaro.

Re: SD/MMC for i.MX51

2010-10-18 Thread john stultz
On Tue, 2010-10-19 at 03:59 +0200, Wolfram Sang wrote: > On Mon, Oct 18, 2010 at 06:47:19PM -0700, john stultz wrote: > > > I've tried using this tree, (as well as the pengutronix.de tree and > > linus' upstream) with an older 9.04 disk image, but none of the booting > > kernels could find the sd

Re: Linaro gitweb stops working?

2010-10-18 Thread Shawn Guo
Thanks, Yong. All, Sorry for the noise. It's my browser problem. On Tue, Oct 19, 2010 at 9:56 AM, Yong Shen wrote: > it works for me. try again. > Yong > > On Tue, Oct 19, 2010 at 9:51 AM, Shawn Guo wrote: >> >> I used to access Linaro gitweb below all the time.  But from >> yesterday, I fo

[PATCH 0/3] babbage: support bootable Linaro kernel

2010-10-18 Thread Shawn Guo
After Nicolas merged Wolfram Sang's imx51 mmc driver, the patches are to add missing bits for getting a bootable Linaro mx51evk kernel. It's not clear to me if the missing kernel configurations should be addressed in Linaro kernel tree or packaging. I patched mx51_defconfig anyway to show what are

[PATCH 1/3] babbage: esdhc device registration

2010-10-18 Thread Shawn Guo
This patch are based on Eric Bénard's patches below, and only picks up i.mx51 babbage specific bits. - cpuimx51: update board support - clock-mx51: factorize clk_set_parent and clk_get_rate - imx-esdhc: update devices registration Signed-off-by: Shawn Guo --- arch/arm/mach-mx5/Kconfig

[PATCH 2/3] mmc: quirk fix for timeout problem

2010-10-18 Thread Shawn Guo
Signed-off-by: Shawn Guo --- drivers/mmc/host/sdhci-esdhc-imx.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 2e9cca1..e8f7048 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/

[PATCH 3/3] babbage: update mx51_defconfig

2010-10-18 Thread Shawn Guo
This patch is to update mx51_defconfig to get a bootable Linaro kernel. - Support rootfs on mmc CONFIG_MMC_BLOCK=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_ESDHC_IMX=y - Fix https://bugs.launchpad.net/linux-linaro/+bug/659799 CONFIG_TM