Re: [RFC/PATCH] powerpc: Don't use alloc_bootmem in cpm_uart_cpm2.c

2009-07-28 Thread Mark Ware
Scott Wood wrote: > On Mon, Jul 20, 2009 at 09:51:03PM +1000, Mark Ware wrote: >> This is another alloc_bootmem() -> kzalloc() change, this time to >> fix the non-fatal badness caused when booting with a cpm2_uart console. >> >> Signed-Off-By: Mark Ware >> >> --- >> drivers/serial/cpm_uart/cpm_ua

Re: [PATCH 8/9] drivers/mmc: correct error-handling code

2009-07-28 Thread Anton Vorontsov
On Tue, Jul 28, 2009 at 05:56:00PM +0200, Julia Lawall wrote: > From: Julia Lawall > > sdhci_alloc_host returns an ERR_PTR value in an error case instead of NULL. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @matc

[PATCH 8/9] drivers/mmc: correct error-handling code

2009-07-28 Thread Julia Lawall
From: Julia Lawall sdhci_alloc_host returns an ERR_PTR value in an error case instead of NULL. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @match exists@ expression x, E; statement S1, S2; @@ x = sdhci_alloc_host(...) ... w

sequoia: The final kernel image would overwrite the device tree

2009-07-28 Thread Geert Uytterhoeven
Hi Ben, Current kernel (2.6.31-rc4) fails to boot on sequoia: | ## Booting image at 0010 ... |Image Name: Linux-2.6.31-rc4-3-g52c6890- |Image Type: PowerPC Linux Kernel Image (gzip compressed) |Data Size:1680490 Bytes = 1.6 MB |Load Address: 0040 |

Re: [RESEND][PATCH] sata_fsl: hard and soft reset split

2009-07-28 Thread Sergei Shtylyov
Hello. ashish kalra wrote: Split sata_fsl_softreset() into hard and soft resets to make error-handling more efficient & device and PMP detection more reliable. Also includes fix for PMP support, driver tested with Sil3726, Sil4726 & Exar PMP controllers. Signed-off-by: Ashish Kalra [..

[5200] ATA and (BAD) interrupts question

2009-07-28 Thread Albrecht Dre�
Hi all, I run linux 2.6.29.1 from kernel.org on a custom Freescale MPC5200B based board, which has a CF card attached to the 5200's ATA. The CF seems to run nicely, but I am somewhat confused by the interrupts reproted by the kernel. Immediately after the boot, /proc/interrupts reports (inter

Re: Question about tracking freescale patches for Linux

2009-07-28 Thread Wolfram Sang
> I have contacted Freescale, but they basically say that they provide the > BSP, and make no commitments to supporting any other version of the linux > kernel. So true :( > 1) is there any way to determine if any these patches are currently > being worked into the mainline kernel, or if the

[PATCH] [v2] prom_init: evaluate mem kernel parameter for early allocation

2009-07-28 Thread Benjamin Krill
Evaluate mem kernel parameter for early memory allocations. If mem is set no allocation in the region above the given boundary is allowed. The current code doesn't take care about this and allocate memory above the given mem boundary. Signed-off-by: Benjamin Krill --- arch/powerpc/kernel/prom_in

Re: "next" branch update

2009-07-28 Thread Martyn Welch
Benjamin Herrenschmidt wrote: So I opened powerpc-next, and pushed the pile that was in "test" (with an additional bug fix to one of my patches that was causing the crash at boot that mpe reported with hugetlbfs enabled). The pre-req patch for adding an argument to __pte_free_tlb() has already b

[PATCH/RFC] powerpc/mm: Cleanup handling of execute permission

2009-07-28 Thread Benjamin Herrenschmidt
This is an attempt at cleaning up a bit the way we handle execute permission on powerpc (again !). _PAGE_HWEXEC is gone, _PAGE_EXEC is now only defined by CPUs that can do something with it, and the myriad of #ifdef's in the I$/D$ coherency code is reduced to 2 cases that hopefully should cover ev

Question about tracking freescale patches for Linux

2009-07-28 Thread B.J. Buchalter
Hi Folks, Sorry if this question is out of place for this list -- if it is, please point me to the proper place for this sort of question. It just seems like this might be the best place to ask. I am looking at bunch of patches to the 2.6.25 kernel (primarily in the drivers) that are prov