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

2019-07-18 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jul 18 18:21:45 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: added some missing comments to the code in pcbspill To generate a diff of this commit: cvs rdiff -u -r1.420 -r1.421 src/sys/a

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

2019-07-18 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jul 18 18:21:45 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: added some missing comments to the code in pcbspill To generate a diff of this commit: cvs rdiff -u -r1.420 -r1.421 src/sys/a

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

2010-01-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 23 21:46:59 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.301 -r1.302 src/sys/arch/sparc64/sparc64/locore.s Please note that

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

2010-01-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 23 22:55:04 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: remove CHKPT() macro and uses. it's likely wrong in SMP land and probably should be replaced with KTR-style uses if necessary. To ge

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

2010-01-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 23 23:06:28 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: remove most of the code that writes debugging info DATA_START + offset. To generate a diff of this commit: cvs rdiff -u -r1.303 -r1.30

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

2010-01-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 23 23:39:27 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: remove the final uses of DATA_START. now we can remove the 16KB space reserved at the start of the data segment, and i now understand w

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

2010-01-31 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 1 03:43:27 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cache.h locore.s Log Message: remove unused icache_flush_page() implementation. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/s

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

2010-02-01 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 2 03:07:06 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: for now, reduce a few #ifdef SPITFIRE cases by introducing a new ASI_DCACHE_TAG_OR_INV that is either ASI_DCACHE_{TAG,_INVALIDATE}. inc

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

2010-02-05 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Feb 5 12:04:10 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: Avoid taking a (not yet) initialized mutex early during bootstrap. To generate a diff of this commit: cvs rdiff -u -r1.249 -r1.250 sr

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

2010-02-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Feb 13 08:56:29 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: in pmap_growkernel(), make sure we only mutex_exit() if we mutex_enter()ed. To generate a diff of this commit: cvs rdiff -u -r1.250 -r1.

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

2010-02-13 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Feb 13 22:29:55 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: remove KTR support. it's never been a working part of netbsd src tree. To generate a diff of this commit: cvs rdiff -u -r1.312 -r1.31

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

2010-02-14 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 15 07:56:51 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c locore.s Log Message: introduce a new patch_kernel() and call it from the end of bootstrap(). use it to patch up TLB flush instructions that don't

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

2010-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 15 09:56:34 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: use TLB_SIZE_SPITFIRE in a couple of places, and note that the {print,dump}_[id]tlb() versions are currently spitfire specific. To gen

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

2010-02-15 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Mon Feb 15 11:46:54 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Fix linker error of GENERIC32 kernel. To generate a diff of this commit: cvs rdiff -u -r1.315 -r1.316 src/sys/arch/sparc64/sparc6

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

2010-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 15 12:46:24 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: - don't flush 32-bit entries for 64-bit code, it does not seem to be necessary. #define TLB_FLUSH_LOWVA to turn it back on. - remove

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

2010-02-21 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 22 00:16:31 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c cache.h cpu.c locore.s Log Message: - store the maximum [id]cache size / line size for each cpu - remove patch_kernel() since it isn't necessary a

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

2010-02-21 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 22 00:16:31 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c cache.h cpu.c locore.s Log Message: - store the maximum [id]cache size / line size for each cpu - remove patch_kernel() since it isn't necessary a

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

2010-02-22 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 23 05:32:09 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: db_interface.c db_tlb_access.S Log Message: change print_dtlb() and print_itlb() to take (tlb_size, tlb_selectbits). for cheetah, print the 3 dtlb's and 2 itl

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

2010-02-23 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Feb 24 06:05:35 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cache.h ipifuncs.c Log Message: fix MULTIPROCESSOR build for previous. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sparc64/sp

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

2010-02-24 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Feb 24 09:49:36 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cache.h ipifuncs.c locore.s pmap.c Log Message: when handing back page table pages to UVM, flush them from the dcache on all CPUs. idea from skrll@, and make

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

2010-02-24 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Feb 24 10:11:53 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: check for TLB_V bit for valid tte entries, not against zero. KASSERT() the 3rd call to pseg_get() in pmap_page_cache() like the other 2.

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

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:43:40 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Add support for direct configuration of i2c devices To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/sys/arch/

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

2010-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Feb 28 11:43:40 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Add support for direct configuration of i2c devices To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/sys/arch/

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

2010-02-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Mar 1 01:14:58 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Don't call frame-buffer-adr since it doesn't work as expected by the code that got cargo culted over from macppc. While there shu

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

2010-02-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Mar 1 01:14:58 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Don't call frame-buffer-adr since it doesn't work as expected by the code that got cargo culted over from macppc. While there shu

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

2010-03-04 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Mar 4 08:11:42 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: avoid a build error in the previous for !DEBUG kernels. To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/arch/spa

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

2010-03-04 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Mar 4 08:11:42 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: avoid a build error in the previous for !DEBUG kernels. To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/arch/spa

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

2010-03-07 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 8 04:18:48 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: - when given "boot -1", apply the !MULTIPROCESSOR cpu_match() criteria. - don't print cache sizes * associativity. this has been wrong fo

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

2010-03-07 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 8 04:18:48 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: - when given "boot -1", apply the !MULTIPROCESSOR cpu_match() criteria. - don't print cache sizes * associativity. this has been wrong fo

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

2010-03-08 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 8 08:59:06 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cache.h ipifuncs.c locore.s pmap.c Log Message: blast_dcache() SMP friendly: - blast_dcache() becomes sp_blast_dcache(dcache_size, dcache_line_size) - new sm

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

2010-03-08 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Mar 8 08:59:06 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cache.h ipifuncs.c locore.s pmap.c Log Message: blast_dcache() SMP friendly: - blast_dcache() becomes sp_blast_dcache(dcache_size, dcache_line_size) - new sm

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

2010-03-09 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Mar 10 06:57:23 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: db_interface.c locore.s pmap.c Log Message: XXX: workaround we'd like to remove when pmap / uvm locking is cleaned up: - rename pseg_get() and pseg_set() to

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

2010-03-09 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Mar 10 06:57:23 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: db_interface.c locore.s pmap.c Log Message: XXX: workaround we'd like to remove when pmap / uvm locking is cleaned up: - rename pseg_get() and pseg_set() to

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

2010-03-10 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Mar 11 03:12:43 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: convert to CFATTACH_DECL_NEW(). To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/arch/sparc64/sparc64/cpu.c Please

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

2010-03-10 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Mar 11 03:12:43 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: convert to CFATTACH_DECL_NEW(). To generate a diff of this commit: cvs rdiff -u -r1.91 -r1.92 src/sys/arch/sparc64/sparc64/cpu.c Please

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

2022-04-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Apr 6 22:48:22 UTC 2022 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: sparc64/pmap: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.314 -r1.315 src/sys/arch/sparc64/sparc6

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

2022-04-06 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Apr 6 22:48:22 UTC 2022 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: sparc64/pmap: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.314 -r1.315 src/sys/arch/sparc64/sparc6

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

2022-05-16 Thread matthew green
Module Name:src Committed By: mrg Date: Mon May 16 21:28:06 UTC 2022 Modified Files: src/sys/arch/sparc64/sparc64: cache.h locore.s trap.c Log Message: try to handle ultrasparc III* "fast ecc error" traps. i had a sunblade 2500 reset with this trap recently, and the manua

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

2022-05-16 Thread matthew green
Module Name:src Committed By: mrg Date: Mon May 16 21:28:06 UTC 2022 Modified Files: src/sys/arch/sparc64/sparc64: cache.h locore.s trap.c Log Message: try to handle ultrasparc III* "fast ecc error" traps. i had a sunblade 2500 reset with this trap recently, and the manua

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

2010-01-10 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Jan 10 15:07:53 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: s/cpu_switch/cpu_switchto/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246 src/sys/arch/sparc64/sparc64/pm

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

2010-01-15 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Jan 15 23:57:07 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: ipifuncs.c Log Message: UltraSPARC-IIIi CPUs select the BUSY/NACK pair in the interrupt vector dispatch status register based on the lower two bits of th

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

2010-01-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 20 15:45:52 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Add the mac address as device property "mac-address" to all devices that look like a network interface. Also add a boolean "without

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

2010-01-21 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Jan 21 11:43:20 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Make sure to not provide the global ethernet address for add on interfaces w/o FCode (the respective driver will know what to do).

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

2010-01-21 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Jan 21 15:58:32 UTC 2010 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Copy the "shared-pins" property over to device_props as well. To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 src

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

2023-01-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jan 24 23:23:12 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: sparc64/db_trace.c: Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -

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

2023-01-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jan 24 23:23:12 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: sparc64/db_trace.c: Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -

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

2023-01-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jan 24 23:23:31 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: sparc64/db_trace.c: Don't dereference; use db_read_bytes. Makes crash(8) and ddb match, and avoids crashing in ddb when you fee

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

2023-01-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jan 24 23:23:31 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: sparc64/db_trace.c: Don't dereference; use db_read_bytes. Makes crash(8) and ddb match, and avoids crashing in ddb when you fee

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

2023-02-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 20 13:30:23 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: lock_stubs.s Log Message: sparc64: Add missing LoadStore ordering for mutex_enter stub. XXX pullup-8 XXX pullup-9 XXX pullup-10 To generate a diff of

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

2023-02-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 20 13:30:23 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: lock_stubs.s Log Message: sparc64: Add missing LoadStore ordering for mutex_enter stub. XXX pullup-8 XXX pullup-9 XXX pullup-10 To generate a diff of

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

2023-02-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 20 13:30:36 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: lock_stubs.s Log Message: sparc64: Rename internal barrier macros to be clearer. No functional change intended. To generate a diff of this commit: cv

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

2023-02-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 20 13:30:36 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: lock_stubs.s Log Message: sparc64: Rename internal barrier macros to be clearer. No functional change intended. To generate a diff of this commit: cv

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

2023-02-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Feb 23 14:56:56 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sparc64: Add missing barriers in cpu_switchto. Details in comments. PR kern/57240 XXX pullup-8 XXX pullup-9 XXX pullup-10 To

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

2023-02-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Feb 23 14:56:56 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sparc64: Add missing barriers in cpu_switchto. Details in comments. PR kern/57240 XXX pullup-8 XXX pullup-9 XXX pullup-10 To

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

2023-03-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Mar 1 08:18:39 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sparc64: Optimization: Omit needless membar when triggering softint. When we are triggering a softint, it can't already hold any

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

2023-03-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Mar 1 08:18:39 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sparc64: Optimization: Omit needless membar when triggering softint. When we are triggering a softint, it can't already hold any

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

2022-01-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 1 11:56:15 UTC 2022 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: Remove an "#ifdef DIAGNOSTIC", KASSERT() always conumes its expression. To generate a diff of this commit: cvs rdiff -u -r1.312 -r1.

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

2022-01-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jan 1 11:56:15 UTC 2022 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: Remove an "#ifdef DIAGNOSTIC", KASSERT() always conumes its expression. To generate a diff of this commit: cvs rdiff -u -r1.312 -r1.

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

2022-01-09 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jan 9 20:30:04 UTC 2022 Modified Files: src/sys/arch/sparc64/sparc64: intr.c Log Message: sun4v: enable sun4v_intr_xxx() function previously imported from OpenBSD. Note that the sun4v_intr_devino_to_sysino() function is adapt

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

2022-01-09 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jan 9 20:30:04 UTC 2022 Modified Files: src/sys/arch/sparc64/sparc64: intr.c Log Message: sun4v: enable sun4v_intr_xxx() function previously imported from OpenBSD. Note that the sun4v_intr_devino_to_sysino() function is adapt

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

2019-05-21 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed May 22 04:17:39 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: Relax test for valid stack frame address (now that we have multiple kernel stacks since ... a long time). Just test for a valid ker

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

2019-05-21 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed May 22 04:17:39 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: Relax test for valid stack frame address (now that we have multiple kernel stacks since ... a long time). Just test for a valid ker

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

2019-05-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed May 22 07:40:09 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: Fix previous and use the original patch from PR port-sparc64/54221 instead (XXX should fix comments in param.h) To generate a dif

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

2019-05-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed May 22 07:40:09 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: Fix previous and use the original patch from PR port-sparc64/54221 instead (XXX should fix comments in param.h) To generate a dif

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

2019-05-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed May 22 15:10:13 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: Add missing include to fix the crash(8) build, from Tobias Ulmer, PR port-sparc64/54221 To generate a diff of this commit: cvs r

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

2019-05-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed May 22 15:10:13 UTC 2019 Modified Files: src/sys/arch/sparc64/sparc64: db_trace.c Log Message: Add missing include to fix the crash(8) build, from Tobias Ulmer, PR port-sparc64/54221 To generate a diff of this commit: cvs r

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

2024-01-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jan 8 19:33:49 UTC 2024 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: sun4v: only DFA (Data fault address) and DFA (Datafault context) are valid when a mem_address_not_aligned fault is triggered, so ajust

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

2024-01-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jan 8 19:33:49 UTC 2024 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: sun4v: only DFA (Data fault address) and DFA (Datafault context) are valid when a mem_address_not_aligned fault is triggered, so ajust

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

2024-01-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jan 15 08:13:45 UTC 2024 Modified Files: src/sys/arch/sparc64/sparc64: intr.c trap.c Log Message: Fix typos in trap types and one log message. OpenBSD fixed those over 20 years ago. To generate a diff of this commit: cvs rd

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

2024-01-15 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Mon Jan 15 08:13:45 UTC 2024 Modified Files: src/sys/arch/sparc64/sparc64: intr.c trap.c Log Message: Fix typos in trap types and one log message. OpenBSD fixed those over 20 years ago. To generate a diff of this commit: cvs rd

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

2024-02-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 17 19:36:07 UTC 2024 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Ensure that the size of the stack is properly specified (2*USPACE) so it matches the allocation of stack pages done in pmap_bootstrap

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

2024-02-17 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Feb 17 19:36:07 UTC 2024 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Ensure that the size of the stack is properly specified (2*USPACE) so it matches the allocation of stack pages done in pmap_bootstrap

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

2023-08-29 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Tue Aug 29 20:17:02 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: static_edid.c Log Message: Update the horizontal sync offset based on the Naturetech video timing. While here, correct the spelling of "Naturetech" in the dat

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

2023-08-29 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Tue Aug 29 20:17:02 UTC 2023 Modified Files: src/sys/arch/sparc64/sparc64: static_edid.c Log Message: Update the horizontal sync offset based on the Naturetech video timing. While here, correct the spelling of "Naturetech" in the dat

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

2024-06-20 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jun 20 18:02:45 UTC 2024 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: sun4v: fix booting from both virtual disk (sd) and cdrom (cd) devices To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.

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

2024-06-20 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jun 20 18:02:45 UTC 2024 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: sun4v: fix booting from both virtual disk (sd) and cdrom (cd) devices To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.

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

2012-03-02 Thread Alistair Crooks
On Sat, Mar 03, 2012 at 03:17:32AM +, Takeshi Nakayama wrote: > Module Name: src > Committed By: nakayama > Date: Sat Mar 3 03:17:32 UTC 2012 > > Modified Files: > src/sys/arch/sparc64/sparc64: locore.s > > Log Message: > Fix the root cause of the hack "disable optimizations f

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

2012-03-03 Thread David Laight
On Sat, Mar 03, 2012 at 03:17:32AM +, Takeshi Nakayama wrote: > Module Name: src > Committed By: nakayama > Date: Sat Mar 3 03:17:32 UTC 2012 > > Modified Files: > src/sys/arch/sparc64/sparc64: locore.s > > Log Message: > Fix the root cause of the hack "disable optimizations f

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

2012-03-03 Thread Takeshi Nakayama
>>> David Laight wrote > Is that a gcc bug? I don't know. > Or are the high register bits usually undefined for 32bit values, > and this to do with using 64bit asm in a 32bit kernel? But I guess it's undefined from looking at the generated codes. Our kernel code is shared between 32-bit and 64

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

2012-03-03 Thread Martin Husemann
On Sat, Mar 03, 2012 at 08:50:50AM +, David Laight wrote: > > Is that a gcc bug? No, gcc calls a function with 32bit abi and expects it to ignore the upper bits in that register. The patch makes it so. Good catch! Martin

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

2013-09-10 Thread Michael
Hello, on Thursday 22 August 2013 06:00:43 Takeshi Nakayama wrote: > Module Name: src > Committed By: nakayama > Date: Thu Aug 22 10:00:43 UTC 2013 > > Modified Files: > src/sys/arch/sparc64/sparc64: clock.c > > Log Message: > Make timecounter "tick-counter" mandatory. This is goin

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

2013-09-12 Thread Takeshi Nakayama
>>> Michael wrote > Hello, > > on Thursday 22 August 2013 06:00:43 Takeshi Nakayama wrote: > > Module Name:src > > Committed By: nakayama > > Date: Thu Aug 22 10:00:43 UTC 2013 > > > > Modified Files: > > src/sys/arch/sparc64/sparc64: clock.c > > > > Log Message:

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

2013-09-13 Thread Martin Husemann
On Thu, Sep 12, 2013 at 10:12:23PM +0900, Takeshi Nakayama wrote: > This change provides a chance to select a prefer timecounter to > users via sysctl kern.timecounter.hardware. > > stick-counter's quality is larger than tick-counter's one. The > default choice becomes to stick-counter, so it's no

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

2014-11-02 Thread matthew green
+ #ifdef SUN4V + if (CPU_ISSUN4V) + func = sparc64_ipi_dcache_flush_page_sun4v; + else if (CPU_IS_USIII_UP()) + #else if (CPU_IS_USIII_UP()) + #endif func = sparc64_ipi_dcache_flush_page_usiii; we don't need the #ifdef's h

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

2014-11-03 Thread Palle Lyckegaard
On Mon, 3 Nov 2014, matthew green wrote: we don't need the #ifdef's here. CPU_ISSUN4V is 0 for normal kernels, so the above is compiled out anyway. there's a bunch of other places this is done as well that we don't need it.. could you this up at some point? sure will do

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

2014-11-03 Thread matthew green
> > we don't need the #ifdef's here. CPU_ISSUN4V is 0 for > > normal kernels, so the above is compiled out anyway. > > there's a bunch of other places this is done as well that > > we don't need it.. could you this up at some point? totally gimplished that up :-) "clean" of course :-) > sure w

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

2009-08-18 Thread Tonnerre LOMBARD
Salut, On Tue, Aug 18, 2009 at 12:15:37AM +, Michael Lorenz wrote: > CV: Enter Log. Lines beginning with `CVS:' are removed automatically You sure have an odd CV. (SCNR) Tonnerre pgpt0ZR5BjKOx.pgp Description: PGP signature

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

2023-02-20 Thread Valery Ushakov
On Mon, Feb 20, 2023 at 13:30:23 +, Taylor R Campbell wrote: > Module Name: src > Committed By: riastradh > Date: Mon Feb 20 13:30:23 UTC 2023 > > Modified Files: > src/sys/arch/sparc64/sparc64: lock_stubs.s > > Log Message: > sparc64: Add missing LoadStore ordering for mutex_

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

2023-02-20 Thread Taylor R Campbell
> Date: Mon, 20 Feb 2023 16:47:01 +0300 > From: Valery Ushakov > > On Mon, Feb 20, 2023 at 13:30:23 +, Taylor R Campbell wrote: > > > Module Name:src > > Committed By: riastradh > > Date: Mon Feb 20 13:30:23 UTC 2023 > > > > Modified Files: > > src/sys/arch/s

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

2023-02-20 Thread Valery Ushakov
On Mon, Feb 20, 2023 at 13:57:32 +, Taylor R Campbell wrote: > > > XXX pullup-8 > > > XXX pullup-9 > > > XXX pullup-10 > > > > I wonder if we should stop abusing commit messages as pull-up > > reminders. These XXX will not convey any useful information a few > > months down the line... > >

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

2023-02-20 Thread Martin Husemann
On Mon, Feb 20, 2023 at 05:15:33PM +0300, Valery Ushakov wrote: > them up, b/c you cannot amend that comment. To add to the fun, I > think releng scripts just clone the commit message on pull ups, so > that comment gets splattered all over the target branches too. Yes - I try to manually remove t

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

2023-02-20 Thread Robert Elz
Date:Mon, 20 Feb 2023 16:47:01 +0300 From:Valery Ushakov Message-ID: | I wonder if we should stop abusing commit messages as pull-up | reminders. These XXX will not convey any useful information a few | months down the line... I think they're useful (if only

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

2023-02-20 Thread Valery Ushakov
On Mon, Feb 20, 2023 at 22:35:40 +0700, Robert Elz wrote: > Date:Mon, 20 Feb 2023 16:47:01 +0300 > From:Valery Ushakov > Message-ID: > > | I wonder if we should stop abusing commit messages as pull-up > | reminders. These XXX will not convey any useful informat

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

2023-02-20 Thread Valery Ushakov
On Mon, Feb 20, 2023 at 15:41:04 +0100, Martin Husemann wrote: > On Mon, Feb 20, 2023 at 05:15:33PM +0300, Valery Ushakov wrote: > > them up, b/c you cannot amend that comment. To add to the fun, I > > think releng scripts just clone the commit message on pull ups, so > > that comment gets splatt

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

2015-11-08 Thread matthew green
> 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. yuck, can't you just use PRId64 instead of the casts? these are int64 members. also, using %# vs

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

2015-11-22 Thread matthew green
thanks for fixing these problems. i was espcially amused by the code that was if (copyout() || copyout() || suword()). > Modified Files: > src/sys/arch/sparc64/sparc64: machdep.c netbsd32_machdep.c > sunos_machdep.c > > Log Message: > remove all MD uses of suword(), replace by co

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

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

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

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

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

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

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

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

  1   2   >