RE: [RFC PATCH 2/2 -mm] RapidIO: TSI721 Add DMA Engine support

2011-10-04 Thread Bounine, Alexandre
Andrew Morton wrote: > > > > No, it can be used all over the place: > drivers/net/irda/w83977af_ir.c, > > > drivers/scsi/bnx2fc/bnx2fc_tgt.c, > > > drivers/net/wireless/rt2x00/rt2x00pci.c, > > > drivers/crypto/amcc/crypto4xx_core.c and many nmore. > > > > In this case I will happily use dma_zalloc

Re: [RFC PATCH 2/2 -mm] RapidIO: TSI721 Add DMA Engine support

2011-10-04 Thread Andrew Morton
On Tue, 4 Oct 2011 18:38:09 -0700 "Bounine, Alexandre" wrote: > > No, it can be used all over the place: drivers/net/irda/w83977af_ir.c, > > drivers/scsi/bnx2fc/bnx2fc_tgt.c, > > drivers/net/wireless/rt2x00/rt2x00pci.c, > > drivers/crypto/amcc/crypto4xx_core.c and many nmore. > > In this case I

RE: [RFC PATCH 2/2 -mm] RapidIO: TSI721 Add DMA Engine support

2011-10-04 Thread Bounine, Alexandre
Andrew Morton wrote: > > On Mon, 3 Oct 2011 10:53:45 -0700 > "Bounine, Alexandre" wrote: > > > > > + memset(bd_ptr, 0, bd_num * sizeof(struct tsi721_dma_desc)); > > > > + > > > > + dev_dbg(dev, "DMA descriptors @ %p (phys = %llx)\n", > > > > + bd_ptr, (unsigned long lon

Re: [PATCH 49/55] video: irq: Remove IRQF_DISABLED

2011-10-04 Thread Florian Tobias Schandinat
On 09/22/2011 08:59 AM, Yong Zhang wrote: > Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], > We run all interrupt handlers with interrupts disabled > and we even check and yell when an interrupt handler > returns with interrupts enabled (see commit [b738a50a: > genirq:

RE: Request_irq fails for IRQ2

2011-10-04 Thread smitha.vanga
Hi Scoot, When I try to use a atomic varaible in my ISR I see a kernel crash . with mesage BUG: scheduling while atomic: Below is the code : My ISR irqreturn_t cpld_irq_handler(int irq, void * dev_id, struct pt_regs *regs) { wake_up(&cpld_intr_wait); atomic_inc(&cpld_intr_data); /* increm

Re: [RFC PATCH 2/2 -mm] RapidIO: TSI721 Add DMA Engine support

2011-10-04 Thread Andrew Morton
On Mon, 3 Oct 2011 10:53:45 -0700 "Bounine, Alexandre" wrote: > > > + memset(bd_ptr, 0, bd_num * sizeof(struct tsi721_dma_desc)); > > > + > > > + dev_dbg(dev, "DMA descriptors @ %p (phys = %llx)\n", > > > + bd_ptr, (unsigned long long)bd_phys); > > > + > > > + /* Allocate space for descri

Re: [PATCH] mlx4_en: fix transmit of packages when blue frame is enabled

2011-10-04 Thread Thadeu Lima de Souza Cascardo
On Tue, Oct 04, 2011 at 08:02:12AM +0200, Benjamin Herrenschmidt wrote: > On Mon, 2011-10-03 at 17:53 -0300, Thadeu Lima de Souza Cascardo wrote: > > .../... > > > > Can you also send me the output of ethtool -i? > > > It seems that there is a problem with write combining on Power > > > process

Re: Request_irq fails for IRQ2

2011-10-04 Thread Scott Wood
On 10/04/2011 06:21 AM, smitha.va...@wipro.com wrote: > Hi Scott, > > I am able to register the IRQ now once I add the call irq_set_default_host in > cpm2_pic. > But when I call enable_irq the code throws the below warning and gives > exception in enable irq at > spin_unlock_irqrestore(&desc->l

Re: [PATCH] memory hotplug: Correct page reservation checking

2011-10-04 Thread Nathan Fontenot
On 10/03/2011 07:50 PM, Andrew Morton wrote: > On Mon, 26 Sep 2011 10:22:33 -0500 > Nathan Fontenot wrote: > >> The check to ensure that pages of recently added memory sections are >> correctly >> marked as reserved before trying to online the memory is broken. The request >> to online the memo

RE: Request_irq fails for IRQ2

2011-10-04 Thread smitha.vanga
Hi Scott, I am able to register the IRQ now once I add the call irq_set_default_host in cpm2_pic. But when I call enable_irq the code throws the below warning and gives exception in enable irq at spin_unlock_irqrestore(&desc->lock, flags); in enable_irq. printk(KERN_WARNING "Unbalanced enable

ping: [PATCH] GXT4000P and GXT6500P support

2011-10-04 Thread nello martuscielli
ping for: http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-June/072678.html This patch adds support for GXT4000P and GXT6500P cards found on some IBM pSeries machines. GXT4000P/6000P and GXT4500P/6500P couples are identical from software's point of view and are based on the same Raster Engin

Re: [PATCH] libata: Convert LED disk trigger from IDE to libata

2011-10-04 Thread nello martuscielli
Hi Jorg, you submitted the patch slightly modified by Acrux (from CruxPPC) [1] Anyway this patch is widely used by any ibook/powerbook owners with great satisfaction. I also use this patch from Jan 2011 and i'd like to see it upstreamed. Btw, guess you should add: Signed-off-by: Joseph Jezak Ac

Re: Request_irq fails for IRQ2

2011-10-04 Thread Vijay Nikam
Smitha, Do you have the entry of this device node in your DTS file? if yes, then is the device is getting registered properly? If you are writing platform driver then you can use 'platform_get_irq' it returns the irq number, which you can pass in the 'request_irq'. If it is a simple character dri

Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-10-04 Thread Subrata Modak
Also, On Tue, 2011-10-04 at 13:19 +0530, Ravi K Nittala wrote: > The RTAS firmware flash update is conducted using an RTAS call that is > serialized by lock_rtas() which uses spin_lock. While the flash is in > progress, rtasd performs scan for any RTAS events that are generated by > the system. rt

[PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-10-04 Thread Ravi K Nittala
The RTAS firmware flash update is conducted using an RTAS call that is serialized by lock_rtas() which uses spin_lock. While the flash is in progress, rtasd performs scan for any RTAS events that are generated by the system. rtasd keeps scanning for the RTAS events generated on the machine. This is

RE: Request_irq fails for IRQ2

2011-10-04 Thread smitha.vanga
Hi Scott, Thank you. But I am not very clear where exactly I need to call the irq_set_default_host(). And also for the second fix I did not understand or to make cpm2_pic_host non-static (in which case you should pass that). in th previous mail what exactlyy you mean. Thanks & Regards, Smitha