Date: Sat, 23 Mar 2002 18:50:53 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include bus.h bus_private.h iommuvar.h src/sys/sparc64/pci psycho.c src/sys/sparc64/sbus sbus.c src/sys/sparc64/sparc64 bus_machdep.c iommu.c Message-ID: <200203240250.g2O2orH85978@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tmm 2002/03/23 18:50:53 PST
Modified files:
sys/sparc64/include bus.h iommuvar.h
sys/sparc64/pci psycho.c
sys/sparc64/sbus sbus.c
sys/sparc64/sparc64 bus_machdep.c iommu.c
Added files:
sys/sparc64/include bus_private.h
Log:
Revamp the busdma implementation a bit:
- change the IOMMU support code so that it supports overcommittting the
available DVMA memory, while still allocating as lazily as possible.
This is achieved by limiting the preallocation, and deferring the
allocation to map load time when it fails. In the latter case, the
DVMA memory reserved for unloaded maps can be stolen to free up enough
memory for loading a map.
- allow NULL settings in the method tables, and search the parent tags
until an appropriate implementation is found. This allows to remove some
kluges in the old implementation.
Revision Changes Path
1.8 +91 -24 src/sys/sparc64/include/bus.h
1.1 +47 -0 src/sys/sparc64/include/bus_private.h (new)
1.5 +12 -12 src/sys/sparc64/include/iommuvar.h
1.10 +41 -32 src/sys/sparc64/pci/psycho.c
1.2 +40 -32 src/sys/sparc64/sbus/sbus.c
1.8 +62 -47 src/sys/sparc64/sparc64/bus_machdep.c
1.5 +158 -77 src/sys/sparc64/sparc64/iommu.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203240250.g2O2orH85978>
