login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
24
Re: [PATCH -mm 01/11] add device_dma_parameters structure
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeff Garzik <jeff@...>
To: FUJITA Tomonori <tomof@...>
Cc: <akpm@...>, <linux-kernel@...>, <linux-scsi@...>, <James.Bottomley@...>, <jens.axboe@...>, <greg@...>, <fujita.tomonori@...>
Subject:
Re: [PATCH -mm 01/11] add device_dma_parameters structure
Date: Wednesday, October 24, 2007 - 7:33 am
FUJITA Tomonori wrote:
quoted text
> iommu code merges scatter/gather segments without considering a low > level driver's restrictions. The problem is that iommu code can't > access to the limitations because they are in request_queue. > > This patch adds a new structure, device_dma_parameters, including dma > information. A pointer to device_dma_parameters is added to struct > device. > > - there are only max_segment_size and segment_boundary_mask there but > we'll move more dma stuff in struct device (like dma_mask) to struct > device_dma_parameters later. segment_boundary_mask is not supported > yet. > > - new accessors for the dma parameters are added. So we can easily > change where to place struct device_dma_parameters in the future. > > - dma_get_max_seg_size returns 64K if dma_parms in struct device isn't > set up properly. 64K is the default max_segment_size in the block > layer. > > Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> > --- > include/linux/device.h | 11 +++++++++++ > include/linux/dma-mapping.h | 15 +++++++++++++++ > 2 files changed, 26 insertions(+), 0 deletions(-)
ACK -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH -mm 0/11] fix iommu sg merging problem
, FUJITA Tomonori
, (Wed Oct 24, 6:47 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, Jens Axboe
, (Wed Oct 24, 9:24 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, Jeff Garzik
, (Wed Oct 24, 7:40 am)
Re: [PATCH -mm 0/11] fix iommu sg merging problem
, FUJITA Tomonori
, (Wed Oct 24, 10:32 am)
[PATCH -mm 01/11] add device_dma_parameters structure
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 01/11] add device_dma_parameters structure
, Jeff Garzik
, (Wed Oct 24, 7:33 am)
[PATCH -mm 02/11] PCI: add device_dma_parameters support
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support
, Jeff Garzik
, (Wed Oct 24, 7:34 am)
Re: [PATCH -mm 02/11] PCI: add device_dma_parameters support
, FUJITA Tomonori
, (Wed Oct 24, 9:41 am)
[PATCH -mm 03/11] x86: make pci-gart iommu respect the segme...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
[PATCH -mm 04/11] ppc: make iommu respect the segment size l...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
[PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 9:34 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 12:21 pm)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 12:25 pm)
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Jeff Garzik
, (Wed Oct 24, 7:31 am)
RE: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, Salyzyn, Mark
, (Wed Oct 24, 9:34 am)
Re: [PATCH -mm 11/11] aacraid: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 7:35 am)
[PATCH -mm 06/11] alpha: make pci_iommu respect the segment ...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
[PATCH -mm 08/11] parisc: make iommu respect the segment siz...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 08/11] parisc: make iommu respect the segment...
, Jeff Garzik
, (Wed Oct 24, 7:35 am)
[PATCH -mm 10/11] sata_inic162x: use pci_set_dma_max_seg_size
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 10/11] sata_inic162x: use pci_set_dma_max_seg...
, Jeff Garzik
, (Wed Oct 24, 7:39 am)
[PATCH -mm 09/11] call blk_queue_segment_boundary in __scsi_...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __s...
, Jeff Garzik
, (Wed Oct 24, 7:39 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __s...
, FUJITA Tomonori
, (Wed Oct 24, 10:15 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __s...
, Jeff Garzik
, (Wed Oct 24, 10:34 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __...
, Jens Axboe
, (Wed Oct 24, 10:28 am)
Re: [PATCH -mm 09/11] call blk_queue_segment_boundary in __...
, FUJITA Tomonori
, (Wed Oct 24, 10:36 am)
[PATCH -mm 07/11] sparc64: make iommu respect the segment si...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
[PATCH -mm 05/11] IA64: make sba_iommu respect the segment s...
, FUJITA Tomonori
, (Wed Oct 24, 6:48 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
jjohansen
[AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Andrew Morton
2.6.23-rc6-mm1
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
583 guests
online.
Syndicate