[PATCH 07/20] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-21 Thread Yinghai Lu
From: Ian Campbell ian.campb...@citrix.com Move arch_init_copy_chip_data and arch_free_chip_data into function pointers in struct irq_chip since they operate on irq_desc-chip_data. arch_init_chip_data cannot be moved into struct irq_chip because irq_desc-chip is not known at the time the

Re: [PATCH] Macintosh: fix brace and trailing statement coding style issues in adb-iop.c This is a patch to the adb-iop.c file that cleans up brace and trailing statement warnings found by the checkpa

2010-03-21 Thread fthain
On Tue, Mar 09, 2010 at 01:46:20PM -0800, Michael Beardsworth wrote: ... #ifdef DEBUG_ADB_IOP - printk(adb_iop_listen %p: rcvd packet, %d bytes: %02X %02X, req, - (uint) amsg-count + 2, (uint) amsg-flags, (uint) amsg-cmd); + printk(KERN_WARNING adb_iop_listen %p:

Re: [PATCH] Macintosh: fix brace and trailing statement coding style issues in adb-iop.c This is a patch to the adb-iop.c file that cleans up brace and trailing statement warnings found by the check

2010-03-21 Thread Geert Uytterhoeven
On Sun, Mar 21, 2010 at 10:16, fth...@telegraphics.com.au wrote: On Tue, Mar 09, 2010 at 01:46:20PM -0800, Michael Beardsworth wrote: ...  #ifdef DEBUG_ADB_IOP -   printk(adb_iop_listen %p: rcvd packet, %d bytes: %02X %02X, req, -           (uint) amsg-count + 2, (uint) amsg-flags,

Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-21 Thread Ben Hutchings
On Sun, 2010-03-21 at 20:10 +0100, Andi Kleen wrote: Ben Hutchings b...@decadent.org.uk writes: WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and should not set the usual TAINT_WARN

Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

2010-03-21 Thread Andi Kleen
Ben Hutchings b...@decadent.org.uk writes: WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and should not set the usual TAINT_WARN flag. To allow for this, add WARN_TAINT() and

Re: [PATCH] powerpc/fsl: Add multiple MSI bank support

2010-03-21 Thread Michael Ellerman
On Fri, 2010-03-19 at 10:15 -0500, Kumar Gala wrote: On Mar 18, 2010, at 10:06 PM, Michael Ellerman wrote: On Thu, 2010-03-18 at 09:53 -0500, Kumar Gala wrote: From: Lan Chunhe-B25806 b25...@freescale.com Freescale QorIQ P4080 has three MSI banks and the original code can not work

could you help me the GPIO problem on MPC8323?

2010-03-21 Thread liu . yaojin
hi,all: i saw peter's mpc8xxx_gpio.c in kernel 2.6.31. it seems that file can only be used on 831x and others, but not mpc8323. my platform is mpc8323, how can i use the GPIO? i also found QE GPIO Support and Support for simple, memory-mapped GPIO controllers selection, would that be helpful

[PATCH 01/10] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-21 Thread Yinghai Lu
From: Ian Campbell ian.campb...@citrix.com Move arch_init_copy_chip_data and arch_free_chip_data into function pointers in struct irq_chip since they operate on irq_desc-chip_data. arch_init_chip_data cannot be moved into struct irq_chip because irq_desc-chip is not known at the time the

Re: [PATCH 01/10] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-21 Thread Michael Ellerman
On Sun, 2010-03-21 at 18:36 -0700, Yinghai Lu wrote: From: Ian Campbell ian.campb...@citrix.com ... To replace the x86 arch_init_chip_data functionality irq_to_desc_alloc_node now takes a pointer to a function to allocate the chip data. This is necessary to ensure the allocation happens under

Re: [PATCH] powerpc/fsl: Add multiple MSI bank support

2010-03-21 Thread Timur Tabi
On Thu, Mar 18, 2010 at 9:53 AM, Kumar Gala ga...@kernel.crashing.org wrote: +       /* The multiple setting ppc_md.setup_msi_irqs will not harm things */ +       if (!ppc_md.setup_msi_irqs) { +               ppc_md.setup_msi_irqs = fsl_setup_msi_irqs; +               ppc_md.teardown_msi_irqs

Re: [PATCH 01/10] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-21 Thread Yinghai Lu
On 03/21/2010 06:56 PM, Michael Ellerman wrote: On Sun, 2010-03-21 at 18:36 -0700, Yinghai Lu wrote: From: Ian Campbell ian.campb...@citrix.com ... To replace the x86 arch_init_chip_data functionality irq_to_desc_alloc_node now takes a pointer to a function to allocate the chip data. This is