Re: more iommu sg merging fallout

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <fujita.tomonori@...>
Cc: <tomof@...>, <jens.axboe@...>, <linux-kernel@...>
Date: Wednesday, February 6, 2008 - 7:18 pm

From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Date: Thu, 07 Feb 2008 08:12:36 +0900


I am happy to test patches you send to me in the future :-)


For now I've removed all of the merging code from the sparc64 IOMMU
support so that other users do not get corrupt filesystems.  It
basically mimicks how the intel-iommu code works, ie. no attempts to
merge anything.

I intend to put merging back in, perhaps something similar to
powerpc's merging logic but without the expensive (in my opinion)
IOMMU allocation every loop.  I think it is better to determine the
segment breaks in one pass, allocate that many IOMMU entries in one
allocation, then fill them all in.

Ideally, we should have some generic code that does all of this.
Then you would only need to test one implementation.

It is definitely doable and increasingly necessary as we have so
many reimplementations of what is essentially identical core code.

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

Messages in current thread:
more iommu sg merging fallout, David Miller, (Wed Feb 6, 12:41 am)
Re: more iommu sg merging fallout, FUJITA Tomonori, (Wed Feb 6, 7:12 pm)
Re: more iommu sg merging fallout, David Miller, (Wed Feb 6, 7:18 pm)
Re: more iommu sg merging fallout, FUJITA Tomonori, (Wed Feb 6, 7:53 pm)
Re: more iommu sg merging fallout, David Miller, (Wed Feb 6, 8:01 pm)
Re: more iommu sg merging fallout, FUJITA Tomonori, (Wed Feb 6, 9:38 pm)
Re: more iommu sg merging fallout, David Miller, (Tue Feb 12, 1:40 am)
Re: more iommu sg merging fallout, FUJITA Tomonori, (Sat Feb 16, 2:03 am)
Re: more iommu sg merging fallout, David Miller, (Mon Feb 18, 3:41 am)
Re: more iommu sg merging fallout, FUJITA Tomonori, (Tue Feb 19, 6:57 am)
Re: more iommu sg merging fallout, David Miller, (Thu Feb 21, 2:56 am)