The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.20.14.1: download - view: text, markup, annotated - select for diffs
Sat Jun 20 16:38:42 2020 UTC (4 years, 7 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.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +4 -10 lines
Pull up following revision(s) (requested by tsutsui in ticket #965):

	sys/arch/mips/include/cache_r5k.h: revision 1.5
	sys/arch/mips/mips/cache_r5k_subr.S: revision 1.4
	sys/arch/mips/mips/cache_r5k.c: revision 1.21

Use proper "page" alignments for R5k Page Invalidate(S) op.  PR/55139

According to NEC "User's Manual VR5000, VR1000 64-BIT MICROPROCESSOR
INSTRUCTION" (U12754EJ1V0UMJ1), R5000 Page Invalidate (S) op does
"a page invalidate by doing a burst of 128 line invalidates to
the secondary cache at the page specified by the effective address
generated by the CACHE instruction, which must be page aligned."

This description looks a bit confusing, but "page" used here
implies fixed 32 byte cacheline * 128 lines == 4096 bytes,
not our variable "PAGE_SIZE" used in VM paging ops.  Note
the current default PAGE_SIZE for MIPS3 has been changed to 8192.

While here, also define and use proper macro for the "page" and CACHEOP
arg for the R5k Page_Invalidate_S op, as the manual also describes
the cache op field 10111 as "Page Invalidate" for the secondary cache.

No visible regression on Cobalt Qube 2700 (Rm5230) through
whole installation using netbsd-9 based Cobalt RestoreCD/USB.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jun 14 15:12:56 2020 UTC (4 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -10 lines
Use proper "page" alignments for R5k Page Invalidate(S) op.  PR/55139

According to NEC "User's Manual VR5000, VR1000 64-BIT MICROPROCESSOR
INSTRUCTION" (U12754EJ1V0UMJ1), R5000 Page Invalidate (S) op does
"a page invalidate by doing a burst of 128 line invalidates to
the secondary cache at the page specified by the effective address
generated by the CACHE instruction, which must be page aligned."

This description looks a bit confusing, but "page" used here
implies fixed 32 byte cacheline * 128 lines == 4096 bytes,
not our variable "PAGE_SIZE" used in VM paging ops.  Note
the current default PAGE_SIZE for MIPS3 has been changed to 8192.

While here, also define and use proper macro for the "page" and CACHEOP
arg for the R5k Page_Invalidate_S op, as the manual also describes
the cache op field 10111 as "Page Invalidate" for the secondary cache.

No visible regression on Cobalt Qube 2700 (Rm5230) through
whole installation using netbsd-9 based Cobalt RestoreCD/USB.

Revision 1.15.14.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.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +143 -346 lines
update from HEAD

Revision 1.15.32.3: 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.15.32.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.32.2: +3 -3 lines
Sync with HEAD

Revision 1.19.6.1: download - view: text, markup, annotated - select for diffs
Tue May 2 03:19:17 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +3 -3 lines
Sync with HEAD - tag prg-localcount2-base1

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Apr 27 20:05:09 2017 UTC (7 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, 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, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, 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
Branch point for: netbsd-9
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
Typo in comment

Revision 1.15.32.2: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:55 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.15.32.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.32.1: +17 -23 lines
Sync with HEAD

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:02 2016 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +17 -23 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Oct 10 07:37:56 2016 UTC (8 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +9 -9 lines
Trailing whitespace

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Oct 10 07:37:17 2016 UTC (8 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
vaddr_t -> register_t in range cache ops

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Oct 8 00:39:53 2016 UTC (8 years, 3 months ago) by macallan
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -14 lines
- don't clear KX when disabling interrupts
- sign extend addresses as needed
- use PAGE_SIZE instead of blindly assuming 4KB
now n32 kernels work again on my R5k SGIs
thanks to skrll@ for helping me with this

Revision 1.15.32.1: 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.15: preferred, colored
Changes since revision 1.15: +139 -336 lines
Sync with HEAD

Revision 1.16: 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
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +139 -336 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.12.96.3: download - view: text, markup, annotated - select for diffs
Thu Jan 19 08:28:49 2012 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.12.96.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.96.2: +33 -33 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.13.2.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.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +16 -16 lines
Sync with HEAD.

Revision 1.12.100.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:09 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.12.100.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.100.1: +2 -2 lines
sync with head

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Apr 29 22:06:43 2011 UTC (13 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, 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-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-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, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
whitespace cleanup

Revision 1.12.96.2: 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.12.96.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.96.1: +6 -6 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.12.100.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:05 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +18 -18 lines
sync with head

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:49 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +12 -12 lines
Sync with HEAD

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:45:47 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +14 -14 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.12.98.1: download - view: text, markup, annotated - select for diffs
Tue Nov 16 02:47:54 2010 UTC (14 years, 2 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +6 -6 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Nov 13 09:22:10 2010 UTC (14 years, 2 months ago) by uebayasi
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -6 lines
Don't redefine famous round_page() / trunc_page() locally.

Revision 1.12.96.1: download - view: text, markup, annotated - select for diffs
Wed Jan 20 09:04:35 2010 UTC (15 years ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +14 -14 lines
Adjust things to the new world order.

Revision 1.10.10.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:53:43 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +19 -19 lines
sync with head.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:07:19 2005 UTC (19 years, 1 month 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-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, 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, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-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: uebayasi-xip, rmind-uvmplock, matt-nb5-mips64
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +19 -19 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:09 2005 UTC (19 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
merge ktrace-lwp.

Revision 1.8.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.8.2.3: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.3: +30 -11 lines
Sync with HEAD.

Revision 1.10: 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-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Branch point for: yamt-lazymbuf
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +30 -11 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.8.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:18:48 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.2: preferred, colored
Changes since revision 1.8.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.8.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.8.2.1: preferred, colored
Changes since revision 1.8.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:47 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -1 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:43:37 2003 UTC (21 years, 6 months ago) by lukem
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.8: preferred, colored
Changes since revision 1.8: +4 -1 lines
__KERNEL_RCSID()

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Mar 8 04:43:25 2003 UTC (21 years, 10 months ago) by rafal
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +56 -1 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.7: download - view: text, markup, annotated - select for diffs
Mon Feb 17 12:32:13 2003 UTC (21 years, 11 months ago) by simonb
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -10 lines
Make whitespace in multi-way loops line up a bit nicer.

Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:00:33 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.2.2.4: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.4: +5 -3 lines
Catch up to -current

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Nov 7 23:03:21 2002 UTC (22 years, 2 months ago) by cgd
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -3 lines
fix errors in calculating the ending VA to use in r4k_icache_sync_range_16
and r5k_icache_sync_range_32.  (reviewed by thorpej.)

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:10:44 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.3: preferred, colored
Changes since revision 1.2.2.3: +23 -1 lines
Catch up to -current.

Revision 1.4.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.4.2.2: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.2: +23 -1 lines
Sync w/ -current.

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Fri Feb 1 04:57:44 2002 UTC (22 years, 11 months ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.2.2.2: preferred, colored
Changes since revision 1.2.2.2: +91 -1 lines
Pull-up cache ops from -current

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jan 19 04:25:37 2002 UTC (23 years ago) by shin
Branches: MAIN
CVS tags: newlock-base, newlock, 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, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +23 -1 lines
add VR4131 cache-op bug workaround code.
we can't use Hit_WriteBack_Invalidate.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:38:39 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +469 -0 lines
More catchup.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:46:05 2002 UTC (23 years ago) by thorpej
Branches: kqueue
Diff to: previous 1.4.2.1: preferred, colored
Changes since revision 1.4.2.1: +559 -0 lines
Sync kqueue branch with -current.

Revision 1.4.2.1
Mon Jan 7 07:43:52 2002 UTC (23 years ago) by thorpej
Branches: kqueue
FILE REMOVED
Changes since revision 1.4: +0 -559 lines
file cache_r5k.c was added on branch kqueue on 2002-01-10 19:46:05 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 7 07:43:52 2002 UTC (23 years ago) by shin
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
fix pasto.
s/trunc_line/trunc_line16/

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 23 13:10:46 2001 UTC (23 years, 1 month ago) by takemura
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +110 -1 lines
Added Vr4131 support.

Revision 1.2.2.1
Wed Nov 14 18:26:23 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.2: +0 -450 lines
file cache_r5k.c was added on branch nathanw_sa on 2002-01-11 23:38:39 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 18:26:23 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: +450 -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
Wed Nov 14 16:45:06 2001 UTC (23 years, 2 months ago) by thorpej
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: +28 -32 lines
Be more conservative with interrupt blocking in the R4600 ops
that require chip bug work-arounds.

XXX Should probably just consider using Index ops where feasible on
the buggy R4600s.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 12 16:17:28 2001 UTC (23 years, 2 months ago) by thorpej
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: +8 -5 lines
icache_sync_range_index: wbinv the dcache before reducing the virtual
address to an index (in the event that the significant index bits for
the dcache are different than those for the icache).

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 11 03:44:06 2001 UTC (23 years, 2 months ago) by shin
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: +4 -3 lines
* fix size calculation.
* add missing cache operation for 2nd way.
* fix pasto (s/CACHEOP_R4K_HIT_WB_INV/CACHEOP_R4K_INDEX_WB_INV/).

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 24 16:49:54 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +450 -0 lines
New style cache operations for R4600/R5000-style caches.

Revision 1.1
Wed Oct 24 16:49:54 2001 UTC (23 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Branch point for: thorpej-mips-cache
FILE REMOVED
file cache_r5k.c was initially added on branch thorpej-mips-cache.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>