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

2021-07-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jul 5 16:59:54 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update status on S7 systems To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/sparc64/doc/TODO Please note

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

2021-07-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jul 3 19:39:07 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: sun4v: request hypervisor api major version 3 for the interrupt group - should solve issues when setting up interrupts on S7 system

CVS commit: src/sys/arch/sparc64

2021-07-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jul 3 19:18:56 UTC 2021 Modified Files: src/sys/arch/sparc64/include: hypervisor.h sparc64.h src/sys/arch/sparc64/sparc64: autoconf.c intr.c ofw_machdep.c Log Message: sun4v: add support for hypervisor soft state - fro

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

2021-06-25 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jun 25 19:13:12 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO file with current sun4v progress To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/arch/sparc64/doc/T

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

2021-06-25 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jun 25 19:10:50 UTC 2021 Modified Files: src/sys/arch/sparc64/dev: vdsk.c Log Message: sun4v: vdsk - restart the ldc state machine when the ldc endpoint resets the link or a DATA/NACK/DRING_DATA message is received. These chan

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

2021-06-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jun 13 17:02:14 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO file with current sun4v state To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/sparc64/doc/TODO

CVS commit: src/sys/arch/sparc64

2021-04-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Apr 27 19:09:56 UTC 2021 Modified Files: src/sys/arch/sparc64/include: hypervisor.h src/sys/arch/sparc64/sparc64: hvcall.S Log Message: sun4v: add missing method to set hypervisor api version + add defintion for the in

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

2021-04-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Apr 5 12:19:22 UTC 2021 Modified Files: src/sys/arch/sparc64/dev: ldc.c Log Message: sun4v: Ignore spurious ldc CTRL/ACK/VERS messages (do not reset the connection anymore). Fixes occationals stalls when vdsk uses the ldc ser

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

2021-04-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Apr 3 17:02:32 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: update TODO after cpu_idle() has been improved (sun4v only for now) To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/ar

CVS commit: src/sys/arch/sparc64

2021-04-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Apr 3 17:01:24 UTC 2021 Modified Files: src/sys/arch/sparc64/include: cpu.h src/sys/arch/sparc64/sparc64: cpu.c genassym.cf locore.s Log Message: Improve cpu_idle() by allowing a platform specific implementaion (same l

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

2021-03-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Mar 30 20:23:45 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO after pcb spill improvements and status when running on a S7 host To generate a diff of this commit: cvs rdiff -u -r1.39

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

2021-03-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Mar 30 20:03:15 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: handle spill trap properly when trap level is 1 and otherwin is non-zero - ensure that all windows are spilled to the pcb like

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

2021-03-23 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Mar 23 19:13:46 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO with findings related to crashes in user processes (pcbspill) To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.

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

2021-03-16 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Mar 16 20:11:30 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO - update status after hacking on ldom virtual network interfaces To generate a diff of this commit: cvs rdiff -u -r1.37

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

2021-03-15 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Mar 15 18:44:05 UTC 2021 Modified Files: src/sys/arch/sparc64/dev: vnet.c Log Message: sun4v: vnet - cleanup of debug code (no functional changes) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/sparc

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

2021-03-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Mar 13 20:21:37 UTC 2021 Modified Files: src/sys/arch/sparc64/dev: vnet.c Log Message: sun4v: vnet - reception and transmission of eternet frames seems to work now (it is possible to ping 8.8.8.8 from inside a sun4v ldom). Sti

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

2021-03-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Mar 11 19:34:11 UTC 2021 Modified Files: src/sys/arch/sparc64/dev: vnet.c Log Message: sun4v: vnet - reception of ethernet frames seems to work now (WIP and code is still full of debug code) To generate a diff of this commi

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

2021-03-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Mar 4 20:59:39 UTC 2021 Modified Files: src/sys/arch/sparc64/dev: vnet.c Log Message: sun4v: add vnet driver from openbsd - compiles but probably does not work yet - still WIP (now with NetBSD cvs tag and compiles for 32-bit

CVS commit: src/sys/arch/sparc64

2021-03-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Mar 4 20:17:00 UTC 2021 Modified Files: src/sys/arch/sparc64/conf: GENERIC files.sparc64 Added Files: src/sys/arch/sparc64/dev: vnet.c Log Message: sun4v: add vnet driver from openbsd - compiles but probably does not w

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

2021-03-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Mar 4 20:00:51 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO - removed leftover OpenFirmware interface comment and add comment on idle handling To generate a diff of this commit: cv

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

2021-02-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 27 18:29:38 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO file with OpenFirmware interface related improvements To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/s

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

2021-02-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 27 18:19:57 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO file with status on sun4v - kernel and userland runs without crashing now - next up is network interfaces To generate a

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

2021-02-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 27 18:10:46 UTC 2021 Modified Files: src/sys/arch/sparc/sparc: openfirm.c Log Message: sun4v: add 32/64 bit workaround for the OF_read() call, similar to the one introduced in revision 1.21 To generate a diff of this com

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

2021-02-22 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Feb 22 10:30:57 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update current status of sun4v To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/sparc64/doc/TODO Please no

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

2021-02-22 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Feb 22 09:56:42 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: handle spill normal user traps properly when current trap level is 1 - registers are spilled to the PA of the stack to avoid f

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

2021-02-14 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 14 20:30:31 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO with status of verified systems(T2000, T5 and qemu) To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys

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

2021-01-31 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jan 31 19:08:05 UTC 2021 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO with analysis of sun4v crashes To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/sparc64/doc/TOD

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

2021-01-06 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jan 6 20:04:30 UTC 2021 Modified Files: src/sys/arch/sparc64/dev: psycho.c Log Message: psycho: explicit allocation of memory using kmem(9) instead of using the buffer indirectly allocted in the prom_getprop() function (which

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

2020-12-20 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Dec 20 11:58:58 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: add comment in sun4v_tl1_ptbl_miss code path - no functional change To generate a diff of this commit: cvs rdiff -u -r1.423 -

CVS commit: src/sys/kern

2019-03-14 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Mar 14 19:51:50 UTC 2019 Modified Files: src/sys/kern: kern_scdebug.c Log Message: syscall debug - fix build when SYSCALL_DEBUG option is present in kernel config file To generate a diff of this commit: cvs rdiff -u -r1.1 -r

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 src/sys/arch/sparc64/sparc64/

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 -r1.419

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 s

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 Ple

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 src/sys/

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 userspac

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 rdif

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 Ple

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 commit

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 src/s

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 src/tools/compat/REA

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 src/sys/arch/sparc64

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 src/sys/arch/sparc

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 user-leve

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 d

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/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. Exa

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). Base

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) a

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 src/sys/arch

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 src/sys/arch/sparc

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 com

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 th

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 src/sys/arch/sparc64/do

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 src/sys/arch/sparc64/dev/

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 -r1.18

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 (add

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 lo

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 commit:

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 gene

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 sun4v

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 and

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 0

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 0

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 enteri

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 domai

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: ldc

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 src/sys/arch/sparc64/sp

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 that

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 n

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 - sparc64/bus_d

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 th

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 commi

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 src/sys/arch/sparc64/dev/vb

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

2016-06-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jun 17 21:59:06 UTC 2016 Added Files: src/sys/arch/sparc64/dev: vbus.c vbusvar.h vrtc.c Log Message: sun4v: vbus and vrtc drivers - from OpenBSD To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/sparc64/d

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

2016-06-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jun 17 21:52:27 UTC 2016 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Update sparc64 TODO: sun4u specfic code in TRAP_SETUP() + make a note about importing the man pages for the sun4v specific drivers To gener

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

2016-06-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Jun 17 21:38:09 UTC 2016 Modified Files: src/sys/arch/sparc64/conf: GENERIC files.sparc64 Log Message: sun4v: vbus and vrtc drivers - from OpenBSD To generate a diff of this commit: cvs rdiff -u -r1.189 -r1.190 src/sys/arch/s

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

2016-06-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jun 4 21:26:26 UTC 2016 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Update TODO: note that TRAP_SETUP() is stil sun4u-specific To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sparc6

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 OpenBSD

CVS commit: src/sys/kern

2016-06-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jun 4 21:10:56 UTC 2016 Modified Files: src/sys/kern: init_main.c Log Message: Added missing "it" to comment in start_init() To generate a diff of this commit: cvs rdiff -u -r1.480 -r1.481 src/sys/kern/init_main.c Please no

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

2016-05-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue May 17 19:39:44 UTC 2016 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Update TODO: sun4v_datatrap handling for trap level 0 is working To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/

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 thi

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 o

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 di

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

2016-05-10 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue May 10 19:35:08 UTC 2016 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Update TODO: sun4v interrupts works (mostly) + note issue with mpt(4) on sun4v systems To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys/arch/sparc64

2016-05-10 Thread Palle Lyckegaard
/sparc64/dev/vpci.c:1.6 src/sys/arch/sparc64/dev/vpci.c:1.7 --- src/sys/arch/sparc64/dev/vpci.c:1.6 Fri Nov 27 13:51:57 2015 +++ src/sys/arch/sparc64/dev/vpci.c Tue May 10 19:23:59 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: vpci.c,v 1.6 2015/11/27 13:51:57 joerg Exp $ */ +/* $NetBSD: vpci.c,v 1.7 2016/05/10

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

2016-05-01 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun May 1 20:12:55 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: db_interface.c Log Message: fill_ddb_regs_from_tf() now fetches Local and In registers as well. To generate a diff of this commit: cvs rdiff -u -r1.132 -r

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

2016-05-01 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun May 1 19:57:55 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: print_trapframe() should print out Local and In registers as well To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182 src/

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

2016-05-01 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun May 1 19:41:01 UTC 2016 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Update TODO: booting from a ISO image on a sun4v system works To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/spa

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

2016-04-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Apr 17 19:54:32 UTC 2016 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Update sparc64 TODO file: note issue with interrupt handling + issue when booting from iso image To generate a diff of this commit: cvs rdi

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

2016-04-07 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Apr 7 19:46:39 UTC 2016 Modified Files: src/sys/arch/sparc/sparc: openfirm.c Log Message: Rework locking mechanism introduced in rev. 1.21: use __cpu_simple_lock... instead of mutex_... since this causes issues when LOCKDEBUG

CVS commit: src/sys/arch/sparc

2016-04-01 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri Apr 1 20:21:45 UTC 2016 Modified Files: src/sys/arch/sparc/include: openfirm.h src/sys/arch/sparc/sparc: openfirm.c promlib.c Log Message: sun4v: Workaround for OpenBoot feature where a 64-bit address is truncated to a

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

2016-03-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Mar 3 20:45:45 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: rft_kernel should pay attention to the number of register windows that can be restored. We cannot rely on fill traps to occur,

  1   2   >