CVS commit: [netbsd-8] src/sys/arch/mips/mips

2018-12-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Dec 25 11:22:43 UTC 2018

Modified Files:
src/sys/arch/mips/mips [netbsd-8]: fp.S

Log Message:
Pull up following revision(s) (requested by sevan in ticket #1143):

sys/arch/mips/mips/fp.S: revision 1.49

Load curlwp into a0 to call fpu_save(curlwp), not fpu_save(garbage).

The lwp argument to fpu_save was added by chuq in revision 1.14 of
mips_fpu.c, but this call was not updated to pass it.  This is the
correct lwp to pass because we are in the middle of executing a
kernel-emulated fp instruction, so curlwp must own the fpu state, and
we are trying to write the fp registers to memory so we can adjust
them there when ctc1 would fail.

Fixes PR port-cobalt/53090, PR port-sgimips/53791.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.48.6.1 src/sys/arch/mips/mips/fp.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/arch/mips/mips

2018-04-09 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon Apr  9 13:29:01 UTC 2018

Modified Files:
src/sys/arch/mips/mips [netbsd-8]: cpu_subr.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #722):
sys/arch/mips/mips/cpu_subr.c: revision 1.33
spl leak, found by mootja


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.32.2.1 src/sys/arch/mips/mips/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/arch/mips/mips

2018-03-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Mar  6 09:27:28 UTC 2018

Modified Files:
src/sys/arch/mips/mips [netbsd-8]: cache.c

Log Message:
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@.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.58.2.1 src/sys/arch/mips/mips/cache.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/arch/mips/mips

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:25:29 UTC 2017

Modified Files:
src/sys/arch/mips/mips [netbsd-8]: locore_mips1.S

Log Message:
Pull up following revision(s) (requested by skrll in ticket #25):
sys/arch/mips/mips/locore_mips1.S: revision 1.92, 1.93
fix tlb_record_asids 2nd arg to match usage - it's a maximum asid value
and not a mask
--
Add a missing ".set at" to make previous build


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.91.8.1 src/sys/arch/mips/mips/locore_mips1.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/arch/mips/mips

2017-06-09 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sat Jun 10 06:18:52 UTC 2017

Modified Files:
src/sys/arch/mips/mips [netbsd-8]: mips_machdep.c pmap_machdep.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #22):
sys/arch/mips/mips/mips_machdep.c: revision 1.278
sys/arch/mips/mips/pmap_machdep.c: revision 1.21
Always use XKPHYS for pool pages on _LP64; otherwise use KSEG0
--
Maintain the split of physical memory into the defined freelists, but
only force pool pages to VM_FREELIST_FIRST512M for non _LP64


To generate a diff of this commit:
cvs rdiff -u -r1.277 -r1.277.2.1 src/sys/arch/mips/mips/mips_machdep.c
cvs rdiff -u -r1.19.2.1 -r1.19.2.2 src/sys/arch/mips/mips/pmap_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/arch/mips/mips

2017-06-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jun  6 09:25:49 UTC 2017

Modified Files:
src/sys/arch/mips/mips [netbsd-8]: pmap_machdep.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #10):
sys/arch/mips/mips/pmap_machdep.c: revision 1.20
Fix the PMAP_NO_PV_UNCACHED pmap_md_vca_add case where the pmap_update
call would cause problems for pmap_remove_all case where the deferred
activate should not be done...
Add a comment about what's going on.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.19.2.1 src/sys/arch/mips/mips/pmap_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.