CVS commit: src/sys/arch/sparc64/sparc64

2019-01-30 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Wed Jan 30 10:11:11 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: netbsd32_machdep_13.c Log Message: Make this compile with "options DEBUG". To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-09 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Jan 9 10:42:27 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: cache.h Log Message: avoid function param names in prototypes. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-09 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Jan 9 10:42:27 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: cache.h Log Message: avoid function param names in prototypes. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 7 13:10:44 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: When writing a kernel core dump, display the countdown w/o timestamps. To generate a diff of this commit: cvs rdiff -u -r1.290

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 7 13:10:44 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: When writing a kernel core dump, display the countdown w/o timestamps. To generate a diff of this commit: cvs rdiff -u -r1.290

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-05 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jan 5 15:46:02 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Remove debugging leftover, pointed out by mrg To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-05 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jan 5 15:46:02 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Remove debugging leftover, pointed out by mrg To generate a diff of this commit: cvs rdiff -u -r1.214 -r1.215

re: CVS commit: src/sys/arch/sparc64/sparc64

2019-01-04 Thread matthew green
"Martin Husemann" writes: > Module Name: src > Committed By: martin > Date: Fri Jan 4 16:25:06 UTC 2019 > > Modified Files: > src/sys/arch/sparc64/sparc64: autoconf.c > > Log Message: > PR port-sparc64/53830: adapt QEMU workarounds to newer OpenBIOS device > tree layout. why

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-04 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jan 4 16:25:06 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: PR port-sparc64/53830: adapt QEMU workarounds to newer OpenBIOS device tree layout. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/sparc64/sparc64

2019-01-04 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jan 4 16:25:06 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: PR port-sparc64/53830: adapt QEMU workarounds to newer OpenBIOS device tree layout. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/sparc64/sparc64

2018-11-29 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Nov 29 20:58:36 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: sun4v: fix incorrect calculation of phys addr for the mdesc - now the virtual-devices can (again) be detected (worked previously...)

CVS commit: src/sys/arch/sparc64/sparc64

2018-11-29 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Nov 29 20:58:36 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: sun4v: fix incorrect calculation of phys addr for the mdesc - now the virtual-devices can (again) be detected (worked previously...)

CVS commit: src/sys/arch/sparc64/sparc64

2018-11-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Nov 4 20:02:07 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Ensure that the 64-bit condition codes are used instead of the 32-bit condition codes. ok martin@ To generate a diff of this

CVS commit: src/sys/arch/sparc64/sparc64

2018-11-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Nov 4 20:02:07 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Ensure that the 64-bit condition codes are used instead of the 32-bit condition codes. ok martin@ To generate a diff of this

CVS commit: src/sys/arch/sparc64/sparc64

2018-05-26 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat May 26 19:20:21 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: next_stick() - fix typy in comment: tick->stick To generate a diff of this commit: cvs rdiff -u -r1.413 -r1.414

CVS commit: src/sys/arch/sparc64/sparc64

2018-05-26 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat May 26 19:20:21 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: next_stick() - fix typy in comment: tick->stick To generate a diff of this commit: cvs rdiff -u -r1.413 -r1.414

CVS commit: src/sys/arch/sparc64/sparc64

2018-04-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Apr 11 19:41:18 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: handle MMU-related traps properly when they occur at trap level 1. This fixes issues when user-level LWPs access the

CVS commit: src/sys/arch/sparc64/sparc64

2018-04-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Apr 11 19:41:18 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: handle MMU-related traps properly when they occur at trap level 1. This fixes issues when user-level LWPs access the

CVS commit: src/sys/arch/sparc64/sparc64

2018-01-19 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Jan 19 12:47:42 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: sun4v doesn't have %ver register. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134

CVS commit: src/sys/arch/sparc64/sparc64

2018-01-19 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Jan 19 12:47:42 UTC 2018 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: sun4v doesn't have %ver register. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134

CVS commit: src/sys/arch/sparc64/sparc64

2017-09-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Sep 16 09:05:07 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: svr4_machdep.c Log Message: Make debug code compile To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

CVS commit: src/sys/arch/sparc64/sparc64

2017-09-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Sep 16 09:05:07 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: svr4_machdep.c Log Message: Make debug code compile To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

CVS commit: src/sys/arch/sparc64/sparc64

2017-09-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Sep 16 08:46:06 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: svr4_32_machdep.c Log Message: Redo previous with the proper macros To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/arch/sparc64/sparc64

2017-09-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Sep 16 08:46:06 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: svr4_32_machdep.c Log Message: Redo previous with the proper macros To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/arch/sparc64/sparc64

2017-09-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Sep 15 18:28:53 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: svr4_32_machdep.c Log Message: Make DEBUG code compile again. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/sys/arch/sparc64/sparc64

2017-09-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Sep 15 18:28:53 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: svr4_32_machdep.c Log Message: Make DEBUG code compile again. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/sys/arch/sparc64/sparc64

2017-09-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Sep 15 13:27:53 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: If the bootloader passes us information about the boot device lun/target/ and wwn, use those to properly match the boot device. If

CVS commit: src/sys/arch/sparc64/sparc64

2017-09-15 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Sep 15 13:27:53 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: If the bootloader passes us information about the boot device lun/target/ and wwn, use those to properly match the boot device. If

re: CVS commit: src/sys/arch/sparc64/sparc64

2017-08-27 Thread matthew green
"Palle Lyckegaard" writes: > Module Name: src > Committed By: palle > Date: Sun Aug 27 19:31:44 UTC 2017 > > Modified Files: > src/sys/arch/sparc64/sparc64: cpu.c > > Log Message: > sun4v: Change clk and sclk variables to unsigned type so modern faster > systems with CPU

CVS commit: src/sys/arch/sparc64/sparc64

2017-08-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Aug 27 19:31:44 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: sun4v: Change clk and sclk variables to unsigned type so modern faster systems with CPU frequencies above 2 Ghz are shown correctly.

CVS commit: src/sys/arch/sparc64/sparc64

2017-08-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Aug 27 19:31:44 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: sun4v: Change clk and sclk variables to unsigned type so modern faster systems with CPU frequencies above 2 Ghz are shown correctly.

CVS commit: src/sys/arch/sparc64/sparc64

2017-08-26 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Aug 26 20:25:00 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Avoid touching the %tick_cmpr register which is not present on never systems (Oracle SPARC Architecture 2011 and beyond).

CVS commit: src/sys/arch/sparc64/sparc64

2017-08-26 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Aug 26 20:25:00 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Avoid touching the %tick_cmpr register which is not present on never systems (Oracle SPARC Architecture 2011 and beyond).

CVS commit: src/sys/arch/sparc64/sparc64

2017-08-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 22 09:12:49 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: compat_13_machdep.c Log Message: Apply only CCR. Otherwise userland could set PSTATE_PRIV in %pstate and get kernel privileges on the hardware. ok martin

CVS commit: src/sys/arch/sparc64/sparc64

2017-08-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 22 09:12:49 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: compat_13_machdep.c Log Message: Apply only CCR. Otherwise userland could set PSTATE_PRIV in %pstate and get kernel privileges on the hardware. ok martin

CVS commit: src/sys/arch/sparc64/sparc64

2017-05-06 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat May 6 21:46:31 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: The %ver register is not available on sun4v - use GET_MAXCWP introduced in rev. 1.361. Verified using qemu (sun4u and sun4v)

CVS commit: src/sys/arch/sparc64/sparc64

2017-05-06 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat May 6 21:46:31 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: The %ver register is not available on sun4v - use GET_MAXCWP introduced in rev. 1.361. Verified using qemu (sun4u and sun4v)

CVS commit: src/sys/arch/sparc64/sparc64

2017-04-18 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Apr 18 20:02:50 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Add handling of trap 0x06c @ trap level 1 - based on code from OpenBSD, but slightly adapted to NetBSD. verified using qemu

CVS commit: src/sys/arch/sparc64/sparc64

2017-04-18 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Apr 18 20:02:50 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Add handling of trap 0x06c @ trap level 1 - based on code from OpenBSD, but slightly adapted to NetBSD. verified using qemu

CVS commit: src/sys/arch/sparc64/sparc64

2017-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 26 12:59:29 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Simplify boot device detection for ld @ virtio To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.211

CVS commit: src/sys/arch/sparc64/sparc64

2017-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 26 12:59:29 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Simplify boot device detection for ld @ virtio To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.211

CVS commit: src/sys/arch/sparc64/sparc64

2017-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 26 10:36:46 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Use new accessor to get the PCI attach args from a virtio device. To generate a diff of this commit: cvs rdiff -u -r1.209

CVS commit: src/sys/arch/sparc64/sparc64

2017-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 26 10:36:46 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Use new accessor to get the PCI attach args from a virtio device. To generate a diff of this commit: cvs rdiff -u -r1.209

CVS commit: src/sys/arch/sparc64/sparc64

2017-03-25 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Mar 25 13:08:38 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Add boot device recognition for ld @ virtio. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209

CVS commit: src/sys/arch/sparc64/sparc64

2017-03-25 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Mar 25 13:08:38 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Add boot device recognition for ld @ virtio. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209

CVS commit: src/sys/arch/sparc64/sparc64

2017-02-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 19 18:25:45 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: rft_user needs special handling (a manual fill) since the restore instruction may cause the number of trap levels to exceed

CVS commit: src/sys/arch/sparc64/sparc64

2017-02-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 19 18:25:45 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: rft_user needs special handling (a manual fill) since the restore instruction may cause the number of trap levels to exceed

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

2017-02-12 Thread Palle Lyckegaard
fixed thanks On Sun, 12 Feb 2017, Takeshi Nakayama wrote: Date: Sun, 12 Feb 2017 04:28:58 From: Takeshi Nakayama <nakay...@netbsd.org> To: source-changes-d@NetBSD.org, pa...@netbsd.org Subject: Re: CVS commit: src/sys/arch/sparc64/sparc64 "Palle Lyckegaard" <pa..

CVS commit: src/sys/arch/sparc64/sparc64

2017-02-12 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 12 19:35:54 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: sun4v: Revert previous - paddr_t is not a pointer... noted by nakayama@ To generate a diff of this commit: cvs rdiff -u -r1.187

CVS commit: src/sys/arch/sparc64/sparc64

2017-02-12 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 12 19:35:54 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: sun4v: Revert previous - paddr_t is not a pointer... noted by nakayama@ To generate a diff of this commit: cvs rdiff -u -r1.187

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

2017-02-11 Thread Takeshi Nakayama
>>> "Palle Lyckegaard" wrote > Module Name: src > Committed By: palle > Date: Sat Feb 11 23:41:36 UTC 2017 > > Modified Files: > src/sys/arch/sparc64/sparc64: trap.c > > Log Message: > sun4v: Fix calculation of mmu data fault address (pointer arithmetic)

CVS commit: src/sys/arch/sparc64/sparc64

2017-02-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 11 23:41:36 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: sun4v: Fix calculation of mmu data fault address (pointer arithmetic) To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187

CVS commit: src/sys/arch/sparc64/sparc64

2017-02-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 11 23:41:36 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: sun4v: Fix calculation of mmu data fault address (pointer arithmetic) To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187

CVS commit: src/sys/arch/sparc64/sparc64

2017-02-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Feb 11 21:04:29 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: make this compile again. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/sys/arch/sparc64/sparc64/trap.c

CVS commit: src/sys/arch/sparc64/sparc64

2017-02-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Feb 11 21:04:29 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: make this compile again. To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/sys/arch/sparc64/sparc64/trap.c

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jan 30 21:24:33 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Hook up syscall handling to the trap table. Verified using qemu for both sun4u and sun4v. To generate a diff of this

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jan 30 21:24:33 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Hook up syscall handling to the trap table. Verified using qemu for both sun4u and sun4v. To generate a diff of this

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jan 27 21:35:38 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf locore.s Log Message: sun4v: implement missing handling of itsb traps 0x008 and 0x009. Based on code from OpenBSD. Tested using qemu. To

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jan 27 21:35:38 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf locore.s Log Message: sun4v: implement missing handling of itsb traps 0x008 and 0x009. Based on code from OpenBSD. Tested using qemu. To

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-09 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 9 12:24:38 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: process_machdep.c Log Message: Do not use kmem_zalloc() to allocate an FP state - we have a special pool for that. To generate a diff of this commit:

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-09 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jan 9 12:24:38 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: process_machdep.c Log Message: Do not use kmem_zalloc() to allocate an FP state - we have a special pool for that. To generate a diff of this commit:

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-07 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jan 7 20:19:09 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: slowtrap() now selects normal globals properly on both sun4u and sun4v platforms. Verified using qemu for both sun4u and

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-07 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jan 7 20:19:09 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: slowtrap() now selects normal globals properly on both sun4u and sun4v platforms. Verified using qemu for both sun4u and

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jan 5 20:37:06 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: TRAP_SETUP() updated to set mmu context id properly for both sun4v and sun4u platforms. Verified using qemu for both sun4u

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jan 5 20:37:06 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: TRAP_SETUP() updated to set mmu context id properly for both sun4v and sun4u platforms. Verified using qemu for both sun4u

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jan 4 20:19:29 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: make debugging kernel bringup a bit easier by using the slowtrap code path for currently unhandled trap level 1 trap entries

CVS commit: src/sys/arch/sparc64/sparc64

2017-01-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jan 4 20:19:29 UTC 2017 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: make debugging kernel bringup a bit easier by using the slowtrap code path for currently unhandled trap level 1 trap entries

CVS commit: src/sys/arch/sparc64/sparc64

2016-12-29 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Dec 29 20:59:31 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: make debugging kernel bringup a bit easier by using the slowtrap code path for currently unhandled trap level 1 trap entries

CVS commit: src/sys/arch/sparc64/sparc64

2016-12-29 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Dec 29 20:59:31 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: make debugging kernel bringup a bit easier by using the slowtrap code path for currently unhandled trap level 1 trap entries

CVS commit: src/sys/arch/sparc64/sparc64

2016-11-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 4 18:09:14 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: allow BUS_SPACE_MAP_PREFETCHABLE with bus_space_map() as well To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287

CVS commit: src/sys/arch/sparc64/sparc64

2016-11-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 4 18:09:14 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: allow BUS_SPACE_MAP_PREFETCHABLE with bus_space_map() as well To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287

CVS commit: src/sys/arch/sparc64/sparc64

2016-09-20 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Tue Sep 20 08:56:34 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Fix RAS for 32-bit kernels. trapframe is always 64-bit. To generate a diff of this commit: cvs rdiff -u -r1.400 -r1.401

CVS commit: src/sys/arch/sparc64/sparc64

2016-09-20 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Tue Sep 20 08:56:34 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Fix RAS for 32-bit kernels. trapframe is always 64-bit. To generate a diff of this commit: cvs rdiff -u -r1.400 -r1.401

CVS commit: src/sys/arch/sparc64/sparc64

2016-08-29 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Aug 29 15:57:07 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: kobj_machdep.c Log Message: The target of the OLO10 relocation is the simd13 field of the instruction, so use a 13 bit target mask. Fixes PR kern/51436 (I

CVS commit: src/sys/arch/sparc64/sparc64

2016-08-29 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Aug 29 15:57:07 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: kobj_machdep.c Log Message: The target of the OLO10 relocation is the simd13 field of the instruction, so use a 13 bit target mask. Fixes PR kern/51436 (I

CVS commit: src/sys/arch/sparc64/sparc64

2016-08-23 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Aug 23 19:57:01 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: rework sun4v_datatrap so it works properly when running on a T2-based system like T5120 - for some reason %tl is 0 when

CVS commit: src/sys/arch/sparc64/sparc64

2016-08-23 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Aug 23 19:57:01 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: rework sun4v_datatrap so it works properly when running on a T2-based system like T5120 - for some reason %tl is 0 when

CVS commit: src/sys/arch/sparc64/sparc64

2016-08-07 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Aug 7 19:35:43 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: copy.S Log Message: Make comment more readable - no functional changes To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/sparc64/sparc64

2016-08-07 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Aug 7 19:35:43 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: copy.S Log Message: Make comment more readable - no functional changes To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/sparc64/sparc64

2016-07-18 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jul 18 19:51:06 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: handle device interrupts properly - both legacy (sysino) and cookies To generate a diff of this commit: cvs rdiff -u -r1.398

CVS commit: src/sys/arch/sparc64/sparc64

2016-07-18 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jul 18 19:51:06 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: handle device interrupts properly - both legacy (sysino) and cookies To generate a diff of this commit: cvs rdiff -u -r1.398

CVS commit: src/sys/arch/sparc64/sparc64

2016-06-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jun 4 21:24:41 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: rtf_user now uses macros GET_MMU_CONTEXTID and SET_MMU_CONTEXTID. Tested on sun4u (QEMU) and sun4v (T2000). Parts from

CVS commit: src/sys/arch/sparc64/sparc64

2016-06-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jun 4 21:24:41 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: rtf_user now uses macros GET_MMU_CONTEXTID and SET_MMU_CONTEXTID. Tested on sun4u (QEMU) and sun4v (T2000). Parts from

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-18 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed May 18 15:14:08 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Decrement %tl in trap handler not to make it zero unconditionally for the nested trap, and remove useless mov. To generate a

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-18 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed May 18 15:14:08 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Decrement %tl in trap handler not to make it zero unconditionally for the nested trap, and remove useless mov. To generate a

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue May 17 19:43:28 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf locore.s Log Message: sun4v: Implement missng MMU protection trap handling - mostly from OpenBSD To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue May 17 19:43:28 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf locore.s Log Message: sun4v: Implement missng MMU protection trap handling - mostly from OpenBSD To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-16 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon May 16 20:03:07 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf locore.s mp_subr.S Log Message: Avoid assembler-specific defines by using the export keyword in genassym.cf instead To generate a diff of

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-16 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon May 16 20:03:07 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf locore.s mp_subr.S Log Message: Avoid assembler-specific defines by using the export keyword in genassym.cf instead To generate a diff of

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-15 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sun May 15 23:54:58 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: %g1 is not preserved across function call, so load it before return_from_trap. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-15 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sun May 15 23:54:58 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: %g1 is not preserved across function call, so load it before return_from_trap. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri May 13 21:48:15 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: add missing implementation of sun4v_datatrap_tl0 so data_access_fault() is called - mostly from OpenBSD To generate a diff

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri May 13 21:48:15 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: add missing implementation of sun4v_datatrap_tl0 so data_access_fault() is called - mostly from OpenBSD To generate a diff

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri May 13 21:24:11 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: intr.c Log Message: Interrupt handlers are now allocated by kmem_zalloc(9), so free them by kmem_free(9). To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri May 13 21:24:11 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: intr.c Log Message: Interrupt handlers are now allocated by kmem_zalloc(9), so free them by kmem_free(9). To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri May 13 21:23:30 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: clock.c Log Message: Allocate interrupt handlers for clockintr and statintr dynamically. To generate a diff of this commit: cvs rdiff -u -r1.118

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri May 13 21:23:30 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: clock.c Log Message: Allocate interrupt handlers for clockintr and statintr dynamically. To generate a diff of this commit: cvs rdiff -u -r1.118

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri May 13 21:21:43 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: Fixed typo in comment + reorder parameters for trap debug output to match function prototype for data_access_fault() To generate a

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri May 13 21:21:43 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: Fixed typo in comment + reorder parameters for trap debug output to match function prototype for data_access_fault() To generate a

CVS commit: src/sys/arch/sparc64/sparc64

2016-05-13 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri May 13 21:21:25 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: - ci_paddr is always 64-bit. - intrlev is array of pointer. - ih_ack is pointer. To generate a diff of this commit: cvs rdiff -u

<    1   2   3   4   5   6   7   >