[BUILD-FAILURE] 2.6.28-rc2-mm1 - build breaks on powerpc with !GENERIC_BUG

2008-10-29 Thread Kamalesh Babulal
Hi Andrew, The 2.6.28-rc2-mm1 randconfig build fails on powerpc arch/powerpc/xmon/xmon.c: In function 'print_bug_trap': arch/powerpc/xmon/xmon.c:1364: error: implicit declaration of function 'find_bug' arch/powerpc/xmon/xmon.c:1364: warning: assignment makes pointer from integer without a

Re: [PATCH] uninorth agp: don't mark module parameter __devinit

2008-10-29 Thread Michel Dänzer
On Wed, 2008-10-29 at 03:11 +0100, Johannes Berg wrote: A module parameter can possibly be shown via sysfs, which isn't a good idea if the section has been removed, so remove the __devinit annotation. Under what circumstances could it be shown in sysfs? -- Earthling Michel Dänzer

Re: [PATCH] uninorth agp: don't mark module parameter __devinit

2008-10-29 Thread Johannes Berg
On Wed, 2008-10-29 at 13:09 +0100, Michel Dänzer wrote: On Wed, 2008-10-29 at 03:11 +0100, Johannes Berg wrote: A module parameter can possibly be shown via sysfs, which isn't a good idea if the section has been removed, so remove the __devinit annotation. Under what circumstances could

[PATCH] uninorth agp: don't mark module parameter __devinit

2008-10-29 Thread Johannes Berg
A module parameter can possibly be shown via sysfs, which isn't a good idea if the section has been removed, so remove the __devinit annotation. Signed-off-by: Johannes Berg [EMAIL PROTECTED] --- Also fixes a section mismatch warning. --- everything.orig/drivers/char/agp/uninorth-agp.c

Chipselect in SPI binding with mpc5200-psc-spi

2008-10-29 Thread Henk Stegeman
.. .. In my dts I have my chipselect defined as follows: gpt4: [EMAIL PROTECTED] {// General Purpose Timer GPT4 in GPIO mode for SMC4000IO chip select. compatible = fsl,mpc5200b-gpt-gpio,fsl,mpc5200-gpt-gpio; cell-index = 4; reg = 0x640 0x10;

Re: Chipselect in SPI binding with mpc5200-psc-spi

2008-10-29 Thread Grant Likely
On Wed, Oct 29, 2008 at 7:43 AM, Henk Stegeman [EMAIL PROTECTED] wrote: .. .. In my dts I have my chipselect defined as follows: gpt4: [EMAIL PROTECTED] {// General Purpose Timer GPT4 in GPIO mode for SMC4000IO chip select. compatible =

Re: [PATCH v3] spi: Add PPC4xx SPI driver

2008-10-29 Thread Josh Boyer
On Sun, Oct 26, 2008 at 06:48:44AM +0100, Stefan Roese wrote: This adds a SPI driver for the SPI controller found in the IBM/AMCC 4xx PowerPC's. Signed-off-by: Stefan Roese [EMAIL PROTECTED] Signed-off-by: Wolfgang Ocker [EMAIL PROTECTED] --- Changes in v3: - When the device is removed the GPIOs

Re: [PATCH]: [MPC5200] Add ATA DMA support

2008-10-29 Thread Matt Sealey
Grant Likely wrote: On Wed, Aug 13, 2008 at 3:07 AM, Tim Yamin [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 7:11 AM, Grant Likely [EMAIL PROTECTED] wrote: Sounds good to me. You will get more testers that way. I can pick it up for -next if everything else looks good. Here are the new

Re: [PATCH] AMCC Crypto4xx Device Driver v2]

2008-10-29 Thread Kim Phillips
On Tue, 28 Oct 2008 19:18:20 -0700 James Hsiao [EMAIL PROTECTED] wrote: On Tue, 2008-10-28 at 20:51 -0400, Josh Boyer wrote: - The question on ABLKCIPHER kconfig was ignored Is ABLKCIPHER a sub set of BLKCIPHER? So, if BLKCIPHER is selected then if ABLKCIPHER is present, it will use

Re: [PATCH] uninorth agp: don't mark module parameter __devinit

2008-10-29 Thread Michel Dänzer
On Wed, 2008-10-29 at 13:12 +0100, Johannes Berg wrote: On Wed, 2008-10-29 at 13:09 +0100, Michel Dänzer wrote: On Wed, 2008-10-29 at 03:11 +0100, Johannes Berg wrote: A module parameter can possibly be shown via sysfs, which isn't a good idea if the section has been removed, so remove

Re: [PATCH] AMCC Crypto4xx Device Driver v2]

2008-10-29 Thread James Hsiao
Hi Kim, Thanks for comments. Please see inline. James On Wed, 2008-10-29 at 10:54 -0500, Kim Phillips wrote: On Tue, 28 Oct 2008 19:18:20 -0700 James Hsiao [EMAIL PROTECTED] wrote: On Tue, 2008-10-28 at 20:51 -0400, Josh Boyer wrote: - The question on ABLKCIPHER kconfig was ignored Is

[PATCH] mpc52xx_uart: report serial errors to users

2008-10-29 Thread René Bürgel
Hi! This patch adds the capability to the mpc52xx-uart to report framing errors, parity errors, breaks and overruns to userspace. These values may be requested in userspace by using the ioctl TIOCGICOUNT. Signed-off-by: René Bürgel [EMAIL PROTECTED] Kind regards, René Bürgel -- René Bürgel

defconfig doesn't work with MPC8610HPCD

2008-10-29 Thread Matt Sealey
Hi, We just tied building a 2.6.27.4 vanilla kernel using the MPC8610 defconfig (for the specific board) and got a zero result from booting it - complete lack of output on the serial port and no apparent activity. We're running U-Boot 1.3.0 and creating the device tree with something like .

Re: [PATCH] mpc52xx_uart: report serial errors to users

2008-10-29 Thread Grant Likely
Missing patch? On Wed, Oct 29, 2008 at 11:22 AM, René Bürgel [EMAIL PROTECTED] wrote: Hi! This patch adds the capability to the mpc52xx-uart to report framing errors, parity errors, breaks and overruns to userspace. These values may be requested in userspace by using the ioctl TIOCGICOUNT.

Re: [PATCH] AMCC Crypto4xx Device Driver v2]

2008-10-29 Thread James Hsiao
Our crypto engine has a ring architecture, the descriptor ring is controlled by two variable head and tail. head only get increased/0 when we get a request. tail obly get increased/0 in packet done interrupt. It is safe if anytime we can only get one request. Yes, it's possible to have multiple

Re: [PATCH RFC v2] net: add PCINet driver

2008-10-29 Thread Stephen Hemminger
On Wed, 29 Oct 2008 13:20:27 -0700 Ira Snyder [EMAIL PROTECTED] wrote: This adds support to Linux for a virtual ethernet interface which uses the PCI bus as its transport mechanism. It creates a simple, familiar, and fast method of communication for two devices connected by a PCI interface.

Re: [PATCH RFC v2] net: add PCINet driver

2008-10-29 Thread Ira Snyder
On Wed, Oct 29, 2008 at 01:25:06PM -0700, Stephen Hemminger wrote: On Wed, 29 Oct 2008 13:20:27 -0700 Ira Snyder [EMAIL PROTECTED] wrote: Big snip... diff --git a/drivers/net/pcinet.h b/drivers/net/pcinet.h new file mode 100644 index 000..66d2cba --- /dev/null +++

Re: [PATCH RFC v2] net: add PCINet driver

2008-10-29 Thread Scott Wood
Ira Snyder wrote: I know about this. I was following the example set forth in drivers/net/fs_enet. I recommend against that. :-) -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

16G related patches for stable kernel 2.6.27

2008-10-29 Thread Jon Tollefson
Please consider the following patches for the 2.6.27 stable tree. The first two allow a powerpc machine with more then 2 numa nodes to boot when 16G pages are enabled. The third one allows a powerpc machine to boot if using 16G pages and the mem= boot param. thanks, Jon powerpc: Reserve in

Re: Device Tree

2008-10-29 Thread Sébastien Chrétien
Thank for your answers. Sébastien Matt Sealey a écrit : Benjamin Herrenschmidt wrote: On Tue, 2008-09-30 at 18:08 -0500, Matt Sealey wrote: It's far more common than people might think at first glance. With x86 I am sure it would benefit the platform a little more if the OF support was

Re: [PATCH RFC v2] net: add PCINet driver

2008-10-29 Thread Ira Snyder
On Wed, Oct 29, 2008 at 03:54:46PM -0500, Scott Wood wrote: Ira Snyder wrote: I know about this. I was following the example set forth in drivers/net/fs_enet. I recommend against that. :-) Great, now you tell me :) I'll go ahead change the typedef to a struct. Hopefully some of the other

[patch 1/1] powerpc: hugetlb pgtable cache access cleanup

2008-10-29 Thread akpm
From: Jon Tollefson [EMAIL PROTECTED] Cleaned up use of macro. We now reference the pgtable_cache array directly instead of using a macro. Signed-off-by: Jon Tollefson [EMAIL PROTECTED] Cc: Nick Piggin [EMAIL PROTECTED] Cc: Paul Mackerras [EMAIL PROTECTED] Cc: Benjamin Herrenschmidt [EMAIL

[PATCH] PPC40x: Limit Allocable RAM During Early Mapping

2008-10-29 Thread Grant Erickson
If the size of RAM is not an exact power of two, we may not have covered RAM in its entirety with large 16 and 4 MiB pages. Consequently, restrict the top end of RAM currently allocable by updating '__initial_memory_limit_addr' so that calls to the LMB to allocate PTEs for tail coverage with

Re: [PATCH RFC v2] net: add PCINet driver

2008-10-29 Thread Matt Sealey
Ira Snyder wrote: I'll go ahead change the typedef to a struct. Hopefully some of the other inspiration I took wasn't too bad. I'm totally open to suggestions on improvements for this driver. Not a suggestion for improvement, but I have to say this is by far the single coolest thing I have

Re: [patch 1/1] powerpc: hugetlb pgtable cache access cleanup

2008-10-29 Thread David Gibson
On Wed, Oct 29, 2008 at 02:18:30PM -0700, [EMAIL PROTECTED] wrote: From: Jon Tollefson [EMAIL PROTECTED] Cleaned up use of macro. We now reference the pgtable_cache array directly instead of using a macro. Signed-off-by: Jon Tollefson [EMAIL PROTECTED] Cc: Nick Piggin [EMAIL PROTECTED]

Re: [v5] powerpc: gpio driver for mpc8349/8572/8610 and compatible

2008-10-29 Thread Trent Piepho
On Tue, 23 Sep 2008, Peter Korsgaard wrote: +- compatible : fsl,CHIP-gpio followed by fsl,mpc8349-gpio for + 83xx, fsl,mpc8572-gpio for 85xx and fsl,mpc8610-gpio for 86xx. Why have the three different compatible settings when the code doesn't do anything different? +#define MPC8XXX_GPIO_PINS

Re: [PATCH 1/4] of_gpio: Return GPIO flags from of_get_gpio()A

2008-10-29 Thread Trent Piepho
On Tue, 28 Oct 2008, Anton Vorontsov wrote: On Fri, Oct 24, 2008 at 04:08:58PM -0700, Trent Piepho wrote: + * @flags: if non-NUll flags are returned here NULL, not NUll. Thanks, fixed. + const void *gpio_spec, unsigned int *flags) Why you made it unsigned int? In my

libfdt: Fix bug in fdt_subnode_offset_namelen()

2008-10-29 Thread David Gibson
There's currently an off-by-one bug in fdt_subnode_offset_namelen() which causes it to keep searching after it's finished the subnodes of the given parent, and into the subnodes of siblings of the original node which come after it in the tree. This patch fixes the bug. It also extends the