[Top] [All Lists]

RE: custom ide driver causes "Badness in smp_call_function"

To: "'Ralf Baechle'" <>
Subject: RE: custom ide driver causes "Badness in smp_call_function"
From: "Bryan Althouse" <>
Date: Thu, 25 Aug 2005 11:26:58 -0400
Cc: <>
In-reply-to: <>
Original-recipient: rfc822;
Thread-index: AcWov/o2tje51yNZRMqC6qvo2vU/0gAyUQrg

Thank you for your help.  
I'm doing MMIO, not PIO, but it looks like your assessment is still valid.
I've been searching for places where ide MMIO is performed with interrupts
disabled.  I got excited when I found these lines in probe_hwif() of

   irqd = hwif->irq;
   if (irqd)

I was not initializing hwif->irq in my driver, so probably the interrupts
were being disabled here, and subsequent lines were causing the SMP badness.
I added the line "hwif->irq = 0" to my driver.  Interrupts are no longer
disabled here, but still I get the SMP badness.  I'll keep looking for other
places where the interrupts might be disabled.  

Does anyone know if the mips/swarm.c driver has this problem with SMP?

<Prev in Thread] Current Thread [Next in Thread>