diff options
author | Thomas Moestl <tmm@FreeBSD.org> | 2003-05-02 01:21:37 +0000 |
---|---|---|
committer | Thomas Moestl <tmm@FreeBSD.org> | 2003-05-02 01:21:37 +0000 |
commit | 8a85ba6c7eaa0a4f0bf8abd42ceeb4c633ca7821 (patch) | |
tree | 71bd0da5ea0d24c0d3dd9956fd249da9ed828f36 /sys/sparc64/pci/psycho.c | |
parent | 3e7045591d1cf3703d05dfeaae2fab974f50d534 (diff) | |
download | src-8a85ba6c7eaa0a4f0bf8abd42ceeb4c633ca7821.tar.gz src-8a85ba6c7eaa0a4f0bf8abd42ceeb4c633ca7821.zip |
- Reduce the DVMA preallocation limit from 128kB to 32kB. 128kB were
quite excessive, and caused the available space to be used up too
easily. The new limit should be a better estimation of how much the
caller will need at most.
- Double the IOTSB size 64kB, for a DVMA area size of 64MB.
This should fix DMA problems on e450s and other large machines due
to DVMA space exhaustion, which were introduced in my last IOMMU
code revision in January.
Reported and tested by: fenner
Notes
Notes:
svn path=/head/; revision=114484
Diffstat (limited to 'sys/sparc64/pci/psycho.c')
-rw-r--r-- | sys/sparc64/pci/psycho.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/pci/psycho.c b/sys/sparc64/pci/psycho.c index 77deb68cc8ff..25234d78186c 100644 --- a/sys/sparc64/pci/psycho.c +++ b/sys/sparc64/pci/psycho.c @@ -571,7 +571,7 @@ psycho_attach(device_t dev) sc->sc_is->is_sb[1] = 0; if (OF_getproplen(sc->sc_node, "no-streaming-cache") < 0) sc->sc_is->is_sb[0] = sc->sc_pcictl + PCR_STRBUF; - psycho_iommu_init(sc, 2); + psycho_iommu_init(sc, 3); } else { /* Just copy IOMMU state, config tag and address */ sc->sc_is = osc->sc_is; |