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

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

2021-05-10 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Tue May 11 03:43:30 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: All of the OFW-enumerated busses now associate the OFW node with the device at config_found() time, so we can remove all of the

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

2021-04-06 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Apr 6 15:55:26 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: db_disasm.c Log Message: Fix a typo, remove a useless blank line. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

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

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

2021-02-02 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Feb 2 08:18:42 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: Worakround for traps on invalid VAs: uvm_fault() can not (currently) deal properly with invalid VAs (inside the VA hole), so do not

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

2020-12-22 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 23 07:01:14 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: ofw_patch.c Log Message: Add GPIO pin alert definitions for the E250. Note, that the front panel also applies to the E450. To generate a diff of this

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

2020-10-29 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Oct 29 06:47:39 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c ofw_patch.c ofw_patch.h Log Message: Add information about GPIO pin assignments and drive bays in the E250 and v240. Consolidate common code for

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

2020-10-25 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sun Oct 25 07:46:54 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: ofw_patch.c Log Message: Don't release the last reference to the "i2c-child-devices" dictionary in the v210/v240 patches. Fixes missing i2c devices there

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

2020-10-24 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 24 13:47:53 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: ofw_patch.c Log Message: Add E250 i2c devices missing from the OFW tree. Normalise the spelling of "temperature". To generate a diff of this commit: cvs

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

2020-10-23 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Fri Oct 23 17:53:07 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: ofw_patch.c Log Message: Add missing prop_object_release() to the E250/E450 patches. Use the recently added (in r1.2) functions for SPARCle i2c devices too.

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

2020-10-17 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Sat Oct 17 08:10:31 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c ofw_patch.h Log Message: Avoid declaring autoconf_debug twice when building with DEBUG. Pointed out by palle@ - thanks! To generate a diff of

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

2020-07-23 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Jul 23 16:08:03 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Move machine-specific fixes into separate functions to improve readability. To generate a diff of this commit: cvs rdiff -u -r1.221

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

2020-07-05 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jul 5 09:56:06 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Adapt to proplib api changes To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221

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

2020-07-05 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Jul 5 09:27:11 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Adapt to proplib api changes To generate a diff of this commit: cvs rdiff -u -r1.219 -r1.220

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

2020-06-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 9 21:57:00 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: proplib API catchup NFCI, tested on v210 To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218

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

2020-05-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 31 11:28:52 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: Avoid using excessive kernel stack. XXX maybe we should unite all "static proc_t" and "static lwp_t" in ddb into one global each?

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

2020-02-22 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Feb 23 05:14:29 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: add location info to sd instances if we know which drive bay they live in Sun Fire v210 only for now, others should be easy to

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

2020-02-01 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Feb 2 06:38:24 UTC 2020 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: pass pin info to pcagpio instances, so far for front panel LEDs on Sun Fire v210 only To generate a diff of this commit: cvs

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

2019-12-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Dec 30 06:54:31 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: add highly experimental NUMA support for US-IIIi machines To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137

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

2019-04-07 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Apr 7 19:31:38 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: make trap 0x70 a TRAP() not UTRAP(). we should be able to handle fast ECC error as a normal trap, and i saw this once a few years ago

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

2019-02-15 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Feb 15 16:36:33 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: Add /* FALLTHROUGH */ for DEBUG kernel. To generate a diff of this commit: cvs rdiff -u -r1.190 -r1.191

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-10 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Feb 11 07:51:46 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: vm_machdep.c Log Message: retry timed out IPIs, complain and dump timing info into dmesg ok martin@ To generate a diff of this commit: cvs rdiff -u

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2017-02-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/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/sparc64

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2016-04-17 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 17 14:32:03 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c pmap.c Log Message: Move the SMP-disabled hack for SUN4V a bit earlier To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128

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

2016-03-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Mar 11 18:31:03 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: compat_16_machdep.c Log Message: PR/50945: David Binderman: sprinkle parens To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

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

2016-03-09 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed Mar 9 12:20:21 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: 32-bit kernels use 32-bit stack. To generate a diff of this commit: cvs rdiff -u -r1.389 -r1.390

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

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

2016-02-14 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Feb 14 21:13:34 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: add breakpoint trap entry to the sun4v trap table To generate a diff of this commit: cvs rdiff -u -r1.387 -r1.388

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

2016-01-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jan 30 22:47:06 UTC 2016 Modified Files: src/sys/arch/sparc64/sparc64: ipifuncs.c Log Message: Fixed typo in sparc64_send_ipi_sun4u(): sun4v -> sun4u To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

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

2015-12-30 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 30 09:16:17 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: ofw_machdep.c Log Message: Restrict the check for fully specified interrupts to machines with psycho controllers only, and adjust comments to note this. See

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

2015-12-16 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Wed Dec 16 08:01:19 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Add V210/V240 environmental sensors that are not in the OFW tree. Add device properties for adm1026hm on V210, V240, and V440. To

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

2015-12-13 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Dec 13 11:51:37 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: pass addr_shift 1 to of_enter_i2c_devs To generate a diff of this commit: cvs rdiff -u -r1.205 -r1.206

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

2015-12-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 13 18:41:09 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: clock.c Log Message: PR/50531: David Binderman: Add missing printf args To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118

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

2015-11-27 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Nov 27 13:51:24 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: Left-shift of negative values is UB. To generate a diff of this commit: cvs rdiff -u -r1.299 -r1.300

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

2015-11-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Nov 22 11:24:08 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: netbsd32_machdep.c Log Message: Use NETBSD32PTR32I() for pointer-to-32bit value conversion, requested by mrg. To generate a diff of this commit: cvs

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

2015-11-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 9 20:26:15 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: syscall.c Log Message: Use PRIx64 and %# requested by phone@ To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

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

2015-11-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 9 02:13:41 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: syscall.c Log Message: fix printf formats. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/sparc64/sparc64/syscall.c

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

2015-11-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Nov 7 11:47:09 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: netbsd32_machdep.c Log Message: Fix kmem_free() size mismatch To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105

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

2015-11-07 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Nov 7 21:07:19 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: netbsd32_machdep.c Log Message: Convert siginfo to 32bit version before copying it out to 32bit userland. To generate a diff of this commit: cvs rdiff

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

2015-11-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Nov 6 15:25:42 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: syscall.c Log Message: Add a few assertions to verify non-privileged processor state for userland and 32bit address mapping for 32bit processes. To

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

2015-11-06 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Nov 6 15:30:59 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: locore.s vm_machdep.c Log Message: Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c: Remove special case handling for userland lwps

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

2015-11-05 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Nov 5 10:11:51 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Most of the time return_from_trap already got called with tf->tf_tstate loaded in register %g1 - make it so for two more callers and

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

2015-10-17 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sat Oct 17 18:51:32 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: cpu_in_cksum.S Log Message: LDPTR is defined in machine/asm.h. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2015-09-08 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Tue Sep 8 13:18:06 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: Fix build w/o options SUN4V. mdesc_get_len() and mdesc_init() are used outside of #ifdef SUN4V, and eliminated by optimization if

  1   2   3   >