[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46B7A537.9020807@s5r6.in-berlin.de>
Date: Tue, 07 Aug 2007 00:48:23 +0200
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Robert Hancock <hancockr@...w.ca>
CC: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Olaf Hering <olh@...e.de>, linuxppc-dev@...abs.org,
stable@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2.6.22.y] ieee1394: revert "sbp2: enforce 32bit DMA mapping"
Robert Hancock wrote:
> Stefan Richter wrote:
>> So that's the story why that dma_set_mask went into sbp2: Sbp2 wants
>> mappings in a _subset_ of the OHCI-1394 controllers DMA range.
>>
>> Anyway. For now I will simply go with what 2.6.23-rc has and what
>> 2.6.21 had: No dma_set_mask anywhere in the 1394 subsystem. We can
>> revisit this whenever an actual need arises.
>
> Not sure this is a very good idea. This seems rather likely to fail on
> x86_64 machines with >4GB of RAM for example..
I'll deal with it when a bug report comes in.
1.) The ieee1394 subsystem is known to work on x86_64 with more than 4
GB RAM, so I gather that architecture code already sets a proper DMA
mask for all those 32bit PCI OHCI-1394 implementations out there.
2.) I haven't heard of an OHCI-1394 chip whose overall DMA range was
bigger than the Physical Range. There are only two chips, from ALi and
from Fujitsu, whose Physical Range is curiously bigger than the actual
DMA range.
--
Stefan Richter
-=====-=-=== =--- --===
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists