public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] IOMMU: move page number calculation to generic code
@ 2008-07-25 12:57 Joerg Roedel
  2008-07-25 12:57 ` [PATCH] add iommu_num_pages helper function Joerg Roedel
                   ` (3 more replies)
  0 siblings, 4 replies; 40+ messages in thread
From: Joerg Roedel @ 2008-07-25 12:57 UTC (permalink / raw)
  To: mingo, tglx; +Cc: linux-kernel, iommu, bhavna.sarathy, robert.richter

This small patch series introduces a generic iommu_num_pages function into the
IOMMU helper code. This function can be used to calculate the number of pages
an IOMMU has to map for a specific mapping request.

The patchset converts the x86 IOMMU implementations for AMD IOMMU and the GART
to use this function.

Other IOMMU implementations are not changed because I can't test them.

diffstat:

 arch/x86/kernel/amd_iommu.c   |   13 +++++--------
 arch/x86/kernel/pci-gart_64.c |   11 ++++-------
 include/linux/iommu-helper.h  |    1 +
 lib/iommu-helper.c            |    8 ++++++++
 4 files changed, 18 insertions(+), 15 deletions(-)




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

end of thread, other threads:[~2008-07-31  2:15 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25 12:57 [PATCH 0/3] IOMMU: move page number calculation to generic code Joerg Roedel
2008-07-25 12:57 ` [PATCH] add iommu_num_pages helper function Joerg Roedel
2008-07-25 13:15   ` FUJITA Tomonori
2008-07-25 13:21     ` Joerg Roedel
2008-07-25 13:34       ` FUJITA Tomonori
2008-07-25 13:41         ` Joerg Roedel
2008-07-25 13:57           ` FUJITA Tomonori
2008-07-25 14:14             ` Joerg Roedel
2008-07-25 14:32               ` FUJITA Tomonori
2008-07-26 13:41                 ` Ingo Molnar
2008-07-29  1:07                   ` Stephen Rothwell
2008-07-29  1:46                     ` FUJITA Tomonori
2008-07-29  3:56                       ` Stephen Rothwell
2008-07-29  4:38                         ` FUJITA Tomonori
2008-07-29  5:26                           ` David Miller
2008-07-29  5:42                             ` FUJITA Tomonori
2008-07-29  5:24                         ` David Miller
2008-07-29  5:42                           ` FUJITA Tomonori
2008-07-29  6:45                           ` Stephen Rothwell
2008-07-29  9:50                             ` Joerg Roedel
2008-07-29  9:58                               ` FUJITA Tomonori
2008-07-29 10:02                                 ` Joerg Roedel
2008-07-30 22:44                                   ` Benjamin Herrenschmidt
2008-07-31  2:07                                     ` FUJITA Tomonori
2008-07-29 10:10                               ` David Miller
2008-07-29 10:26                                 ` Joerg Roedel
2008-07-29 10:27                                 ` FUJITA Tomonori
2008-07-29 10:31                                   ` Ingo Molnar
2008-07-29 10:33                                     ` David Miller
2008-07-29 12:45                                       ` Stephen Rothwell
2008-07-30 12:18                                 ` Joerg Roedel
2008-07-30 13:16                                   ` FUJITA Tomonori
2008-07-30 14:03                                     ` Joerg Roedel
2008-07-30 18:52                                     ` Joerg Roedel
2008-07-30 22:44                                 ` Benjamin Herrenschmidt
2008-07-29 11:27                     ` Ingo Molnar
2008-07-29 15:45                       ` Jesse Barnes
2008-07-25 12:57 ` [PATCH] AMD IOMMU: replace to_pages macro with iommu_num_pages Joerg Roedel
2008-07-25 12:58 ` [PATCH] x86 gart: " Joerg Roedel
2008-07-26 13:44 ` [PATCH 0/3] IOMMU: move page number calculation to generic code Ingo Molnar

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