Skip to contentSkip to conversation

ide interrupts

DISCUSSION Trevor Woerner 4 participants 5 messages May 23, 2003 – May 26, 2003

lore
Share & tools
lore
#0 lore raw

There seems to be a lot of code in the IDE subsystem relating to interrupts. Is there a way to set a device in polled (i.e. non-interrupt) mode? Maybe some way to run the tasklet/bh periodically?

Does the IDE system want to monitor my ATA device's Ready_NotBusy interrupt?

Trevor

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines · Trevor Woerner

There seems to be a lot of code in the IDE subsystem relating to interrupts. Is there a way to set a device in polled (i.e. non-interrupt) mode? Maybe some way to run the tasklet/bh periodically?

Does the IDE system want to monitor my ATA device's Ready_NotBusy interrupt?

No, linux IDE layer can't do that in a sane way, you are asking for a _lot_ of trouble... (especially if doing DMA)

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 11 lines · Benjamin Herrenschmidt
Quoted 7 lines · Trevor Woerner

There seems to be a lot of code in the IDE subsystem relating to interrupts. Is there a way to set a device in polled (i.e. non-interrupt) mode? Maybe some way to run the tasklet/bh periodically?

Does the IDE system want to monitor my ATA device's Ready_NotBusy interrupt?

No, linux IDE layer can't do that in a sane way, you are asking for a _lot_ of trouble... (especially if doing DMA)

"No" there isn't a way to set the device into polled mode, or "No" it doesn't monitor the Ready_NotBusy interrupt?

Trevor

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 7 lines · Trevor Woerner
Quoted 6 lines · Benjamin Herrenschmidt
Quoted 5 lines · Trevor Woerner

There seems to be a lot of code in the IDE subsystem relating to interrupts. Is there a way to set a device in polled (i.e. non-interrupt) mode? Maybe some way to run the tasklet/bh periodically?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Does the IDE system want to monitor my ATA device's Ready_NotBusy interrupt?

No, linux IDE layer can't do that in a sane way, you are asking for a _lot_ of trouble... (especially if doing DMA)

"No" there isn't a way to set the device into polled mode, or "No" it doesn't monitor the Ready_NotBusy interrupt?

Can't you use the Ready_NotBusy interrupt as IDE interrupt?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw
In reply to Trevor Woerner
Quoted 4 lines · Trevor Woerner

There seems to be a lot of code in the IDE subsystem relating to interrupts. Is there a way to set a device in polled (i.e. non-interrupt) mode? Maybe some way to run the tasklet/bh periodically?

Why?

Quoted 2 lines

Does the IDE system want to monitor my ATA device's Ready_NotBusy interrupt?

Why?

--linas

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/