CVS log for src/sys/arch/mips/mips/cache.c
Up to [cvs.NetBSD.org] / src / sys / arch / mips / mips
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sun Mar 13 17:50:55 2022 UTC (2 years, 10 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3
lines
s/hander/handler/ and s/hader/header/ in comments and documentation.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Aug 2 06:51:47 2020 UTC (4 years, 5 months ago) by skrll
Branches: 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-futex,
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
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +5 -2
lines
Add all the Cavium Networks cpu ids
Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 20 16:35:02 2020 UTC (4 years, 6 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +4 -4
lines
Pull up following revision(s) (requested by tsutsui in ticket #964):
sys/arch/mips/mips/cache.c: revision 1.67
Use 32 byte cacheline ops (not 16 byte ones) for R5000 picache. PR/55138
Commented "I think this is bad copy&paste" from skrll@.
No visible regression on Cobalt Qube 2700 (Rm5230) through
whole installation using netbsd-9 based Cobalt RestoreCD/USB.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Jun 14 14:16:49 2020 UTC (4 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4
lines
Use 32 byte cacheline ops (not 16 byte ones) for R5000 picache. PR/55138
Commented "I think this is bad copy&paste" from skrll@.
No visible regression on Cobalt Qube 2700 (Rm5230) through
whole installation using netbsd-9 based Cobalt RestoreCD/USB.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Jun 14 12:58:01 2020 UTC (4 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +135 -49
lines
Support Octeon Cavium cnMIPS I, II and III cores that have various
non-standard cache configurations (in terms of following MIPS spec
for defining cache configurations).
Move (most) Octeon support into a single place.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Jun 14 12:07:44 2020 UTC (4 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +18 -18
lines
Move some "case 0" statements to be first in their switch statements.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jun 14 12:02:07 2020 UTC (4 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +39 -40
lines
Adjust previous - move consolidated debug printfs _after_ core specific
overrides, not before them.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jun 14 09:55:37 2020 UTC (4 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +56 -51
lines
Make core specific overrides a bit more readable / scalable (switch
instead of if / else / ...).
Move debug printfs to after core specific overrides in case any config
is updated.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jun 14 09:41:17 2020 UTC (4 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +23 -14
lines
KNF police - long lines and comments.
Revision 1.59.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:45 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.59.4.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.4.1: +3 -3
lines
Merge changes from current as of 20200406
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Dec 27 09:47:18 2019 UTC (5 years ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3
lines
s/defintion/definition/ in comment.
Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:30 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
Sync with HEAD
Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:37 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:26 2018 UTC (6 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.48.24.1: download - view: text, markup, annotated - select for diffs
Tue Mar 6 15:04:49 2018 UTC (6 years, 10 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +4 -2
lines
Pull up following revision(s) (requested by flxd in ticket #1578):
sys/arch/mips/mips/cache.c: revision 1.59
Add missing call to mips_dcache_compute_align() affecting "modern" MIPS
(MIPS32{,R2}/MIPS64{,R2}). Thanks jmcneill@; OK skrll@.
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 6 09:27:27 2018 UTC (6 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +4 -2
lines
Pull up following revision(s) (requested by flxd in ticket #601):
sys/arch/mips/mips/cache.c: revision 1.59
Add missing call to mips_dcache_compute_align() affecting "modern" MIPS
(MIPS32{,R2}/MIPS64{,R2}). Thanks jmcneill@; OK skrll@.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Mar 3 15:47:49 2018 UTC (6 years, 10 months ago) by flxd
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
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
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -2
lines
Add missing call to mips_dcache_compute_align() affecting "modern" MIPS
(MIPS32{,R2}/MIPS64{,R2}). Thanks jmcneill@; OK skrll@.
Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:28 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +419 -195
lines
update from HEAD
Revision 1.48.26.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:45 2017 UTC (7 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.26.3: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.26.3: +14 -14
lines
Sync with HEAD
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Fri May 19 00:22:56 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +13 -13
lines
Resolve conflicts from previous merge (all resulting from $NetBSD
keywork expansion)
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun May 14 09:37:13 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Branch point for: netbsd-8
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +12 -12
lines
Set mci_{,i}cache_alias_mask for all variants that can have virtual cache
aliases
Set ncolors appropriately
These align to dcache and expect icache aliases to be dealt with by the
pmap directly.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun May 14 09:33:17 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3
lines
Really fix typo that got dcache alias mask set from icache way_mask
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun May 14 09:32:01 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
Fix typo that got dcache alias mask set from icache way_mask
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:05 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +3 -3
lines
Sync with HEAD
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Apr 22 20:32:35 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
pgoyette-localcount-20170426
Branch point for: prg-localcount2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3
lines
Comment indentation
Revision 1.48.26.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:32 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.26.2: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.26.2: +386 -200
lines
Sync with HEAD
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Sep 4 07:30:52 2016 UTC (8 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -6
lines
Remove old and incorrect comments
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Aug 19 10:05:35 2016 UTC (8 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +9 -9
lines
Trailing whitespace
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jul 11 23:06:54 2016 UTC (8 years, 6 months ago) by matt
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +41 -41
lines
Use sdcache routines.
Remove old cache support.
Switch to new cache routines.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jul 11 16:15:36 2016 UTC (8 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +347 -157
lines
Change MIPS to use the common pmap code.
Switch to 8KB pages on CPUs with a R4K MMU.
Simplify cache code.
Merge in most of changes from matt-mips64 branch
Revision 1.48.26.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:47 2015 UTC (9 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48.26.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.26.1: +7 -7
lines
Sync with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Jun 10 22:40:37 2015 UTC (9 years, 7 months ago) by matt
Branches: MAIN
CVS tags: nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4
lines
mci_cache_virtual_alias is bool so use true and false, not 1 and 0.
Revision 1.48.26.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:02 2015 UTC (9 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +40 -2
lines
Sync with HEAD
Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Apr 29 08:32:00 2015 UTC (9 years, 8 months ago) by hikaru
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +40 -2
lines
Initial import of Cavium Octeon and Octeon Plus SoC and
specifically Ubiquiti Networks EdgeRouter LITE support.
Currently the ethernet and uart are worked.
This support was contributed by Internet Initiative Japan Inc.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:39 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +15 -5
lines
sync with head
Revision 1.33.96.12: download - view: text, markup, annotated - select for diffs
Thu Jan 19 08:28:49 2012 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.11: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.96.11: +15 -15
lines
When running an N32 kernel, run it with 64-bit addresses even though the
kernel itself will only use 32-bit addresses. There are exceptions.
bus_space_handles are now register_t instead of intptr_t. This allows them
to contain XKPHYS addresses. Now bus_space can use XKPHYS addresses and
not required non-KSEG1 devices to be mapped in KSEG2 thereby leaving more
KSEG2 space for the kernel to use.
The cache range routines (but not index routines) now take a register_t
instead of vaddr_t so they can too take a XKPHYS address. This allows the
pmap to use a page's XKPHYS address to clean sync the icache thereby avoiding
massive icache invalidations.
Since "cache" instruction effects are global to all CPUs and their caches, we
can use the above to greatly simplify MP page isyncs. If using an O32 kernel
with pages outside KSEG0, index ops still need to be performed since there
isn't an a quick way of mapping the page.
Revision 1.33.96.11: download - view: text, markup, annotated - select for diffs
Thu Jan 12 18:50:33 2012 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.10: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.10: +5 -0
lines
Add an optimization for UP system with non-virtually tagged caches (which are
most of them these days).
If a page needs to be have an icache_sync performed and the page has a direct
map alias (XKPHYS or KSEG0), then don't do an index op; instead do a range op
on the XKPHYS or KSEG0 address. This results in unneeded fewer cache line
invalidations.
Revision 1.33.96.10: download - view: text, markup, annotated - select for diffs
Tue Dec 27 16:08:17 2011 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.9: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.9: +3 -3
lines
Use MIPS_*CACHE_VIRTUAL_ALIAS instead of mci->mci_*
Revision 1.33.96.9: download - view: text, markup, annotated - select for diffs
Tue Dec 27 03:39:40 2011 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.8: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.8: +51 -39
lines
Rework (rewrite) the cache code for MIPS32/MIPS64. Use an assembly stub
for generate the cache instructions. Add some more intern routines so that
cache_mipsNN.c only had the "generic" all/index routines.
Revision 1.33.96.8: download - view: text, markup, annotated - select for diffs
Fri Dec 23 22:47:26 2011 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.7: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.7: +159 -23
lines
Add code to deal SDcache settings in CFG2.
Add support for CFG7 handling for MTI cores.
Cleanup cache alias handling.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Nov 24 04:17:11 2011 UTC (13 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
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,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
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-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,
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,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
nick-nhusb,
netbsd-7
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +15 -5
lines
Add workaround for RMI cpus (not really needed but good for completeness)
Revision 1.33.96.7: download - view: text, markup, annotated - select for diffs
Fri Nov 4 07:43:37 2011 UTC (13 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.6: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.6: +13 -3
lines
For RMI, use wbinv for wb ops since there is no wb.
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:22 2011 UTC (13 years, 6 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +25 -25
lines
Catchup with rmind-uvmplock merge.
Revision 1.42.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:01 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42.4.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.4.2: +23 -23
lines
sync with head
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Jun 8 17:47:48 2011 UTC (13 years, 7 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +25 -25
lines
Make GDIUM build again after matt-nb5-mips64 merge. untested as I don't have
this hardware, but I'll use this as a base for Lemote Fulong support.
Revision 1.42.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:04 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +378 -394
lines
Sync with HEAD.
Revision 1.33.96.6: download - view: text, markup, annotated - select for diffs
Thu May 26 19:21:56 2011 UTC (13 years, 7 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.5: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.5: +5 -5
lines
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.33.96.5: download - view: text, markup, annotated - select for diffs
Wed May 25 23:58:47 2011 UTC (13 years, 7 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.4: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.4: +5 -3
lines
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.33.96.4: download - view: text, markup, annotated - select for diffs
Fri Apr 29 08:26:23 2011 UTC (13 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.3: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.3: +10 -45
lines
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.42.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:11 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42.4.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.4.1: +7 -7
lines
sync with head
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Mar 15 07:39:22 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +9 -9
lines
Add separate support for MIPS32R2 and MIPS64R2.
Use EHB/SSNOP and jr.hb ra as appropriate (COP0_SYNC now uses them).
Add support for COP_0_HWRENA and COP_0_USERLOCAL (use by rdhwr $3,$29
instruction for TLS support).
Add mips3+ reserved instruction handler to emulate rdhwr is many fewer
instructions.
Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:04 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +372 -388
lines
sync with head
Revision 1.42.8.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:48 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.42.8.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.8.1: +336 -414
lines
Sync with HEAD
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:45:47 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +336 -414
lines
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.42.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:28 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +64 -2
lines
Sync with HEAD
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jan 26 16:31:00 2011 UTC (13 years, 11 months ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base7,
bouyer-quota2-base
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -2
lines
Fix build of malta/sbmips.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Jan 26 01:18:54 2011 UTC (13 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +60 -2
lines
Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.
eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing. eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.
NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman. Microsoft Corporation has
donated full copyright to The NetBSD Foundation.
Platform support for eMIPS is the first part of Microsoft's
contribution. The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
Revision 1.33.96.3: download - view: text, markup, annotated - select for diffs
Tue Jan 26 21:19:25 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.33.96.2: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.2: +4 -3
lines
Revamp pmap. Add exec page caching logic from powerpc oea pmap. Shrink struct
vm_page by placing the first pv_entry in it. Remove pv_flags since nothing
really needed it. Add pmap counters. Rework virtual cache alias logic.
Allow pmap_copy_page and pmap_zero_page to deal with non-KSEG0 mappable pages.
Revision 1.33.96.2: download - view: text, markup, annotated - select for diffs
Wed Jan 20 09:04:34 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33.96.1: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.96.1: +88 -81
lines
Adjust things to the new world order.
Revision 1.33.96.1: download - view: text, markup, annotated - select for diffs
Wed Jan 20 06:58:36 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +251 -298
lines
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.33.78.1: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:30 2009 UTC (15 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +65 -3
lines
sync with head.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Aug 11 02:38:30 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: rmind-uvmplock,
jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -4
lines
Fix loongson2 sdcache init.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Aug 11 00:34:29 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -2
lines
Flush by increasing way, then increasing addr. flush L1 before L2 (even
though according to the specification it should be needed). Reset
mips_sdcache_size to 0 so we will configure it.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Aug 9 04:05:03 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -3
lines
If Loongson2 way size is <= page size, don't enable mips_virtual_alias
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Aug 7 18:39:10 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +19 -16
lines
Add loongson2 specific cache ops
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Aug 6 23:16:39 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -7
lines
Use mips3_get_cache_config for Loongson2
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Aug 6 22:56:31 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +13 -3
lines
Update Loongston. Set colors and mark it as having virtual aliases.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Aug 6 16:13:08 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -6
lines
Change MIPS64_LOONGSON2 to MIP3_LOONGSON2 since it's a MIPS3 and not MIPS64.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Aug 6 15:58:46 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -2
lines
The Loongson2 secondary cache is unified.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Aug 6 01:27:47 2009 UTC (15 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +51 -2
lines
Add Loongson2 support.
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:53:43 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +29 -21
lines
sync with head.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Dec 24 23:24:01 2005 UTC (19 years ago) by perry
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
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-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
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,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
ppcoea-renovation-base,
ppcoea-renovation,
post-newlock2-merge,
peter-altq-base,
peter-altq,
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,
newlock2-nbase,
newlock2-base,
newlock2,
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,
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,
mjf-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
mjf-devfs,
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-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-nb4-arm-base,
matt-nb4-arm,
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,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
cube-autoconf-base,
cube-autoconf,
chap-midi-nbase,
chap-midi-base,
chap-midi,
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,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-nfs-mp,
matt-nb5-mips64
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4
lines
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
Revision 1.19.2.8: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:20 2005 UTC (19 years, 1 month ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.19.2.7: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.7: +7 -8
lines
Sync with head.
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:22:59 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +5 -6
lines
sync with head.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Nov 29 13:38:07 2005 UTC (19 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: yamt-readahead-base3,
ktrace-lwp-base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -6
lines
Use PAGE_MASK macro instead of (PAGE_SIZE - 1).
Revision 1.26.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 21 20:06:03 2005 UTC (19 years, 1 month ago) by tron
Branches: netbsd-3
CVS tags: 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-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.26.2.2: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.2: +4 -4
lines
Pull up following revision(s) (requested by tsutsui in ticket #961):
sys/arch/mips/mips/cache.c: revision 1.31
Check possibility of virtual alias correctly in primaly_cache_is_2way case
(though I guess all those CPUs have L1 cache larger than 8KB).
Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 21 20:04:44 2005 UTC (19 years, 1 month ago) by tron
Branches: netbsd-3
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.1: +19 -13
lines
Pull up following revision(s) (requested by tsutsui in ticket #961):
sys/arch/mips/mips/cache.c: revision 1.30
Partially revert change in sys/arch/mips/mips/cache.c rev 1.27,
i.e. override mips_cache_alias_mask and mips_cache_prefer_mask
with values which match MIPS3_MAX_PCACHE_SIZE (32KB), rather than
leave them actual primary virtual indexed cache size (8KB or 16KB).
Also add comments about what the value means there.
I thought the VCE on R4000/R4400 occurred only if actual virtual alias
was detected because there was an article which mentioned that VCE
detection logic was different according to primary cache size and
it looked reasonable. But all other articles I can find later
(http://www.linux-mips.org/archives/linux-mips/1998-05/msg00084.html etc.)
claimes that VCE detection logic always verifies all 3 bits
between vaddr[14:12] and PIdx[2:0] regardless of primary cache size
(i.e. VCE could occur even if there is no actual virtual alias), and
in fact VCED still happens with the mask values adjusted for 16KB L1
but it doesn't with ones for MIPS3_MAX_PCACHE_SIZE on my R4400 news5000.
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 21 20:02:26 2005 UTC (19 years, 1 month ago) by tron
Branches: netbsd-3
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +24 -4
lines
Pull up following revision(s) (requested by tsutsui in ticket #961):
sys/arch/mips/mips/cache.c: revision 1.27
sys/arch/mips/include/cache.h: revision 1.8
sys/arch/mips/mips/pmap.c: revision 1.158
sys/arch/mips/mips/vm_machdep.c: revision 1.106
sys/arch/mips/mips/mem.c: revision 1.30
sys/arch/mips/include/pmap.h: revision 1.47
Add a workaround to handle virtual alias which may cause data corruption
on R5000/Rm52xx machines:
- Add a new global variable mips_cache_virtual_alias in mips/cache.c,
which indicates that VIPT cache on the CPU could cause virtual alias
and software support is required to handle it. (i.e. no VCED/VCEI)
- Add several cache flush/invalidate ops around KSEG0 access which
might cause virtual alias if mips_cache_virtual_alias is true.
(note checking mips_sdcache_line_size isn't valid for R5000/Rm52xx
because only R4000/R4400 with L2 cache have VCED/VCEI)
- Remove a global variable mips_sdcache_forceinv, which is now superseded
by new mips_cache_virtual_alias.
While here, also change some R4000/R4400 cache ops:
- Don't override mips_cache_alias_mask and mips_cache_prefer_mask with
values based on MIPS3_MAX_PCACHE_SIZE for R4000/R4400 with L2 cache
because it's still worth to reduce VCED/VCEI.
- Flush dcache in pmap_zero_page(9) unconditionally on all MIPS_HAS_R4K_MMU
CPUs and remove cache flush code from cpu_lwp_fork() in vm_machdep.c.
Thanks to Markus W Kilbinger for testing patches on port-cobalt/port-mips.
XXX This fix is just a workaround because it doesn't handle all possible
XXX virtual aliases. As discussed on port-mips, maybe the real fix
XXX for virtual alias is to change MI UVM to adapt it to VIPT cache.
XXX (all VA mappings against the same PA must have the same VAC index etc.)
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Nov 10 15:31:17 2005 UTC (19 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base2,
yamt-readahead-base
Branch point for: yamt-readahead
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4
lines
Check possibility of virtual alias correctly in primaly_cache_is_2way case
(though I guess all those CPUs have L1 cache larger than 8KB).
Revision 1.19.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:33 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.19.2.6: preferred, colored
Changes since revision 1.19.2.6: +50 -33
lines
Sync with HEAD. Here we go again...
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Nov 8 15:31:10 2005 UTC (19 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +19 -13
lines
Partially revert change in sys/arch/mips/mips/cache.c rev 1.27,
i.e. override mips_cache_alias_mask and mips_cache_prefer_mask
with values which match MIPS3_MAX_PCACHE_SIZE (32KB), rather than
leave them actual primary virtual indexed cache size (8KB or 16KB).
Also add comments about what the value means there.
I thought the VCE on R4000/R4400 occurred only if actual virtual alias
was detected because there was an article which mentioned that VCE
detection logic was different according to primary cache size and
it looked reasonable. But all other articles I can find later
(http://www.linux-mips.org/archives/linux-mips/1998-05/msg00084.html etc.)
claimes that VCE detection logic always verifies all 3 bits
between vaddr[14:12] and PIdx[2:0] regardless of primary cache size
(i.e. VCE could occur even if there is no actual virtual alias), and
in fact VCED still happens with the mask values adjusted for 16KB L1
but it doesn't with ones for MIPS3_MAX_PCACHE_SIZE on my R4400 news5000.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Nov 4 16:19:32 2005 UTC (19 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -2
lines
Check MIPS3_CONFIG_CS and adjust csizebase at runtime on MIPS_R4100 CPUs,
and remove "XXXCDC: THIS MIPS3_4100 SPECIAL CASE SHOULD GO AWAY" part
from cpuregs.h. Tested on gxemul.
BTW, cache.c doesn't have MIPS_RC32364 config which was added
in mips_machdep.c rev 1.101?
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jun 3 20:48:28 2005 UTC (19 years, 7 months ago) by he
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-lazymbuf
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +30 -22
lines
Cast the various uses of cache_noop to the proper function pointer
type of the target instead of (void*). Appeases -Wcast-qual.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:15 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +24 -2
lines
sync with -current
Revision 1.19.2.6: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:27:54 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.19.2.5: preferred, colored
Changes since revision 1.19.2.5: +24 -4
lines
Sync with HEAD.
Revision 1.25.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 26 18:19:17 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.25.4.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.4.1: +24 -4
lines
sync with head.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Mar 26 09:51:02 2005 UTC (19 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-km-base4,
kent-audio2-base
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +24 -4
lines
Add a workaround to handle virtual alias which may cause data corruption
on R5000/Rm52xx machines:
- Add a new global variable mips_cache_virtual_alias in mips/cache.c,
which indicates that VIPT cache on the CPU could cause virtual alias
and software support is required to handle it. (i.e. no VCED/VCEI)
- Add several cache flush/invalidate ops around KSEG0 access which
might cause virtual alias if mips_cache_virtual_alias is true.
(note checking mips_sdcache_line_size isn't valid for R5000/Rm52xx
because only R4000/R4400 with L2 cache have VCED/VCEI)
- Remove a global variable mips_sdcache_forceinv, which is now superseded
by new mips_cache_virtual_alias.
While here, also change some R4000/R4400 cache ops:
- Don't override mips_cache_alias_mask and mips_cache_prefer_mask with
values based on MIPS3_MAX_PCACHE_SIZE for R4000/R4400 with L2 cache
because it's still worth to reduce VCED/VCEI.
- Flush dcache in pmap_zero_page(9) unconditionally on all MIPS_HAS_R4K_MMU
CPUs and remove cache flush code from cpu_lwp_fork() in vm_machdep.c.
Thanks to Markus W Kilbinger for testing patches on port-cobalt/port-mips.
XXX This fix is just a workaround because it doesn't handle all possible
XXX virtual aliases. As discussed on port-mips, maybe the real fix
XXX for virtual alias is to change MI UVM to adapt it to VIPT cache.
XXX (all VA mappings against the same PA must have the same VAC index etc.)
Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:05 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -2
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.19.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:38:48 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.19.2.4: preferred, colored
Changes since revision 1.19.2.4: +4 -2
lines
Sync with HEAD.
Hi Perry!
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Mar 1 04:23:44 2005 UTC (19 years, 10 months ago) by sekiya
Branches: MAIN
CVS tags: yamt-km-base3,
netbsd-3-base,
netbsd-3-0-RC1
Branch point for: netbsd-3
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -2
lines
Add a hint variable (mips_sdcache_forceinv, explicitly initialized to zero)
that tells pmap_zero_page() and pmap_copy_page() to unconditionally invalidate
pages for r5k-class CPUs with secondary cache.
This behavior must be explicitly enabled by setting mips_sdcache_forceinv to 1.
This is the last bit of a patch that has been kicked around since 2000 between
rafal@, tsutsui@, and myself.
Revision 1.19.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:15 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.19.2.3: preferred, colored
Changes since revision 1.19.2.3: +4 -3
lines
Sync with HEAD.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Dec 13 08:39:21 2004 UTC (20 years, 1 month ago) by sekiya
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -3
lines
Implement r5k indexed writeback-invalidate, and fix usage of Page_Invalidate_S.
Originally written by rafal@ back in April 2003. Field-tested by many
people since.
(I am not committing the pmap hack at this time; although pmap changes are
necessary to fully address the r5k panic/coma problems, the implementation
needs further thought)
Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:18:48 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.19.2.2: preferred, colored
Changes since revision 1.19.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:37:25 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.19.2.1: preferred, colored
Changes since revision 1.19.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:46 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +76 -3
lines
Sync with HEAD
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Dec 21 07:59:25 2003 UTC (21 years ago) by nisimura
Branches: 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,
kent-audio1-base,
kent-audio1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -4
lines
Vr4100 and Vr4300 are not capable of having external caches.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Nov 1 04:42:56 2003 UTC (21 years, 2 months ago) by shin
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +32 -82
lines
cache_r10k.c rev. 1.1 is broken. Because,
1) R10k uses VA0 to select cache ways, but in rev. 1.1, VA14
is used instead.
2) R10k does not support HitWriteBack and should map HitWriteBack
to HitWriteBackInvalidate, but in rev. 1.1, HitWriteBack is not
handled properly.
So, cache_r10k.c rev. 1.1 was replaced by new implementation.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Oct 11 09:09:15 2003 UTC (21 years, 3 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -2
lines
It seems r4k_sdcache_wb_range_NN() function can't handle
R10000 L2 cache (which is 2-way set-associative write-back),
so use r4k_sdcache_wbinv_range_NN() for workaround until someone
implement proper r10k_sdcache_*() ops.
Problem reported by Christopher SEKIYA.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Oct 5 11:10:25 2003 UTC (21 years, 3 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +116 -2
lines
Add R10000 cache ops, written by KIYOHARA Takashi and posted on port-sgimips.
Enabled by options ENABLE_MIPS4_CACHE_R10K for now.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:43:36 2003 UTC (21 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -1
lines
__KERNEL_RCSID()
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Mar 8 05:18:25 2003 UTC (21 years, 10 months ago) by rafal
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +9 -4
lines
Protect uses of MIPS_R5000 with #ifndef ENABLE_MIPS_R3NKK in new code just
as the old code does.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Mar 8 04:43:24 2003 UTC (21 years, 10 months ago) by rafal
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +18 -6
lines
Add support for R5k secondary caches, from code Chris Sekiya sent me a long
time ago, with small tweaks by me. Since the R5k doesn't do VCE, the pmap
still needs to be whacked for R5kSC CPUs to work correctly, but this is a
start.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Feb 7 17:38:48 2003 UTC (21 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -9
lines
Update to consistently use Broadcom GPL-compatible license on all SiByte code.
Revision 1.2.2.9: download - view: text, markup, annotated - select for diffs
Wed Jan 15 18:22:27 2003 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.2.2.8: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.8: +23 -4
lines
Sync with HEAD.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jan 10 03:22:49 2003 UTC (22 years ago) by rafal
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +23 -4
lines
Add the MIPS3_CONFIG_SE (name taken from Rm52xx manual) bit, which is the
external cache enable bit -- this allows software to enable or disable the
(external) L2 cache on the R5k and Rm527x and the (external) L3 cache on
the Rm7k. If the (external) cache is disabled, treat it as if there were
no cache for the purposes of the cache setup code.
Also, update sgimips code to use the new name.
Revision 1.2.2.8: download - view: text, markup, annotated - select for diffs
Thu Dec 19 00:35:06 2002 UTC (22 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.2.2.7: preferred, colored
Changes since revision 1.2.2.7: +37 -4
lines
Sync with HEAD.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Dec 17 12:04:30 2002 UTC (22 years, 1 month ago) by simonb
Branches: MAIN
CVS tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +37 -4
lines
Add support for caches where the data cache is fully coherent, and
either requires flushing either only when the I cache ops are used
or not at all. Currently only used by MIPS32/MIPS64 cache code.
Revision 1.2.2.7: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:11:07 2002 UTC (22 years, 1 month ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.2.2.6: preferred, colored
Changes since revision 1.2.2.6: +11 -49
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Nov 24 07:41:30 2002 UTC (22 years, 1 month ago) by simonb
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -49
lines
New generic way-aware MIPS32/64 range-index cache functions with proper
handling for phyiscally-indexed caches where the way size is greater than
the page size.
These work fine with pass 1 SB1 cores, so g/c those workarounds.
Much thanks to Chris Demetriou for many suggestions and helping me get
my head around all this.
Revision 1.2.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:00:32 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.5: preferred, colored
Changes since revision 1.2.2.5: +32 -32
lines
Catch up to -current
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Nov 9 19:34:39 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +32 -32
lines
Make cache size/mask variables unsigned.
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:38:45 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.4: preferred, colored
Changes since revision 1.2.2.4: +5 -5
lines
Catch up to -current.
Revision 1.7.2.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:34:04 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.7.2.5: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.5: +5 -5
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Sep 27 15:36:23 2002 UTC (22 years, 3 months ago) by provos
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5
lines
remove trailing \n in panic(). approved perry.
Revision 1.7.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:38:03 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.7.2.4: preferred, colored
Changes since revision 1.7.2.4: +17 -1
lines
catch up with -current on kqueue branch
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:03:46 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.3: preferred, colored
Changes since revision 1.2.2.3: +17 -1
lines
Catch up to -current.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Apr 3 03:55:07 2002 UTC (22 years, 9 months ago) by simonb
Branches: 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,
gehenna-devsw-base,
gehenna-devsw
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +17 -1
lines
Use the new 2way mips{32,64} cache ops.
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:41:01 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.2: preferred, colored
Changes since revision 1.2.2.2: +426 -20
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.7.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:58:37 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.7.2.3: preferred, colored
Changes since revision 1.7.2.3: +312 -18
lines
Catch up with -current.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Mar 5 15:42:21 2002 UTC (22 years, 10 months ago) by simonb
Branches: MAIN
CVS tags: newlock-base,
newlock,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +312 -18
lines
Add MIPS32/64 cache setup code (from Broadcom Corp).
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:10:43 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +615 -0
lines
Catch up to -current.
Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:08:36 2002 UTC (22 years, 11 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.7.2.2: preferred, colored
Changes since revision 1.7.2.2: +33 -1
lines
Sync w/ -current.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jan 30 16:09:29 2002 UTC (22 years, 11 months ago) by uch
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +23 -1
lines
move TX39 specific cache configuration code to cache.c
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jan 19 04:25:36 2002 UTC (23 years ago) by shin
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -1
lines
add VR4131 cache-op bug workaround code.
we can't use Hit_WriteBack_Invalidate.
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:46:03 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.7.2.1: preferred, colored
Changes since revision 1.7.2.1: +695 -0
lines
Sync kqueue branch with -current.
Revision 1.7.2.1
Fri Dec 28 04:06:07 2001 UTC (23 years ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.7: +0 -695
lines
file cache.c was added on branch kqueue on 2002-01-10 19:46:03 +0000
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Dec 28 04:06:07 2001 UTC (23 years ago) by shin
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -1
lines
R4000/R4400 always detects virtual alias as if
primary cache size is 32KB. Actual primary cache size
is ignored wrt VCED/VCEI.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Dec 23 13:10:46 2001 UTC (23 years ago) by takemura
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +33 -2
lines
Added Vr4131 support.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 23 06:21:50 2001 UTC (23 years, 1 month ago) by tsutsui
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +23 -1
lines
Add 32B/l L1 D/I-cache ops for newer ARC machines.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Nov 19 01:28:08 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +39 -1
lines
Add mips_dcache_align and mips_dcache_align_mask variables that
contain information suitable for allowing other parts of the kernel
to determine if a memory region is aligned to the largest data cache
line size present in the system.
Add a mips_dcache_compute_align() function which must be called whenever
one of the data cache line size variables is changed, in order to
compute mips_dcache_align and mips_dcache_align_mask.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Nov 18 18:46:20 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +14 -2
lines
Add 128b/l L2 cache ops.
Revision 1.2.2.1
Wed Nov 14 18:26:22 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.2: +0 -583
lines
file cache.c was added on branch nathanw_sa on 2002-02-28 04:10:43 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 18:26:22 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +583 -0
lines
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 12 02:08:03 2001 UTC (23 years, 2 months ago) by shin
Branches: thorpej-mips-cache
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +18 -1
lines
improve R4000/4400 secondary cache support.
add support for secondary cache line sizes 16, 64, 128.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 10 16:26:16 2001 UTC (23 years, 2 months ago) by uch
Branches: thorpej-mips-cache
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +40 -1
lines
new cache code for R5900 and playstation2
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 16:41:41 2001 UTC (23 years, 2 months ago) by uch
Branches: thorpej-mips-cache
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +5 -5
lines
make this compile with TX39
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 24 16:47:50 2001 UTC (23 years, 2 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +527 -0
lines
New MIPS cache primitives and code to configure which ones are used.
Revision 1.1
Wed Oct 24 16:47:50 2001 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Branch point for: thorpej-mips-cache
FILE REMOVED
file cache.c was initially added on branch thorpej-mips-cache.
CVSweb <webmaster@jp.NetBSD.org>