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

2011-08-14 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Aug 15 02:19:45 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h genassym.cf locore.s Log Message: re-introduce the NULL savefpstate IPI checks and evcnts. something is Wrong with GCC 4.5.3 and these trigger.

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

2011-07-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jul 18 21:00:28 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: openfirm.c Log Message: if _KERNEL is not defined, include sys/stdarg.h for va_list. For the kernel (or modules) this is already done by systm.h. To

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

2011-07-18 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Jul 18 21:00:28 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: openfirm.c Log Message: if _KERNEL is not defined, include sys/stdarg.h for va_list. For the kernel (or modules) this is already done by systm.h. To

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

2011-07-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jul 17 23:32:37 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: auxiotwo.c clkctrl.c eeprom.c memreg.c msiiep.c msiiepvar.h Log Message: convert all the empty softc (just struct device) drivers to using

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

2011-07-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jul 17 23:34:17 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: msiiep.c Log Message: actually use CFATTACH_DECL_NEW() and device_private() for mspcic. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

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

2011-07-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jul 17 23:32:37 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: auxiotwo.c clkctrl.c eeprom.c memreg.c msiiep.c msiiepvar.h Log Message: convert all the empty softc (just struct device) drivers to using

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

2011-07-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jul 17 23:34:17 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: msiiep.c Log Message: actually use CFATTACH_DECL_NEW() and device_private() for mspcic. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

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

2011-07-09 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jul 9 15:02:49 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: db_interface.c Log Message: avoid array bounds violation and use fr_fp and fr_pc. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89

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

2011-07-09 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jul 9 15:02:49 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: db_interface.c Log Message: avoid array bounds violation and use fr_fp and fr_pc. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89

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

2011-07-06 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jul 6 20:47:05 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: autoconf.c Log Message: Missed another one: #include sys/bus.h instead of machine/bus.h. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241

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

2011-07-06 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Jul 6 20:47:05 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: autoconf.c Log Message: Missed another one: #include sys/bus.h instead of machine/bus.h. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241

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

2011-07-02 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jul 2 13:10:53 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: machdep.c Log Message: don't try to print fr_arg[6] since it doesn't exist. To generate a diff of this commit: cvs rdiff -u -r1.311 -r1.312

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

2011-07-02 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jul 2 13:10:53 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: machdep.c Log Message: don't try to print fr_arg[6] since it doesn't exist. To generate a diff of this commit: cvs rdiff -u -r1.311 -r1.312

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

2011-07-01 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jul 1 18:51:52 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: clock.c cpuunit.c eeprom.c genassym.cf iommu.c memecc.c mkclock.c msiiep.c oclock.c pci_machdep.c timer.c timer_sun4.c timer_sun4m.c

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

2011-07-01 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jul 1 18:51:52 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: clock.c cpuunit.c eeprom.c genassym.cf iommu.c memecc.c mkclock.c msiiep.c oclock.c pci_machdep.c timer.c timer_sun4.c timer_sun4m.c

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

2011-06-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jun 18 02:05:08 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: remove some debugging output no longer necessary. To generate a diff of this commit: cvs rdiff -u -r1.342 -r1.343

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

2011-06-17 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jun 18 02:05:08 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: remove some debugging output no longer necessary. To generate a diff of this commit: cvs rdiff -u -r1.342 -r1.343

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

2011-06-11 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jun 12 01:29:58 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: kobj_machdep.c Log Message: sparc relative reloctions are busted here; copy the sparc64 style which seems to make things work fine, and also seems to follow what

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

2011-06-11 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jun 12 01:29:58 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: kobj_machdep.c Log Message: sparc relative reloctions are busted here; copy the sparc64 style which seems to make things work fine, and also seems to follow what

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

2011-05-23 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon May 23 18:40:30 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: intr.c Log Message: nmi_hard: convert nmi_hard_wait to use atomics. OK mrg@ To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115

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

2011-05-23 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon May 23 18:40:30 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: intr.c Log Message: nmi_hard: convert nmi_hard_wait to use atomics. OK mrg@ To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115

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

2011-04-14 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Apr 14 08:59:10 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: db_disasm.c db_trace.c Log Message: port to userspace. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/sparc/sparc/db_disasm.c cvs

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

2011-04-14 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Apr 14 08:59:10 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: db_disasm.c db_trace.c Log Message: port to userspace. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/sparc/sparc/db_disasm.c cvs

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

2011-02-20 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 20 10:02:02 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h genassym.cf locore.s Log Message: remove the evcnt for NULL struct fpstate * ipi, and switch over to an explicit panic() if we get one. i'm

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

2011-02-20 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 20 10:26:26 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: remove an unused 1: label left over from previous commit. To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264

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

2011-02-20 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 20 10:02:02 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h genassym.cf locore.s Log Message: remove the evcnt for NULL struct fpstate * ipi, and switch over to an explicit panic() if we get one. i'm

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

2011-02-20 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 20 10:26:26 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: remove an unused 1: label left over from previous commit. To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264

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

2011-02-20 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Feb 20 11:41:20 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: add some #if 0'ed code to turn the xcall() timeout into a hard panic. probably put this under DIAGNOSTIC when it is later properly working.

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

2011-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 15 09:05:15 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h intr.c Log Message: remove unused CPUFLG_READY and CPU_NOTREADY() macro. To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230

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

2011-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 15 09:56:33 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: intr.c pmap.c timer_sun4m.c Log Message: sprinkle some kpreempt_{dis,en}able() in various strategic points we will need when we get to actually enabling kernel

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

2011-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 15 10:59:25 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: intr.c locore.s Log Message: - move nmi_sun4m intr counting into nmi_soft/nmi_hard. - request the appropriate stack space for nmi_sun4m, in particular, make

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

2011-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 15 11:30:22 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: give memfault_sun*() some entry points that both gdb and ddb will find. To generate a diff of this commit: cvs rdiff -u -r1.261 -r1.262

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

2011-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 15 09:05:15 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h intr.c Log Message: remove unused CPUFLG_READY and CPU_NOTREADY() macro. To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230

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

2011-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 15 09:56:33 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: intr.c pmap.c timer_sun4m.c Log Message: sprinkle some kpreempt_{dis,en}able() in various strategic points we will need when we get to actually enabling kernel

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

2011-02-15 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Feb 15 10:59:25 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: intr.c locore.s Log Message: - move nmi_sun4m intr counting into nmi_soft/nmi_hard. - request the appropriate stack space for nmi_sun4m, in particular, make

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

2011-02-14 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 14 10:20:31 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: timer.c Log Message: use schedintr() (not schedintr_4m()) on MP or single CPU configurations. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

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

2011-02-14 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 14 10:21:05 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: timer_sun4m.c Log Message: call hardclock() the same way on cpu0 in MP and !MP cases. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

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

2011-02-14 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 14 10:20:31 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: timer.c Log Message: use schedintr() (not schedintr_4m()) on MP or single CPU configurations. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

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

2011-02-14 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 14 10:21:05 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: timer_sun4m.c Log Message: call hardclock() the same way on cpu0 in MP and !MP cases. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

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

2011-02-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 14 03:18:11 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h db_interface.c Log Message: add a mach xcall command to dump info about each cpus xpmsg{} values. while here, move the prototype for

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

2011-02-13 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 14 03:18:11 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h db_interface.c Log Message: add a mach xcall command to dump info about each cpus xpmsg{} values. while here, move the prototype for

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

2011-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Feb 4 09:23:00 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: in xcall(), use a (static) errbuf if we timeout, so we can build the whole message up for a single call to printf_nolog(). this should get

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

2011-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Feb 4 09:23:00 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: in xcall(), use a (static) errbuf if we timeout, so we can build the whole message up for a single call to printf_nolog(). this should get

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

2011-01-26 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 27 06:24:59 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h genassym.cf intr.c locore.s timer_sun4m.c Log Message: consolidate the interrupt evcnt(9) into a full set of per-IPL per-CPU soft/hard

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

2011-01-26 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 27 05:31:14 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h intr.c Log Message: to quote a new comment: * There's a deadlock potential between multiple CPUs trying * to xcall() at the same time, and the

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

2011-01-26 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 27 06:24:59 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h genassym.cf intr.c locore.s timer_sun4m.c Log Message: consolidate the interrupt evcnt(9) into a full set of per-IPL per-CPU soft/hard

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

2011-01-22 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 22 10:37:23 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: intr.c Log Message: XXX: in strayintr() don't print about stray zs inters in MP case. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109

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

2011-01-22 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 22 12:13:26 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: convert xpmsg_lock to IPL_SCHED. the old spl/simple_lock code ran at splsched(), and this significantly helps with stability under load when

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

2011-01-22 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 22 10:37:23 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: intr.c Log Message: XXX: in strayintr() don't print about stray zs inters in MP case. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109

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

2011-01-22 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 22 12:13:26 UTC 2011 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: convert xpmsg_lock to IPL_SCHED. the old spl/simple_lock code ran at splsched(), and this significantly helps with stability under load when

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

2010-08-08 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Sun Aug 8 18:21:50 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: update a comment. To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257 src/sys/arch/sparc/sparc/locore.s Please note that

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

2010-05-30 Thread matthew green
Module Name:src Committed By: mrg Date: Mon May 31 03:16:47 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: add #if 0'ed implementation of xc_send_ipi(), to be used shortly. To generate a diff of this commit: cvs rdiff -u -r1.221 -r1.222

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

2010-04-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Apr 26 09:26:25 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: Avoid using demap_lock early in pmap_bootstrap before it is initialized. To generate a diff of this commit: cvs rdiff -u -r1.339 -r1.340

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

2010-03-06 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Mar 7 00:42:08 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: gas has supported SPARC .empty for a long while; get rid of an ancient workaround. To generate a diff of this commit: cvs rdiff -u

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

2010-03-06 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Mar 7 00:42:08 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: gas has supported SPARC .empty for a long while; get rid of an ancient workaround. To generate a diff of this commit: cvs rdiff -u

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

2010-01-27 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 28 05:08:11 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: in savefpstate(), make sure we fill in the _first_ read of %fsr into the fpstate structure, not the last one. avoids fs-fs_fsr lacking the

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

2010-01-27 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Jan 28 05:08:11 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: in savefpstate(), make sure we fill in the _first_ read of %fsr into the fpstate structure, not the last one. avoids fs-fs_fsr lacking the

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

2010-01-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 23 16:06:57 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h Log Message: rename cpu_info{}::cpu_name member to cpu_longname, to avoid a potential conflict with sys/cpu.h. To generate a diff of this

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

2010-01-23 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Jan 23 16:06:57 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h Log Message: rename cpu_info{}::cpu_name member to cpu_longname, to avoid a potential conflict with sys/cpu.h. To generate a diff of this

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

2010-01-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jan 22 16:11:26 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: autoconf.c Log Message: Recognize ie @ vme as a network device. To generate a diff of this commit: cvs rdiff -u -r1.238 -r1.239

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

2010-01-22 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jan 22 16:11:26 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: autoconf.c Log Message: Recognize ie @ vme as a network device. To generate a diff of this commit: cvs rdiff -u -r1.238 -r1.239

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

2010-01-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jan 20 22:54:23 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: autoconf.c Log Message: Add the mac-address as device property for all network devices To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238

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

2010-01-13 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Jan 13 12:43:06 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: auxreg.h Log Message: Explicitly clear AUXIO4M_FTC bit in FTC_FLIP macro used on pseudo-dma for floppy, as well as AUXIO4C_FTC bit for sun4c. A comment in

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

2010-01-13 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed Jan 13 12:43:06 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: auxreg.h Log Message: Explicitly clear AUXIO4M_FTC bit in FTC_FLIP macro used on pseudo-dma for floppy, as well as AUXIO4C_FTC bit for sun4c. A comment in

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

2010-01-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Jan 13 02:17:12 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: cpuvar.h timer_sun4m.c Log Message: replace local ci_cpuname[] and use new cpu_name(). To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82

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

2010-01-09 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jan 10 03:36:30 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: trap.c Log Message: put the cpu_number() into some messages. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/arch/sparc/sparc/trap.c

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

2010-01-09 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jan 10 03:36:30 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: trap.c Log Message: put the cpu_number() into some messages. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/arch/sparc/sparc/trap.c

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

2010-01-05 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jan 5 21:38:50 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: intr.c Log Message: fix a typo - we need to check classipl vs. IPL_VM, not the SBus interrupt level To generate a diff of this commit: cvs rdiff -u

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

2010-01-05 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jan 5 21:38:50 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: intr.c Log Message: fix a typo - we need to check classipl vs. IPL_VM, not the SBus interrupt level To generate a diff of this commit: cvs rdiff -u

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

2010-01-05 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Jan 6 06:15:09 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: timer_sun4m.c Log Message: fix an incomplete comment. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/sparc/sparc/timer_sun4m.c

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

2010-01-03 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jan 3 12:44:34 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: reinsert part of the code accidentally deleted by the previous change. To generate a diff of this commit: cvs rdiff -u -r1.252 -r1.253

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

2010-01-03 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jan 4 04:06:58 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: use the idle lwp's uarea for stack, not the interrupt stack. this works now, and it fixes up idle vs interrupt time measurement for cpu0.

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

2010-01-03 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jan 4 04:21:35 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: timer.c timer_sun4m.c timervar.h Log Message: rework the timer interrupt usage on MP sun4m systems a little. use either schedintr() or schedintr_4m() and make

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

2010-01-03 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jan 3 11:44:58 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: genassym.cf locore.s Log Message: use genassym generated names for struct intrhand elements and avoid magic. To generate a diff of this commit: cvs rdiff -u

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

2010-01-03 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Jan 3 12:44:34 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: reinsert part of the code accidentally deleted by the previous change. To generate a diff of this commit: cvs rdiff -u -r1.252 -r1.253

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

2010-01-03 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jan 4 03:54:42 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: timer_msiiep.c timer_sun4.c Log Message: curlwp is never NULL any more. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

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

2010-01-03 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jan 4 04:06:58 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: use the idle lwp's uarea for stack, not the interrupt stack. this works now, and it fixes up idle vs interrupt time measurement for cpu0.

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

2010-01-03 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Jan 4 04:21:35 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: timer.c timer_sun4m.c timervar.h Log Message: rework the timer interrupt usage on MP sun4m systems a little. use either schedintr() or schedintr_4m() and make

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

2010-01-01 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Jan 1 08:00:02 UTC 2010 Modified Files: src/sys/arch/sparc/sparc: timer_sun4m.c Log Message: remove wrong if 0ed code To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sparc/sparc/timer_sun4m.c

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

2009-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Dec 20 03:38:59 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: cpuvar.h Log Message: add per-cpu event counters for lev10 and lev14 interrupts. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

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

2009-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Dec 20 03:40:03 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: timer_sun4m.c Log Message: add per-cpu event counters for lev10 and lev14 interrupts. add some disabled MP code to poke other cpus on level 14 interrupts. To

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

2009-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Dec 20 03:41:49 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: - add a diagnostic to ensure that cpus[0] == cpu0's cpu_info-ci_self - if a cpu doesn't have any mappings allocated, don't copy them. this

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

2009-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Dec 20 03:42:29 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: minor KNF. To generate a diff of this commit: cvs rdiff -u -r1.219 -r1.220 src/sys/arch/sparc/sparc/cpu.c Please note that diffs are not

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

2009-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Dec 20 03:48:30 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: fix the previous to compile !MULTIPROCESSOR. To generate a diff of this commit: cvs rdiff -u -r1.338 -r1.339

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

2009-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Dec 20 03:50:57 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: cpuvar.h Log Message: make CPU_INFO_FOREACH() set the iterator count to '0' in the !MP case. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81

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

2009-12-19 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Dec 20 03:53:46 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: locore.s Log Message: - remove unused ft_want_ast() - give nmi_sun* ENTRY() points so they show up in symbols properly - add some disabled code to use this cpu's

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

2009-11-11 Thread Havard Eidnes
Module Name:src Committed By: he Date: Wed Nov 11 14:20:01 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: msiiep.c Log Message: Pass a 0 as flag value to pmap_kenter_pa(). To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

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

2009-09-10 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Thu Sep 10 14:12:02 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: Make sure to initialize cpus[0] which will also be used as cpuinfo for sun4 and sun4c, not only for sun4m. Okay'ed by m...@. To

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

2009-06-11 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Thu Jun 11 14:42:47 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: Call cache_flush_all() in getcpuinfo(). Not sure if it's actually necessary, but it fixes panic makememarr: cannot find memory node on

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

2009-05-31 Thread matthew green
Module Name:src Committed By: mrg Date: Sun May 31 20:28:51 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: make sure to initialise the cpuinfo sz in all cases. noted by martin. To generate a diff of this commit: cvs rdiff -u -r1.330 -r1.331

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

2009-05-29 Thread matthew green
Module Name:src Committed By: mrg Date: Sat May 30 01:19:29 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: cpu.c Log Message: print the curpcb in mach cpu output as well. To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216 src/sys/arch/sparc/sparc/cpu.c

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

2009-05-27 Thread Valeriy E. Ushakov
On Wed, May 27, 2009 at 04:08:06 +, matthew green wrote: Modified Files: src/sys/arch/sparc/sparc: vm_machdep.c Log Message: sync this a little with sparc64: use cpu_setfunc() at the end of cpu_lwp_fork() To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99

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

2009-05-26 Thread matthew green
Module Name:src Committed By: mrg Date: Wed May 27 04:08:06 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: vm_machdep.c Log Message: sync this a little with sparc64: use cpu_setfunc() at the end of cpu_lwp_fork() To generate a diff of this commit: cvs rdiff -u

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

2009-05-17 Thread matthew green
Module Name:src Committed By: mrg Date: Mon May 18 00:25:15 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: intr.c Log Message: also print the cpu_number() when we get a strayintr(). To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

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

2009-05-17 Thread matthew green
Module Name:src Committed By: mrg Date: Mon May 18 01:36:11 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: cpu.c cpuvar.h db_interface.c locore.s pmap.c Log Message: - retire union cpu_info_pg - allocate space for each cpu_info{} in pmap_bootstrap - remap cpu0's space

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

2009-05-17 Thread matthew green
Module Name:src Committed By: mrg Date: Mon May 18 02:28:35 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: pmap.c Log Message: fix a LOCKDEBUG problem from the previous: need to call pmap_kremove() on a pre-existing mapping, before installing a new one. To generate

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

2009-05-16 Thread matthew green
Module Name: src Committed By:cegger Date:Sat May 16 17:01:16 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: machdep.c process_machdep.c svr4_machdep.c vm_machdep.c Log Message: KNF, same object code generated. why are

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

2009-05-16 Thread Izumi Tsutsui
Modified Files: src/sys/arch/sparc/sparc: machdep.c process_machdep.c svr4_machdep.c vm_machdep.c Log Message: KNF, same object code generated. why are you doing this? are you planning on touching all of these files or are you doing a KNF rototill that you

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

2009-05-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat May 16 17:42:36 UTC 2009 Modified Files: src/sys/arch/sparc/sparc: msiiep.c Log Message: Implement dmamap_unload - I might be missing something, or is it realy this easy? To generate a diff of this commit: cvs rdiff -u

<    1   2   3