LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* kernel BUG at drivers/block/ll_rw_blk.c:277!
@ 2004-05-16 12:42 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2004-05-16 12:42 UTC (permalink / raw)
  To: Linux Kernel List

                BUG_ON(dma_addr < BLK_BOUNCE_ISA);

linux/include/linux/blkdev.h:#define BLK_BOUNCE_ISA             (ISA_DMA_THRESHOLD)
linux/include/asm-arm/scatterlist.h:#define ISA_DMA_THRESHOLD (0xffffffff)

That's nice.  Someone like to explain the reasoning here.

ISA_DMA_THRESHOLD is the maximum address which ISA can DMA to.  On ARM,
we support ISA DMA controllers all of which can address 32-bit, so our
setting of ISA_DMA_THRESHOLD is correct.

However, it seems that the block layer thinks this has some other meaning
and has hijacked it.

Consequently, block is rather dead on ARM at the moment.  Someone mind
explaining WTF this has happened?

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-16 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-16 12:42 kernel BUG at drivers/block/ll_rw_blk.c:277! Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).