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

2018-12-14 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Dec 14 09:21:32 UTC 2018 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: Remove comment about removed lmc*. To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212 src/sys/arch/sparc64/conf/GENERIC

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

2018-11-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Nov 3 14:56:36 UTC 2018 Modified Files: src/sys/arch/sparc64/dev: jbus-i2c.c Log Message: Use PRIx64 printf format to make the 32bit version compile. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2018-11-02 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 2 19:57:32 UTC 2018 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: add jbusi2c To generate a diff of this commit: cvs rdiff -u -r1.209 -r1.210 src/sys/arch/sparc64/conf/GENERIC Please note that

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

2018-10-25 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 26 01:57:59 UTC 2018 Modified Files: src/sys/arch/sparc64/dev: jbus-i2c.c Log Message: - map registers ourselves, no more schizo hackery - remove some leftover debug code - print address when attaching - actually

CVS commit: src/sys/arch/sparc64

2018-10-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Oct 20 06:25:46 UTC 2018 Modified Files: src/sys/arch/sparc64/conf: files.sparc64 Added Files: src/sys/arch/sparc64/dev: jbus-i2c.c Log Message: support for jbus-i2c found in US-IIIi machines this needs help from

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

2018-10-19 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 19 21:47:03 UTC 2018 Modified Files: src/sys/arch/sparc64/dev: schizoreg.h Log Message: add Tomatillo ESTAR and GPIO registers To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2018-10-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Oct 14 05:08:40 UTC 2018 Modified Files: src/sys/arch/sparc64/dev: tadpmu.c Log Message: - protect PMU transactions with a mutex - report lid switch events to powerd To generate a diff of this commit: cvs rdiff -u -r1.3

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

2018-10-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Oct 13 21:02:34 UTC 2018 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: add tadpmu To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208 src/sys/arch/sparc64/conf/GENERIC Please note that diffs

CVS commit: src/sys/arch/sparc64

2018-10-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Oct 13 20:11:48 UTC 2018 Modified Files: src/sys/arch/sparc64/conf: files.sparc64 src/sys/arch/sparc64/dev: pckbc_ebus.c tadpmu.c Log Message: config and attachment goop for tadpmu To generate a diff of this

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

2018-10-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Oct 13 19:53:43 UTC 2018 Modified Files: src/sys/arch/sparc64/dev: tadpmu.c tadpmureg.h tadpmuvar.h Log Message: - use interrupts - report power button to sysmon To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

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

2018-10-12 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Oct 12 21:44:32 UTC 2018 Added Files: src/sys/arch/sparc64/dev: tadpmu.c tadpmureg.h tadpmuvar.h Log Message: experimental code to talk to the PMU found in Tadpole Viper laptops To generate a diff of this commit: cvs

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

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 16:16:16 UTC 2018 Modified Files: src/sys/arch/sparc64/include: bus_funcs.h Log Message: Expand to __nothing, not to empty. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

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

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 16:16:02 UTC 2018 Modified Files: src/sys/arch/sparc64/include: bus_funcs.h Log Message: Include some needful header files and forward declarations. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2018-03-26 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Mon Mar 26 10:31:10 UTC 2018 Modified Files: src/sys/arch/sparc64/dev: ffb.c Log Message: Correct a typo in the openprom variable name. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/sparc64/dev/ffb.c

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

2018-01-17 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 18 00:31:22 UTC 2018 Modified Files: src/sys/arch/sparc64/dev: ebus.c Log Message: merge the ebus@pci attach output to be like most PCI drivers: ebus0 at pci1 dev 1 function 0 ebus0: Sun Microsystems PCIO Ebus2, revision

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

2017-12-19 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Tue Dec 19 14:34:08 UTC 2017 Modified Files: src/sys/arch/sparc64/conf: files.sparc64 Log Message: files.ofw is now mandatory, so use its dependency. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154

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

2017-11-14 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Nov 14 16:56:03 UTC 2017 Modified Files: src/sys/arch/sparc64/include: vmparam.h Log Message: Bump PAGER_MAP_DEFAULT_SIZE to 512 MB (like amd64 recently did). To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

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

2017-07-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Jul 6 11:09:01 UTC 2017 Modified Files: src/sys/arch/sparc64/conf: files.sparc64 Removed Files: src/sys/arch/sparc64/dev: power.c power.h Log Message: Remove unused "power @ ebus" device, we use the firmware to

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

2017-06-03 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jun 3 21:32:43 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: schizo.c Log Message: add __func__ to some panic strings. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/sparc64/dev/schizo.c

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

2017-04-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Apr 27 23:17:21 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: ffb.c Log Message: - don't blindly copy attribute bits which we don't support or which make no sense in the attribute buffer - support WSATTR_UNDERLINE -

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

2017-04-22 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Apr 22 15:07:49 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: ffb.c Log Message: - set RI_FULLCLEAR - clear RI_CURSOR when we clear the screen no more garbage when switching screens while there set RI_PREFER_ALPHA To

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-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 26 18:38:34 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: schizo.c Log Message: Reorder attach slightly to avoid unintialized use of OF nodes. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

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

2017-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Mar 26 12:51:42 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: psycho.c Log Message: Do not call OF_getprop on our node blindly - for the "pcons" hack we may be called with all zeroed attach args. To generate a diff of

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

2017-03-25 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Mar 25 13:24:08 UTC 2017 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: Add virtio PCI devices, some of them mostly untested so far To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198

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

2017-03-23 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Mar 24 01:14:26 UTC 2017 Modified Files: src/sys/arch/sparc64/dev: psycho.c Log Message: disable BUS_SPACE_MAP_PREFETCHABLE until I figure out which psychos support partial writes apparently the only devices which can

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

2017-03-23 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Mar 23 11:00:03 UTC 2017 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: Comment out PAX_MPROTECT options completely, instead of just turning them off globaly. This will make the automatic tests not even try

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

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

2017-01-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jan 31 16:13:56 UTC 2017 Modified Files: src/sys/arch/sparc64/include: elf_machdep.h Log Message: PR port-sparc64/51925: remove EM_SPARC32PLUS from the 64 bit ELF machine ids we accept for our executables - that combination

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

2016-12-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 30 18:30:19 UTC 2016 Modified Files: src/sys/arch/sparc64/include: reg.h src/sys/arch/sparc64/sparc64: process_machdep.c Log Message: - make fpreg{32,64} actually members of fsstate{32,64}. - allocate fpstate if

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

2016-12-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Dec 28 19:16:25 UTC 2016 Modified Files: src/sys/arch/sparc64/include: ctlreg.h src/sys/arch/sparc64/sparc64: cpu.c pmap.c Log Message: Rename the "flush" macro to "sparc_flush_icache", the former is way too generic

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

2016-11-23 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Nov 23 21:18:12 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: gfb.c Log Message: support WSDISPLAYIO_GET_FBINFO also, use _PREFETCHABLE for rasops To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

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

2016-11-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Nov 10 06:44:35 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: pyro.c sbus.c schizo.c Log Message: weed out BUS_SPACE_MAP_PREFETCHABLE in resp. _map() and _mmap() methods it works with UPA graphics cards and at least

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

2016-11-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 4 18:11:15 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: ffb_mainbus.c Log Message: set BUS_SPACE_MAP_PREFETCHABLE when mapping the SFB32 range now using alpha fonts is actually faster than using bitmap fonts To

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

2016-11-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 4 16:35:33 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: ffb.c Log Message: mmap() memory-ish regions with BUS_SPACE_MAP_PREFETCHABLE To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/arch/sparc64

2016-11-03 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Nov 4 05:41:01 UTC 2016 Modified Files: src/sys/arch/sparc64/include: bus_defs.h pmap.h pte.h src/sys/arch/sparc64/sparc64: machdep.c pmap.c Log Message: add plumbing to support bus_space_mmap() with: - write

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

2016-10-14 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Oct 14 11:33:08 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: auxio.c Log Message: the mutex is also used for fdc attachment, so initialize it also for a kernel without BLINK option. To generate a diff of this commit:

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

2016-09-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 28 11:44:16 UTC 2016 Modified Files: src/sys/arch/sparc64/include: ptrace.h Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sparc64/include/ptrace.h Please note that

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

2016-08-24 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Aug 24 06:34:24 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: iommureg.h Log Message: use uint64_t consistently. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/sparc64/dev/iommureg.h Please

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-20 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sat Aug 20 18:21:18 UTC 2016 Modified Files: src/sys/arch/sparc64/dev: ldc.c vdsk.c Log Message: Avoid "cast to pointer from integer of different size" warning on 32-bit kernels. To generate a diff of this commit: cvs rdiff

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

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

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

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

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

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

2016-05-26 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Thu May 26 10:38:07 UTC 2016 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: Add more CardBus devices. To generate a diff of this commit: cvs rdiff -u -r1.188 -r1.189 src/sys/arch/sparc64/conf/GENERIC Please

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

2016-05-25 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Thu May 26 04:26:05 UTC 2016 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: sort To generate a diff of this commit: cvs rdiff -u -r1.187 -r1.188 src/sys/arch/sparc64/conf/GENERIC Please note that diffs are

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

2016-05-25 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed May 25 20:00:50 UTC 2016 Modified Files: src/sys/arch/sparc64/conf: GENERIC GENERIC.DEBUG GENERIC.UP GENERIC32 GENERIC32.UP INSTALL MODULAR NONPLUS NONPLUS64 Log Message: tabify, fix indent and remove trailing

<    1   2   3   4   5   6   7   8   >