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

2019-02-14 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Feb 14 20:09:40 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: sun4v: add debug printout for ALIGN trap To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 20:34:23 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Improve comment for next_stick_init() - no functional changes To generate a diff of this commit: cvs rdiff -u -r1.418

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 20:34:23 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Improve comment for next_stick_init() - no functional changes To generate a diff of this commit: cvs rdiff -u -r1.418

CVS commit: src/sys/arch/sparc64

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 20:14:51 UTC 2019 Modified Files: src/sys/arch/sparc64/include: cpu.h src/sys/arch/sparc64/sparc64: clock.c locore.s Log Message: sun4v: initialize %stickcmpr properly when establishing interrupt - fixes issue

CVS commit: src/sys/arch/sparc64

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 20:14:51 UTC 2019 Modified Files: src/sys/arch/sparc64/include: cpu.h src/sys/arch/sparc64/sparc64: clock.c locore.s Log Message: sun4v: initialize %stickcmpr properly when establishing interrupt - fixes issue

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 20:09:24 UTC 2019 Modified Files: src/sys/arch/sparc64/include: psl.h Log Message: Introduce getstickcmpr() function To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/sparc64/include/psl.h

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 20:09:24 UTC 2019 Modified Files: src/sys/arch/sparc64/include: psl.h Log Message: Introduce getstickcmpr() function To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/sparc64/include/psl.h

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 19:55:40 UTC 2019 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update the TODO file noting (at least) some progess with sun4v To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 19:55:40 UTC 2019 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update the TODO file noting (at least) some progess with sun4v To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 19:45:24 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: introduce macros for handling spill traps from userlevevel @ traplevel 1 (from OpenBSD) - spill traps at level 1 from

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 19:45:24 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: introduce macros for handling spill traps from userlevevel @ traplevel 1 (from OpenBSD) - spill traps at level 1 from

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 19:26:25 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: add comment documenting the contents of the %g2 register - no functional changes To generate a diff of this commit: cvs

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

2019-02-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 8 19:26:25 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: add comment documenting the contents of the %g2 register - no functional changes To generate a diff of this commit: cvs

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

2018-12-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Dec 17 20:13:46 UTC 2018 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: note what causes the kernel to crash To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/sparc64/doc/TODO

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

2018-12-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Dec 17 20:13:46 UTC 2018 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: note what causes the kernel to crash To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/sparc64/doc/TODO

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/doc

2018-10-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Oct 5 19:53:47 UTC 2018 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO with proper path to sh + list tested platforms so far To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

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

2018-10-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Oct 5 19:53:47 UTC 2018 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO with proper path to sh + list tested platforms so far To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

CVS commit: src/tools/compat

2018-09-09 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Sep 9 19:17:21 UTC 2018 Modified Files: src/tools/compat: README Log Message: Add instructions for building NetBSD on modern Solaris 11 hosts To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

CVS commit: src/tools/compat

2018-09-09 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Sep 9 19:17:21 UTC 2018 Modified Files: src/tools/compat: README Log Message: Add instructions for building NetBSD on modern Solaris 11 hosts To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13

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/doc

2018-04-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Apr 11 19:44:47 UTC 2018 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Update TODO file with current state of sun4v support To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

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

2018-04-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Apr 11 19:44:47 UTC 2018 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Update TODO file with current state of sun4v support To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

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/sparc/include

2018-04-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Apr 11 19:37:58 UTC 2018 Modified Files: src/sys/arch/sparc/include: frame.h Log Message: Fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc/include/frame.h Please note that

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

2018-04-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Apr 11 19:37:58 UTC 2018 Modified Files: src/sys/arch/sparc/include: frame.h Log Message: Fix typo in comment To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc/include/frame.h Please note that

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

2018-02-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 3 21:45:54 UTC 2018 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Update TODO with a detailed description of why the kernel crashes when running on sun4v systems. To generate a diff of this commit:

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

2018-02-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 3 21:45:54 UTC 2018 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Update TODO with a detailed description of why the kernel crashes when running on sun4v systems. To generate a diff of this commit:

CVS commit: src/sys/arch

2017-09-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Sep 11 19:25:07 UTC 2017 Modified Files: src/sys/arch/sparc/include: promlib.h src/sys/arch/sparc/sparc: promlib.c src/sys/arch/sparc64/include: autoconf.h src/sys/arch/sparc64/sparc64: autoconf.c cpu.c

CVS commit: src/sys/arch

2017-09-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Sep 11 19:25:07 UTC 2017 Modified Files: src/sys/arch/sparc/include: promlib.h src/sys/arch/sparc/sparc: promlib.c src/sys/arch/sparc64/include: autoconf.h src/sys/arch/sparc64/sparc64: autoconf.c cpu.c

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-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/dev

2017-03-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Mar 3 21:09:25 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: ldc.c vdsk.c Log Message: sun4v: Fixed PR 51554 - Avoid unsafe allocation in ldc/vdsk To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2017-03-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Mar 3 21:09:25 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: ldc.c vdsk.c Log Message: sun4v: Fixed PR 51554 - Avoid unsafe allocation in ldc/vdsk To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2017-02-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 19 18:30:05 UTC 2017 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Update TODO with the status of the sun4v work so far To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

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

2017-02-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 19 18:30:05 UTC 2017 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Update TODO with the status of the sun4v work so far To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

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

2017-02-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 19 18:27:13 UTC 2017 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Note that the code recently added to locore.s rft_user may not be enough to make things work properly To generate a diff of this

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

2017-02-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 19 18:27:13 UTC 2017 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Note that the code recently added to locore.s rft_user may not be enough to make things work properly To generate a diff of this

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

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

2017-02-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 19 18:07:12 UTC 2017 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Note that prom_getprop() leaks memory in vbus.c To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

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

2017-02-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 19 18:07:12 UTC 2017 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Note that prom_getprop() leaks memory in vbus.c To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

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

2017-02-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 17 20:53:17 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: vbus.c Log Message: sun4v: Fix potential memory leaks - spotted by maxv@ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2017-02-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 17 20:53:17 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: vbus.c Log Message: sun4v: Fix potential memory leaks - spotted by maxv@ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

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

2017-02-10 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 10 23:26:23 UTC 2017 Modified Files: src/sys/arch/sparc64/include: cpu.h hypervisor.h src/sys/arch/sparc64/sparc64: cpu.c genassym.cf locore.s pmap.c trap.c Log Message: sun4v: Added handling of trap type 0x034

CVS commit: src/sys/arch/sparc64

2017-02-10 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Feb 10 23:26:23 UTC 2017 Modified Files: src/sys/arch/sparc64/include: cpu.h hypervisor.h src/sys/arch/sparc64/sparc64: cpu.c genassym.cf locore.s pmap.c trap.c Log Message: sun4v: Added handling of trap type 0x034

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

2017-02-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 5 20:08:35 UTC 2017 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO list to reflect the current state - TRAP_SETUP() was adapted to handle both sun4u and sun4v systems in version 1.404 of

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

2017-02-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 5 20:08:35 UTC 2017 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO list to reflect the current state - TRAP_SETUP() was adapted to handle both sun4u and sun4v systems in version 1.404 of

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-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-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/dev

2016-08-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Aug 19 19:40:27 UTC 2016 Added Files: src/sys/arch/sparc64/dev: viovar.h Log Message: sun4v: vdsk and ldc drivers - from OpenBSD, but heavily adapted to NetBSD scsipi - access to a virtual disk served from a ldom primary

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

2016-08-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Aug 19 19:40:27 UTC 2016 Added Files: src/sys/arch/sparc64/dev: viovar.h Log Message: sun4v: vdsk and ldc drivers - from OpenBSD, but heavily adapted to NetBSD scsipi - access to a virtual disk served from a ldom primary

CVS commit: src/sys/arch/sparc64

2016-08-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Aug 19 19:02:07 UTC 2016 Modified Files: src/sys/arch/sparc64/conf: GENERIC files.sparc64 src/sys/arch/sparc64/doc: TODO src/sys/arch/sparc64/sparc64: autoconf.c Added Files: src/sys/arch/sparc64/dev:

CVS commit: src/sys/arch/sparc64

2016-08-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Aug 19 19:02:07 UTC 2016 Modified Files: src/sys/arch/sparc64/conf: GENERIC files.sparc64 src/sys/arch/sparc64/doc: TODO src/sys/arch/sparc64/sparc64: autoconf.c Added Files: src/sys/arch/sparc64/dev:

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/share/man/man9

2016-07-29 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jul 29 19:27:45 UTC 2016 Modified Files: src/share/man/man9: scsipi.9 Log Message: scsipi(9): Removed duplicate "for" To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/share/man/man9/scsipi.9 Please note

CVS commit: src/share/man/man9

2016-07-29 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jul 29 19:27:45 UTC 2016 Modified Files: src/share/man/man9: scsipi.9 Log Message: scsipi(9): Removed duplicate "for" To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/share/man/man9/scsipi.9 Please note

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/dev

2016-07-18 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jul 18 19:32:44 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: cbus.c Log Message: sun4v: reset cbus debug back to zero To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc64/dev/cbus.c Please

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

2016-07-18 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jul 18 19:32:44 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: cbus.c Log Message: sun4v: reset cbus debug back to zero To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sparc64/dev/cbus.c Please

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

2016-06-25 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jun 25 13:52:04 UTC 2016 Modified Files: src/sys/arch/sparc64/include: cpu.h Log Message: sun4v: fix previous fix - no need to protect "struct inthand" with "#if defined(_KERNEL)" + use proper include file name -

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

2016-06-25 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jun 25 13:52:04 UTC 2016 Modified Files: src/sys/arch/sparc64/include: cpu.h Log Message: sun4v: fix previous fix - no need to protect "struct inthand" with "#if defined(_KERNEL)" + use proper include file name -

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

2016-06-23 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jun 23 20:32:40 UTC 2016 Modified Files: src/sys/arch/sparc64/include: cpu.h Log Message: sun4v: Fix build issue introduced in previous commit - bus stuff is kernel only, so protect this with _KERNEL To generate a diff of

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

2016-06-23 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jun 23 20:32:40 UTC 2016 Modified Files: src/sys/arch/sparc64/include: cpu.h Log Message: sun4v: Fix build issue introduced in previous commit - bus stuff is kernel only, so protect this with _KERNEL To generate a diff of

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

2016-06-23 Thread Palle Lyckegaard
On Wed, 22 Jun 2016, Palle Lyckegaard wrote: Date: Wed, 22 Jun 2016 20:13:00 From: Palle Lyckegaard <pa...@netbsd.org> Reply-To: source-changes-d@NetBSD.org To: source-chan...@netbsd.org Subject: CVS commit: src/sys/arch/sparc64 Module Name:src Committed By: palle Date: W

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

2016-06-22 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jun 22 20:13:51 UTC 2016 Added Files: src/sys/arch/sparc64/dev: cbus.c cbusvar.h Log Message: sun4v: add cbus driver - from OpenBSD To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/sparc64/dev/cbus.c \

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

2016-06-22 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jun 22 20:13:51 UTC 2016 Added Files: src/sys/arch/sparc64/dev: cbus.c cbusvar.h Log Message: sun4v: add cbus driver - from OpenBSD To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/sparc64/dev/cbus.c \

CVS commit: src/sys/arch/sparc64

2016-06-22 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jun 22 20:13:00 UTC 2016 Modified Files: src/sys/arch/sparc64/conf: GENERIC files.sparc64 src/sys/arch/sparc64/include: cpu.h mdesc.h Log Message: sun4v: add cbus driver - from OpenBSD To generate a diff of this

CVS commit: src/sys/arch/sparc64

2016-06-22 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jun 22 20:13:00 UTC 2016 Modified Files: src/sys/arch/sparc64/conf: GENERIC files.sparc64 src/sys/arch/sparc64/include: cpu.h mdesc.h Log Message: sun4v: add cbus driver - from OpenBSD To generate a diff of this

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

2016-06-21 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Jun 21 20:36:02 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: vbus.c Log Message: sun4v: vbus_attach() bugfix - use device_private() To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

<    1   2   3   4   5   >