CVS commit: [netbsd-6] src/sys/arch/powerpc
Module Name:src Committed By: bouyer Date: Sun Nov 15 16:36:57 UTC 2015 Modified Files: src/sys/arch/powerpc/include [netbsd-6]: psl.h userret.h src/sys/arch/powerpc/oea [netbsd-6]: altivec.c oea_machdep.c src/sys/arch/powerpc/powerpc [netbsd-6]: fpu.c Log Message: Pull up following revision(s) (requested by matt in ticket #1310): sys/arch/powerpc/include/userret.h: revision 1.30 sys/arch/powerpc/powerpc/fpu.c: revision 1.36 sys/arch/powerpc/include/psl.h: revision 1.20 sys/arch/powerpc/include/userret.h: revision 1.29 sys/arch/powerpc/oea/oea_machdep.c: revision 1.72 sys/arch/powerpc/oea/altivec.c: revision 1.30 Add a check to make sure that if PSL_FP is set, we own the FPU. Don't clear PSL_FP/PSL_VEC Don't reload if just re-enabling Don't reload the FPU register if this is just a re-enable. Remove PSL_SPV from BOOKE PSL_USERMOD Don't preserve PSL_FP/PSL_VEC in cpu_setmcontext. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.18.8.1 src/sys/arch/powerpc/include/psl.h cvs rdiff -u -r1.22.8.1 -r1.22.8.2 src/sys/arch/powerpc/include/userret.h cvs rdiff -u -r1.25 -r1.25.8.1 src/sys/arch/powerpc/oea/altivec.c cvs rdiff -u -r1.63 -r1.63.2.1 src/sys/arch/powerpc/oea/oea_machdep.c cvs rdiff -u -r1.31 -r1.31.8.1 src/sys/arch/powerpc/powerpc/fpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc
Module Name:src Committed By: bouyer Date: Mon Nov 16 09:00:01 UTC 2015 Modified Files: src/sys/arch/powerpc/include [netbsd-6]: psl.h userret.h src/sys/arch/powerpc/oea [netbsd-6]: altivec.c oea_machdep.c src/sys/arch/powerpc/powerpc [netbsd-6]: fpu.c Log Message: Revert ticket 1310: > sys/arch/powerpc/include/psl.h1.20 > sys/arch/powerpc/include/userret.h1.29, 1.30 > sys/arch/powerpc/oea/altivec.c1.30 > sys/arch/powerpc/oea/oea_machdep.c1.72 > sys/arch/powerpc/powerpc/fpu.c1.36 > > powerpc PCU fixes because it breaks the build: http://releng.netbsd.org/builds/netbsd-6/201511152000Z/ To generate a diff of this commit: cvs rdiff -u -r1.18.8.1 -r1.18.8.2 src/sys/arch/powerpc/include/psl.h cvs rdiff -u -r1.22.8.2 -r1.22.8.3 src/sys/arch/powerpc/include/userret.h cvs rdiff -u -r1.25.8.1 -r1.25.8.2 src/sys/arch/powerpc/oea/altivec.c cvs rdiff -u -r1.63.2.1 -r1.63.2.2 src/sys/arch/powerpc/oea/oea_machdep.c cvs rdiff -u -r1.31.8.1 -r1.31.8.2 src/sys/arch/powerpc/powerpc/fpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc
Module Name:src Committed By: bouyer Date: Thu Nov 19 08:50:05 UTC 2015 Modified Files: src/sys/arch/powerpc/include [netbsd-6]: psl.h userret.h src/sys/arch/powerpc/oea [netbsd-6]: altivec.c oea_machdep.c src/sys/arch/powerpc/powerpc [netbsd-6]: fpu.c Log Message: Revert ticket 1310 (second try): > sys/arch/powerpc/include/psl.h1.20 > sys/arch/powerpc/include/userret.h1.29, 1.30 > sys/arch/powerpc/oea/altivec.c1.30 > sys/arch/powerpc/oea/oea_machdep.c1.72 > sys/arch/powerpc/powerpc/fpu.c1.36 > > powerpc PCU fixes because it breaks the build: http://releng.netbsd.org/builds/netbsd-6/201511152000Z/ To generate a diff of this commit: cvs rdiff -u -r1.18.8.2 -r1.18.8.3 src/sys/arch/powerpc/include/psl.h cvs rdiff -u -r1.22.8.3 -r1.22.8.4 src/sys/arch/powerpc/include/userret.h cvs rdiff -u -r1.25.8.2 -r1.25.8.3 src/sys/arch/powerpc/oea/altivec.c cvs rdiff -u -r1.63.2.2 -r1.63.2.3 src/sys/arch/powerpc/oea/oea_machdep.c cvs rdiff -u -r1.31.8.2 -r1.31.8.3 src/sys/arch/powerpc/powerpc/fpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc
Module Name:src Committed By: martin Date: Wed May 18 08:44:42 UTC 2016 Modified Files: src/sys/arch/powerpc/include [netbsd-6]: psl.h userret.h src/sys/arch/powerpc/oea [netbsd-6]: oea_machdep.c Log Message: Pull up following revision(s) (requested by matt in ticket #1310): sys/arch/powerpc/include/userret.h: revision 1.29-1.30 sys/arch/powerpc/include/psl.h: revision 1.20 sys/arch/powerpc/oea/oea_machdep.c: revision 1.72 (via patch) Add a check to make sure that if PSL_FP is set, we own the FPU. Don't clear PSL_FP/PSL_VEC Remove PSL_SPV from BOOKE PSL_USERMOD Don't preserve PSL_FP/PSL_VEC in cpu_setmcontext. To generate a diff of this commit: cvs rdiff -u -r1.18.8.3 -r1.18.8.4 src/sys/arch/powerpc/include/psl.h cvs rdiff -u -r1.22.8.4 -r1.22.8.5 src/sys/arch/powerpc/include/userret.h cvs rdiff -u -r1.63.2.3 -r1.63.2.4 src/sys/arch/powerpc/oea/oea_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc
Module Name:src Committed By: riz Date: Thu May 17 18:09:45 UTC 2012 Modified Files: src/sys/arch/powerpc/booke/dev [netbsd-6]: pq3etsec.c src/sys/arch/powerpc/include/booke [netbsd-6]: etsecreg.h Log Message: Pull up following revision(s) (requested by matt in ticket #245): sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.13 sys/arch/powerpc/include/booke/etsecreg.h: revision 1.4 sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.11 sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.12 Read maccfg1/maccfg2/ecntrl so we can preserve bits we don't change (like GMII mode). Don't use the current value of maccfg2. Preserve some MACCFG2 bits To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/powerpc/booke/dev/pq3etsec.c cvs rdiff -u -r1.3 -r1.3.8.1 src/sys/arch/powerpc/include/booke/etsecreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc
Module Name:src Committed By: riz Date: Thu May 17 18:24:27 UTC 2012 Modified Files: src/sys/arch/powerpc/include [netbsd-6]: cpu.h src/sys/arch/powerpc/powerpc [netbsd-6]: powerpc_machdep.c Log Message: Pull up following revision(s) (requested by matt in ticket #251): sys/arch/powerpc/powerpc/powerpc_machdep.c: revision 1.64 sys/arch/powerpc/include/cpu.h: revision 1.90 Add CPU_EXECPROT sysctl so that atf can enable exec permission tests for PPC Booke. To generate a diff of this commit: cvs rdiff -u -r1.89.2.1 -r1.89.2.2 src/sys/arch/powerpc/include/cpu.h cvs rdiff -u -r1.62 -r1.62.2.1 src/sys/arch/powerpc/powerpc/powerpc_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc
Module Name:src Committed By: jdc Date: Thu Aug 9 06:52:14 UTC 2012 Modified Files: src/sys/arch/powerpc/booke [netbsd-6]: genassym.cf trap_subr.S src/sys/arch/powerpc/include [netbsd-6]: frame.h Log Message: Pull up revisions: src/sys/arch/powerpc/booke/genassym.cf revision 1.9 src/sys/arch/powerpc/booke/trap_subr.S revision 1.8 src/sys/arch/powerpc/include/frame.h revision 1.25 (requested by matt in ticket #461). Fix a problem where the kernel could randomly reset due to a watchdog event. When an exception happens, the srr0 (exception PC) was being saved in the normal location of the current callframe. This was fine except when the routine was in its prologue after it had saved LR but had not yet updated the stack pointer or when the routine was in its epilogue after it has restored the stack pointer but not yet loaded the LR. In either case this would cause the LR to be corrupted (either running the routine forever or by branching to itself forever). Now we save and restore the contents of that memory location so the corruption can't happen. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.8.8.1 src/sys/arch/powerpc/booke/genassym.cf cvs rdiff -u -r1.6 -r1.6.8.1 src/sys/arch/powerpc/booke/trap_subr.S cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/arch/powerpc/include/frame.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/powerpc
Module Name:src Committed By: riz Date: Wed May 9 20:09:15 UTC 2012 Modified Files: src/sys/arch/powerpc/powerpc [netbsd-6]: vm_machdep.c Log Message: Pull up following revision(s) (requested by matt in ticket #239): sys/arch/powerpc/powerpc/vm_machdep.c: revision 1.96 When a stack is specified, make sure the stack has enough for a previous callframe in which the LR can be stored. (atf test t_clone:clone_basic now passes). To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.94.2.1 src/sys/arch/powerpc/powerpc/vm_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/include
Module Name:src Committed By: riz Date: Wed May 9 22:47:04 UTC 2012 Modified Files: src/sys/arch/powerpc/include [netbsd-6]: cpu.h Log Message: Pull up following revision(s) (requested by matt in ticket #242): sys/arch/powerpc/include/cpu.h: revision 1.91 Don't use global asm for __clang__ To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.89.2.1 src/sys/arch/powerpc/include/cpu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/powerpc
Module Name:src Committed By: riz Date: Thu May 17 17:49:50 UTC 2012 Modified Files: src/sys/arch/powerpc/powerpc [netbsd-6]: db_disasm.c Log Message: Pull up following revision(s) (requested by matt in ticket #244): sys/arch/powerpc/powerpc/db_disasm.c: revision 1.27 Decode isel{lt,gt,eq} To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.26.18.1 src/sys/arch/powerpc/powerpc/db_disasm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/conf
Module Name:src Committed By: riz Date: Thu May 17 18:22:27 UTC 2012 Modified Files: src/sys/arch/powerpc/conf [netbsd-6]: Makefile.powerpc Log Message: Pull up following revision(s) (requested by matt in ticket #250): sys/arch/powerpc/conf/Makefile.powerpc: revision 1.50 For BookE kernels, use -mmultiple and -misel and enable -fstack-protector To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.49.2.1 src/sys/arch/powerpc/conf/Makefile.powerpc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/booke
Module Name:src Committed By: riz Date: Thu May 17 18:29:25 UTC 2012 Modified Files: src/sys/arch/powerpc/booke [netbsd-6]: copyin.c Log Message: Pull up following revision(s) (requested by matt in ticket #253): sys/arch/powerpc/booke/copyin.c: revision 1.5 Make sure to have copyinstr return ENAMETOOLONG if the string was too long. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/powerpc/booke/copyin.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/include
Module Name:src Committed By: riz Date: Thu May 17 18:38:54 UTC 2012 Modified Files: src/sys/arch/powerpc/include [netbsd-6]: vmparam.h Log Message: Pull up following revision(s) (requested by matt in ticket #255): sys/arch/powerpc/include/vmparam.h: revision 1.17 Export MIN_PAGE_SIZE and MAX_PAGE_SIZE for modular kernels. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.16.10.1 src/sys/arch/powerpc/include/vmparam.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/pic
Module Name:src Committed By: riz Date: Tue Jun 12 19:35:47 UTC 2012 Modified Files: src/sys/arch/powerpc/pic [netbsd-6]: intr.c Log Message: Pull up following revision(s) (requested by macallan in ticket #320): sys/arch/powerpc/pic/intr.c: revision 1.21 sys/arch/powerpc/pic/intr.c: revision 1.22 look at the right cpu_softints bits in pic_do_pending_int() so we call the right softint handlers fix same thinko as in previous commit, in have_pending_intr_p() To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.2.1 src/sys/arch/powerpc/pic/intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/oea
Module Name:src Committed By: riz Date: Tue Jun 12 19:37:10 UTC 2012 Modified Files: src/sys/arch/powerpc/oea [netbsd-6]: ofwoea_machdep.c Log Message: Pull up following revision(s) (requested by macallan in ticket #321): sys/arch/powerpc/oea/ofwoea_machdep.c: revision 1.29 provide a BAT mapping for the PCI IO range on Grackle/Heathrow based macs now drivers that need PCI IO access work again To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.27.2.1 src/sys/arch/powerpc/oea/ofwoea_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/booke
Module Name:src Committed By: riz Date: Wed Jun 13 19:41:28 UTC 2012 Modified Files: src/sys/arch/powerpc/booke [netbsd-6]: e500_intr.c Log Message: Pull up following revision(s) (requested by matt in ticket #338): sys/arch/powerpc/booke/e500_intr.c: revision 1.17 Compute softintr mask correctly. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.16.8.1 src/sys/arch/powerpc/booke/e500_intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/booke
Module Name:src Committed By: riz Date: Wed Jun 13 19:42:56 UTC 2012 Modified Files: src/sys/arch/powerpc/booke [netbsd-6]: spe_subr.S Log Message: Pull up following revision(s) (requested by matt in ticket #339): sys/arch/powerpc/booke/spe_subr.S: revision 1.3 Fix SPE loading typo as described in PR/45731 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.16.1 src/sys/arch/powerpc/booke/spe_subr.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/include
Module Name:src Committed By: riz Date: Wed Jun 13 19:44:11 UTC 2012 Modified Files: src/sys/arch/powerpc/include [netbsd-6]: types.h userret.h Log Message: Pull up following revision(s) (requested by matt in ticket #340): sys/arch/powerpc/include/types.h: revision 1.47 sys/arch/powerpc/include/userret.h: revision 1.24 Add __HAVE_RAS support. Do it in userret. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.46.8.1 src/sys/arch/powerpc/include/types.h cvs rdiff -u -r1.22 -r1.22.8.1 src/sys/arch/powerpc/include/userret.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/powerpc
Module Name:src Committed By: jdc Date: Wed Jul 4 20:58:27 UTC 2012 Modified Files: src/sys/arch/powerpc/powerpc [netbsd-6]: vm_machdep.c Log Message: Pull up revision 1.97 (requested by matt in ticket #388). Don't panic if you can't allocate a contiguous stack for system threads. Just use a mapped a stack. To generate a diff of this commit: cvs rdiff -u -r1.94.2.1 -r1.94.2.2 src/sys/arch/powerpc/powerpc/vm_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/booke
Module Name:src Committed By: riz Date: Thu Jul 12 17:15:17 UTC 2012 Modified Files: src/sys/arch/powerpc/booke [netbsd-6]: e500_intr.c Log Message: Pull up following revision(s) (requested by matt in ticket #409): sys/arch/powerpc/booke/e500_intr.c: revision 1.18 If we paniced because a watchdog timed out, PSL_CE will be clear. So don't assert PSL_CE is set if panicstr is not NULL. To generate a diff of this commit: cvs rdiff -u -r1.16.8.1 -r1.16.8.2 src/sys/arch/powerpc/booke/e500_intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/pic
Module Name:src Committed By: riz Date: Mon Sep 3 19:11:31 UTC 2012 Modified Files: src/sys/arch/powerpc/pic [netbsd-6]: intr.c Log Message: Pull up following revision(s) (requested by macallan in ticket #535): sys/arch/powerpc/pic/intr.c: revision 1.23 when calculating per-IPL virq masks, take into account that shared =20 IRQs may request different IPLs fixes vr(4)-related problems seen on ofppc To generate a diff of this commit: cvs rdiff -u -r1.20.2.1 -r1.20.2.2 src/sys/arch/powerpc/pic/intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/powerpc
Module Name:src Committed By: riz Date: Tue Oct 9 23:06:13 UTC 2012 Modified Files: src/sys/arch/powerpc/powerpc [netbsd-6]: trap.c Log Message: sys/arch/powerpc/powerpc/trap.c patch Silence trap printfs caused by OpenSSL. [christos, ticket #589] To generate a diff of this commit: cvs rdiff -u -r1.145 -r1.145.8.1 src/sys/arch/powerpc/powerpc/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/stand/mkbootimage
Module Name:src Committed By: msaitoh Date: Tue Jun 3 15:26:34 UTC 2014 Modified Files: src/sys/arch/powerpc/stand/mkbootimage [netbsd-6]: bebox_bootrec.h mkbootimage.c pef.h Log Message: Pull up following revision(s) (requested by phx in ticket #1074): sys/arch/powerpc/stand/mkbootimage/mkbootimage.c: revision 1.18 sys/arch/powerpc/stand/mkbootimage/pef.h: revision 1.3 sys/arch/powerpc/stand/mkbootimage/bebox_bootrec.h: revision 1.4 Fixed mkbootimage for 64-bit architectures. Now I can create a working BeBox boot.fs under NetBSD/amd64. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.38.1 \ src/sys/arch/powerpc/stand/mkbootimage/bebox_bootrec.h cvs rdiff -u -r1.14 -r1.14.10.1 \ src/sys/arch/powerpc/stand/mkbootimage/mkbootimage.c cvs rdiff -u -r1.2 -r1.2.14.1 src/sys/arch/powerpc/stand/mkbootimage/pef.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/booke/dev
Module Name:src Committed By: riz Date: Wed May 9 22:49:06 UTC 2012 Modified Files: src/sys/arch/powerpc/booke/dev [netbsd-6]: pq3gpio.c Log Message: Pull up following revision(s) (requested by matt in ticket #243): sys/arch/powerpc/booke/dev/pq3gpio.c: revision 1.5 Fix P2020 GPIO support (which has pins that are input/output instead of just input or output). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.8.1 src/sys/arch/powerpc/booke/dev/pq3gpio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-6] src/sys/arch/powerpc/booke/dev
Module Name:src Committed By: jdc Date: Tue Jul 3 21:16:15 UTC 2012 Modified Files: src/sys/arch/powerpc/booke/dev [netbsd-6]: pq3etsec.c Log Message: Pull up revision 1.10 (requested by matt in ticket #382). Don't rely on being able to allocate while in a softintr. So preallocate all the bus_dma maps in ifinit where we can sleep. To generate a diff of this commit: cvs rdiff -u -r1.9.8.1 -r1.9.8.2 src/sys/arch/powerpc/booke/dev/pq3etsec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.