Re: [RFC][PATCH] powerpc/book3e: Fix CPU feature handling on e5500

2011-04-05 Thread Stephen Rothwell
Hi Kumar, On Wed, 6 Apr 2011 00:29:32 -0500 Kumar Gala wrote: > > * I'm concerned if its ok to assume 'enum' can handle a 64-bit mask or not. > I'm assuming this is the reason that we use a #define on __powerpc64__ enums are *ints* and therefore 32 bit. gcc can cope, but warns about it (I th

[RFC][PATCH] powerpc/book3e: Fix CPU feature handling on e5500

2011-04-05 Thread Kumar Gala
The CPU_FTRS_POSSIBLE and CPU_FTRS_ALWAYS defines did not encompass e5500 CPU features when built for 64-bit. This causes issues with cpu_has_feature() as it utilizes the POSSIBLE & ALWAYS defines as part of its check. Signed-off-by: Kumar Gala --- * I'm concerned if its ok to assume 'enum' can

Re: [PATCH] powerpc/book3e: Fix extlb size

2011-04-05 Thread Kumar Gala
On Apr 5, 2011, at 6:39 PM, Benjamin Herrenschmidt wrote: > On Tue, 2011-04-05 at 07:41 -0500, Kumar Gala wrote: >>> Rework it to make it a bit clearer, and also correct. We want 3 save >>> areas, each EX_TLB_SIZE _bytes_. >> >> Where does the 3 come from? I have a guess, and think its possible

Re: sdhc/mpc8536 - SDCard always detected like read-only

2011-04-05 Thread Wolfram Sang
> sdhci@2e000 { > compatible = "fsl,mpc8536-esdhc", "fsl,esdhc"; > reg = <0x2e000 0x1000>; > interrupts = <72 0x2>; > interrupt-parent = <&mpic>; > /* Filled in by U-Boot */ >

Re: [PATCH] powerpc/book3e: Fix extlb size

2011-04-05 Thread Benjamin Herrenschmidt
On Tue, 2011-04-05 at 07:41 -0500, Kumar Gala wrote: > > Rework it to make it a bit clearer, and also correct. We want 3 save > > areas, each EX_TLB_SIZE _bytes_. > > Where does the 3 come from? I have a guess, and think its possible we > (FSL) want 4? Wrong guess :-) It's not about exception le

Combining multiple NAND MTDs

2011-04-05 Thread Barry G
Hello, I have an 8308 using the fsl_elbc_nand NAND controller. I have chip selects 2 & 3 hooked up to a single die multiple chip select NAND chip. I have programmed u-boot and the kernel correctly and the NAND "chips" are found: NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1Gi

Re: [PATCH 00/34] Make kernel build deterministic

2011-04-05 Thread Artem Bityutskiy
On Tue, 2011-04-05 at 08:49 -0700, Greg KH wrote: > On Tue, Apr 05, 2011 at 04:58:47PM +0200, Michal Marek wrote: > > > > Hi, > > > > this series makes it possible to build bit-identical kernel image and > > modules from identical sources. Of course the build is already > > deterministic in terms

Re: [PATCH 00/34] Make kernel build deterministic

2011-04-05 Thread Greg KH
On Tue, Apr 05, 2011 at 03:29:19PM -0300, Mauro Carvalho Chehab wrote: > Em 05-04-2011 15:16, James Bottomley escreveu: > > On Tue, 2011-04-05 at 08:49 -0700, Greg KH wrote: > >> On Tue, Apr 05, 2011 at 04:58:47PM +0200, Michal Marek wrote: > >>> > >>> Hi, > >>> > >>> this series makes it possible

Re: sdhc/mpc8536 - SDCard always detected like read-only

2011-04-05 Thread Carlos Roberto Moratelli
Em Ter, 2011-04-05 às 21:02 +0200, Wolfram Sang escreveu: > > Every idea or tip is apreciated. > > Please post your dts. > /* * MPC8536 DS Device Tree Source * * Copyright 2008-2009 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify it *

Re: sdhc/mpc8536 - SDCard always detected like read-only

2011-04-05 Thread Wolfram Sang
> Every idea or tip is apreciated. Please post your dts. -- Pengutronix e.K. | Wolfram Sang| Industrial Linux Solutions | http://www.pengutronix.de/ | signature.asc Description: Digital signature ___

sdhc/mpc8536 - SDCard always detected like read-only

2011-04-05 Thread Carlos Roberto Moratelli
Hello, I am working in a MPC8536e custom board. Our custom board has a slot to SDCards conected to the MPC8536e's eSDHC controller. We are using just 4-serial data pins of eSDHC controller. My kernel is 2.6.35.7 and I am using buildroot to build the root system with uClib. I can mount and read

Re: [PATCH 00/34] Make kernel build deterministic

2011-04-05 Thread Mauro Carvalho Chehab
Em 05-04-2011 15:16, James Bottomley escreveu: > On Tue, 2011-04-05 at 08:49 -0700, Greg KH wrote: >> On Tue, Apr 05, 2011 at 04:58:47PM +0200, Michal Marek wrote: >>> >>> Hi, >>> >>> this series makes it possible to build bit-identical kernel image and >>> modules from identical sources. Of course

Re: [PATCH 00/34] Make kernel build deterministic

2011-04-05 Thread James Bottomley
On Tue, 2011-04-05 at 08:49 -0700, Greg KH wrote: > On Tue, Apr 05, 2011 at 04:58:47PM +0200, Michal Marek wrote: > > > > Hi, > > > > this series makes it possible to build bit-identical kernel image and > > modules from identical sources. Of course the build is already > > deterministic in terms

Re: [PATCH 00/34] Make kernel build deterministic

2011-04-05 Thread Greg KH
On Tue, Apr 05, 2011 at 04:58:47PM +0200, Michal Marek wrote: > > Hi, > > this series makes it possible to build bit-identical kernel image and > modules from identical sources. Of course the build is already > deterministic in terms of behavior of the code, but the various > timestamps embedded

Re: [RFC 2/5]arch:powerpc:sysdev:Makefile Remove unused config in the Makefile.

2011-04-05 Thread Scott Wood
On Tue, 5 Apr 2011 09:58:19 -0700 "Justin P. Mattock" wrote: > The patch below removes an unused config variable found by using a kernel > cleanup script. > Note: I did try to cross compile these but hit erros while doing so.. > (gcc is not setup to cross compile) and am unsure if anymore needs t

[RFC 5/5]arch:powerpc:kernel:Makefile Remove unused config in the Makefile.

2011-04-05 Thread Justin P. Mattock
The patch below removes an unused config variable found by using a kernel cleanup script. Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time. Signed-of

[RFC 2/5]arch:powerpc:sysdev:Makefile Remove unused config in the Makefile.

2011-04-05 Thread Justin P. Mattock
The patch below removes an unused config variable found by using a kernel cleanup script. Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time. Signed-of

[PATCH 00/34] Make kernel build deterministic

2011-04-05 Thread Michal Marek
Hi, this series makes it possible to build bit-identical kernel image and modules from identical sources. Of course the build is already deterministic in terms of behavior of the code, but the various timestamps embedded in the object files make it hard to compare two builds, for instance to veri

[PATCH 05/34] powerpc: Use the deterministic mode of ar

2011-04-05 Thread Michal Marek
Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek --- arch/powerpc/boot/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 8917816..d028a65 100

[PATCH 03/34] powerpc: Call gzip with -n

2011-04-05 Thread Michal Marek
The timestamps recorded in the .gz files add no value. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek --- arch/powerpc/boot/wrapper |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/boot/wrapp

Re: [PATCH] powerpc/book3e: Fix extlb size

2011-04-05 Thread Kumar Gala
On Apr 5, 2011, at 1:28 AM, Michael Ellerman wrote: > The calculation of the size for the exception save area of the TLB > miss handler is wrong, luckily it's too big not too small. > > Rework it to make it a bit clearer, and also correct. We want 3 save > areas, each EX_TLB_SIZE _bytes_. Where

Re: checking status semantics with compatible functions

2011-04-05 Thread Benjamin Herrenschmidt
On Wed, 2011-03-30 at 08:31 -0600, Grant Likely wrote: > Yes, of_device_is_available() should be checked, but it should not be > added directly to of_device_is_compatible(). I'm okay with adding > a helper variant that does the of_device_is_compatible() check. > > In that particular case, I'd als

[git pull] Please pull powerpc.git merge branch

2011-04-05 Thread Benjamin Herrenschmidt
Hi Linus ! Some minor powerpc fixes for you, freescale device-tree updates and a few nits like wrong ifdef's etc... Cheers, Ben. The following changes since commit b2a8b4b81966094703088a7bc76a313af841924d: Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm

Re: Revert 737a3bb9416ce2a7c7a4170852473a4fcc9c67e8 ?

2011-04-05 Thread Michel Dänzer
On Die, 2011-04-05 at 01:52 +0200, Gabriel Paubert wrote: > > Actually I thought that the name radeon_cp that is registered there > would appear somwhere under /sys (or /proc) but failed to find it... FWIW the radeon_cp* functions are in drivers/gpu/drm/radeon. -- Earthling Michel Dänzer

[PATCH] powerpc: Replace open coded instruction patching with patch_instruction/patch_branch

2011-04-05 Thread Anton Blanchard
There are a few places we patch instructions without using patch_instruction and patch_branch, probably because they predated it. Fix it. Signed-off-by: Anton Blanchard --- Index: powerpc.git/arch/powerpc/mm/hash_utils_64.c === -

Re: [PATCH v10 03/10] USB/ppc4xx: Add Synopsys DWC OTG Core Interface Layer (CIL)

2011-04-05 Thread Felipe Balbi
On Tue, Apr 05, 2011 at 12:38:03PM +0530, Keshava Munegowda wrote: > > -Original Message- > > From: Sergei Shtylyov [mailto:sshtyl...@mvista.com] > > Sent: Saturday, April 02, 2011 12:26 AM > > To: Tirumala Marri > > Cc: Keshava Munegowda; linux-...@vger.kernel.org; > linuxppc-dev@lists.ozl

RE: [PATCH v10 03/10] USB/ppc4xx: Add Synopsys DWC OTG Core Interface Layer (CIL)

2011-04-05 Thread Keshava Munegowda
> -Original Message- > From: Sergei Shtylyov [mailto:sshtyl...@mvista.com] > Sent: Saturday, April 02, 2011 12:26 AM > To: Tirumala Marri > Cc: Keshava Munegowda; linux-...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; g...@kroah.com; > Fushen Chen; Mark Miesfeld > Subject: Re: [PATCH v10