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

2022-03-16 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Wed Mar 16 09:48:23 UTC 2022 Modified Files: src/sys/arch/powerpc/powerpc: locore_subr.S Log Message: s/frmae/frame/ To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/powerpc/powerpc/locore_subr.S Pleas

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

2022-03-16 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Wed Mar 16 09:48:23 UTC 2022 Modified Files: src/sys/arch/powerpc/powerpc: locore_subr.S Log Message: s/frmae/frame/ To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/powerpc/powerpc/locore_subr.S Pleas

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

2022-02-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 18 19:04:52 UTC 2022 Modified Files: src/sys/arch/powerpc/oea: pmap.c Log Message: Backout previous and fix the correct macro magic To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/arch/powerpc/oea

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

2022-02-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 18 19:04:52 UTC 2022 Modified Files: src/sys/arch/powerpc/oea: pmap.c Log Message: Backout previous and fix the correct macro magic To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/arch/powerpc/oea

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

2022-02-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 18 18:58:15 UTC 2022 Modified Files: src/sys/arch/powerpc/oea: pmap.c Log Message: pmap_pv_protect is not STATIC To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 src/sys/arch/powerpc/oea/pmap.c Please not

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

2022-02-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 18 18:58:15 UTC 2022 Modified Files: src/sys/arch/powerpc/oea: pmap.c Log Message: pmap_pv_protect is not STATIC To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 src/sys/arch/powerpc/oea/pmap.c Please not

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

2022-02-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Feb 17 16:09:00 UTC 2022 Modified Files: src/sys/arch/powerpc/conf: files.powerpc Log Message: include pmap_pvt.c in bridge mode as well To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/arch/powerpc/c

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

2022-02-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Feb 17 16:09:00 UTC 2022 Modified Files: src/sys/arch/powerpc/conf: files.powerpc Log Message: include pmap_pvt.c in bridge mode as well To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/arch/powerpc/c

CVS commit: src/sys/arch/powerpc

2022-02-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 16 23:31:13 UTC 2022 Modified Files: src/sys/arch/powerpc/conf: files.powerpc src/sys/arch/powerpc/include: pmap.h src/sys/arch/powerpc/include/oea: pmap.h src/sys/arch/powerpc/oea: pmap.c pmap_ke

CVS commit: src/sys/arch/powerpc

2022-02-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 16 23:31:13 UTC 2022 Modified Files: src/sys/arch/powerpc/conf: files.powerpc src/sys/arch/powerpc/include: pmap.h src/sys/arch/powerpc/include/oea: pmap.h src/sys/arch/powerpc/oea: pmap.c pmap_ke

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

2022-02-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 16 23:30:52 UTC 2022 Modified Files: src/sys/arch/powerpc/powerpc: bus_dma.c Log Message: powerpc: Implement bus_dmamap_load_raw. Can probably delete some of the round-trips between bus addresses and physical addresses

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

2022-02-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Feb 16 23:30:52 UTC 2022 Modified Files: src/sys/arch/powerpc/powerpc: bus_dma.c Log Message: powerpc: Implement bus_dmamap_load_raw. Can probably delete some of the round-trips between bus addresses and physical addresses

CVS commit: src/sys/arch/powerpc/include/oea

2022-02-03 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Feb 3 17:23:50 UTC 2022 Modified Files: src/sys/arch/powerpc/include/oea: vmparam.h Log Message: bump MAXTSIZ now clang runs again To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/powerpc/include

CVS commit: src/sys/arch/powerpc/include/oea

2022-02-03 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Feb 3 17:23:50 UTC 2022 Modified Files: src/sys/arch/powerpc/include/oea: vmparam.h Log Message: bump MAXTSIZ now clang runs again To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/powerpc/include

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

2021-12-31 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Jan 1 01:15:12 UTC 2022 Modified Files: src/sys/arch/powerpc/powerpc: fixup.c Log Message: more KASSERT vs. DIAGNOSTIC fallout To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/powerpc/fix

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

2021-12-31 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Jan 1 01:15:12 UTC 2022 Modified Files: src/sys/arch/powerpc/powerpc: fixup.c Log Message: more KASSERT vs. DIAGNOSTIC fallout To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/powerpc/fix

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

2021-11-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:02:49 UTC 2021 Modified Files: src/sys/arch/powerpc/powerpc: db_interface.c Log Message: s/Reseting/Resetting/ To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/powerpc/powerpc/db_interfac

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

2021-11-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:02:49 UTC 2021 Modified Files: src/sys/arch/powerpc/powerpc: db_interface.c Log Message: s/Reseting/Resetting/ To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/powerpc/powerpc/db_interfac

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

2021-11-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Nov 2 11:22:03 UTC 2021 Modified Files: src/sys/arch/powerpc/include: profile.h Log Message: fix profiling kernel build To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/include/profile.h Pleas

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

2021-11-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Nov 2 11:22:03 UTC 2021 Modified Files: src/sys/arch/powerpc/include: profile.h Log Message: fix profiling kernel build To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/powerpc/include/profile.h Pleas

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

2021-11-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Nov 2 11:21:24 UTC 2021 Modified Files: src/sys/arch/powerpc/include: spr.h src/sys/arch/powerpc/include/ibm4xx: cpu.h Log Message: fix build with COPTS=-O0 To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

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

2021-11-02 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Nov 2 11:21:24 UTC 2021 Modified Files: src/sys/arch/powerpc/include: spr.h src/sys/arch/powerpc/include/ibm4xx: cpu.h Log Message: fix build with COPTS=-O0 To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys/arch/powerpc

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 19:44:56 UTC 2021 Modified Files: src/sys/arch/powerpc/oea: altivec.c src/sys/arch/powerpc/powerpc: compat_16_machdep.c Log Message: - In vec_restore_from_mcontext() and vec_save_to_mcontext(), allows the mco

CVS commit: src/sys/arch/powerpc

2021-10-30 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 30 19:44:56 UTC 2021 Modified Files: src/sys/arch/powerpc/oea: altivec.c src/sys/arch/powerpc/powerpc: compat_16_machdep.c Log Message: - In vec_restore_from_mcontext() and vec_save_to_mcontext(), allows the mco

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

2021-10-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Oct 29 21:42:02 UTC 2021 Modified Files: src/sys/arch/powerpc/include: signal.h Log Message: Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.2

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

2021-10-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Oct 29 21:42:02 UTC 2021 Modified Files: src/sys/arch/powerpc/include: signal.h Log Message: Define __HAVE_STRUCT_SIGCONTEXT regardless of its current visibility. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.2

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

2021-10-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 27 18:20:23 UTC 2021 Modified Files: src/sys/arch/powerpc/include: pcb.h Log Message: Need frame.h To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/powerpc/include/pcb.h Please note that diff

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

2021-10-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 27 18:20:23 UTC 2021 Modified Files: src/sys/arch/powerpc/include: pcb.h Log Message: Need frame.h To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/powerpc/include/pcb.h Please note that diff

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

2021-10-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 27 18:20:08 UTC 2021 Modified Files: src/sys/arch/powerpc/include: signal.h Log Message: There is no sigcontext in ppc64 To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/powerpc/include/signal

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

2021-10-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 27 18:20:08 UTC 2021 Modified Files: src/sys/arch/powerpc/include: signal.h Log Message: There is no sigcontext in ppc64 To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/powerpc/include/signal

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

2021-10-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 27 01:11:03 UTC 2021 Modified Files: src/sys/arch/powerpc/include: signal.h Log Message: Make sigcontext13 visible only to _KERNEL. Make sigcontext visible only to _LIBC and _KERNEL. To generate a diff of this commit:

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

2021-10-26 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 27 01:11:03 UTC 2021 Modified Files: src/sys/arch/powerpc/include: signal.h Log Message: Make sigcontext13 visible only to _KERNEL. Make sigcontext visible only to _LIBC and _KERNEL. To generate a diff of this commit:

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

2021-09-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Sep 13 11:54:42 UTC 2021 Modified Files: src/sys/arch/powerpc/include: lock.h Log Message: Fix IBM405 errata 77 workaround for __cpu_simple_lock{,_try}(); adjust labels so that dcbt is executed before stwcx. insn. To generate a

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

2021-09-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Sep 13 11:54:42 UTC 2021 Modified Files: src/sys/arch/powerpc/include: lock.h Log Message: Fix IBM405 errata 77 workaround for __cpu_simple_lock{,_try}(); adjust labels so that dcbt is executed before stwcx. insn. To generate a

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

2021-09-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Sep 8 00:17:21 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pte_enter() and pmap_enter_pv(): return zero for success, and non-zero value for failure, as normally expected. To generate a diff of thi

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

2021-09-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Sep 8 00:17:21 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pte_enter() and pmap_enter_pv(): return zero for success, and non-zero value for failure, as normally expected. To generate a diff of thi

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 12:47:10 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Now, ctx_flush() never fails. So, make this function void. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/arch/p

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 12:47:10 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Now, ctx_flush() never fails. So, make this function void. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/arch/p

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 12:28:44 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_enter_pv(): At the moment, this function is always called with pmap_initialized. So, convert test for this condition to KASSERT. To

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 12:28:44 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_enter_pv(): At the moment, this function is always called with pmap_initialized. So, convert test for this condition to KASSERT. To

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 12:23:40 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_enter_pv(): No need to initialize npv to NULL. No functional changes intended. To generate a diff of this commit: cvs rdiff -u -r1.

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 12:23:40 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_enter_pv(): No need to initialize npv to NULL. No functional changes intended. To generate a diff of this commit: cvs rdiff -u -r1.

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 12:05:05 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_testout(): Use pmap_{protect,remove}() for va to (va + PAGE_SIZE), instead of (va + 1). No functional changes for the current impleme

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 12:05:05 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: pmap_testout(): Use pmap_{protect,remove}() for va to (va + PAGE_SIZE), instead of (va + 1). No functional changes for the current impleme

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 09:57:43 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: if (cond) panic() or Debugger() in #ifdef DIAGNOSTIC ---> KASSERT(!cond) There is no regression observed during a full ATF run. To gener

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

2021-09-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Sep 5 09:57:43 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: if (cond) panic() or Debugger() in #ifdef DIAGNOSTIC ---> KASSERT(!cond) There is no regression observed during a full ATF run. To gener

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

2021-09-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Sep 4 14:31:04 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Style. No binary changes. Also, remove old #if-0'ed code block copied from oea (and therefore will never be enabled). To generate a diff

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

2021-09-04 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Sep 4 14:31:04 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: pmap.c Log Message: Style. No binary changes. Also, remove old #if-0'ed code block copied from oea (and therefore will never be enabled). To generate a diff

Re: CVS commit: src/sys/arch/powerpc/include/booke

2021-04-21 Thread Rin Okuyama
On 2021/04/18 0:38, Joerg Sonnenberger wrote: On Sat, Apr 17, 2021 at 01:25:57PM +, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Sat Apr 17 13:25:57 UTC 2021 Modified Files: src/sys/arch/powerpc/include/booke: vmparam.h Log Message: Sync MAXfoo params

Re: CVS commit: src/sys/arch/powerpc/include/booke

2021-04-17 Thread Joerg Sonnenberger
On Sat, Apr 17, 2021 at 01:25:57PM +, Rin Okuyama wrote: > Module Name: src > Committed By: rin > Date: Sat Apr 17 13:25:57 UTC 2021 > > Modified Files: > src/sys/arch/powerpc/include/booke: vmparam.h > > Log Message: > Sync MAXfoo params with oea: > > MAXTSIZ: 512MB -> 128M

Re: CVS commit: src/sys/arch/powerpc/oea

2021-04-01 Thread Jason Thorpe
Ugh. Can we please stop making these hacky one-offs in "shared by all PowerPC platforms" code? This actually points to a deeper problem in the pmap code that needs to be addressed correctly. > On Apr 1, 2021, at 3:02 PM, Michael Lorenz wrote: > > Module Name: src > Committed By: macallan >

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

2021-01-17 Thread Rin Okuyama
On 2021/01/18 14:49, Rin Okuyama wrote: (2) However, in clock.c rev 1.31 and prior, curcpu->ci_idepth was not     raised before calling {hard,stat}clock(). Therefore, cpu_intr_p()     wrongly returns false. As a result, callee functions misunderstood     that they are not running in the interr

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

2021-01-17 Thread Rin Okuyama
On 2021/01/18 13:35, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Mon Jan 18 04:35:05 UTC 2021 Modified Files: src/sys/arch/powerpc/ibm4xx: clock.c Log Message: Invoke hardclock() and statclock() in the interrupt context. Otherwise, entropy_enter() is used

Re: CVS commit: src/sys/arch/powerpc/booke

2020-07-06 Thread Rin Okuyama
On 2020/07/07 9:51, Jason Thorpe wrote: On Jul 6, 2020, at 5:28 PM, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Tue Jul 7 00:28:31 UTC 2020 Modified Files: src/sys/arch/powerpc/booke: e500_tlb.c Log Message: Fix kernel panic due to tmpfs. pmap for book

Re: CVS commit: src/sys/arch/powerpc/booke

2020-07-06 Thread Jason Thorpe
> On Jul 6, 2020, at 5:28 PM, Rin Okuyama wrote: > > Module Name: src > Committed By: rin > Date: Tue Jul 7 00:28:31 UTC 2020 > > Modified Files: > src/sys/arch/powerpc/booke: e500_tlb.c > > Log Message: > Fix kernel panic due to tmpfs. > > pmap for booke assumes that the ``

Re: CVS commit: src/sys/arch/powerpc/include

2020-06-27 Thread Rin Okuyama
Perhaps yes, but I'm not sure. How do you mips guys think? Thanks, rin On 2020/06/27 19:08, Jaromír Doleček wrote: Perhaps we can use a similar technique for mips too? There also the kernel actually always uses a compile-time fixed page size AFAICS. Jaromir Le sam. 27 juin 2020 à 04:51, Rin O

Re: CVS commit: src/sys/arch/powerpc/include

2020-06-27 Thread Jaromír Doleček
Perhaps we can use a similar technique for mips too? There also the kernel actually always uses a compile-time fixed page size AFAICS. Jaromir Le sam. 27 juin 2020 à 04:51, Rin Okuyama a écrit : > > Module Name:src > Committed By: rin > Date: Sat Jun 27 02:51:23 UTC 2020 > > Modi

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

2020-06-22 Thread Joerg Sonnenberger
On Mon, Jun 22, 2020 at 05:34:57AM +, Rin Okuyama wrote: > Module Name: src > Committed By: rin > Date: Mon Jun 22 05:34:57 UTC 2020 > > Modified Files: > src/sys/arch/powerpc/include: mcontext.h types.h > src/sys/arch/powerpc/powerpc: sig_machdep.c > > Log Message: > Fix

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

2020-06-21 Thread Rin Okuyama
On 2020/06/22 5:10, Joerg Sonnenberger wrote: On Sun, Jun 21, 2020 at 12:40:00AM +, Rin Okuyama wrote: - Obsolete __lwp_settcb() in order to let kernel know new TLS address via _lwp_setprivate(2). Alternatively, we can call _lwp_setprivate(2) within __lwp_settcb() like mips, but it is

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

2020-06-21 Thread Joerg Sonnenberger
On Sun, Jun 21, 2020 at 12:40:00AM +, Rin Okuyama wrote: > - Obsolete __lwp_settcb() in order to let kernel know new TLS address via > _lwp_setprivate(2). Alternatively, we can call _lwp_setprivate(2) within > __lwp_settcb() like mips, but it is just double handling; we adjust %r2 > appro

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

2020-02-19 Thread Rin Okuyama
On 2020/02/18 6:55, Andrew Doran wrote: I corrected the cpu_ast() case. Yes it's curious why ibm4xx calls mi_userret() directly; that seems wrong (I have not changed it though). I think it definitely makes more sense to deal with OWEUPC before userret(). Thank you! Now, I'm working on fixing

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

2020-02-17 Thread Andrew Doran
On Wed, Feb 05, 2020 at 12:46:57PM +0900, Rin Okuyama wrote: > Hi, > > On 2019/12/06 5:55, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Thu Dec 5 20:55:24 UTC 2019 > > > > Modified Files: > > src/sys/arch/powerpc/powerpc: powerpc_machdep

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

2020-02-04 Thread Rin Okuyama
Hi, On 2019/12/06 5:55, Andrew Doran wrote: Module Name:src Committed By: ad Date: Thu Dec 5 20:55:24 UTC 2019 Modified Files: src/sys/arch/powerpc/powerpc: powerpc_machdep.c Log Message: Need to call userret() from cpu_ast(). To generate a diff of this commit: cvs r

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

2019-11-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 29 20:05:59 UTC 2019 Modified Files: src/sys/arch/powerpc/include: lock.h mutex.h Log Message: Nix mb_* on powerpc. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/powerpc/include/lock.h cvs

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

2019-11-29 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 29 20:05:59 UTC 2019 Modified Files: src/sys/arch/powerpc/include: lock.h mutex.h Log Message: Nix mb_* on powerpc. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/powerpc/include/lock.h cvs

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

2019-11-29 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Nov 29 12:04:32 UTC 2019 Modified Files: src/sys/arch/powerpc/include: ptrace.h Log Message: Add illegal asm and breakpoint To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/powerpc/include/ptrace.h

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

2019-11-29 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Nov 29 12:04:32 UTC 2019 Modified Files: src/sys/arch/powerpc/include: ptrace.h Log Message: Add illegal asm and breakpoint To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/powerpc/include/ptrace.h

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

2019-11-27 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Nov 27 21:07:32 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: ofw_autoconf.c Log Message: Add a hack for qemu/macppc. OF_finddevice calls will crash depending on the boot loader and kernel being used. This patch allows usi

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

2019-11-27 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Nov 27 21:07:32 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: ofw_autoconf.c Log Message: Add a hack for qemu/macppc. OF_finddevice calls will crash depending on the boot loader and kernel being used. This patch allows usi

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

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:49:12 UTC 2019 Modified Files: src/sys/arch/powerpc/pic: ipi.c ipivar.h Log Message: Add IPI_AST. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/pic/ipi.c cvs rdiff -u -r1.9 -r1.10 s

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

2019-11-24 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Nov 24 15:49:12 UTC 2019 Modified Files: src/sys/arch/powerpc/pic: ipi.c ipivar.h Log Message: Add IPI_AST. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/pic/ipi.c cvs rdiff -u -r1.9 -r1.10 s

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

2019-11-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Nov 16 00:16:56 UTC 2019 Modified Files: src/sys/arch/powerpc/powerpc: openfirm.c Log Message: fix pasto - don't limit OF_finddevice() to 32 characters now this works again To generate a diff of this commit: cvs rdiff -u -

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

2019-11-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Nov 16 00:16:56 UTC 2019 Modified Files: src/sys/arch/powerpc/powerpc: openfirm.c Log Message: fix pasto - don't limit OF_finddevice() to 32 characters now this works again To generate a diff of this commit: cvs rdiff -u -

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

2019-11-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 15 23:43:13 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: ofw_subr.S Log Message: bump OF_buf(fer) since we may put extra parameters in there To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/a

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

2019-11-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 15 23:43:13 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: ofw_subr.S Log Message: bump OF_buf(fer) since we may put extra parameters in there To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/a

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

2019-11-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 15 23:41:47 UTC 2019 Modified Files: src/sys/arch/powerpc/powerpc: openfirm.c Log Message: stuff name parameters into OF_buf before calling OF now things like ofctl work on my TiBook with FIRMWORKSBUGS To generate a di

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

2019-11-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 15 23:41:47 UTC 2019 Modified Files: src/sys/arch/powerpc/powerpc: openfirm.c Log Message: stuff name parameters into OF_buf before calling OF now things like ofctl work on my TiBook with FIRMWORKSBUGS To generate a di

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

2019-10-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 30 02:44:29 UTC 2019 Modified Files: src/sys/arch/powerpc/include: fenv.h Log Message: do the ignore builtin dance for gcc-8 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/include/fenv

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

2019-10-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 30 02:44:29 UTC 2019 Modified Files: src/sys/arch/powerpc/include: fenv.h Log Message: do the ignore builtin dance for gcc-8 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/include/fenv

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

2019-10-25 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 25 17:17:30 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: cpu_subr.c Log Message: register the IPI before spinning up CPUs, and make sure to do it exactly once with this, and previous commits, G5s with four CPUs wor

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

2019-10-25 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 25 17:17:30 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: cpu_subr.c Log Message: register the IPI before spinning up CPUs, and make sure to do it exactly once with this, and previous commits, G5s with four CPUs wor

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

2019-10-24 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Oct 24 23:03:35 UTC 2019 Modified Files: src/sys/arch/powerpc/include: intr.h Log Message: bump NIRQ to 256 since we're going to use vectors above 128 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/a

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

2019-10-24 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Oct 24 23:03:35 UTC 2019 Modified Files: src/sys/arch/powerpc/include: intr.h Log Message: bump NIRQ to 256 since we're going to use vectors above 128 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/a

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

2019-09-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Sep 20 21:27:29 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: cpu_subr.c Log Message: don't enable NAP mode on 7450 CPUs - my Quicksilver has two of those and we hang hard shortly after boot with NAP enabled, even on UP

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

2019-09-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Sep 20 21:27:29 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: cpu_subr.c Log Message: don't enable NAP mode on 7450 CPUs - my Quicksilver has two of those and we hang hard shortly after boot with NAP enabled, even on UP

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

2019-08-01 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Aug 2 05:08:07 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: cpu_subr.c Log Message: first step to address PR54331: poll h->hatch_running for a bit instead of blindly relying on a fixed timeout for secondary CPUs to wa

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

2019-08-01 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Aug 2 05:08:07 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: cpu_subr.c Log Message: first step to address PR54331: poll h->hatch_running for a bit instead of blindly relying on a fixed timeout for secondary CPUs to wa

Re: CVS commit: src/sys/arch/powerpc/pic

2016-05-26 Thread Michael
Hello, On Thu, 26 May 2016 17:38:06 + "Michael Lorenz" wrote: > Module Name: src > Committed By: macallan > Date: Thu May 26 17:38:06 UTC 2016 > > Modified Files: > src/sys/arch/powerpc/pic: intr.c ipi_openpic.c pic_openpic.c > > Log Message: > treat IPIs like regular interr

Re: CVS commit: src/sys/arch/powerpc/conf

2014-04-19 Thread Masao Uebayashi
Hopefully kernel entry (locore.o) is placed using ldscript so that stupid *.o ordering in makefiles can go away? On Sat, Apr 19, 2014 at 9:46 PM, Matt Thomas wrote: > Module Name:src > Committed By: matt > Date: Sat Apr 19 12:46:04 UTC 2014 > > Added Files: > src/sys/arch/

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

2014-03-18 Thread Christos Zoulas
In article <20140318143431.920a...@cvs.netbsd.org>, Michael Lorenz wrote: >-=-=-=-=-=- > >+#ifdef PPC_OEA601 >+static struct timecounter powerpc_601_timecounter = { >+ get_601_timecount, /* get_timecount */ >+ 0, /* no poll_pps */ >+ 0x7fff,

Re: CVS commit: src/sys/arch/powerpc/oea

2013-05-13 Thread Michael
On Mon, 13 May 2013 00:12:01 + "Michael Lorenz" wrote: > Module Name: src > Committed By: macallan > Date: Mon May 13 00:12:01 UTC 2013 > > Modified Files: > src/sys/arch/powerpc/oea: ofwoea_machdep.c > > Log Message: > more G5 stuff: > - call OF_quiesce() > - properly map th

Re: CVS commit: src/sys/arch/powerpc/include

2012-02-20 Thread Joerg Sonnenberger
On Tue, Feb 21, 2012 at 02:19:01AM +, Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Tue Feb 21 02:19:01 UTC 2012 > > Modified Files: > src/sys/arch/powerpc/include: cdefs.h > > Log Message: > Restore back to double alignment. For reference: __ALIGNBYTES is

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

2011-02-06 Thread Antti Kantee
On Mon Feb 07 2011 at 07:02:25 +, Matt Thomas wrote: > Module Name: src > Committed By: matt > Date: Mon Feb 7 07:02:24 UTC 2011 > > Modified Files: > src/sys/arch/powerpc/ibm4xx: pmap.c > > Log Message: > Use EVCNT_ATTACH_STATIC Can't we just: 1) Work toward getting of rid

Re: CVS commit: src/sys/arch/powerpc/oea

2010-11-15 Thread David Holland
On Mon, Nov 15, 2010 at 10:41:55PM +, David Laight wrote: > > Indeed. Properly speaking though, headers that are exported to > > userland should define only the precise symbols that userland needs; > > kernel-only material should be kept elsewhere. > > One start would be to add a sys/proc

Re: CVS commit: src/sys/arch/powerpc/oea

2010-11-15 Thread Masao Uebayashi
On Mon, Nov 15, 2010 at 08:34:40PM +, David Holland wrote: > (moving this to tech-kern because it's the right place and per request) > > On Mon, Nov 15, 2010 at 11:24:21AM +0900, Masao Uebayashi wrote: > > > Every header file should include the things it requires to compile. > > > Therefore,

Re: CVS commit: src/sys/arch/powerpc/oea

2010-11-15 Thread Masao Uebayashi
On Tue, Nov 16, 2010 at 05:41:14AM +, David Holland wrote: > On Tue, Nov 16, 2010 at 10:20:46AM +0900, Masao Uebayashi wrote: > > Another thing: > > > > - We should provide sysconf() for kernel modules (device drivers) too, > > otherwise we have to expose unnecessary symbols (uvmexp). >

Re: CVS commit: src/sys/arch/powerpc/oea

2010-11-15 Thread David Holland
On Tue, Nov 16, 2010 at 10:20:46AM +0900, Masao Uebayashi wrote: > Another thing: > > - We should provide sysconf() for kernel modules (device drivers) too, > otherwise we have to expose unnecessary symbols (uvmexp). Why not the complete sysctl tree? -- David A. Holland dholl...@netbsd.or

Re: CVS commit: src/sys/arch/powerpc/oea

2010-11-15 Thread Masao Uebayashi
On Mon, Nov 15, 2010 at 11:24:21AM +0900, Masao Uebayashi wrote: > On Sun, Nov 14, 2010 at 05:52:51AM +, David Holland wrote: > > On Sun, Nov 14, 2010 at 03:32:44AM +, Masao Uebayashi wrote: > > > XXX What is the conclusion about direct vs. indirect #include from > > headers? > > > > Eve

Re: CVS commit: src/sys/arch/powerpc/oea

2010-11-15 Thread Arnaud Lacombe
Hi, On Mon, Nov 15, 2010 at 5:41 PM, David Laight wrote: > On Mon, Nov 15, 2010 at 08:50:34AM +, David Holland wrote: >> On Mon, Nov 15, 2010 at 02:48:29PM +0900, SODA Noriyuki wrote: >>  > Well, there is another thing which has to be considered.  That is >>  > name space pollution. >>  > Hea

Re: CVS commit: src/sys/arch/powerpc/oea

2010-11-15 Thread David Laight
On Mon, Nov 15, 2010 at 08:50:34AM +, David Holland wrote: > On Mon, Nov 15, 2010 at 02:48:29PM +0900, SODA Noriyuki wrote: > > Well, there is another thing which has to be considered. That is > > name space pollution. > > Header files which are exported to userland (for userland visible AP

<    1   2   3   4   5   >