public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Why timer interrupt is disabled?
@ 2001-05-25 13:04 andreev
  2001-05-25 13:12 ` David Woodhouse
  0 siblings, 1 reply; 10+ messages in thread
From: andreev @ 2001-05-25 13:04 UTC (permalink / raw)
  To: linux-mtd@lists.infrared.org

Hi, list.
I have an Intel CFI compatible chip on my MIPS machine, which is mapped
on to the physical memory .When i compiled linux-2.4.1 kernel with Intel
CFI support, and booted my MIPS, linux hanged when i tried to read data
from flash.

Then, i inserted debugging printk functions, and found that i read data
insteed of status register from flash. ( Because my chip must be
programmed with double word commands ).  In this case, driver must
return -EIO in do_read_1_by_16_onechip after time out. But it do not,
because all interrupts were disabled before do_ftl_request called. In
do_ftl_request i found commented out sti() function. Why it were
commented out? I had a look to the current sourse in your CVS, and i
found that sti() is still commented out. Where we have to enable
interrupts? If driver works under the closed interrupts, why does it use
the time_after and jiffies?
Can anybody tell me abouut it?

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <3B0EE8CF.7040502@niisi.msk.ru>]

end of thread, other threads:[~2001-05-28 15:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-25 13:04 Why timer interrupt is disabled? andreev
2001-05-25 13:12 ` David Woodhouse
     [not found]   ` <3B0EE338.1000701@niisi.msk.ru>
2001-05-25 15:17     ` David Woodhouse
2001-05-26  0:17       ` Alexandr Andreev
2001-05-25 16:37         ` David Woodhouse
2001-05-25 17:06           ` Herman Oosthuysen
2001-05-26  1:31           ` Alexandr Andreev
2001-05-25 17:36             ` David Woodhouse
     [not found] <3B0EE8CF.7040502@niisi.msk.ru>
     [not found] ` <20010526000119.A23273@suse.de>
2001-05-28 19:07   ` Alexandr Andreev
2001-05-28 15:36     ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox