Re: Problem booting Adaptec Ultra 320 driver with discontigmem support.

From: Christoph Hellwig <hch_at_infradead.org>
Date: 2003-12-05 00:11:43
On Thu, Dec 04, 2003 at 01:37:21PM +0100, Xavier Bru wrote:
> Hello, all
> 
> Running  2.6.0-test11 with Adaptec Ultra 320 driver that provides full 
> 64-bit support
> we hit a BUG in blk_queue_bounce_limit() due to physical address greater 
> than allowed by the dma mask.
> Having a look into the code, it appears that the computation to allow 
> full 64-bit support takes in account the size of the installed memory 
> instead of the max physical address of the platform.
> For example on  a platform with 32GB of memory distributed in 1 TB 
> physical address space, only 39-bits physical addresses are supported 
> instead of the 40 bits needed.

Still the wrong thing to do.  It should just check sizeof(dma_addr_t), that
the only sane check.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Dec 4 08:12:57 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST