Re: [PATCH 7/7] arm: omap2: clksel: fix compile warning

2011-01-17 Thread Varadarajan, Charulatha
On Mon, Jan 17, 2011 at 10:01, Felipe Balbi ba...@ti.com wrote: Fix the following compile warning: arch/arm/mach-omap2/clkt_clksel.c: In function '_get_div_and_fieldval': arch/arm/mach-omap2/clkt_clksel.c:100:35: warning: 'max_clkr' may be used uninitialized in this function While at that,

Re: [PATCH 7/7] arm: omap2: clksel: fix compile warning

2011-01-17 Thread Felipe Balbi
Hi, On Mon, Jan 17, 2011 at 01:37:41PM +0530, Varadarajan, Charulatha wrote: On Mon, Jan 17, 2011 at 10:01, Felipe Balbi ba...@ti.com wrote: Fix the following compile warning: arch/arm/mach-omap2/clkt_clksel.c: In function '_get_div_and_fieldval': arch/arm/mach-omap2/clkt_clksel.c:100:35:

Re: [PATCH] omap4: Fix ULPI PHY init for ES1.0 SDP (Re: 4430SDP boot failure)

2011-01-17 Thread Sascha Hauer
On Sat, Jan 15, 2011 at 05:04:55PM +, Russell King - ARM Linux wrote: On Fri, Jan 14, 2011 at 04:37:34PM -0800, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [110114 16:24]: On Fri, Jan 14, 2011 at 04:12:55PM -0800, Tony Lindgren wrote: * Russell King - ARM

Re: [RFC+CFT] Use word operations in bitops

2011-01-17 Thread Jamie Iles
On Sun, Jan 16, 2011 at 12:19:11PM +, Russell King - ARM Linux wrote: XXX WARNING: bitops are used heavily by filesystem code: there be dragons XXX I strongly suggest you ensure you have a copy of your filesystems before trying this patch. The patch below switches the bitops to use word

RE: State of SDP4430 platform

2011-01-17 Thread Santosh Shilimkar
-Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Sunday, January 16, 2011 11:56 AM To: Paul Walmsley; Russell King - ARM Linux Cc: linux-omap@vger.kernel.org Subject: RE: State of SDP4430 platform -Original Message- From:

[PATCH] arm: mach-omap2: potential NULL dereference

2011-01-17 Thread Vasiliy Kulikov
If kzalloc() failed, return -ENOMEM. sr_dev_init() should signal by return value that there is an error. Signed-off-by: Vasiliy Kulikov seg...@openwall.com --- Cannot compile this driver, so it is not tested at all. arch/arm/mach-omap2/sr_device.c | 19 +++ 1 files changed,

Re: [RFC+CFT] Use word operations in bitops

2011-01-17 Thread Uwe Kleine-König
Hello Russell, On Sun, Jan 16, 2011 at 12:19:11PM +, Russell King - ARM Linux wrote: This does need a fair amount of testing before it can be merged, so I'd like to see a number of Tested-by's against this patch. Please also indicate whether you tested on LE or BE or both, which

[PATCH] arm: mach-omap2: potential NULL dereference

2011-01-17 Thread Vasiliy Kulikov
kzalloc() may fail, if so return -ENOMEM. Signed-off-by: Vasiliy Kulikov seg...@openwall.com --- Cannot compile this driver, so it is not tested at all. arch/arm/mach-omap2/smartreflex.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] Remove CPU_32v6K dependencies in asm/spinlock.h

2011-01-17 Thread Catalin Marinas
On 15 January 2011 16:11, Russell King - ARM Linux li...@arm.linux.org.uk wrote: SMP requires at least the ARMv6K extensions to be present, so if we're running on SMP, the WFE and SEV instructions must be available. However, when we run on UP, the v6K extensions may not be available, and so

RE: Open issues after 2.6.38 merge window

2011-01-17 Thread Santosh Shilimkar
Tony, -Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Saturday, January 15, 2011 10:50 AM To: Tony Lindgren; linux-omap@vger.kernel.org Subject: RE: Open issues after 2.6.38 merge window -Original Message- From:

Re: [PATCH] Remove CPU_32v6K dependencies in asm/spinlock.h

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 10:15:25AM +, Catalin Marinas wrote: On 15 January 2011 16:11, Russell King - ARM Linux li...@arm.linux.org.uk wrote: SMP requires at least the ARMv6K extensions to be present, so if we're running on SMP, the WFE and SEV instructions must be available.

Re: [RFC+CFT] Use word operations in bitops

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 11:08:57AM +0100, Uwe Kleine-König wrote: Hello Russell, On Sun, Jan 16, 2011 at 12:19:11PM +, Russell King - ARM Linux wrote: This does need a fair amount of testing before it can be merged, so I'd like to see a number of Tested-by's against this patch. Please

Re: [PATCH] Remove CPU_32v6K dependencies in asm/spinlock.h

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 10:37:39AM +, Russell King - ARM Linux wrote: On Mon, Jan 17, 2011 at 10:15:25AM +, Catalin Marinas wrote: On 15 January 2011 16:11, Russell King - ARM Linux li...@arm.linux.org.uk wrote: SMP requires at least the ARMv6K extensions to be present, so if we're

Re: [RFC+CFT] Use word operations in bitops

2011-01-17 Thread Jamie Iles
On Sun, Jan 16, 2011 at 06:15:51PM +, Russell King - ARM Linux wrote: Revised patch - the previous one was slightly buggered for BE. We also don't need to touch the findbit operations at all, so that part has been dropped. This includes a patch by Akinobu Mita (arm: introduce

Re: [PATCH] arm: mach-omap2: potential NULL dereference

2011-01-17 Thread walter harms
Am 17.01.2011 11:08, schrieb Vasiliy Kulikov: kzalloc() may fail, if so return -ENOMEM. Signed-off-by: Vasiliy Kulikov seg...@openwall.com --- Cannot compile this driver, so it is not tested at all. arch/arm/mach-omap2/smartreflex.c |3 +++ 1 files changed, 3 insertions(+), 0

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Aaro Koskinen
Hi, On Fri, 14 Jan 2011, Tony Lindgren wrote: Before I update out master branch, let's try to summarize the open issues after the merge window. Here's a list of issues in omap-fixes-for-linus that I'm aware of: - NFS root oopses while mounting root - omap4430 es1.0 hangs if L2X0 cache is

RE: Open issues after 2.6.38 merge window

2011-01-17 Thread Santosh Shilimkar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Aaro Koskinen Sent: Monday, January 17, 2011 5:07 PM To: Tony Lindgren; rmk+ker...@arm.linux.org.uk Cc: linux-omap@vger.kernel.org Subject: Re: Open issues after 2.6.38

Re: [PATCH] Remove CPU_32v6K dependencies in asm/spinlock.h

2011-01-17 Thread Catalin Marinas
On Mon, 2011-01-17 at 10:37 +, Russell King - ARM Linux wrote: On Mon, Jan 17, 2011 at 10:15:25AM +, Catalin Marinas wrote: On 15 January 2011 16:11, Russell King - ARM Linux li...@arm.linux.org.uk wrote: SMP requires at least the ARMv6K extensions to be present, so if we're

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Russell King
On Mon, Jan 17, 2011 at 05:29:01PM +0530, Santosh Shilimkar wrote: On Fri, 14 Jan 2011, Tony Lindgren wrote: Before I update out master branch, let's try to summarize the open issues after the merge window. Here's a list of issues in omap-fixes-for-linus that I'm aware of: - NFS

Re: [PATCH] Remove CPU_32v6K dependencies in asm/spinlock.h

2011-01-17 Thread Catalin Marinas
On 17 January 2011 10:53, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Jan 17, 2011 at 10:37:39AM +, Russell King - ARM Linux wrote: 3. Do we always need a dsb prior to a sev?  Maybe the SPEAR patches need another review to determine how they're using sev()? FYI, this is

RE: Open issues after 2.6.38 merge window

2011-01-17 Thread Santosh Shilimkar
-Original Message- From: Russell King [mailto:r...@arm.linux.org.uk] Sent: Monday, January 17, 2011 5:42 PM To: Santosh Shilimkar Cc: Aaro Koskinen; Tony Lindgren; linux-omap@vger.kernel.org Subject: Re: Open issues after 2.6.38 merge window On Mon, Jan 17, 2011 at 05:29:01PM

RE: Open issues after 2.6.38 merge window

2011-01-17 Thread Aaro Koskinen
Hi, On Mon, 17 Jan 2011, Santosh Shilimkar wrote: Amstrad E3 fails during the boot. Bisection points to: commit 211baa7016894c02fc18693e21ca479cd08ac0c0 Author: Russell King rmk+ker...@arm.linux.org.uk Date: Tue Jan 11 16:23:04 2011 + ARM:

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Russell King
On Mon, Jan 17, 2011 at 05:49:00PM +0530, Santosh Shilimkar wrote: -Original Message- From: Russell King [mailto:r...@arm.linux.org.uk] Sent: Monday, January 17, 2011 5:42 PM To: Santosh Shilimkar Cc: Aaro Koskinen; Tony Lindgren; linux-omap@vger.kernel.org Subject: Re: Open

Re: [PATCH] Remove CPU_32v6K dependencies in asm/spinlock.h

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 12:12:55PM +, Catalin Marinas wrote: On 17 January 2011 10:53, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Jan 17, 2011 at 10:37:39AM +, Russell King - ARM Linux wrote: 3. Do we always need a dsb prior to a sev?  Maybe the SPEAR patches need

Re: [PATCH] arm: mach-omap2: potential NULL dereference

2011-01-17 Thread Sergei Shtylyov
Hello. On 17-01-2011 13:08, Vasiliy Kulikov wrote: kzalloc() may fail, if so return -ENOMEM. Signed-off-by: Vasiliy Kulikovseg...@openwall.com [...] diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c index 77ecebf..871bca9 100644 ---

RE: Open issues after 2.6.38 merge window

2011-01-17 Thread Santosh Shilimkar
-Original Message- From: Aaro Koskinen [mailto:aaro.koski...@nokia.com] Sent: Monday, January 17, 2011 5:52 PM To: Santosh Shilimkar Cc: Aaro Koskinen; Tony Lindgren; rmk+ker...@arm.linux.org.uk; linux-omap@vger.kernel.org Subject: RE: Open issues after 2.6.38 merge window Hi,

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Russell King
On Mon, Jan 17, 2011 at 06:05:36PM +0530, Santosh Shilimkar wrote: -Original Message- From: Aaro Koskinen [mailto:aaro.koski...@nokia.com] Sent: Monday, January 17, 2011 5:52 PM To: Santosh Shilimkar Cc: Aaro Koskinen; Tony Lindgren; rmk+ker...@arm.linux.org.uk;

Re: [PATCH] Remove CPU_32v6K dependencies in asm/spinlock.h

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 10:15:25AM +, Catalin Marinas wrote: In the SEV macro definition, can you also include the dsb? This barrier is only there because of sev, otherwise we don't need it (we have a dmb prior to releasing the lock). I think until we have the whole SEV situation sorted

Re: [PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-17 Thread Jean Pihet
On Fri, Jan 14, 2011 at 6:34 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Jan 14, 2011 at 05:13:01PM +0100, Jean Pihet wrote: Is the name 'omap_sram_push' wrong then? What about the following? @@ -251,9 +251,8 @@ void * omap_sram_push(void * start, unsigned long size)  

Re: [PATCH v4] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-17 Thread Jean Pihet
On Fri, Jan 14, 2011 at 10:17 PM, Dave Martin dave.mar...@linaro.org wrote: In low-level board support code, there is sometimes a need to copy a function body to another location at run-time. A straightforward call to memcpy doesn't work in Thumb-2, because bit 0 of external Thumb function

[PATCHv2 0/2] misc Devkit8000 fixes

2011-01-17 Thread Thomas Weber
Here is a set of misc fixes for the devkit8000. The only really notable one is the lcd enable gpio fix. It gets rid of some nasty low level twl4030 calls and replaces them with generic gpio calls. It also fixes a bug where the screen would not turn off when blanking. Changes from v1:

[PATCHv2 1/2] OMAP3: Devkit8000: Change lcd power pin

2011-01-17 Thread Thomas Weber
The reset_gpio pin for lcd is connected with TWL4030 LedA. TWL4030 GPIO.1 has a not connected resistor. Fix indention issue. The comment line uses 8 whitespaces. Replaced with one tabulator. Reported-by: Daniel Morsing daniel.mors...@gmail.com Signed-off-by: Thomas Weber we...@corscience.de ---

[PATCHv2 2/2] omap3: devkit8000: fix tps65930 pullup/pulldown configuration

2011-01-17 Thread Thomas Weber
From: Daniel Morsing daniel.mors...@gmail.com gpio7 on the tps65930 is used as an output on the devkit8000 and gpio1 is not connected. Remove gpio7 and change gpio1 to pulldown Signed-off-by: Daniel Morsing daniel.mors...@gmail.com --- arch/arm/mach-omap2/board-devkit8000.c |3 +-- 1 files

[PATCH v3 0/6] OMAP: McSPI: Hwmod adaptation + runtime conversion

2011-01-17 Thread Govindraj.R
Changes invloves: 1) Addition of hwmod data for omap2/3/4. 2) McSPI driver hwmod adaptation with cleanup of base address macros and using omap-device API's. 3) Runtime Conversion of McSPI driver. Changes from v2: --- 1) Fixing minor comments and adding ack from

[PATCH v3 1/6] OMAP2420: hwmod data: Add McSPI

2011-01-17 Thread Govindraj.R
Update the omap2420 hwmod data with the McSPI info. Add a device attribute structure which will be used for passing number of chipselects from hwmod data. Add revision macros to be passed from rev field from hwmod. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Govindraj.R

[PATCH v3 2/6] OMAP2430: hwmod data: Add McSPI

2011-01-17 Thread Govindraj.R
Update the 2430 hwmod data file with McSPI info. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Govindraj.R govindraj.r...@ti.com Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 219 1 files changed, 219

[PATCH v3 3/6] OMAP3: hwmod data: Add McSPI

2011-01-17 Thread Govindraj.R
Update omap3 hwmod data file with McSPI info. Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Govindraj.R govindraj.r...@ti.com Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 280 1 files changed, 280

[PATCH v3 4/6] OMAP4: hwmod data: Add McSPI

2011-01-17 Thread Govindraj.R
Update omap4 hwmod file with McSPI info. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Govindraj.R govindraj.r...@ti.com Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 266

[PATCH v3 5/6] OMAP: devices: Modify McSPI device to adapt to hwmod framework

2011-01-17 Thread Govindraj.R
Cleans up all base address definitions for omap_mcspi and adapts the device registration and driver to hwmod framework. Changes involves: 1) Removing all base address macro defines. 2) Using omap-device layer to register device and utilizing data from hwmod data file for base address, dma

[PATCH v3 6/6] OMAP: runtime: McSPI driver runtime conversion

2011-01-17 Thread Govindraj.R
McSPI runtime conversion. Changes involves: 1) remove clock framework apis to use runtime framework apis. 2) context restore from runtime resume which is a callback for get_sync. 3) Remove SYSCONFIG(sysc) register handling (a) Remove context save and restore of sysc reg and remove soft

Re: [PATCHv2 1/2] OMAP3: Devkit8000: Change lcd power pin

2011-01-17 Thread Sergei Shtylyov
Hello. Thomas Weber wrote: The reset_gpio pin for lcd is connected with TWL4030 LedA. TWL4030 GPIO.1 has a not connected resistor. Fix indention issue. Indentation. The comment line uses 8 whitespaces. Replaced with one tabulator. Reported-by: Daniel Morsing

Re: [PATCH v4] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-17 Thread Dave Martin
Hi, On Mon, Jan 17, 2011 at 2:02 PM, Jean Pihet jean.pi...@newoldbits.com wrote: [...] Note that aligning the source and destination pointers to a multiple of 8 bytes has an impact on the behavio(u)r and so must be carefully thought and tested on OMAP1/2/3 platforms. Do you have any

Re: [PATCH v3 0/6] OMAP: McSPI: Hwmod adaptation + runtime conversion

2011-01-17 Thread Grant Likely
On Mon, Jan 17, 2011 at 7:23 AM, Govindraj.R govindraj.r...@ti.com wrote: Changes invloves: 1) Addition of hwmod data for omap2/3/4. 2) McSPI driver hwmod adaptation with cleanup of base address   macros and using omap-device API's. 3) Runtime Conversion of McSPI driver.

Re: [PATCH v4] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-17 Thread Jean Pihet
Hi Dave, On Mon, Jan 17, 2011 at 4:35 PM, Dave Martin dave.mar...@linaro.org wrote: Hi, On Mon, Jan 17, 2011 at 2:02 PM, Jean Pihet jean.pi...@newoldbits.com wrote: [...] Note that aligning the source and destination pointers to a multiple of 8 bytes has an impact on the behavio(u)r and

Re: [PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-17 Thread Dave Martin
On Mon, Jan 17, 2011 at 2:01 PM, Jean Pihet jean.pi...@newoldbits.com wrote: On Fri, Jan 14, 2011 at 6:34 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Jan 14, 2011 at 05:13:01PM +0100, Jean Pihet wrote: Is the name 'omap_sram_push' wrong then? What about the following?

RE: [PATCH v4] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-17 Thread Santosh Shilimkar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Dave Martin Sent: Monday, January 17, 2011 9:06 PM To: Jean Pihet Cc: linux-arm-ker...@lists.infradead.org; linux- o...@vger.kernel.org; Jean Pihet Subject: Re: [PATCH

Re: [PATCH v3 0/6] OMAP: McSPI: Hwmod adaptation + runtime conversion

2011-01-17 Thread Cousson, Benoit
Hi Grant, On 1/17/2011 4:47 PM, Grant Likely wrote: On Mon, Jan 17, 2011 at 7:23 AM, Govindraj.Rgovindraj.r...@ti.com wrote: Changes invloves: 1) Addition of hwmod data for omap2/3/4. 2) McSPI driver hwmod adaptation with cleanup of base address macros and using

Re: [PATCH v4] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 03:02:20PM +0100, Jean Pihet wrote: On Fri, Jan 14, 2011 at 10:17 PM, Dave Martin dave.mar...@linaro.org wrote: + * These macros are intended for use when there is a need to copy a low-level + * function body into special memory. + * + * For example, when

Re: [PATCH v3 4/6] OMAP4: hwmod data: Add McSPI

2011-01-17 Thread Kevin Hilman
Govindraj.R govindraj.r...@ti.com writes: Update omap4 hwmod file with McSPI info. Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: Charulatha V ch...@ti.com Signed-off-by: Govindraj.R govindraj.r...@ti.com Acked-by: Grant Likely grant.lik...@secretlab.ca Shouldn't Benoit be

RE: [PATCH] omap: wd_timer: Fix crash frm wdt_probe when !CONFIG_RUNTIME_PM

2011-01-17 Thread Santosh Shilimkar
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Thursday, January 06, 2011 11:56 PM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH] omap: wd_timer: Fix crash frm wdt_probe when !CONFIG_RUNTIME_PM

Re: [PATCHv2 1/2] OMAP3: Devkit8000: Change lcd power pin

2011-01-17 Thread Daniel Morsing
On Mon, 2011-01-17 at 15:11 +0100, Thomas Weber wrote: The reset_gpio pin for lcd is connected with TWL4030 LedA. TWL4030 GPIO.1 has a not connected resistor. Fix indention issue. The comment line uses 8 whitespaces. Replaced with one tabulator. Reported-by: Daniel Morsing

Creating a uboot script that will write MLO only once to NAND

2011-01-17 Thread Elvis Dowson
Hi, I'm trying to develop a microSD card image that will allow batch programming of beagleboard NAND devices for a production environment. My problem is MLO. As I understand, it needs to be written to NAND from u-boot with HW ECC turned on. I tried at the kernel level, after ensuring

Re: State of LDP3430 platform

2011-01-17 Thread Tony Lindgren
* Woodruff, Richard r-woodru...@ti.com [110115 15:48]: From: Tony Lindgren [mailto:t...@atomide.com] Sent: Friday, January 14, 2011 6:03 PM I've been seeing this on my omap4 panda. While debugging it, I left u-boot console only running for a few minutes to see if that stays up. It

Re: Creating a uboot script that will write MLO only once to NAND

2011-01-17 Thread Elvis Dowson
Hi, I trimmed down the boot script so that it doesn't set the debug console baud rate. Now I don't get the set baud rate and press enter message, but the system still keeps re-reading the boot.scr script forever, in a loop. 889 bytes read Running bootscript from mmc ... ## Executing

RE: State of LDP3430 platform

2011-01-17 Thread Woodruff, Richard
From: Tony Lindgren [mailto:t...@atomide.com] Sent: Monday, January 17, 2011 11:35 AM This happened for a few days both with 2.6.37 and current mainline kernel. After I started debugging it went away with no changes to anything.. So can't debug any further at this point unfortunately. Odd.

Re: Creating a uboot script that will write MLO only once to NAND

2011-01-17 Thread Elvis Dowson
Hi, saveenv boot Fixed it, I should have had the following lines in the boot script... saveenv run loaduimage run mmcboot Elvis Dowson -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Tony Lindgren
* Russell King r...@arm.linux.org.uk [110117 04:49]: On Mon, Jan 17, 2011 at 06:05:36PM +0530, Santosh Shilimkar wrote: -Original Message- From: Aaro Koskinen [mailto:aaro.koski...@nokia.com] Sent: Monday, January 17, 2011 5:52 PM To: Santosh Shilimkar Cc: Aaro Koskinen;

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Tony Lindgren
* Russell King r...@arm.linux.org.uk [110117 04:24]: On Mon, Jan 17, 2011 at 05:49:00PM +0530, Santosh Shilimkar wrote: -Original Message- From: Russell King [mailto:r...@arm.linux.org.uk] Sent: Monday, January 17, 2011 5:42 PM To: Santosh Shilimkar Cc: Aaro Koskinen; Tony

Re: Passing mem=1G to kernel on Panda, system is unstable.

2011-01-17 Thread Jan, Sebastien
On Fri, Jan 14, 2011 at 11:12 AM, Bryan Wu bryan...@canonical.com wrote: On Fri, Jan 14, 2011 at 4:12 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Bryan, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of

[PATCH 00/14] Fix issues with ARMv6+v6k+v7 kernels

2011-01-17 Thread Russell King - ARM Linux
This patch series reworks the ARMv6/ARMv6K support options, code selection, and bit operations such that it's possible to safely build a kernel which supports ARMv6, ARMv6K, ARMv7 and ARMv7 SMP in one image. Currently, we use CPU_V6 for both ARMv6 and ARMv6K, setting CPU_32v6K if we have the K

[PATCH 01/14] ARM: bitops: ensure set/clear/change bitops take a word-aligned pointer

2011-01-17 Thread Russell King - ARM Linux
Add additional instructions to our assembly bitops functions to ensure that they only operate on word-aligned pointers. This will be necessary when we switch these operations to use the word-based exclusive operations. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk ---

[PATCH 03/14] ARM: v6k: remove CPU_32v6K dependencies in asm/spinlock.h

2011-01-17 Thread Russell King - ARM Linux
SMP requires at least the ARMv6K extensions to be present, so if we're running on SMP, the WFE and SEV instructions must be available. However, when we run on UP, the v6K extensions may not be available, and so we don't want WFE/SEV to be in the instruction stream. Use the SMP alternatives

[PATCH 05/14] ARM: v6k: Realview EB 11MPCore and PB11MPCore use V6K architecture CPUs

2011-01-17 Thread Russell King - ARM Linux
Make Realview EB ARM11MPCore and PB11MPCore select the new V6K CPU option. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mach-realview/Kconfig |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-realview/Kconfig

[PATCH 08/14] ARM: v6k: select cmpxchg code sequences according to V6 variants

2011-01-17 Thread Russell King - ARM Linux
If CONFIG_CPU_V6 is enabled, we must avoid the byte/halfword/doubleword exclusive operations, which aren't implemented before V6K. Use the generic versions (or omit them) instead. If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, we have the K extnesions, so use these new

[PATCH 02/14] ARM: bitops: switch set/clear/change bitops to use ldrex/strex

2011-01-17 Thread Russell King - ARM Linux
Switch the set/clear/change bitops to use the word-based exclusive operations, which are only present in a wider range of ARM architectures than the byte-based exclusive operations. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/include/asm/bitops.h | 60

[PATCH 09/14] ARM: v6k: select generic atomic64 code according to V6 variants

2011-01-17 Thread Russell King - ARM Linux
If CONFIG_CPU_V6 is enabled, avoid using the double-word exclusive instructions in the kernel's atomic implementations as these are not supported. Fall back to the generic spinlock code instead. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/Kconfig |2 +- 1 files

[PATCH 11/14] ARM: v6k: use CPU domain feature if we include support for arch ARMv6K

2011-01-17 Thread Russell King - ARM Linux
Rather than turning off CPU domain switching when the build architecture includes ARMv6K, thereby causing problems for ARMv6-supporting kernels, turn it on when it's required to support a CPU architecture. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mm/Kconfig |7

[PATCH 12/14] ARM: v6k: do not disable CPU_32v6K based on platform selection

2011-01-17 Thread Russell King - ARM Linux
CPU_32v6K controls whether we use the ARMv6K extension instructions in the kernel, and in some places whether we use SMP-safe code sequences (eg, bitops.) MX3 prevents the selection of this option to ensure that it is not enabled for their CPU, which is ARMv6 only. Now that we've split the

[PATCH 06/14] ARM: v6k: Dove platforms use V6K architecture CPUs

2011-01-17 Thread Russell King - ARM Linux
Make Dove platforms select the new V6K CPU option. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mach-dove/Kconfig |4 +++- arch/arm/mm/Kconfig|4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-dove/Kconfig

[PATCH 14/14] ARM: v6k: only allow SMP if we have v6k or v7 CPU

2011-01-17 Thread Russell King - ARM Linux
SMP extensions are only supported on ARMv6k or ARMv7 architectures, so only offer the option if we're building for such an architecture. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH 10/14] ARM: v6k: select TLS register code according to V6 variants

2011-01-17 Thread Russell King - ARM Linux
If CONFIG_CPU_V6 is enabled, we may or may not have the TLS register. Use the conditional code which copes with this variability. Otherwise, if CONFIG_CPU_32v6K is set, we know we have the TLS register on all supported CPUs, so use it unconditionally. Signed-off-by: Russell King

[PATCH 13/14] ARM: v6k: allow swp emulation again when ARMv7 is enabled

2011-01-17 Thread Russell King - ARM Linux
Now that we build a v6+v6k+v7 kernel with -march=armv6k for everything, we don't need to disable swp emulation to work around the build problem with OMAP. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[PATCH 07/14] ARM: v6k: select clear exclusive code seqences according to V6 variants

2011-01-17 Thread Russell King - ARM Linux
If CONFIG_CPU_V6 is enabled, then the kernel must support ARMv6 CPUs which don't have the V6K extensions implemented. Always use the dummy store-exclusive method to ensure that the exclusive monitors are cleared. If CONFIG_CPU_V6 is not set, but CONFIG_CPU_32v6K is enabled, then we have the K

[PATCH 04/14] ARM: v6k: introduce CPU_V6K option

2011-01-17 Thread Russell King - ARM Linux
Introduce a CPU_V6K configuration option for platforms to select if they have a V6K CPU core. This allows us to identify whether we need to support ARMv6 CPUs without the V6K SMP extensions at build time. Currently CPU_V6K is just an alias for CPU_V6, and all places which reference CPU_V6 are

How to flash NAND over debug serial console

2011-01-17 Thread Elvis Dowson
Hi, Is there a way I can flash NAND partitions (xloader, uboot, kernel and rootfilesystem) directly using the debug serial port, rather than using a microSD card, for batch programming of beagleboard devices? Elvis Dowson -- To unsubscribe from this list: send the line unsubscribe

RE: Open issues after 2.6.38 merge window

2011-01-17 Thread Paul Walmsley
On Mon, 17 Jan 2011, Aaro Koskinen wrote: On Mon, 17 Jan 2011, Santosh Shilimkar wrote: Amstrad E3 fails during the boot. Bisection points to: commit 211baa7016894c02fc18693e21ca479cd08ac0c0 Author: Russell King rmk+ker...@arm.linux.org.uk Date: Tue Jan 11 16:23:04 2011

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Russell King
On Mon, Jan 17, 2011 at 01:31:47PM -0700, Paul Walmsley wrote: On Mon, 17 Jan 2011, Aaro Koskinen wrote: On Mon, 17 Jan 2011, Santosh Shilimkar wrote: Amstrad E3 fails during the boot. Bisection points to: commit 211baa7016894c02fc18693e21ca479cd08ac0c0

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Paul Walmsley
On Mon, 17 Jan 2011, Russell King wrote: On Mon, Jan 17, 2011 at 01:31:47PM -0700, Paul Walmsley wrote: OMAP15xx uses the MPU timer for its clocksource, since OMAP15xx doesn't have GPTIMERs or the 32k sync timer, and the MPU timer code in mach-omap1/time.c wasn't updated for

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Russell King
On Mon, Jan 17, 2011 at 02:00:17PM -0700, Paul Walmsley wrote: On Mon, 17 Jan 2011, Russell King wrote: On Mon, Jan 17, 2011 at 01:31:47PM -0700, Paul Walmsley wrote: OMAP15xx uses the MPU timer for its clocksource, since OMAP15xx doesn't have GPTIMERs or the 32k sync timer, and

[PATCH] omap2-beagle: Depend upon CONFIG_GPIO_TWL4030

2011-01-17 Thread Ben Gamari
Some very basic setup (i.e. MMC) is done in the beagleboard's setup callback for the TWL4030's gpio driver, causing a kernel without this support to fail to find its root filesystem. I can't imagine why one would want to build a kernel for this board without this driver, so I think it's worthwhile

Re: [PATCH 11/14] ARM: v6k: use CPU domain feature if we include support for arch ARMv6K

2011-01-17 Thread Nicolas Pitre
On Mon, 17 Jan 2011, Russell King - ARM Linux wrote: Rather than turning off CPU domain switching when the build architecture includes ARMv6K, thereby causing problems for ARMv6-supporting kernels, turn it on when it's required to support a CPU architecture. Signed-off-by: Russell King

Re: [PATCH 00/14] Fix issues with ARMv6+v6k+v7 kernels

2011-01-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110117 11:20]: This patch series reworks the ARMv6/ARMv6K support options, code selection, and bit operations such that it's possible to safely build a kernel which supports ARMv6, ARMv6K, ARMv7 and ARMv7 SMP in one image. Currently, we use

Re: [PATCH 10/14] ARM: v6k: select TLS register code according to V6 variants

2011-01-17 Thread Nicolas Pitre
On Mon, 17 Jan 2011, Russell King - ARM Linux wrote: If CONFIG_CPU_V6 is enabled, we may or may not have the TLS register. Use the conditional code which copes with this variability. Otherwise, if CONFIG_CPU_32v6K is set, we know we have the TLS register on all supported CPUs, so use it

Re: [PATCH 10/14] ARM: v6k: select TLS register code according to V6 variants

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 05:23:43PM -0500, Nicolas Pitre wrote: On Mon, 17 Jan 2011, Russell King - ARM Linux wrote: If CONFIG_CPU_V6 is enabled, we may or may not have the TLS register. Use the conditional code which copes with this variability. Otherwise, if CONFIG_CPU_32v6K is set, we

Re: Open issues after 2.6.38 merge window

2011-01-17 Thread Paul Walmsley
On Mon, 17 Jan 2011, Russell King wrote: On Mon, Jan 17, 2011 at 02:00:17PM -0700, Paul Walmsley wrote: On Mon, 17 Jan 2011, Russell King wrote: On Mon, Jan 17, 2011 at 01:31:47PM -0700, Paul Walmsley wrote: OMAP15xx uses the MPU timer for its clocksource, since OMAP15xx doesn't

Re: [PATCH 10/14] ARM: v6k: select TLS register code according to V6 variants

2011-01-17 Thread Russell King - ARM Linux
On Mon, Jan 17, 2011 at 10:36:35PM +, Russell King - ARM Linux wrote: It may be better at some point to get rid of the CPU_32v* and replace them with CPU_ARCH_V* instead, which makes it clear that these ones definitely refer to the architecture versions. Last point on this is that I think

Re: [PATCH 04/14] ARM: v6k: introduce CPU_V6K option

2011-01-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110117 11:29]: Introduce a CPU_V6K configuration option for platforms to select if they have a V6K CPU core. This allows us to identify whether we need to support ARMv6 CPUs without the V6K SMP extensions at build time. Currently CPU_V6K is

Re: [PATCH 07/14] ARM: v6k: select clear exclusive code seqences according to V6 variants

2011-01-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110117 11:27]: If CONFIG_CPU_V6 is enabled, then the kernel must support ARMv6 CPUs which don't have the V6K extensions implemented. Always use the dummy store-exclusive method to ensure that the exclusive monitors are cleared. If

Re: [PATCH 08/14] ARM: v6k: select cmpxchg code sequences according to V6 variants

2011-01-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110117 11:23]: If CONFIG_CPU_V6 is enabled, we must avoid the byte/halfword/doubleword exclusive operations, which aren't implemented before V6K. Use the generic versions (or omit them) instead. If CONFIG_CPU_V6 is not set, but

RE: State of SDP4430 platform

2011-01-17 Thread Paul Walmsley
On Mon, 17 Jan 2011, Santosh Shilimkar wrote: The I2C timeout issue I could reproduce on my ES1.0 board. It's ES1.0 specific issue because I2C burst mode wasn't fuctional on it. Twl RTC driver uses I2C burst mode and hence it times out. Other TWL I2C module has no such issue. The pull

Re: [PATCH 09/14] ARM: v6k: select generic atomic64 code according to V6 variants

2011-01-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110117 11:23]: If CONFIG_CPU_V6 is enabled, avoid using the double-word exclusive instructions in the kernel's atomic implementations as these are not supported. Fall back to the generic spinlock code instead. Signed-off-by: Russell King

Re: [PATCH 10/14] ARM: v6k: select TLS register code according to V6 variants

2011-01-17 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [110117 14:22]: On Mon, 17 Jan 2011, Russell King - ARM Linux wrote: If CONFIG_CPU_V6 is enabled, we may or may not have the TLS register. Use the conditional code which copes with this variability. Otherwise, if CONFIG_CPU_32v6K is set, we know we have

Re: [PATCH 11/14] ARM: v6k: use CPU domain feature if we include support for arch ARMv6K

2011-01-17 Thread Tony Lindgren
* Nicolas Pitre n...@fluxnic.net [110117 14:02]: On Mon, 17 Jan 2011, Russell King - ARM Linux wrote: Rather than turning off CPU domain switching when the build architecture includes ARMv6K, thereby causing problems for ARMv6-supporting kernels, turn it on when it's required to support a

Re: [PATCH 12/14] ARM: v6k: do not disable CPU_32v6K based on platform selection

2011-01-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110117 11:24]: CPU_32v6K controls whether we use the ARMv6K extension instructions in the kernel, and in some places whether we use SMP-safe code sequences (eg, bitops.) MX3 prevents the selection of this option to ensure that it is not

Re: [PATCH 13/14] ARM: v6k: allow swp emulation again when ARMv7 is enabled

2011-01-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110117 11:26]: Now that we build a v6+v6k+v7 kernel with -march=armv6k for everything, we don't need to disable swp emulation to work around the build problem with OMAP. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Glad to see

Re: [PATCH 14/14] ARM: v6k: only allow SMP if we have v6k or v7 CPU

2011-01-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [110117 11:25]: SMP extensions are only supported on ARMv6k or ARMv7 architectures, so only offer the option if we're building for such an architecture. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Acked-by: Tony Lindgren

Re: [PATCH 06/14] ARM: v6k: Dove platforms use V6K architecture CPUs

2011-01-17 Thread Nicolas Pitre
On Mon, 17 Jan 2011, Russell King - ARM Linux wrote: Make Dove platforms select the new V6K CPU option. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Tested-by: Nicolas Pitre nicolas.pi...@linaro.org I'd suggest doing the following instead of attaching the selection to each

Re: [PATCH v4 1/4] TI816X: Update common omap platform files

2011-01-17 Thread Paul Walmsley
Hello Hemant, On Mon, 10 Jan 2011, Hemant Pedanekar wrote: 2) OMAP3 only build with CONFIG_SOC_OMAPTI816X: This will build TI816X optimized kernel. May not boot on other OMAP3 SoCs. ... Note that OMAP3 only build with support for OMAP3 SoCs as well as TI816X is not possible. Could you

RE: [PATCH v4 1/4] TI816X: Update common omap platform files

2011-01-17 Thread Pedanekar, Hemant
Paul Walmsley wrote on Tuesday, January 18, 2011 5:38 AM: Hello Hemant, On Mon, 10 Jan 2011, Hemant Pedanekar wrote: 2) OMAP3 only build with CONFIG_SOC_OMAPTI816X: This will build TI816X optimized kernel. May not boot on other OMAP3 SoCs. ... Note that OMAP3 only build with

Re: State of LDP3430 platform

2011-01-17 Thread Tony Lindgren
Hi, * Paul Walmsley p...@pwsan.com [110115 20:31]: --- a/arch/arm/mach-omap1/time.c +++ b/arch/arm/mach-omap1/time.c @@ -244,6 +244,13 @@ static void __init omap_timer_init(void) omap_init_mpu_timer(rate); omap_init_clocksource(rate); + /* + * XXX Since this file

  1   2   >