public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5: PCI scatter gather list change
@ 2001-12-02  4:35 Anton Blanchard
  2001-12-02 10:23 ` Jens Axboe
  2001-12-03  0:05 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Anton Blanchard @ 2001-12-02  4:35 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel


Hi Jens,

I got 2.5 booting on ppc64 today and noticed that the behaviour of 
sglists has changed. Before we would get an array of sg->address,
sg->length pairs, we now get sg->page, sg->offset, sg->length triplets
(from blk_rq_map_sg).

I dont care too much either way, but if this change is here to stay I'll
let the non intel maintainers know so they can fix up their pci dma
code.

Anton

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5: PCI scatter gather list change
  2001-12-02  4:35 2.5: PCI scatter gather list change Anton Blanchard
@ 2001-12-02 10:23 ` Jens Axboe
  2001-12-03  0:05 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2001-12-02 10:23 UTC (permalink / raw)
  To: Anton Blanchard; +Cc: linux-kernel

On Sun, Dec 02 2001, Anton Blanchard wrote:
> 
> Hi Jens,
> 
> I got 2.5 booting on ppc64 today and noticed that the behaviour of 
> sglists has changed. Before we would get an array of sg->address,
> sg->length pairs, we now get sg->page, sg->offset, sg->length triplets
> (from blk_rq_map_sg).
> 
> I dont care too much either way, but if this change is here to stay I'll
> let the non intel maintainers know so they can fix up their pci dma
> code.

The change is here to stay, the ->address stuff will die in 2.5.
Consider highmem pages which have no virtual mapping.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5: PCI scatter gather list change
  2001-12-02  4:35 2.5: PCI scatter gather list change Anton Blanchard
  2001-12-02 10:23 ` Jens Axboe
@ 2001-12-03  0:05 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2001-12-03  0:05 UTC (permalink / raw)
  To: anton; +Cc: axboe, linux-kernel

   From: Anton Blanchard <anton@samba.org>
   Date: Sun, 2 Dec 2001 15:35:53 +1100
   
   I dont care too much either way, but if this change is here to stay I'll
   let the non intel maintainers know so they can fix up their pci dma
   code.

Ummm, platforms need to support this format even in 2.4.x
If PAGE is not NULL, "address" applies, else the PAGE+OFFSET
pair applies.  We'll kill "address" very soon in 2.5.x, but it
has to stay around for compatibility in 2.4.x

Look at sparc64 and x86 in 2.4.x, they expect and handle it
correctly already.  IA-64 fixed up their stuff recently too.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-03  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-02  4:35 2.5: PCI scatter gather list change Anton Blanchard
2001-12-02 10:23 ` Jens Axboe
2001-12-03  0:05 ` David S. Miller

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