The NetBSD Project

CVS log for src/sys/arch/evbmips/rmixl/machdep.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Mar 5 14:15:31 2024 UTC (9 months, 1 week ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -8 lines
Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Dec 20 14:12:25 2023 UTC (11 months, 3 weeks ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3 lines
Remove unnecessary <sys/malloc.h>.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Aug 2 12:56:22 2021 UTC (3 years, 4 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-futex2-base, thorpej-futex2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3 lines
fix various typos in comments and log messages.

Revision 1.18.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:41 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -3 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jun 6 01:49:08 2018 UTC (6 years, 6 months ago) by maya
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Remove duplicate ;

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:10 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.1: +7 -31 lines
update from HEAD

Revision 1.14.6.3: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:10 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.6.2: +3 -4 lines
Sync with HEAD

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:16 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -4 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:47:57 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -4 lines
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.14.6.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:42 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14.6.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.6.1: +7 -30 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jun 30 02:39:03 2015 UTC (9 years, 5 months ago) by matt
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -27 lines
Use cpu_startup_common()

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jun 10 22:32:32 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Avoid using curpcb (use lwp_getpcb(curlwp)) instead.

Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:59 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
Sync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jun 1 22:55:12 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -5 lines
Rework cavium support in preparation for MULTIPROCESSOR support

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:58 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -6 lines
Rebase to HEAD as of a few days ago.

Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:45 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.1: +4 -6 lines
sync with head.

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

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

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:06 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -6 lines
sync with head

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Mar 24 20:06:32 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, 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
Branch point for: nick-nhusb
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -6 lines
use cpu_{g,s}etmodel

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:18 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -10 lines
sync with head

Revision 1.9.8.4: download - view: text, markup, annotated - select for diffs
Tue Mar 6 18:26:36 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.9.8.3: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.8.3: +2 -7 lines
sync to -current

Revision 1.9.8.3: download - view: text, markup, annotated - select for diffs
Tue Mar 6 09:56:06 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.9.8.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.8.2: +7 -2 lines
sync to -current

Revision 1.9.8.2: download - view: text, markup, annotated - select for diffs
Sun Mar 4 00:46:06 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.9.8.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.8.1: +2 -7 lines
sync to latest -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Mar 3 00:20:33 2012 UTC (12 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base4, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -5 lines
Remove redundant common declaration.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Mar 2 16:20:55 2012 UTC (12 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -4 lines
Remove reduntant/conflicting common declarations.

Revision 1.9.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:31:56 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5 lines
merge to -current.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Feb 12 16:34:08 2012 UTC (12 years, 10 months ago) by matt
Branches: MAIN
CVS tags: 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, jmcneill-usbmp-base5, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
Change old-style function defintions to C89 prototypes.

Approved by releng.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jan 27 18:52:54 2012 UTC (12 years, 10 months ago) by para
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.1.2.46: download - view: text, markup, annotated - select for diffs
Thu Jan 19 08:31:55 2012 UTC (12 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.45: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.45: +1 -1 lines
Restore RCSID

Revision 1.1.2.45: download - view: text, markup, annotated - select for diffs
Thu Jan 19 08:20:32 2012 UTC (12 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.44: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.44: +1 -1 lines
Use extern for machdep_debug.

Revision 1.1.2.44: download - view: text, markup, annotated - select for diffs
Wed Jan 4 16:17:52 2012 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.43: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.43: +26 -1442 lines
Rework Fast Messaging Network support (it's now lockless).
Workaround a problem with bus 0 BAR sizing causing the registers behind
the BAR to become inaccessible.
Move much/most of the startup code from evbmips/rmixl/machdep to
mips/rmi/rmixl_machdep.c
Move the code to find the XLP variant to the early boot so it can be used
early.
8bit and 16bit accessed to PCI bus 0 cause cache errors so chagne the access
of pci mem to 32bits.

Revision 1.1.2.43: download - view: text, markup, annotated - select for diffs
Fri Dec 30 06:45:25 2011 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.42: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.42: +1 -0 lines
Initially mark all GPIO pins as available.

Revision 1.1.2.42: download - view: text, markup, annotated - select for diffs
Wed Dec 28 05:36:50 2011 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.41: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.41: +1 -0 lines
Add commented out AB_DEBUG.

Revision 1.1.2.41: download - view: text, markup, annotated - select for diffs
Tue Dec 27 22:13:05 2011 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.40: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.40: +1 -1 lines
Fix c&p error.

Revision 1.1.2.40: download - view: text, markup, annotated - select for diffs
Tue Dec 27 19:59:24 2011 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.39: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.39: +26 -0 lines
When filling out the physical extent, make sure to probe NOR base/limit pairs.

Revision 1.1.2.39: download - view: text, markup, annotated - select for diffs
Sat Dec 24 01:44:44 2011 UTC (12 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.38: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.38: +625 -149 lines
Rework to add early support.
Add XLP support.  Allow one kernel to support XLR/XLS and XLP.
Do bus_dma init in cpu_configure.

Revision 1.1.2.38: download - view: text, markup, annotated - select for diffs
Thu Dec 15 04:52:59 2011 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.37: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.37: +41 -0 lines
Add earlycons support.

Revision 1.1.2.37: download - view: text, markup, annotated - select for diffs
Sat Dec 3 01:56:55 2011 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.36: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.36: +8 -5 lines
Rework things a bit for the XLR/XLS/XLP TLB.  Before dealing with the TLB when
MP on the XL?, disable interrupts and take out a lock to prevent concurrent
updates to the TLB.  In the TLB miss and invalid exception handlers, if the
lock is already owned by another CPU, simply return from the exception and
let it continue or restart as appropriate.  This prevents concurrent TLB
exceptions in multiple threads from possibly updating the TLB multiple times
for a single address.

Revision 1.1.2.36: download - view: text, markup, annotated - select for diffs
Tue Nov 29 07:48:32 2011 UTC (13 years ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.35: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.35: +35 -4 lines
Take part of the KSEG2 space and use it to "almost" direct another 256MB
of memory so that N32 kernels can make use of ram outside of KSEG0.  This
allows N32 kernels to be useful on systems with 4GB of RAM or more.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:30 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +383 -187 lines
Sync with HEAD.

Revision 1.1.2.35: download - view: text, markup, annotated - select for diffs
Thu May 26 19:24:31 2011 UTC (13 years, 6 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.34: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.34: +6 -2 lines
Use new MIPS64*_RMIXL options
If MP, store address of &pmap_tlb0_info.ti_lock->mtx_lock to OSSCRATCH 2

Revision 1.1.2.34: download - view: text, markup, annotated - select for diffs
Fri Apr 29 08:26:18 2011 UTC (13 years, 7 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.33: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.33: +57 -60 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.4.4.2: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:00 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +45 -4 lines
sync with head

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Apr 12 00:21:10 2011 UTC (13 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Make sure we init MIPS COP0 OSSCRATCH for UP as well as for MP.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Apr 11 23:12:41 2011 UTC (13 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +46 -5 lines
Add code to fixup the text segment to replace loads
from L_CPU(MIPS_CURLWP) or curlwp->l_cpu with
loads from COP0 register OSSCRATCH.

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:14 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +339 -186 lines
sync with head

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:38 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.1: +338 -145 lines
Sync with HEAD

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:48:35 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +338 -145 lines
Merge forward from matt-nb5-mips64.

Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 11:59:37 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -41 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Feb 8 20:20:13 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -41 lines
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.1.2.33: download - view: text, markup, annotated - select for diffs
Sat Feb 5 06:02:51 2011 UTC (13 years, 10 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.32: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.32: +14 -2 lines
- include opt_multiprocessor.h for MULTIPROCESSOR dependency
- in rmixl_pcr_init_core(), ifdef MIPS_DDB_WATCH, clear IEU_DEFEATURE
so we can get T_WATCH execeptions if/when we set COP0 watchpoint

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:25 2011 UTC (13 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -4 lines
Retire struct user, remove sys/user.h inclusions.  Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.

Revision 1.1.2.32: download - view: text, markup, annotated - select for diffs
Fri Jan 7 00:17:42 2011 UTC (13 years, 11 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.31: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.31: +28 -19 lines
- add rmixl_pcr_init_core() to initialize per-core processor control regs

Revision 1.1.2.31: download - view: text, markup, annotated - select for diffs
Fri Dec 17 04:49:24 2010 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231
Diff to: previous 1.1.2.30: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.30: +9 -3 lines
When doing MP, make sure the TLB is global mode (shared among all threads).

Revision 1.1.2.30: download - view: text, markup, annotated - select for diffs
Tue Aug 17 00:52:33 2010 UTC (14 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-k15
Diff to: previous 1.1.2.29: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.29: +3 -2 lines
Add new psb_version.

Revision 1.1.2.29: download - view: text, markup, annotated - select for diffs
Thu May 6 19:49:10 2010 UTC (14 years, 7 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.28: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.28: +3 -2 lines
add psb version 0x4b67d03200000056 to the list of known versions

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:17 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +2 -3 lines
Sync with HEAD.

Revision 1.1.2.28: download - view: text, markup, annotated - select for diffs
Mon Apr 12 22:02:52 2010 UTC (14 years, 8 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.27: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.27: +27 -17 lines
- include "rmixl_pcix.h" and "rmixl_pcie.h" to get the config flags
- include rmixl_pcixvar.h to get proto for rmixl_physaddr_init_pcix()
- calls to rmixl_physaddr_init_pcix() and rmixl_physaddr_init_pcie()
depend on the config flags
- eliminate vm_clusters[], just use mem_clusters[] for everything
- add mem_cluster_maxaddr to track highest RAM addr,
used to check PCI-X Host BARs; calculate his value just before
calling mips_page_physload() i.e. once mem_clusters[] is stable.

Revision 1.1.2.27: download - view: text, markup, annotated - select for diffs
Mon Mar 29 23:40:58 2010 UTC (14 years, 8 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.26: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.26: +2 -3 lines
turn off MACHDEP_DEBUG

Revision 1.1.2.26: download - view: text, markup, annotated - select for diffs
Mon Mar 29 23:32:02 2010 UTC (14 years, 8 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.25: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.25: +17 -49 lines
- add new recognized psb (firmware) ID 0x4b8ead3100000056
- pcie physical regions discovery is moved to rmixl_pcie.c
and is conditional on RMI chip type (XLR has no PCIE)

Revision 1.1.2.25: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:22:28 2010 UTC (14 years, 8 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.24: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.24: +21 -10 lines
- specify rmixl_splsw to mips_vector_init
  note that __INTR_PRIVATE must be defined to do that
- print MEMLIMIT if it is defined, after printing memsize
- improve some comments

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:20 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +893 -0 lines
sync with head

Revision 1.1.2.24: download - view: text, markup, annotated - select for diffs
Tue Mar 9 02:04:46 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.23: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.23: +3 -3 lines
Use dmtc0 too.

Revision 1.1.2.23: download - view: text, markup, annotated - select for diffs
Tue Mar 9 02:02:53 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.22: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.22: +6 -3 lines
Use dmfc0 k0,cop0_osscratch if _LP64

Revision 1.1.2.22: download - view: text, markup, annotated - select for diffs
Sat Feb 27 21:26:28 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.21: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.21: +3 -3 lines
Fix tpyo (missing ;)

Revision 1.1.2.21: download - view: text, markup, annotated - select for diffs
Sat Feb 27 20:35:14 2010 UTC (14 years, 9 months ago) by snj
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.20: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.20: +3 -3 lines
Fix gimplish.

Revision 1.1.2.20: download - view: text, markup, annotated - select for diffs
Sat Feb 27 08:00:02 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.19: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.19: +38 -2 lines
For MULTIPROCESSOR kernels, enable exception fixups.

Revision 1.4.2.1
Mon Feb 8 19:02:27 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.4: +0 -893 lines
file machdep.c was added on branch yamt-nfs-mp on 2010-03-11 15:02:20 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Feb 8 19:02:27 2010 UTC (14 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, 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, matt-mips64-premerge-20101231
Branch point for: yamt-nfs-mp, rmind-uvmplock
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -3 lines
Remove separate mb_map. The nmbclusters is computed at boot time based
on the amount of physical memory and limited by NMBCLUSTERS if present.
Architectures without direct mapping also limit it based on the kmem_map
size, which is used as backing store. On i386 and ARM, the maximum KVA
used for mbuf clusters is limited to 64MB by default.

The old default limits and limits based on GATEWAY have been removed.
key_registered_sb_max is hard-wired to a value derived from 2048
clusters.

Revision 1.1.2.19: download - view: text, markup, annotated - select for diffs
Mon Feb 1 04:17:51 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.18: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.18: +3 -4 lines
fix fallout from frame/trapframe merger.

Revision 1.1.2.18: download - view: text, markup, annotated - select for diffs
Fri Jan 29 00:22:27 2010 UTC (14 years, 10 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.17: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.17: +24 -13 lines
- rmiclfw_psb_versions[] is replaced by rmiclfw_psb_id[]
  which now lists type to distinguish between RMI and Dell
  firmware variants
- use MEMLIMIT to limit max mem addr given to uvm

Revision 1.1.2.17: download - view: text, markup, annotated - select for diffs
Sun Jan 24 05:34:20 2010 UTC (14 years, 10 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.16: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.16: +19 -23 lines
- move firmware info stuff into struct rmixl_config

Revision 1.1.2.16: download - view: text, markup, annotated - select for diffs
Fri Jan 22 07:58:51 2010 UTC (14 years, 10 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.15: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.15: +14 -14 lines
- memsize and related now uint64_t to handle >4GB mem
- if MULTIPROCESSOR do not 'disable all threads except #0' or
  'set single MMU Thread Mode'

Revision 1.1.2.15: download - view: text, markup, annotated - select for diffs
Wed Jan 20 09:04:33 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.14: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.14: +6 -5 lines
Adjust things to the new world order.

Revision 1.1.2.14: download - view: text, markup, annotated - select for diffs
Sun Jan 17 00:02:00 2010 UTC (14 years, 10 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.13: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.13: +140 -3 lines
- get cpu wakeup info from firmware
- reserve the cpu_wakeup_info shared memory area from uvm
- initialize cpu_model from mycpu->cpu_name
- dont disable all non-0 threads if MULTIPROCESSOR

Revision 1.1.2.13: download - view: text, markup, annotated - select for diffs
Fri Jan 8 08:01:22 2010 UTC (14 years, 11 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.12: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.12: +12 -4 lines
- if the firmware version is unknown, we use MEMSIZE instead of
  maps prpovided by firmware; if MEMSIZE if nt configure, print
  error message are halt; if would defer until consinit
  then we could panic.
- fix seg count when MEMSIZE is used to constrain memory  obtained from firmware maps
- cast physmem to to uint64_t before applying ctob() when passing
  bytes count to format_bytes()

Revision 1.1.2.12: download - view: text, markup, annotated - select for diffs
Sun Jan 3 08:37:14 2010 UTC (14 years, 11 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.11: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.11: +13 -15 lines
- rmixl_reset() now uses RESET bit in RMIXL_GPIO_RESET register to reboot

Revision 1.1.2.11: download - view: text, markup, annotated - select for diffs
Thu Dec 31 00:54:09 2009 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.10: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.10: +6 -28 lines
Use mips_page_physload and mips_init_lwp0_uarea.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 20 04:11:37 2009 UTC (14 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -28 lines
Fix few problems in evbmips/rmixl:
- mach_init: use mips_init_lwp0_uarea(), do not hardcode it.  Do not call
  ksyms_init(), it's called in MI.  Also, avoid struct user in few places.
- findroot: use deviter interface.

Revision 1.1.2.10: download - view: text, markup, annotated - select for diffs
Mon Dec 14 07:23:31 2009 UTC (15 years ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.9: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.9: +4 -5 lines
- delete MACHDEP_DEBUG define
- adjust name of (big endian) obio bus space init function

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Dec 14 00:46:03 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +915 -0 lines
Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.1.2.9: download - view: text, markup, annotated - select for diffs
Fri Dec 11 23:57:38 2009 UTC (15 years ago) by cliff
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20091211
Diff to: previous 1.1.2.8: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.8: +13 -7 lines
- add another known/recognized psb_version ID#
- useing comcnfreq instead of -1 in rmixl_com_cnattach now
- MIPS_RESET_EXC_VEC is physical addr, no need for translation to phys
  when reserving from phys memory (should never be in the list anyway).
- in rmixlfw_init(), when untested psb_version, initialize mem_clusters[]
  (to use MEMSIZE)

Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Mon Nov 16 23:57:26 2009 UTC (15 years ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.7: +13 -2 lines
set up some Processor Control registers at start of mach_init():
- disable all threads except #0
- disable Unaligned Access
- set single MMU Thread Mode, single TLB partition

Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Sun Nov 15 22:59:36 2009 UTC (15 years, 1 month ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +23 -24 lines
- make infop work for N32 or N64; firmware gives us a
non-sign-extended 32 bit pointer in a 64 bit variable
- in rmixlfw_init(), when PSB version not found,
fix rc_io_pbase initialization, and add the missing return MEMSIZE.
- use PRIx64 format to make some printfs work for N32 or N64
- use (intptr_t) as needed to make int to pointer casts work for N32 and N64
- init rc_obio_memt replaces init of rc_eb_memt, rc_el_memt

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 9 09:55:11 2009 UTC (15 years, 1 month ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +332 -42 lines
- rmixl_physaddr_init() instantiates a fixed extent
  used to allocate physical address regions;
  allocate regions known to be occupied by DRAM or I/O BARs
- physmap_print() prints the physmap as provided by boot firmware
- add ram_seg_resv() to reserve regions in a phys_ram_seg_to
  by splitting segments where needed.
- in mem_clusters_init(),
        if possible use avail_mem_map,
        else use psb_physmem_map,
        otherwise use MEMSIZE.
        avail_mem_map and psb_physmem_map can be limited w/ MEMSIZE

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 22 07:47:30 2009 UTC (15 years, 2 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +3 -3 lines
fix typo

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 22 07:15:37 2009 UTC (15 years, 2 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +77 -20 lines
- if COMFREQ is undefined, define as -1 (inherit BRG settings from FW)
- add a new recognized FW version entry to rmiclfw_psb_versions
- break out initialization of mem_clusters into own function
- imprpove early boot diagnostics
- avoid faulting on possible NULL avail_mem_map pointer from FW
- avoid using possible NULL reset FW callback pointer

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 15 02:46:43 2009 UTC (15 years, 3 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +4 -10 lines
initialize the rmixl el and eb bus spaces

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Sep 13 07:00:30 2009 UTC (15 years, 3 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +4 -4 lines
improve how some config data are managed

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 13 03:27:38 2009 UTC (15 years, 3 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +558 -0 lines
add netbsd support for RMI XLS6ATX_7A board and XL SoC family

Revision 1.1
Sun Sep 13 03:27:38 2009 UTC (15 years, 3 months ago) by cliff
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Branch point for: matt-nb5-mips64
FILE REMOVED
file machdep.c was initially added on branch matt-nb5-mips64.

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>