CVS commit: src/sys/arch/powerpc/ibm4xx

2020-09-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 10 04:36:24 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Tiny cosmetic fix for previous. No functional changes. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-09-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 10 04:36:24 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Tiny cosmetic fix for previous. No functional changes. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-09-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 10 04:31:55 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Real fix for pmap_procwr(), attempted in revs 1.85 and 1.87:

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-09-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 10 04:31:55 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Real fix for pmap_procwr(), attempted in revs 1.85 and 1.87:

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-09-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 10 03:23:55 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_kenter_pa: Remove comment which says ``Have to remove any existing mapping first.'' Contrary to this comment, pmap_kremove(9) has

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-09-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 10 03:23:55 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_kenter_pa: Remove comment which says ``Have to remove any existing mapping first.'' Contrary to this comment, pmap_kremove(9) has

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-09-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 10 03:02:36 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Introduce PV_VA() macro to extract va from pv->pv_va by clearing PV_WIRED flag, and use it where appropriate. There should be no

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-09-09 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 10 03:02:36 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Introduce PV_VA() macro to extract va from pv->pv_va by clearing PV_WIRED flag, and use it where appropriate. There should be no

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-15 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Jul 15 08:48:40 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Treat trap instruction from userland correctly in EXC_PGM handler; raise SIGTRAP with TRAP_BRKPT instead of SIGILL. To generate a diff

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-15 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Jul 15 08:48:40 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Treat trap instruction from userland correctly in EXC_PGM handler; raise SIGTRAP with TRAP_BRKPT instead of SIGILL. To generate a diff

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Jul 12 21:16:23 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: 4xx_trap_subr.S Log Message: Fix comment. ibm4xx does not use powerpc/powerpc/trap_subr.S, but powerpc/ibm4xx/trap_subr.S. To generate a diff of this

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Jul 12 21:16:23 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: 4xx_trap_subr.S Log Message: Fix comment. ibm4xx does not use powerpc/powerpc/trap_subr.S, but powerpc/ibm4xx/trap_subr.S. To generate a diff of this

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 13:10:19 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c Log Message: Set cpu_psluserset, cpu_pslusermod, cpu_pslusermask for MODULAR. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 13:10:19 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c Log Message: Set cpu_psluserset, cpu_pslusermod, cpu_pslusermask for MODULAR. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/arch/powerpc/ibm4xx/pci

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:49:41 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx/pci: pci_machdep.c Log Message: Include missing opt_pci.h To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/arch/powerpc/ibm4xx/pci

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:49:41 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx/pci: pci_machdep.c Log Message: Include missing opt_pci.h To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/arch/powerpc/ibm4xx/openbios

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:48:54 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx/openbios: locore.S Log Message: Do not silently #undef PPC_4XX_NOCACHE, which results in terrible confusion. Raise #error instead. To generate a diff of this

CVS commit: src/sys/arch/powerpc/ibm4xx/openbios

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:48:54 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx/openbios: locore.S Log Message: Do not silently #undef PPC_4XX_NOCACHE, which results in terrible confusion. Raise #error instead. To generate a diff of this

CVS commit: src/sys/arch/powerpc/ibm4xx/openbios

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:44:38 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx/openbios: locore.S Log Message: Drop unused opt_lockdebug.h, opt_multiprocessor.h, and opt_ppcarch.h. To generate a diff of this commit: cvs rdiff -u -r1.13

CVS commit: src/sys/arch/powerpc/ibm4xx/openbios

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:44:38 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx/openbios: locore.S Log Message: Drop unused opt_lockdebug.h, opt_multiprocessor.h, and opt_ppcarch.h. To generate a diff of this commit: cvs rdiff -u -r1.13

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:42:21 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap_subr.S Log Message: Include required opt_*.h for sure. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:42:21 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap_subr.S Log Message: Include required opt_*.h for sure. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:41:43 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: - Drop unused opt_altivec.h. - Include missing opt_ppcarch.h. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:41:43 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: - Drop unused opt_altivec.h. - Include missing opt_ppcarch.h. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:40:21 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Include missing opt_ddb.h. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/powerpc/ibm4xx/pmap.c Please note

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:40:21 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Include missing opt_ddb.h. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/powerpc/ibm4xx/pmap.c Please note

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:35:29 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pic_uic.c Log Message: Include missing opt_ppcarch.h and opt_uic.h. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-07-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jul 6 10:35:29 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pic_uic.c Log Message: Include missing opt_ppcarch.h and opt_uic.h. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jun 29 06:51:32 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Remove evcnt(9) counter for tlbhit; there's no way to observe TLB hits from kernel, and it just counted intersection b/w tlbmiss and

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Jun 29 06:51:32 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Remove evcnt(9) counter for tlbhit; there's no way to observe TLB hits from kernel, and it just counted intersection b/w tlbmiss and

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:31:59 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c pmap.c trap.c Log Message: Try to sanitize usage of isync and sync instructions. According to reference manuals of 4xx, isync is

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:31:59 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c pmap.c trap.c Log Message: Try to sanitize usage of isync and sync instructions. According to reference manuals of 4xx, isync is

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:24:41 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Return correct signo and si_code to userland when page fault. Taken from powerpc/trap.c. Found by tests in lib/libc/sys. To generate a

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:24:41 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Return correct signo and si_code to userland when page fault. Taken from powerpc/trap.c. Found by tests in lib/libc/sys. To generate a

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:19:19 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Return error code from uvm layer on fault, instead of hard-coded 1. Found by some tests in tests/lib/libc/sys. To generate a diff of

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:19:19 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Return error code from uvm layer on fault, instead of hard-coded 1. Found by some tests in tests/lib/libc/sys. To generate a diff of

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:15:21 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Oops, commit log was missing. It should be: Revert rev 1.85:

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:15:21 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Oops, commit log was missing. It should be: Revert rev 1.85:

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:14:20 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/arch/powerpc/ibm4xx/pmap.c Please note that diffs are not public domain; they

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-06-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Jun 19 07:14:20 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sys/arch/powerpc/ibm4xx/pmap.c Please note that diffs are not public domain; they

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 11:44:54 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Fix pmap_procwr(). While we need to turn off IMMU, DMMU should be kept on. Otherwise, dcbst (and also icbi probably, though not

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 11:44:54 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Fix pmap_procwr(). While we need to turn off IMMU, DMMU should be kept on. Otherwise, dcbst (and also icbi probably, though not

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 11:33:14 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pic_uic.c Log Message: Remove unused macros. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/powerpc/ibm4xx/pic_uic.c Please note

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 11:33:14 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pic_uic.c Log Message: Remove unused macros. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/powerpc/ibm4xx/pic_uic.c Please note

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:35:00 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_procwr(): use dcbst instead of dcbf as a tiny optimization. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:35:00 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_procwr(): use dcbst instead of dcbf as a tiny optimization. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:33:36 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: ppc4xx_tlb_enter(): invalidate entry after clearing MSR for sure. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:33:36 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: ppc4xx_tlb_enter(): invalidate entry after clearing MSR for sure. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:31:27 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Misc non-critical fixes. - __asm --> __asm volatile for sure - turn DEBUG code in __asm into DIAGNOSTIC code in C - style To generate a

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:31:27 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Misc non-critical fixes. - __asm --> __asm volatile for sure - turn DEBUG code in __asm into DIAGNOSTIC code in C - style To generate a

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:21:09 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: cpu.c Log Message: Cosmetic change. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/powerpc/ibm4xx/cpu.c

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:21:09 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: cpu.c Log Message: Cosmetic change. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/powerpc/ibm4xx/cpu.c

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:15:35 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: Cosmetic changes. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:15:35 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: Cosmetic changes. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:13:00 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: Use dcbst instead of dcbf to flush cache; the former does not invalidate the cache line, which should be used

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:13:00 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: Use dcbst instead of dcbf to flush cache; the former does not invalidate the cache line, which should be used

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:10:57 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: Correctly return ENAMETOOLONG if source is not NUL-terminated. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 01:10:57 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: Correctly return ENAMETOOLONG if source is not NUL-terminated. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 00:54:13 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: sync style with booke. - early return in case of len == 0 - *done = 0 on fault To generate a diff of

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-03-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Mar 5 00:54:13 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: sync style with booke. - early return in case of len == 0 - *done = 0 on fault To generate a diff of

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 15:15:48 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Do not try to recovery from data page fault in interrupt context; catch up belatedly with powerpc/trap.c rev 1.49 and etc.:

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 15:15:48 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Do not try to recovery from data page fault in interrupt context; catch up belatedly with powerpc/trap.c rev 1.49 and etc.:

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 14:49:58 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Tiny improvements to copyin() and copyout(): - Use lwz/stw instead of 4-byte lswi/stswi for 405 and later, which support unaligned word

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 14:49:58 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Tiny improvements to copyin() and copyout(): - Use lwz/stw instead of 4-byte lswi/stswi for 405 and later, which support unaligned word

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 14:27:20 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Cosmetic changes for assembler codes. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 14:27:20 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Cosmetic changes for assembler codes. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 13:32:31 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Comment out badaddr() and badaddr_read() on ibm4xx for now. They are not used nor exposed externally in any header file; these functions

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 13:32:31 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Comment out badaddr() and badaddr_read() on ibm4xx for now. They are not used nor exposed externally in any header file; these functions

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 13:16:16 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: In ppc4xx_tlb_find_victim(), mark kernel stack page TLBF_REF instead of TLBF_USED. This should be originally intended behavior of this

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 21 13:16:16 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: In ppc4xx_tlb_find_victim(), mark kernel stack page TLBF_REF instead of TLBF_USED. This should be originally intended behavior of this

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 06:36:05 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Oops, sort header again. My bad... To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/arch/powerpc/ibm4xx/trap.c

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 06:36:05 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Oops, sort header again. My bad... To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/arch/powerpc/ibm4xx/trap.c

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:57:49 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Convert mi_userret(9) into powerpc-specific userret(). This is necessary in order to support RAS. There are some sanity checks in

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:57:49 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Convert mi_userret(9) into powerpc-specific userret(). This is necessary in order to support RAS. There are some sanity checks in

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:55:24 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Sort more headers... To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/arch/powerpc/ibm4xx/trap.c Please note that

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:55:24 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Sort more headers... To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/sys/arch/powerpc/ibm4xx/trap.c Please note that

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:46:08 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Sort headers. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/arch/powerpc/ibm4xx/trap.c Please note that diffs

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:46:08 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Sort headers. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/arch/powerpc/ibm4xx/trap.c Please note that diffs

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:34:37 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Clear ti_ctx when flushing a TLB entry for clarity. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:34:37 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Clear ti_ctx when flushing a TLB entry for clarity. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:21:55 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Fix off-by-one error for ctx (ASID). Note that NUM_CTX = 256 = 0 stands for disabling protection by ASID. To generate a diff of this

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:21:55 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Fix off-by-one error for ctx (ASID). Note that NUM_CTX = 256 = 0 stands for disabling protection by ASID. To generate a diff of this

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:13:16 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Fix NULL dereference; "pap" argument of pmap_extract(9) can be NULL. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77

CVS commit: src/sys/arch/powerpc/ibm4xx

2020-02-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Feb 20 05:13:16 UTC 2020 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Fix NULL dereference; "pap" argument of pmap_extract(9) can be NULL. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77

CVS commit: src/sys/arch/powerpc/ibm4xx/dev

2019-12-15 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Dec 15 09:38:40 UTC 2019 Modified Files: src/sys/arch/powerpc/ibm4xx/dev: com_opb.c Log Message: Belatedly catch up with MI com(4) change in com.c rev. 1.351: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/com.c#rev1.351

CVS commit: src/sys/arch/powerpc/ibm4xx/dev

2019-12-15 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Dec 15 09:38:40 UTC 2019 Modified Files: src/sys/arch/powerpc/ibm4xx/dev: com_opb.c Log Message: Belatedly catch up with MI com(4) change in com.c rev. 1.351: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/com.c#rev1.351

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Dec 28 09:36:02 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: trap_subr.S Log Message: PR port-powerpc/51367: kernel panic for powerpc/ibm4xx with "option DDB" Stop using ddbstk/ipkdbstk to make nested traps possible,

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Dec 28 09:36:02 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: trap_subr.S Log Message: PR port-powerpc/51367: kernel panic for powerpc/ibm4xx with "option DDB" Stop using ddbstk/ipkdbstk to make nested traps possible,

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 26 21:54:00 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Remove wrong comment which was copy-and-pasted from somewhere. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 26 21:54:00 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Remove wrong comment which was copy-and-pasted from somewhere. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 26 21:25:08 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c Log Message: Assert that the size of a trap handler does not exceed its room. XXX The debug exception is critical for ibm4xx. Since rev

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 26 21:25:08 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c Log Message: Assert that the size of a trap handler does not exceed its room. XXX The debug exception is critical for ibm4xx. Since rev

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 26 20:28:00 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c trap_subr.S Log Message: No need to have same trap handlers in trap_subr.S. No functional changes. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 26 20:28:00 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c trap_subr.S Log Message: No need to have same trap handlers in trap_subr.S. No functional changes. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-26 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 26 20:16:29 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: ibm4xx_machdep.c Log Message: We cannot have DDB and IPKDB at the same time. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 24 19:02:16 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Conform API use of uvm_hotplug(9) to documented behaviour: When testing for an invalid uvm_physseg_t, compare with

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 24 19:02:16 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Conform API use of uvm_hotplug(9) to documented behaviour: When testing for an invalid uvm_physseg_t, compare with

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 24 18:07:31 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: introduce evbppc pmap to the uvm_hotplug(9) API Should fix build. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 24 18:07:31 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: introduce evbppc pmap to the uvm_hotplug(9) API Should fix build. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

CVS commit: src/sys/arch/powerpc/ibm4xx

2016-12-15 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Dec 16 06:29:11 UTC 2016 Modified Files: src/sys/arch/powerpc/ibm4xx: trap.c Log Message: Remove needless goto's. No functional changes. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

  1   2   >