Re: [PATCH] SPARC64: fix iommu sg chaining

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <fujita.tomonori@...>, <linux-kernel@...>, <linux-scsi@...>
Date: Wednesday, October 17, 2007 - 6:58 am

On Wed, Oct 17 2007, David Miller wrote:

I realize that, and I was pretty worried about this specific change. But
there's only been one piece of fallout because if it until now - well
two, with the sparc64 stuff.

The problem is that you cannot zero the entire sg entry, because then
you'd potentially overwrite the chain pointer.

I'd propose just adding a

        sg_dma_address(sg) = 0;
        sg_dma_len(sg) = 0;

there for now, or provide an arch_clear_sg_entry() helper if we need
more killed.

-- 
Jens Axboe

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] SPARC64: fix iommu sg chaining, FUJITA Tomonori, (Wed Oct 17, 1:07 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 3:21 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, David Miller, (Wed Oct 17, 4:33 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, David Miller, (Wed Oct 17, 4:42 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 4:45 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, David Miller, (Wed Oct 17, 5:13 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 5:16 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, David Miller, (Wed Oct 17, 6:54 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 6:58 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, FUJITA Tomonori, (Wed Oct 17, 7:04 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, David Miller, (Wed Oct 17, 7:04 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 7:04 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 7:01 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, FUJITA Tomonori, (Wed Oct 17, 7:37 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, FUJITA Tomonori, (Wed Oct 17, 7:01 pm)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 7:41 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, FUJITA Tomonori, (Wed Oct 17, 7:57 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, FUJITA Tomonori, (Wed Oct 17, 8:05 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 10:36 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, David Miller, (Wed Oct 17, 7:10 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 7:11 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, David Miller, (Wed Oct 17, 7:18 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 7:27 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, FUJITA Tomonori, (Wed Oct 17, 5:24 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, David Miller, (Wed Oct 17, 5:45 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, FUJITA Tomonori, (Wed Oct 17, 7:08 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 7:13 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 7:16 am)
Re: [PATCH] SPARC64: fix iommu sg chaining, Jens Axboe, (Wed Oct 17, 5:27 am)