The NetBSD Project

CVS log for src/sys/arch/evbarm/integrator/int_bus_dma.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / evbarm / integrator

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Wed Dec 20 13:55:17 2023 UTC (3 months, 4 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored) to selected 1.12 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.17.18.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:15 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.17: +17 -577 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.12 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.17.8.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:23 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.17: +17 -577 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.12 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 18 14:42:19 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.17: +17 -577 lines
Diff to previous 1.17 (colored) to selected 1.12 (colored)

Remove bounce buffer support since there is now generic bounce buffer support

Revision 1.16.66.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:06 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.12 (colored)

sync with head

Revision 1.16.64.1 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:17 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.12 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 4 12:16:15 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored) to selected 1.12 (colored)

Fix DEBUG kernel build.

Revision 1.13.16.1 / (download) - annotate - [select for diffs], Mon Sep 3 14:24:05 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13: +10 -10 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.12 (colored)

sync with head.

Revision 1.14.26.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:37 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.14: +10 -10 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.12 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 5 08:37:38 2007 UTC (17 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.15: +9 -9 lines
Diff to previous 1.15 (colored) to selected 1.12 (colored)

Use uint8_t * instead of void */char * for ptr arithmetic.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:45 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) to selected 1.12 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:09 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.12 (colored)

merge ktrace-lwp.

Revision 1.11.6.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:14:47 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.6.2: +2 -2 lines
Diff to previous 1.11.6.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Fix the sync with head I botched.

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:33:45 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.6.1: +0 -0 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) to selected 1.12 (colored)

Sync with HEAD.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:34:01 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11: +601 -18 lines
Diff to previous 1.11 (colored) to selected 1.12 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Sat Sep 6 11:12:53 2003 UTC (20 years, 7 months ago) by rearnsha
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.12: +599 -19 lines
Diff to previous 1.12 (colored)

Add bouncing support

Revision 1.12 / (download) - annotate - [selected], Tue Jul 15 00:25:00 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)

__KERNEL_RCSID()

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Sat Dec 7 19:25:18 2002 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.12 (colored)

Pull up revision 1.9 (requested by thorpej in ticket #568):
  Change the way DMA map syncs are done.  Instead of remembering
  the virtual address for each DMA segment, just cache a
  pointer to the original buffer/buftype used to load the
  DMA map, and use that.  Shrinks bus_dma_segment_t from 12
  to 8 bytes, and the cache flushing is also more efficient.

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:34:05 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.2.4: +43 -575 lines
Diff to previous 1.3.2.4 (colored) next main 1.4 (colored) to selected 1.12 (colored)

sync kqueue branch with HEAD

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Fri Aug 30 00:19:33 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.7.2.1: +43 -575 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.12 (colored)

catch up with -current.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Mon Aug 19 21:39:33 2002 UTC (21 years, 8 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.2.7: +3 -2 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.12 (colored)

Partial (ARM only) sync with trunk -- significant performance improvements
for XScale-based systems.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 17 20:46:28 2002 UTC (21 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored) to selected 1.12 (colored)

Use separate function pointers for dmamap_sync pre- vs post- operations.
Change the bus_dmamap_sync() macro to test the ops argument against pre-
and post- constants.  The compiler will optimize out dead code because
of the constants.  Since post- operations are not needed on ARM (except
for ISA bounce buffers), this eliminate a large number of function calls
which are noops, each of which cost at least 6 cycles just in the call
and return overhead (not to mention whatever other useless work the
compiler decides to do in the callee).

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Thu Aug 1 02:41:34 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.6: +42 -575 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored) to selected 1.12 (colored)

Catch up to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 31 17:34:26 2002 UTC (21 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +42 -579 lines
Diff to previous 1.9 (colored) to selected 1.12 (colored)

Overhaul how DMA ranges work in the ARM bus_dma implementation.

A new "arm32_dma_range" structure now describes a DMA window, with
a system address base, bus address base, and length.  In addition to
providing info about which memory regions are legal for DMA, the new
structure provides address translation support, as well.

As before, if a tag does not list any ranges, then all addresses are
considered valid, and no DMA address translation is performed.

This allows us to remove a large chunk of code which was duplicated and
tweaked slightly (to do the address translation) from the stock ARM
bus_dma in the XScale IOP and ARM Integrator ports.

Test compiled on all ARM platforms, test booted on Intel IQ80321 and Shark.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 28 17:54:06 2002 UTC (21 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +7 -3 lines
Diff to previous 1.8 (colored) to selected 1.12 (colored)

Change the way that DMA map syncs are done.  Instead of remembering
the virtual address for each DMA segment, just cache a pointer to the
original buffer/buftype used to load the DMA map, and use that.  This
lets us shrink the bus_dma_segment_t down from 12 bytes to 8, and the
cache flushing is also more efficient.

Tested on an i80321 -- changes to others are mechanical.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sun Jul 14 17:46:08 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored) to selected 1.12 (colored)

catch up with -current.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:35:41 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.2.3: +3 -4 lines
Diff to previous 1.3.2.3 (colored) to selected 1.12 (colored)

catch up with -current on kqueue branch

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Thu Jun 20 03:38:31 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.5: +1 -2 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored) to selected 1.12 (colored)

Catch up to -current.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:45 2002 UTC (21 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored) to selected 1.12 (colored)

move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:56 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.4: +2 -2 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) to selected 1.12 (colored)

Catch up to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 5 16:58:08 2002 UTC (22 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.12 (colored)

* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual.
  Significant cleanup, here, including better PTE bit names.
* Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Mechanical changes everywhere else to update for new pte.h.  While
  doing this, two bugs (as a result of typos) were fixed in

	arm/arm32/bus_dma.c
	evbarm/integrator/int_bus_dma.c

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:47 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.3: +2 -2 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) to selected 1.12 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 24 03:37:25 2002 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.12 (colored)

* arm_byte_to_page() -> arm_btop()
* arm_page_to_byte() -> arm_ptob()

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:09:12 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.2: +5 -2 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) to selected 1.12 (colored)

Catch up to -current.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Mon Feb 11 20:07:44 2002 UTC (22 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.3.2.2: +5 -2 lines
Diff to previous 1.3.2.2 (colored) to selected 1.12 (colored)

Sync w/ -current.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 25 20:57:43 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored) to selected 1.12 (colored)

Overhaul bus_dmamap_sync for the ARM:
* Track which process (XXX really, vmspace) owns the mapping.  When
  we sync the map, if the mapping doesn't belong to the kernel or to
  the current process (XXX really, vmspace), then no cache fobbing
  is necessary, since the cache is Wb-Inv'd on context switch (XXX need
  to revisit this when we support FCSE).
* Be smarter about which cache operation we do when sync'ing the map:
  - PREREAD -- Invalidate D$ (XXX right now, we actually do Wb-Inv)
  - PREWRITE -- Write-back D$ (note, we do NOT invalidate here)
  - PREREAD|PREWRITE -- Wb-Inv D$

More work is needed here.  In particular, a version for CPUs
with write-through caches should be provided, to eliminate
the write-back steps (which are noops on such CPUs, but skipping
two branches would be nice).

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 25 19:19:29 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.12 (colored)

Overhaul of the ARM cache code.  This is mostly a simplification
pass.  Rather than providing a whole slew of cache operations that
aren't ever used, distill them down to some useful primitives:

	icache_sync_all         Synchronize I-cache
	icache_sync_range       Synchronize I-cache range

	dcache_wbinv_all        Write-back and Invalidate D-cache
	dcache_wbinv_range      Write-back and Invalidate D-cache range
	dcache_inv_range        Invalidate D-cache range
	dcache_wb_range         Write-back D-cache range

	idcache_wbinv_all       Write-back and Invalidate D-cache,
				Invalidate I-cache
	idcache_wbinv_range     Write-back and Invalidate D-cache,
				Invalidate I-cache range

Note: This does not yet include an overhaul of the actual asm files
that implement the primitives.  Instead, we've provided a safe default
for each CPU type, and the individual CPU types can now be optimized
one at a time.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:42:32 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.3.2.1: +613 -0 lines
Diff to previous 1.3.2.1 (colored) to selected 1.12 (colored)

Sync kqueue branch with -current.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:24:26 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.2.1: +613 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) to selected 1.12 (colored)

Catch up to -current.

Revision 1.3.2.1, Mon Nov 26 20:49:05 2001 UTC (22 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.3: +0 -613 lines
FILE REMOVED

file int_bus_dma.c was added on branch kqueue on 2002-01-10 19:42:32 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 26 20:49:05 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored) to selected 1.12 (colored)

Don't include <machine/psl.h> directly.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 23 19:36:50 2001 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.12 (colored)

Use <arm/cpufunc.h>, not <machine/cpufunc.h>.

Revision 1.1.2.1, Sat Oct 27 16:17:51 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -614 lines
FILE REMOVED

file int_bus_dma.c was added on branch nathanw_sa on 2002-01-08 00:24:26 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 27 16:17:51 2001 UTC (22 years, 5 months ago) by rearnsha
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Branch point for: nathanw_sa
Diff to selected 1.12 (colored)

Basic support for the Integrator/AP board.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>