[PATCH/RFC] powerpc: Pass PID argument to _tlbie (WAS: Apparent kernel bug with GDB on ppc405)

2007-10-27 Thread Benjamin Herrenschmidt
Allright, so Matt, let me know if that fixes your problem with gdb, and I'll clean the patch up a bit and submit it. I want to double check if something similar may be needed for freescale booke. Basically, the problem is that things like get_user_pages() can cause COW operations which in turn

Re: [PATCH 1/2] PowerPC: Add 44x NDFC device-tree aware support

2007-10-27 Thread Thomas Gleixner
On Sat, 27 Oct 2007, Stefan Roese wrote: Hi Valentine, On Friday 26 October 2007, Valentine Barshak wrote: This adds device-tree aware PowerPC 44x NDFC (NAND Flash Controller) driver. The code is based on the original ndfc.c driver by Thomas Gleixner. The major difference is that here

[PATCH] compat_ioctl: fix block device compat ioctl regression

2007-10-27 Thread Arnd Bergmann
From: Philip Langdale [EMAIL PROTECTED] The conversion of handlers to compat_blkdev_ioctl accidentally disabled handling of most ioctl numbers on block devices because of a typo. Fix the one line to enable it all again. Signed-off-by: Arnd Bergmann [EMAIL PROTECTED] --- Mea Culpa. This should

Re: [PATCH 6/7] mpc83xx: timer driver for PM wakeup

2007-10-27 Thread Anton Vorontsov
Hi Scott, On Tue, Oct 23, 2007 at 04:25:02PM -0500, Scott Wood wrote: This is a driver for the mpc83xx's GTM4 timer. It's functionality is limited to providing a wakeup source for suspend-to-RAM. Signed-off-by: Scott Wood [EMAIL PROTECTED] I think you can use dev_err(dev-dev +static int

Re: [PATCH] compat_ioctl: fix block device compat ioctl regression

2007-10-27 Thread Jens Axboe
On Sat, Oct 27 2007, Arnd Bergmann wrote: From: Philip Langdale [EMAIL PROTECTED] The conversion of handlers to compat_blkdev_ioctl accidentally disabled handling of most ioctl numbers on block devices because of a typo. Fix the one line to enable it all again. Signed-off-by: Arnd Bergmann

arch/powerpc/boot/wrapper broken

2007-10-27 Thread Michael Buesch
It calls the mkimage command, which does not exist in my $PATH. -- Greetings Michael. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: arch/powerpc/boot/wrapper broken

2007-10-27 Thread Vitaly Bordug
On Sat, 27 Oct 2007 14:42:49 +0200 Michael Buesch wrote: It calls the mkimage command, which does not exist in my $PATH. well, mkImage is a part of u-boot and there was some talk to make it part of kernel too, since it does not take alot of place but still mandatory for a number of

Re: arch/powerpc/boot/wrapper broken

2007-10-27 Thread Michael Buesch
On Saturday 27 October 2007 14:55:49 Vitaly Bordug wrote: On Sat, 27 Oct 2007 14:42:49 +0200 Michael Buesch wrote: It calls the mkimage command, which does not exist in my $PATH. well, mkImage is a part of u-boot and there was some talk to make it part of kernel too, since it does

Re: [PATCH] ucc_geth: add support for netpoll

2007-10-27 Thread Sergei Shtylyov
Hello. Anton Vorontsov wrote: This patch adds netpoll support for the QE UCC Gigabit Ethernet driver. The approach is very similar to the gianfar driver. It's rather contrarywise -- this is standard approach and gianfar with its 3 TSEC IRQs has a quite non-standard poll_controller()

[PATCH v2] [POWERPC] Fix CONFIG_SMP=n build break

2007-10-27 Thread Olof Johansson
Fix two build errors on powerpc allyesconfig + CONFIG_SMP=n: arch/powerpc/platforms/built-in.o: In function `cpu_affinity_set': arch/powerpc/platforms/cell/spu_priv1_mmio.c:78: undefined reference to `.iic_get_target_id' arch/powerpc/platforms/built-in.o: In function `iic_init_IRQ':

Re: [PATCH] [Powerpc] fix switch_slb handling of 1T ESID values

2007-10-27 Thread Will Schmidt
On Sat, 2007-10-27 at 14:19 +1000, Benjamin Herrenschmidt wrote: On Fri, 2007-10-26 at 15:46 -0500, Will Schmidt wrote: [Powerpc] fix switch_slb handling of 1T ESID values Now that we have 1TB segment size support, we need to be using the GET_ESID_1T macro when comparing ESID values for

2.6.24-rc1 sysctl table check failed on PowerMac

2007-10-27 Thread Mikael Pettersson
Booting 2.6.24-rc1 on my PowerMac the kernel now spits out a sysctl warning early in the boot sequence: --- dmesg-2.6.23 +++ dmesg-2.6.24-rc1 ... IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP established hash table entries: 131072 (order: 8, 1048576 bytes) TCP bind hash

Re: [PATCH v2] [POWERPC] Fix CONFIG_SMP=n build break

2007-10-27 Thread Arnd Bergmann
On Saturday 27 October 2007, Olof Johansson wrote: Fix two build errors on powerpc allyesconfig + CONFIG_SMP=n: arch/powerpc/platforms/built-in.o: In function `cpu_affinity_set': arch/powerpc/platforms/cell/spu_priv1_mmio.c:78: undefined reference to `.iic_get_target_id'

Re: 2.6.24-rc1 sysctl table check failed on PowerMac

2007-10-27 Thread Alexey Dobriyan
On Sat, Oct 27, 2007 at 07:57:38PM +0200, Mikael Pettersson wrote: Booting 2.6.24-rc1 on my PowerMac the kernel now spits out a sysctl warning early in the boot sequence: --- dmesg-2.6.23 +++ dmesg-2.6.24-rc1 ... IP route cache hash table entries: 32768 (order: 5, 131072 bytes) TCP

[PATCH] fix breakage in pegasos_eth (fallout from commit b45d9147f1582333e180e1023624c003874b7312)

2007-10-27 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h index 3f27239..8df230a 100644 --- a/include/linux/mv643xx_eth.h +++ b/include/linux/mv643xx_eth.h @@ -8,6 +8,9 @@ #define MV643XX_ETH_NAME mv643xx_eth #define

RE: [i2c] i2c-mpc.c driver issues

2007-10-27 Thread Joakim Tjernlund
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] abs.org] On Behalf Of Jean Delvare Sent: den 26 oktober 2007 11:53 To: Tjernlund Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] Subject: Re: [i2c] i2c-mpc.c driver issues Hi Jocke, On Wed, 24 Oct 2007

[PATCH] powerpc: Fix cache line vs. block size confusion

2007-10-27 Thread Benjamin Herrenschmidt
We had an historical confusion in the kernel between cache line and cache block size. The former is an implementation detail of the L1 cache which can be useful for performance optimisations, the later is the actual size on which the cache control instructions operate, which can be different. For

[PATCH] allocation fix in ppc/platforms/4xx/luan.c

2007-10-27 Thread Roel Kluin
Don't allocate hose2 when when hose1 can't be allocated and free hose1 when hose2 can't be allocated. Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/arch/ppc/platforms/4xx/luan.c b/arch/ppc/platforms/4xx/luan.c index 4b16961..b79ebb8 100644 --- a/arch/ppc/platforms/4xx/luan.c +++

[PATCH] Free when ioremap fails in powerpc/platforms/52xx/mpc52xx_pci.c

2007-10-27 Thread Roel Kluin
Free hose when ioremap fails Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pci.c b/arch/powerpc/platforms/52xx/mpc52xx_pci.c index 4c6c82a..50f9655 100644 --- a/arch/powerpc/platforms/52xx/mpc52xx_pci.c +++

Re: [PATCH v2] [POWERPC] Fix CONFIG_SMP=n build break

2007-10-27 Thread Stephen Rothwell
Hi Olof, Just a trivial thing ... On Sat, 27 Oct 2007 12:28:51 -0500 Olof Johansson [EMAIL PROTECTED] wrote: +u8 iic_get_target_id(int cpu) +{ + return per_cpu(iic, cpu).target_id; +} + +EXPORT_SYMBOL_GPL(iic_get_target_id); We don't normally put a blank line between a function and

Re: [PATCH v2] [POWERPC] Fix CONFIG_SMP=n build break

2007-10-27 Thread Olof Johansson
On Sun, Oct 28, 2007 at 12:38:50PM +1100, Stephen Rothwell wrote: Hi Olof, Just a trivial thing ... On Sat, 27 Oct 2007 12:28:51 -0500 Olof Johansson [EMAIL PROTECTED] wrote: +u8 iic_get_target_id(int cpu) +{ + return per_cpu(iic, cpu).target_id; +} +