The NetBSD Project

CVS log for src/sys/arch/mips/mips/bus_dma.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.47 / (download) - annotate - [select for diffs], Tue Jul 26 20:08:55 2022 UTC (19 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

s/functin/function/ in copy pasted comment.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jan 22 15:10:31 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

Ensure bus_dmatag_subregion is called with an inclusive max_addr
everywhere.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 22 15:08:10 2022 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.44: +7 -7 lines
Diff to previous 1.44 (colored)

Trailing whitespace

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:31 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.42: +32 -19 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jan 7 17:28:20 2021 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: 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-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (colored)

Fix build for non-_MIPS_NEED_BUS_DMA_BOUNCE platforms

Revision 1.43 / (download) - annotate - [select for diffs], Mon Jan 4 18:09:01 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.42: +30 -19 lines
Diff to previous 1.42 (colored)

malloc(9) -> kmem(9)

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jul 16 13:32:05 2020 UTC (3 years, 7 months ago) by simonb
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

Fix variable name for BUS_DMA_DEBUG.

Revision 1.38.20.2 / (download) - annotate - [select for diffs], Sat Jun 20 16:22:57 2020 UTC (3 years, 8 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.38.20.1: +4 -4 lines
Diff to previous 1.38.20.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #963):

	sys/arch/mips/mips/bus_dma.c: revision 1.41

Fix inconsistent mips_o32, _mips_o32, and __mips_o32 macro.  PR/54216

Not sure what the original intention was, but no responce for a year,
and no visible regression on Cobalt Qube 2700 (Rm5230) through
whole installation using netbsd-9 based Cobalt RestoreCD/USB.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 14 14:02:39 2020 UTC (3 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Fix inconsistent mips_o32, _mips_o32, and __mips_o32 macro.  PR/54216

Not sure what the original intention was, but no responce for a year,
and no visible regression on Cobalt Qube 2700 (Rm5230) through
whole installation using netbsd-9 based Cobalt RestoreCD/USB.

Revision 1.38.16.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:45 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.38: +14 -14 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Merge changes from current as of 20200406

Revision 1.40 / (download) - annotate - [select for diffs], Sat Mar 14 18:08:38 2020 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.39: +5 -7 lines
Diff to previous 1.39 (colored)

- Hide the details of SPCF_SHOULDYIELD and related behind a couple of small
  functions: preempt_point() and preempt_needed().

- preempt(): if the LWP has exceeded its timeslice in kernel, strip it of
  any priority boost gained earlier from blocking.

Revision 1.38.20.1 / (download) - annotate - [select for diffs], Fri Mar 13 05:35:42 2020 UTC (3 years, 11 months ago) by martin
Branch: netbsd-9
Changes since 1.38: +11 -9 lines
Diff to previous 1.38 (colored)

Pull up following revision(s) (requested by thorpej in ticket #779):

	sys/arch/mips/mips/bus_dma.c: revision 1.39

Allow len == 0 in bus_dmamap_sync().

XXX pullup-9

Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 13 03:49:39 2020 UTC (3 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +11 -9 lines
Diff to previous 1.38 (colored)

Allow len == 0 in bus_dmamap_sync().

XXX pullup-9

Revision 1.27.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:28 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.27.12.1: +84 -43 lines
Diff to previous 1.27.12.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

update from HEAD

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:02 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.34.2.2: +2 -6 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD

Revision 1.31.4.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:32 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.31.4.1: +74 -45 lines
Diff to previous 1.31.4.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Wed Aug 17 22:02:19 2016 UTC (7 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, 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, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi, netbsd-9
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Spelling in comment

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:06 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.34.2.1: +34 -27 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored)

Sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jul 30 06:29:28 2016 UTC (7 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806
Changes since 1.36: +30 -27 lines
Diff to previous 1.36 (colored)

Supply lastvaddr to load_buffer.  Fix printf formats.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:17 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.34: +42 -16 lines
Diff to previous 1.34 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 22 19:50:44 2016 UTC (7 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-20160726
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

When mapping a dmamem page, make sure to trunc_pae the starting address

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jul 16 21:33:46 2016 UTC (7 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.34: +41 -15 lines
Diff to previous 1.34 (colored)

When doing dmamap syncs, try to use KSEG0/XKPHYS address if possible.
XXX once hard page coloring is supported XKPHYS could be used all the time.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:59 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.31: +18 -6 lines
Diff to previous 1.31 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Tue Feb 17 09:58:33 2015 UTC (9 years ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-localcount-base, 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
Branch point for: pgoyette-localcount
Changes since 1.33: +6 -3 lines
Diff to previous 1.33 (colored)

do as others do and mmap() DMA buffers uncached if we get
BUS_DMA_PREFETCHABLE passed in flags

Revision 1.33 / (download) - annotate - [select for diffs], Mon Feb 16 14:10:00 2015 UTC (9 years ago) by macallan
Branch: MAIN
Changes since 1.32: +11 -2 lines
Diff to previous 1.32 (colored)

mmap() DMA buffers uncached if we know how.
From sgimips, needed for X on O2.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Feb 16 10:42:26 2015 UTC (9 years ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up following revision(s) (requested by skrll in ticket #515):
	sys/arch/mips/mips/bus_dma.c: revision 1.32
Deal with 64-bit fallout from previous.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 13 17:19:23 2015 UTC (9 years ago) by skrll
Branch: MAIN
Changes since 1.31: +6 -6 lines
Diff to previous 1.31 (colored)

Deal with 64-bit fallout from previous.

Revision 1.27.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:12 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.27: +122 -62 lines
Diff to previous 1.27 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:02 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.30: +22 -8 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Rebase.

Revision 1.31 / (download) - annotate - [select for diffs], Tue May 27 15:56:18 2014 UTC (9 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.30: +22 -8 lines
Diff to previous 1.30 (colored)

Optimise the BUS_DMASYNC_PREREAD operation by only using wbinv for partial
cachelines. Full cachelines are now invalidated only.

From the same change in various mips ports not least cobalt.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:39:57 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.27: +102 -56 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Wed May 21 20:36:11 2014 UTC (9 years, 9 months ago) by bouyer
Branch: netbsd-6
Changes since 1.27: +56 -55 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Pull up following revision(s) (requested by skrll in ticket #1055):
	sys/arch/mips/mips/bus_dma.c: revision 1.28
When decide to coalesce segments, if the d_cache isn't coherent also make
sure the VA is contiguous as well.

Revision 1.27.16.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:17 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.27.16.1: +48 -3 lines
Diff to previous 1.27.16.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 5 19:09:06 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

fix incorrect variable; (hi matt)

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 3 19:18:59 2014 UTC (10 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.28: +48 -3 lines
Diff to previous 1.28 (colored)

Provide a simple version of _bus_dmamap_load_raw.  If each segments can
be mapped by XKPHYS/KSEGn, then the load will succeed.  If it would
require a bounce buffer or being mapped into the kernel's address space,
the load will fail.

Revision 1.27.16.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:19 2013 UTC (10 years, 6 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.27: +56 -55 lines
Diff to previous 1.27 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Fri Aug 23 07:15:08 2013 UTC (10 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.27: +56 -55 lines
Diff to previous 1.27 (colored)

When decide to coalesce segments, if the d_cache isn't coherent also make
sure the VA is contiguous as well.

Revision 1.22.16.22 / (download) - annotate - [select for diffs], Mon Feb 13 18:20:25 2012 UTC (12 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.21: +17 -21 lines
Diff to previous 1.22.16.21 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Add mm_md_direct_mapped_virt (inverse of mm_md_direct_mapped_phys).  Add a
third argument, vsize_t *, which, if not NULL, returns the amount of virtual
space left in that direct mapped segment.
Get rid most of the individual direct_mapped assert and use the above
routines instead.
Improve kernel core dump code.

Revision 1.22.16.21 / (download) - annotate - [select for diffs], Tue Dec 6 17:37:55 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.20: +10 -0 lines
Diff to previous 1.22.16.20 (colored) to branchpoint 1.22 (colored)

Add missing KSEGX support.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 10 23:13:22 2011 UTC (12 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet, netbsd-6
Changes since 1.26: +11 -10 lines
Diff to previous 1.26 (colored)

Fix machine/ includes

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 1 20:58:39 2011 UTC (12 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:04 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.24: +613 -121 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.22.16.20 / (download) - annotate - [select for diffs], Thu May 26 19:21:56 2011 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.19: +1 -1 lines
Diff to previous 1.22.16.19 (colored) to branchpoint 1.22 (colored)

Add MIPS64_RMIXL (XLR/XLS) and MIPS64R2_RMIXL (XLP).  This allows the kernel
to treat this special which is needed for MP support. When accessing the TLB,
always lock the TLB before hand.  If in the miss handlers, the TLB is already
locked let trap deal with the exeception.

Revision 1.22.16.19 / (download) - annotate - [select for diffs], Wed May 25 23:58:47 2011 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.18: +6 -3 lines
Diff to previous 1.22.16.18 (colored) to branchpoint 1.22 (colored)

Make uvm_map recognize UVM_FLAG_COLORMATCH which tells uvm_map that the
'align' argument specifies the starting color of the KVA range to be returned.

When calling uvm_km_alloc with UVM_KMF_VAONLY, also specify the starting
color of the kva range returned (UMV_KMF_COLORMATCH) and pass those to
uvm_map.

In uvm_pglistalloc, make sure the pages being returned have sequentially
advancing colors (so they can be mapped in a contiguous address range).
Add a few missing UVM_FLAG_COLORMATCH flags to uvm_pagealloc calls.

Make the socket and pipe loan color-safe.

Make the mips pmap enforce strict page color (color(VA) == color(PA)).

Revision 1.22.16.18 / (download) - annotate - [select for diffs], Fri Apr 29 08:26:23 2011 UTC (12 years, 10 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.17: +3 -3 lines
Diff to previous 1.22.16.17 (colored) to branchpoint 1.22 (colored)

Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code.  (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:04 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.23: +614 -122 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:48 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.24: +611 -119 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 20 07:45:47 2011 UTC (13 years ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.24: +613 -121 lines
Diff to previous 1.24 (colored)

Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Nov 16 02:47:40 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Nov 12 13:18:58 2010 UTC (13 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base7, uebayasi-xip-base6, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Pull in uvm/uvm.h where UVM's page level interface is used.

Revision 1.22.16.17 / (download) - annotate - [select for diffs], Tue Apr 20 22:08:39 2010 UTC (13 years, 10 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.22.16.16: +5 -4 lines
Diff to previous 1.22.16.16 (colored) to branchpoint 1.22 (colored)

Fix formatting.

Revision 1.22.16.16 / (download) - annotate - [select for diffs], Sat Apr 17 07:34:45 2010 UTC (13 years, 10 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.22.16.15: +5 -28 lines
Diff to previous 1.22.16.15 (colored) to branchpoint 1.22 (colored)

- in _bus_dmamap_sync() replace complex/buggy mbuf bounce buffer copy
code with simple call to m_copyback

Revision 1.22.16.15 / (download) - annotate - [select for diffs], Fri Apr 16 23:42:25 2010 UTC (13 years, 10 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.22.16.14: +11 -8 lines
Diff to previous 1.22.16.14 (colored) to branchpoint 1.22 (colored)

- teach _bus_dmamem_map to handle PA > MIPS_PHYS_MASK for non-_LP64 kernel
- fix a debug print format for non-_LP32

Revision 1.20.36.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:38 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.20.36.2: +35 -13 lines
Diff to previous 1.20.36.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with head

Revision 1.22.16.14 / (download) - annotate - [select for diffs], Wed Jan 20 06:58:36 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.13: +8 -8 lines
Diff to previous 1.22.16.13 (colored) to branchpoint 1.22 (colored)

Revamp things a bit.  Move of the globals mips uses into either cpu_info,
mips_options, or mips_cache_info.  Make MALT64 be able to boot MULTIPROCESSOR.
(some pmap MP work).

Revision 1.22.16.13 / (download) - annotate - [select for diffs], Thu Jan 14 00:40:35 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.12: +5 -5 lines
Diff to previous 1.22.16.12 (colored) to branchpoint 1.22 (colored)

More fixes for the CFATTAL_DECL_NEW changes and rmixl cpucore/cpu changes.

Revision 1.22.16.12 / (download) - annotate - [select for diffs], Tue Jan 12 07:58:09 2010 UTC (14 years, 1 month ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.22.16.11: +5 -5 lines
Diff to previous 1.22.16.11 (colored) to branchpoint 1.22 (colored)

- in _bus_dmatag_subregion fix comparison of max_addr vs. _BUS_AVAIL_END
- in _bus_dmamap_load_buffer use #ifdef BUS_DMA_DEBUG and PRIx formats

Revision 1.22.16.11 / (download) - annotate - [select for diffs], Tue Jan 12 06:38:20 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.10: +108 -16 lines
Diff to previous 1.22.16.10 (colored) to branchpoint 1.22 (colored)

Add some evcnts for bounce buffers

Revision 1.22.16.10 / (download) - annotate - [select for diffs], Tue Jan 12 05:52:09 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.9: +119 -151 lines
Diff to previous 1.22.16.9 (colored) to branchpoint 1.22 (colored)

Rework bounce buffers so that it can also deal with non-coherent buffers.

Revision 1.22.16.9 / (download) - annotate - [select for diffs], Mon Jan 11 19:52:30 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.8: +20 -3 lines
Diff to previous 1.22.16.8 (colored) to branchpoint 1.22 (colored)

Mark dmamaps as coherent if the D cache is coherent.

Revision 1.22.16.8 / (download) - annotate - [select for diffs], Sun Jan 10 02:48:46 2010 UTC (14 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.7: +505 -71 lines
Diff to previous 1.22.16.7 (colored) to branchpoint 1.22 (colored)

Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion.  MALTA uses it for ISADMA.  Make RMIXL use
for creating 32bit and 29bit subregions.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:05 2009 UTC (14 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.22: +35 -13 lines
Diff to previous 1.22 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.22.16.7 / (download) - annotate - [select for diffs], Sun Nov 15 23:00:00 2009 UTC (14 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20091211
Changes since 1.22.16.6: +5 -4 lines
Diff to previous 1.22.16.6 (colored) to branchpoint 1.22 (colored)

- use PRIxPADDR and PRIxPSIZE as needed when printing bus address, size

Revision 1.22.16.6 / (download) - annotate - [select for diffs], Mon Nov 9 09:58:45 2009 UTC (14 years, 3 months ago) by cliff
Branch: matt-nb5-mips64
Changes since 1.22.16.5: +6 -4 lines
Diff to previous 1.22.16.5 (colored) to branchpoint 1.22 (colored)

- in _bus_dmamem_map() use uncached addressing when caller requests
  BUS_DMA_COHERENT, but cpu does not have CPU_MIPS_D_CACHE_COHERENT

Revision 1.22.16.5 / (download) - annotate - [select for diffs], Tue Sep 8 08:11:29 2009 UTC (14 years, 5 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9
Changes since 1.22.16.4: +9 -11 lines
Diff to previous 1.22.16.4 (colored) to branchpoint 1.22 (colored)

For LP64 kernels, only use KSEG0 for pmap_steal_memory.  Everything else uses
XKPHYS.  Use the new MIPS_PHYS_TO_XKPHYS_{,UN}CACHED macros.

Revision 1.22.16.4 / (download) - annotate - [select for diffs], Mon Sep 7 22:28:24 2009 UTC (14 years, 5 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb4-mips64-k7-u2a-k9b
Changes since 1.22.16.3: +10 -7 lines
Diff to previous 1.22.16.3 (colored) to branchpoint 1.22 (colored)

Use/Compare CCA from MIPS3_PG_{UNCACHED,CACHED}

Revision 1.22.16.3 / (download) - annotate - [select for diffs], Sun Sep 6 22:58:59 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.16.2: +25 -7 lines
Diff to previous 1.22.16.2 (colored) to branchpoint 1.22 (colored)

Don't refer to KSEG2 anymore.  If LP64 kernel, use XKPHYS for addresses
that don't fit in into KSEG0/KSEG1.

Revision 1.22.16.2 / (download) - annotate - [select for diffs], Fri Aug 21 17:35:43 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u1-k1-k5
Changes since 1.22.16.1: +3 -3 lines
Diff to previous 1.22.16.1 (colored) to branchpoint 1.22 (colored)

Use PRIxPADDR

Revision 1.22.16.1 / (download) - annotate - [select for diffs], Wed Aug 19 07:41:47 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

change casting pointer to u_long to uintptr_t

Revision 1.20.36.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:31 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.20.36.1: +5 -5 lines
Diff to previous 1.20.36.1 (colored) to branchpoint 1.20 (colored)

sync with head.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:32 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.20.34.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:04 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.20.34.1: +5 -5 lines
Diff to previous 1.20.34.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with head.

Revision 1.20.32.2 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:33 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20.32.1: +3 -3 lines
Diff to previous 1.20.32.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Also fix build.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 4 12:41:41 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: matt-nb5-mips64
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.

Revision 1.20.32.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:24 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.20.34.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:26 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored)

sync with head.

Revision 1.20.36.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:51 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:28 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.20: +2 -9 lines
Diff to previous 1.20 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:27:58 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.2.1: +15 -12 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:46 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.18: +6 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with head.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:44 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.18: +6 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with head.

Revision 1.17.20.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:02:51 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.17.20.1: +6 -3 lines
Diff to previous 1.17.20.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 12 23:07:50 2007 UTC (16 years, 10 months 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-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, 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
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.19: +3 -4 lines
Diff to previous 1.19 (colored)

Remove the BUS_DMA_COHERENT check from bus_dma_mmap

Revision 1.19 / (download) - annotate - [select for diffs], Thu Apr 12 22:48:38 2007 UTC (16 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.18: +7 -3 lines
Diff to previous 1.18 (colored)

If bus_space_mmap is asked for a COHERENT page, make the phys addr is from
KSEG1.

Revision 1.17.20.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:49:21 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.17: +11 -11 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:11 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.17: +11 -11 lines
Diff to previous 1.17 (colored)

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

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:41:26 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.16: +25 -27 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:53:43 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14: +28 -28 lines
Diff to previous 1.14 (colored)

sync with head.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:42 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.16: +25 -27 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:11 2006 UTC (18 years ago) by yamt
Branch: MAIN
CVS Tags: 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, rpaulo-netinet-merge-pcb-base, 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.16: +25 -27 lines
Diff to previous 1.16 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Sat Feb 18 23:52:06 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.16.2.2: +0 -1 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

remove a variable which is now unused.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 23:28:28 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.16.2.1: +6 -6 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

_dm_proc -> _dm_vmspace.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 11:12:19 2006 UTC (18 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.16: +19 -20 lines
Diff to previous 1.16 (colored)

adapt bus_dma implementations.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:09 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

merge ktrace-lwp.

Revision 1.9.2.8 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:20 2005 UTC (18 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.9.2.7: +5 -3 lines
Diff to previous 1.9.2.7 (colored) next main 1.10 (colored)

Sync with head.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:22:59 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 24 13:08:33 2005 UTC (18 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored)

bus_dmamem_map: honour BUS_DMA_NOWAIT.  noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:15 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.11: +16 -9 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with -current

Revision 1.9.2.7 / (download) - annotate - [select for diffs], Fri Apr 1 14:27:54 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.6: +16 -9 lines
Diff to previous 1.9.2.6 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:33 2005 UTC (18 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr, kent-audio2-base
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.13: +6 -4 lines
Diff to previous 1.13 (colored)

merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:05 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.11.6.1: +12 -7 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 9 19:04:44 2005 UTC (19 years ago) by matt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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
Changes since 1.12: +11 -6 lines
Diff to previous 1.12 (colored)

Add a dm_maxsegsz public member to bus_dmamap_t.  This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create).  dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 9 04:23:33 2005 UTC (19 years ago) by simonb
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Add an extra `i' to notifes/notifed.

Revision 1.9.2.6 / (download) - annotate - [select for diffs], Sat Feb 19 13:18:14 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.5: +3 -3 lines
Diff to previous 1.9.2.5 (colored)

Don't deref a NULL struct lwp *. This shouldn't happen, but...

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Mon Jan 31 12:15:52 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.11: +6 -4 lines
Diff to previous 1.11 (colored)

convert arch/mips to new apis.

Revision 1.9.2.5 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:15 2004 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.4: +4 -2 lines
Diff to previous 1.9.2.4 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 28 17:34:46 2004 UTC (19 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:18:47 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.3: +3 -3 lines
Diff to previous 1.9.2.3 (colored)

Fix the sync with head I botched.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:37:25 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.2: +3 -3 lines
Diff to previous 1.9.2.2 (colored)

Sync with HEAD.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:37:46 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.1: +6 -5 lines
Diff to previous 1.9.2.1 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 29 23:52:22 2003 UTC (20 years, 4 months ago) by simonb
Branch: MAIN
CVS Tags: 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
Changes since 1.9: +6 -5 lines
Diff to previous 1.9 (colored)

Make this 64-bit paddr_t friendly.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:25 2003 UTC (20 years, 8 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:36 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 29 11:35:15 2003 UTC (20 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Don't use "extern" with functions.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 28 14:20:59 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 14 10:09:49 2003 UTC (20 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.5: +4 -5 lines
Diff to previous 1.5 (colored)

Un-wrap a no-longer-too-long panic message, add some extra info to another
panic message.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 11 06:24:59 2003 UTC (20 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Fix a tyop in a comment.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 2 03:27:35 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 17 23:36:10 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

Merge the nathanw_sa branch.

Revision 1.1.4.6 / (download) - annotate - [select for diffs], Mon Dec 2 06:12:12 2002 UTC (21 years, 3 months ago) by wdk
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.4.5: +4 -3 lines
Diff to previous 1.1.4.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Tidy up for Scheduler Activations:
 - Change curproc -> curlwp
 - Display LWP id along with PID for kernel generated messages

Revision 1.1.6.1 / (download) - annotate - [select for diffs], Sun Jul 14 18:37:14 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

catch up with -current.

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Tue Jul 2 22:05:02 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.4: +3 -3 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored)

curlwp back to curproc; curproc is the correct type here.

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Mon Jun 24 22:05:42 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.3: +3 -3 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:38:02 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.1: +741 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

catch up with -current on kqueue branch

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Thu Jun 20 03:39:46 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.2: +2 -3 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.2.2.1, Sun Jun 2 14:44:37 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.2: +0 -741 lines
FILE REMOVED

file bus_dma.c was added on branch kqueue on 2002-06-23 17:38:02 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:37 2002 UTC (21 years, 9 months ago) by drochner
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: kqueue
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (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.4.2 / (download) - annotate - [select for diffs], Mon Apr 1 07:41:01 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.1: +742 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

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

Revision 1.1.4.1, Mon Mar 18 02:32:54 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -742 lines
FILE REMOVED

file bus_dma.c was added on branch nathanw_sa on 2002-04-01 07:41:01 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 18 02:32:54 2002 UTC (21 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, 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, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, gehenna-devsw

Copy the algor bus_dma.c for use as a generic bus_dma implementation for
other MIPS ports.

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>