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

2025-04-22 Thread Izumi Tsutsui
> > a) apply the workaround to all m68k ports: > > pros: same m68k binaries can be shared > > cons: requires extra performance penalty for all m68k (020/030/040/060) > > > > b) apply the workaround only for XC68LC040 users: > > pros: nothing? (only technical interests of developers?) > > cons:

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

2025-04-12 Thread Nat Sloss
On Sun, 13 Apr 2025 08:28:04 Izumi Tsutsui wrote: > > Would you or isaki@ or martin@ like me to assign PR 13078 to either of > > you and I'll write a followup email to the binutils people stating that > > from now on you'll handle all responsibilty for the correspondance with > > them and assign ei

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

2025-04-12 Thread Izumi Tsutsui
> Would you or isaki@ or martin@ like me to assign PR 13078 to either of you > and > I'll write a followup email to the binutils people stating that from now on > you'll handle all responsibilty for the correspondance with them and assign > either of you to the doc/HACKS note. Actually I had n

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

2025-04-10 Thread Nat Sloss
On Fri, 11 Apr 2025 02:07:06 Izumi Tsutsui wrote: > When committing code, it's important to provide a obvious explanation > of the technical rationale behind the implementation. > > Without such rationale, the code can become difficult to maintain > in the future, as later contributors may not und

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

2025-04-10 Thread Nat Sloss
On Mon, 7 Apr 2025 17:58:26 Tetsuya Isaki wrote: > At Sat, 5 Apr 2025 22:47:39 +1100, > > Nat Sloss wrote: > > Before I placed the additional nops before rte I experienced 1 hard > > lockup which I attributed to the fpu (buggy lc) > > > The idea was this: > It can't be certain that the behavior i

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

2025-04-10 Thread Izumi Tsutsui
> I did it to be on the safe side. If the kernel was to be built with -mlcfix > passed to gas(1) the nop would be inserted. It seems there might be some confusion between the goal (i.e. avoiding f-line exception during write-pending) and the approach/workaround (inserting a nop before F-line ins

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

2025-04-09 Thread Nathanial Sloss
On Thu, 10 Apr 2025 00:44:02 Izumi Tsutsui wrote: > > Module Name:src > > Committed By: nat > > Date: Wed Apr 9 00:04:41 UTC 2025 > > > > Modified Files: > > src/sys/arch/m68k/m68k: fpu.c > > > > Log Message: > > Add workaround for fpu test for kernels defined wit

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

2025-04-09 Thread Izumi Tsutsui
> Module Name: src > Committed By: nat > Date: Wed Apr 9 00:04:41 UTC 2025 > > Modified Files: > src/sys/arch/m68k/m68k: fpu.c > > Log Message: > Add workaround for fpu test for kernels defined with M68040. > > This is to accomodate kernels built without the -mlcfix option passed

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

2025-04-08 Thread Nat Sloss
On Tue, 8 Apr 2025 15:10:24 Martin Husemann wrote: > On Tue, Apr 08, 2025 at 10:45:23AM +1000, Nat Sloss wrote: > > nop - f* instructions are not atomicwhat will happen if nop is > > executed and then the processor is interrupted (by say pressing a > > keystroke on the keyboard) then after tha

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

2025-04-07 Thread Martin Husemann
On Tue, Apr 08, 2025 at 10:45:23AM +1000, Nat Sloss wrote: > nop - f* instructions are not atomicwhat will happen if nop is executed > and then the processor is interrupted (by say pressing a keystroke on the > keyboard) then after that interrupt has run the f* instruction is executed. > >

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

2025-04-07 Thread Nat Sloss
On Mon, 7 Apr 2025 17:44:09 Tetsuya Isaki wrote: > At Sat, 5 Apr 2025 22:01:37 +1100, > > Nat Sloss wrote: > > Following advice and following the spirit of my intentions adding nop in > > the switch i added nops before "rte" in locore.s in sys/mac68k as > > opposed to m68k/swicher. > > Are you su

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

2025-04-07 Thread Tetsuya Isaki
At Sat, 5 Apr 2025 22:47:39 +1100, Nat Sloss wrote: > Before I placed the additional nops before rte I experienced 1 hard lockup > which I attributed to the fpu (buggy lc) > > The idea was this: It can't be certain that the behavior is related to this bug. XC68LC040 series are known for having m

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

2025-04-07 Thread Tetsuya Isaki
At Sat, 5 Apr 2025 22:01:37 +1100, Nat Sloss wrote: > Following advice and following the spirit of my intentions adding nop in the > switch i added nops before "rte" in locore.s in sys/mac68k as opposed to > m68k/swicher. Are you sure? First, errata E4 said the workaround is "nop-before-f-line"

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

2025-04-05 Thread Nat Sloss
On Fri, 4 Apr 2025 23:27:49 Martin Husemann wrote: > On Fri, Apr 04, 2025 at 10:48:17PM +1100, Nat Sloss wrote: > > The changes to the context switch in sys/m68k have been reverted and the > > nop insertion by gas(1) has been turned off by default. > > What does upstream gcc plan to do with the ne

CVS commit: src/sys/arch/m68k/m68k

2025-04-05 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Mar 30 04:44:26 UTC 2025 Modified Files: src/sys/arch/m68k/m68k: switch_subr.s Log Message: Sprinkle nop. This is the kernel part of addressing the issue with fpu emulation on lc040 cpus. The idea is that we might be switch fro

CVS commit: src/sys/arch/m68k/m68k

2025-04-05 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Mar 31 13:03:23 UTC 2025 Modified Files: src/sys/arch/m68k/m68k: switch_subr.s Log Message: Wrap up lc040 compatability nops in a macro. Also add a comment describing why they are there so they wont be accidently removed in the

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

2025-04-05 Thread Nathanial Sloss
On Mon, 31 Mar 2025 22:48:39 Tetsuya Isaki wrote: > At Sun, 30 Mar 2025 04:44:26 +, > > Nathanial Sloss wrote: > > Module Name:src > > Committed By: nat > > Date: Sun Mar 30 04:44:26 UTC 2025 > > > > Modified Files: > > src/sys/arch/m68k/m68k: switch_subr.s > >

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

2025-04-05 Thread Tetsuya Isaki
At Tue, 1 Apr 2025 02:26:35 +1100, Nathanial Sloss wrote: > Consider the following (including my gas patch for binutils): > > movq. > nop > fnop > > Thats as it's assembled but at run time it could posslibly > run like this > > movq > nop > (switch task) > fnop > > So the nops are inser

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

2025-04-05 Thread Martin Husemann
On Sat, Apr 05, 2025 at 10:47:39PM +1100, Nat Sloss wrote: > nop > fnop > > could be executed as > > nop > (context swtich) > (return from context swtich) > fnop > > So without these the fnop would not be coverted. Not sure what you mean here. Why would the nop before the rte make any differen

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

2025-04-05 Thread Nat Sloss
On Sat, 5 Apr 2025 22:32:10 Martin Husemann wrote: > On Sat, Apr 05, 2025 at 10:01:37PM +1100, Nat Sloss wrote: > > Following advice and following the spirit of my intentions adding nop in > > the switch i added nops before "rte" in locore.s in sys/mac68k as > > opposed to m68k/swicher. > > This m

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

2025-04-05 Thread Martin Husemann
On Sat, Apr 05, 2025 at 10:01:37PM +1100, Nat Sloss wrote: > Following advice and following the spirit of my intentions adding nop in the > switch i added nops before "rte" in locore.s in sys/mac68k as opposed to > m68k/swicher. This makes no sense to me (but I can only guess how the exact bug w

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

2025-04-05 Thread Nat Sloss
Following advice and following the spirit of my intentions adding nop in the switch i added nops before "rte" in locore.s in sys/mac68k as opposed to m68k/swicher. Along with adding nops before fline instructions with the modified assember. I took a picture for your consideration. http://ftp.n

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

2025-04-04 Thread Nat Sloss
On Fri, 4 Apr 2025 22:37:50 Tetsuya Isaki wrote: > At Thu, 3 Apr 2025 14:00:16 +0200, > > Martin Husemann wrote: > > > So these all nops are never executed just before any of f-line > > > instructions. > > > > Can you also please explain how you got at that NOP-after-f-line > > woraround? The Mot

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

2025-04-04 Thread Tetsuya Isaki
At Thu, 3 Apr 2025 14:00:16 +0200, Martin Husemann wrote: > > So these all nops are never executed just before any of f-line > > instructions. > > Can you also please explain how you got at that NOP-after-f-line woraround? > The Motorola errata text (at least the versions I found on the wayback >

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

2025-04-04 Thread Martin Husemann
On Fri, Apr 04, 2025 at 10:48:17PM +1100, Nat Sloss wrote: > The changes to the context switch in sys/m68k have been reverted and the nop > insertion by gas(1) has been turned off by default. What does upstream gcc plan to do with the new option? Default on or off? I guess we can find some way t

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

2025-04-03 Thread Martin Husemann
On Thu, Apr 03, 2025 at 08:55:11PM +0900, Tetsuya Isaki wrote: > So these all nops are never executed just before any of f-line > instructions. Can you also please explain how you got at that NOP-after-f-line woraround? The Motorola errata text (at least the versions I found on the wayback machine

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

2025-03-31 Thread Tetsuya Isaki
At Sun, 30 Mar 2025 04:44:26 +, Nathanial Sloss wrote: > Module Name: src > Committed By: nat > Date: Sun Mar 30 04:44:26 UTC 2025 > > Modified Files: > src/sys/arch/m68k/m68k: switch_subr.s > > Log Message: > Sprinkle nop. > > This is the kernel part of addressing the issue w

CVS commit: src/sys/arch/m68k/m68k

2025-03-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Mar 30 04:44:26 UTC 2025 Modified Files: src/sys/arch/m68k/m68k: switch_subr.s Log Message: Sprinkle nop. This is the kernel part of addressing the issue with fpu emulation on lc040 cpus. The idea is that we might be switch fro

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

2025-02-01 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Feb 1 22:54:02 UTC 2025 Modified Files: src/sys/arch/m68k/include: mmu_30.h Log Message: s/Futhermore/Furthermore/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/include/mmu_30.h

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

2025-02-01 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Feb 1 22:54:02 UTC 2025 Modified Files: src/sys/arch/m68k/include: mmu_30.h Log Message: s/Futhermore/Furthermore/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/include/mmu_30.h

CVS commit: src/sys/arch/m68k/fpe

2025-01-05 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jan 6 07:34:24 UTC 2025 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c fpu_fscale.c Log Message: m68k/fpe: Avoid an illegal mod/reg before decoding it. This also works for machines with FPU. If the kernel defines FPU_EMU

CVS commit: src/sys/arch/m68k/fpe

2025-01-05 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jan 6 07:34:24 UTC 2025 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c fpu_fscale.c Log Message: m68k/fpe: Avoid an illegal mod/reg before decoding it. This also works for machines with FPU. If the kernel defines FPU_EMU

CVS commit: src/sys/arch/m68k/fpe

2025-01-05 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jan 6 06:14:18 UTC 2025 Modified Files: src/sys/arch/m68k/fpe: fpu_fstore.c Log Message: m68k/fpe: Remove redundant code. This was assigned before the function was called. To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys/arch/m68k/fpe

2025-01-05 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Mon Jan 6 06:14:18 UTC 2025 Modified Files: src/sys/arch/m68k/fpe: fpu_fstore.c Log Message: m68k/fpe: Remove redundant code. This was assigned before the function was called. To generate a diff of this commit: cvs rdiff -u -r1.

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

2025-01-04 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jan 4 19:17:58 UTC 2025 Modified Files: src/sys/arch/m68k/include: asm.h Log Message: PR 58960: m68k/asm.h: Respect NETBSD_REVISIONID. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/m68k/include/

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

2025-01-04 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jan 4 19:17:58 UTC 2025 Modified Files: src/sys/arch/m68k/include: asm.h Log Message: PR 58960: m68k/asm.h: Respect NETBSD_REVISIONID. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/m68k/include/

CVS commit: src/sys/arch/m68k/fpe

2025-01-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jan 3 05:54:07 UTC 2025 Modified Files: src/sys/arch/m68k/fpe: fpu_fstore.c Log Message: m68k/fpe: Check an illegal mod/reg before decoding it. This avoids a kernel panic if an instruction has illegal mod/reg bits like FMOVE.X

CVS commit: src/sys/arch/m68k/fpe

2025-01-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jan 3 05:54:07 UTC 2025 Modified Files: src/sys/arch/m68k/fpe: fpu_fstore.c Log Message: m68k/fpe: Check an illegal mod/reg before decoding it. This avoids a kernel panic if an instruction has illegal mod/reg bits like FMOVE.X

CVS commit: src/sys/arch/m68k/fpe

2025-01-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jan 3 05:42:50 UTC 2025 Modified Files: src/sys/arch/m68k/fpe: fpu_fstore.c Log Message: m68k/fpe: Add a missing return. FMOVE.P FPn, now raises SIGFPE. (Our FPE doesn't support .P) To generate a diff of this commit: cvs rdi

CVS commit: src/sys/arch/m68k/fpe

2025-01-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Fri Jan 3 05:42:50 UTC 2025 Modified Files: src/sys/arch/m68k/fpe: fpu_fstore.c Log Message: m68k/fpe: Add a missing return. FMOVE.P FPn, now raises SIGFPE. (Our FPE doesn't support .P) To generate a diff of this commit: cvs rdi

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 12:23:51 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Remove duplicated assignments. These are already stored before. No functional changes intended. To generate a diff of this

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 12:23:51 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Remove duplicated assignments. These are already stored before. No functional changes intended. To generate a diff of this

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 12:15:27 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Fix FTRAPcc emulation raise the correct trap. Currently fpu_emul_type1() returns SIGFPE only if FTRAPcc's condition is met, so

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 12:15:27 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Fix FTRAPcc emulation raise the correct trap. Currently fpu_emul_type1() returns SIGFPE only if FTRAPcc's condition is met, so

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 11:23:12 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Reimplement and simplify test_cc(). This logic was analized by Y.Sugahara (in 2016). Finally fputest.x(0.24.10.08) about fbcc

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 11:23:12 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Reimplement and simplify test_cc(). This logic was analized by Y.Sugahara (in 2016). Finally fputest.x(0.24.10.08) about fbcc

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 11:15:11 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Two bugfixes in test_cc(). - Don't clear the exception byte in FPSR. According to the manual, all bits except BSUN are "not

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 11:15:11 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Two bugfixes in test_cc(). - Don't clear the exception byte in FPSR. According to the manual, all bits except BSUN are "not

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 11:09:43 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Several bugfixes in FDBcc and FTRAPcc emulation. In fpu_emul_type1(), - If test_cc() returns >0, it's an error, that is an ill

CVS commit: src/sys/arch/m68k/fpe

2024-12-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 11:09:43 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Several bugfixes in FDBcc and FTRAPcc emulation. In fpu_emul_type1(), - If test_cc() returns >0, it's an error, that is an ill

CVS commit: src/sys/arch/m68k/fpe

2024-12-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 05:56:15 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Fix several FMOVEM FPctl emulation. - Fix the write order of FMOVEM FPctl,-(An). For example, "FMOVEM FPCR/FPSR,-(An)" instr

CVS commit: src/sys/arch/m68k/fpe

2024-12-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 05:56:15 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: Fix several FMOVEM FPctl emulation. - Fix the write order of FMOVEM FPctl,-(An). For example, "FMOVEM FPCR/FPSR,-(An)" instr

CVS commit: src/sys/arch/m68k/fpe

2024-12-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 05:52:53 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: FMOVEM (both FPn and FPctl) must not update accrued byte in FPSR. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1

CVS commit: src/sys/arch/m68k/fpe

2024-12-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 05:52:53 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_emulate.c Log Message: m68k/fpe: FMOVEM (both FPn and FPctl) must not update accrued byte in FPSR. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1

CVS commit: src/sys/arch/m68k/fpe

2024-12-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 03:11:09 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_calcea.c Log Message: Fix indent. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/m68k/fpe/fpu_calcea.c Please note that diffs ar

CVS commit: src/sys/arch/m68k/fpe

2024-12-27 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Dec 28 03:11:09 UTC 2024 Modified Files: src/sys/arch/m68k/fpe: fpu_calcea.c Log Message: Fix indent. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/m68k/fpe/fpu_calcea.c Please note that diffs ar

CVS commit: src/sys/arch/m68k/fpsp

2024-12-07 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Dec 8 06:55:52 UTC 2024 Modified Files: src/sys/arch/m68k/fpsp: x_operr.sa Log Message: s/erroneoulsy/erroneously/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/fpsp/x_operr.sa P

CVS commit: src/sys/arch/m68k/fpsp

2024-12-07 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Dec 8 06:55:52 UTC 2024 Modified Files: src/sys/arch/m68k/fpsp: x_operr.sa Log Message: s/erroneoulsy/erroneously/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/m68k/fpsp/x_operr.sa P

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

2024-12-01 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Dec 1 08:44:43 UTC 2024 Modified Files: src/sys/arch/m68k/include: lwp_private.h Log Message: Shuffle code so it compiles To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/include/lwp_private.h P

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

2024-12-01 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Dec 1 08:44:43 UTC 2024 Modified Files: src/sys/arch/m68k/include: lwp_private.h Log Message: Shuffle code so it compiles To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/include/lwp_private.h P

CVS commit: src/sys/arch/m68k/m68k

2024-10-31 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Oct 31 07:30:28 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: compat_16_sigreturn14.s switch_subr.s trap_subr.s Log Message: Fix indent. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/

CVS commit: src/sys/arch/m68k/m68k

2024-10-31 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Thu Oct 31 07:30:28 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: compat_16_sigreturn14.s switch_subr.s trap_subr.s Log Message: Fix indent. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/

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

2024-10-15 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Oct 16 06:54:55 UTC 2024 Modified Files: src/sys/arch/m68k/include: trap.h Log Message: TAB/space cleanup. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/m68k/include/trap.h Please note that diffs

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

2024-10-15 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Wed Oct 16 06:54:55 UTC 2024 Modified Files: src/sys/arch/m68k/include: trap.h Log Message: TAB/space cleanup. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/m68k/include/trap.h Please note that diffs

CVS commit: src/sys/arch/m68k/fpsp

2024-09-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Sep 20 19:38:53 UTC 2024 Modified Files: src/sys/arch/m68k/fpsp: netbsd.sa skeleton.sa x_ovfl.sa x_unfl.sa Log Message: s/resister/register/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/ar

CVS commit: src/sys/arch/m68k/fpsp

2024-09-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Fri Sep 20 19:38:53 UTC 2024 Modified Files: src/sys/arch/m68k/fpsp: netbsd.sa skeleton.sa x_ovfl.sa x_unfl.sa Log Message: s/resister/register/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/ar

CVS commit: src/sys/arch/m68k/060sp

2024-05-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 13 00:10:07 UTC 2024 Modified Files: src/sys/arch/m68k/060sp: inetbsd.S src/sys/arch/m68k/060sp/dist: iskeletn.s Log Message: s/Instrcution/Instruction/ in comment. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sys/arch/m68k/060sp

2024-05-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 13 00:10:07 UTC 2024 Modified Files: src/sys/arch/m68k/060sp: inetbsd.S src/sys/arch/m68k/060sp/dist: iskeletn.s Log Message: s/Instrcution/Instruction/ in comment. To generate a diff of this commit: cvs rdiff -

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

2024-02-01 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Feb 1 22:00:29 UTC 2024 Modified Files: src/sys/arch/m68k/include: vectors.h Log Message: s/Prototol/Protocol/ and s/Umimplemented/Unimplemented/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/

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

2024-02-01 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Feb 1 22:00:29 UTC 2024 Modified Files: src/sys/arch/m68k/include: vectors.h Log Message: s/Prototol/Protocol/ and s/Umimplemented/Unimplemented/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/

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

2024-01-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jan 22 14:37:25 UTC 2024 Modified Files: src/sys/arch/m68k/include: ieee.h Log Message: Add multiple inclusion protection guard - the long double math routines have a tendency to sometimes make that happen. This seems to fix the

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

2024-01-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jan 22 14:37:25 UTC 2024 Modified Files: src/sys/arch/m68k/include: ieee.h Log Message: Add multiple inclusion protection guard - the long double math routines have a tendency to sometimes make that happen. This seems to fix the

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

2024-01-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jan 20 02:23:15 UTC 2024 Modified Files: src/sys/arch/m68k/include: cpu.h Log Message: What good are comments, really, if you can't have a little color? Add a note above CLKF_INTR() about why NetBSD will likely never switch

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

2024-01-19 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Jan 20 02:23:15 UTC 2024 Modified Files: src/sys/arch/m68k/include: cpu.h Log Message: What good are comments, really, if you can't have a little color? Add a note above CLKF_INTR() about why NetBSD will likely never switch

CVS commit: src/sys/arch/m68k

2024-01-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jan 19 05:45:28 UTC 2024 Modified Files: src/sys/arch/m68k/include: vectors.h src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Ensuire VECO_TO_VECI() returns an 8-bit index. To generate a diff of this commit: cvs rd

CVS commit: src/sys/arch/m68k

2024-01-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jan 19 05:45:28 UTC 2024 Modified Files: src/sys/arch/m68k/include: vectors.h src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Ensuire VECO_TO_VECI() returns an 8-bit index. To generate a diff of this commit: cvs rd

CVS commit: src/sys/arch/m68k/m68k

2024-01-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jan 19 03:35:31 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: pmap_motorola.c vm_machdep.c Log Message: Move physaccess(), physunaccess(), and kvtop() from vm_machdep.c to pmap_motorola.c. They're legacy functions tied to

CVS commit: src/sys/arch/m68k/m68k

2024-01-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Fri Jan 19 03:35:31 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: pmap_motorola.c vm_machdep.c Log Message: Move physaccess(), physunaccess(), and kvtop() from vm_machdep.c to pmap_motorola.c. They're legacy functions tied to

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

2024-01-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 18 14:42:09 UTC 2024 Modified Files: src/sys/arch/m68k/include: cpu.h Log Message: Remove a comment that is no longer applicable. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/m68k/include/c

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

2024-01-18 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 18 14:42:09 UTC 2024 Modified Files: src/sys/arch/m68k/include: cpu.h Log Message: Remove a comment that is no longer applicable. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/m68k/include/c

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

2024-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 18 05:42:29 UTC 2024 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: Bump required version (mkflagvar). To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/m68k/conf/files.m68k Pl

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

2024-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 18 05:42:29 UTC 2024 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: Bump required version (mkflagvar). To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/m68k/conf/files.m68k Pl

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

2024-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 18 05:04:13 UTC 2024 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: mkflagvar M68010 M68020 M68030 M68040 M68060 To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/m68k/conf/file

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

2024-01-17 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Jan 18 05:04:13 UTC 2024 Modified Files: src/sys/arch/m68k/conf: files.m68k Log Message: mkflagvar M68010 M68020 M68030 M68040 M68060 To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/m68k/conf/file

CVS commit: src/sys/arch/m68k/m68k

2024-01-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 17 05:41:57 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: switch_subr.s Log Message: cpu_switchto(): No need for the pmap_activate() dance here; it's already done for us in mi_switch(). To generate a diff of this com

CVS commit: src/sys/arch/m68k/m68k

2024-01-16 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 17 05:41:57 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: switch_subr.s Log Message: cpu_switchto(): No need for the pmap_activate() dance here; it's already done for us in mi_switch(). To generate a diff of this com

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

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jan 16 05:29:44 UTC 2024 Modified Files: src/sys/arch/m68k/include: psl.h Log Message: Provide PSLTOIPL() and IPLTOPSL() macros. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/m68k/include/psl.h

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

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jan 16 05:29:44 UTC 2024 Modified Files: src/sys/arch/m68k/include: psl.h Log Message: Provide PSLTOIPL() and IPLTOPSL() macros. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/m68k/include/psl.h

CVS commit: src/sys/arch/m68k/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jan 16 02:36:49 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Add a hook to allow a platform to suppress reporting stray auto-vectored interrupts. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/m68k/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jan 16 02:36:49 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Add a hook to allow a platform to suppress reporting stray auto-vectored interrupts. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/m68k/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jan 16 02:14:33 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: m68k_intr.c m68k_intr_stubs.s Log Message: Increment and decrement idepth in the assembly stubs, not C code. This provides two advantages: - Greater coverage f

CVS commit: src/sys/arch/m68k/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jan 16 02:14:33 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: m68k_intr.c m68k_intr_stubs.s Log Message: Increment and decrement idepth in the assembly stubs, not C code. This provides two advantages: - Greater coverage f

CVS commit: src/sys/arch/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jan 16 01:16:47 UTC 2024 Modified Files: src/sys/arch/m68k/include: intr.h src/sys/arch/m68k/m68k: m68k_intr.c m68k_intr_stubs.s Log Message: - Declare idepth as volatile. - Provide a m68k_intrvec_intrhand() routine t

CVS commit: src/sys/arch/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue Jan 16 01:16:47 UTC 2024 Modified Files: src/sys/arch/m68k/include: intr.h src/sys/arch/m68k/m68k: m68k_intr.c m68k_intr_stubs.s Log Message: - Declare idepth as volatile. - Provide a m68k_intrvec_intrhand() routine t

CVS commit: src/sys/arch/m68k/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 15 19:27:16 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Insert a spurious interrupt handler at auto-vector IPL 0 that simply abosrbs them. They'll get counted during the normal course of aut

CVS commit: src/sys/arch/m68k/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 15 19:27:16 UTC 2024 Modified Files: src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Insert a spurious interrupt handler at auto-vector IPL 0 that simply abosrbs them. They'll get counted during the normal course of aut

CVS commit: src/sys/arch/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 15 17:12:00 UTC 2024 Modified Files: src/sys/arch/m68k/include: intr.h src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Use evcnt to count interrupts for the non-__HAVE_LEGACY_INTRCNT case. To generate a diff of

CVS commit: src/sys/arch/m68k

2024-01-15 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 15 17:12:00 UTC 2024 Modified Files: src/sys/arch/m68k/include: intr.h src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Use evcnt to count interrupts for the non-__HAVE_LEGACY_INTRCNT case. To generate a diff of

CVS commit: src/sys/arch/m68k

2024-01-14 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 15 02:13:16 UTC 2024 Modified Files: src/sys/arch/m68k/include: intr.h src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Add the "ISR priority" notion that's used on some m68k platforms: /* * Some d

CVS commit: src/sys/arch/m68k

2024-01-14 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Jan 15 02:13:16 UTC 2024 Modified Files: src/sys/arch/m68k/include: intr.h src/sys/arch/m68k/m68k: m68k_intr.c Log Message: Add the "ISR priority" notion that's used on some m68k platforms: /* * Some d

  1   2   3   >