LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: kernel BUG at drivers/block/ll_rw_blk.c:277!
Date: Sun, 16 May 2004 13:42:02 +0100	[thread overview]
Message-ID: <20040516134202.A11232@flint.arm.linux.org.uk> (raw)

                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

                 reply	other threads:[~2004-05-16 12:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040516134202.A11232@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: kernel BUG at drivers/block/ll_rw_blk.c:277'\!'' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).