Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188823
b: refs/heads/master
c: 191aee5
h: refs/heads/master
i:
  188821: b8b37fb
  188819: 5004d9f
  188815: b3be8b0
v: v3
  • Loading branch information
FUJITA Tomonori authored and Benjamin Herrenschmidt committed Mar 19, 2010
1 parent c171c2f commit a5c4fdf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a93272969c6b1d59883fcbb04845420bd72c9a20
refs/heads/master: 191aee58b6568cf8143901bfa3f57a9b8faa6f1c
13 changes: 0 additions & 13 deletions trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -313,19 +313,6 @@ config 8XX_MINIMAL_FPEMU

It is recommended that you build a soft-float userspace instead.

config IOMMU_VMERGE
bool "Enable IOMMU virtual merging"
depends on PPC64
default y
help
Cause IO segments sent to a device for DMA to be merged virtually
by the IOMMU when they happen to have been allocated contiguously.
This doesn't add pressure to the IOMMU allocator. However, some
drivers don't support getting large merged segments coming back
from *_map_sg().

Most drivers don't have this problem; it is safe to say Y here.

config IOMMU_HELPER
def_bool PPC64

Expand Down
7 changes: 1 addition & 6 deletions trunk/arch/powerpc/kernel/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,7 @@

#define DBG(...)

#ifdef CONFIG_IOMMU_VMERGE
static int novmerge = 0;
#else
static int novmerge = 1;
#endif

static int novmerge;
static int protect4gb = 1;

static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);
Expand Down

0 comments on commit a5c4fdf

Please sign in to comment.