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

2015-03-02 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Mon Mar 2 13:58:55 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: PANICSTACK is a pointer itself, not a pointer to pointer. To generate a diff of this commit: cvs rdiff -u -r1.379 -r1.380 src/sys

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

2015-03-02 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Mon Mar 2 13:48:00 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Use panic stack temporarily for calling prom_printf in a trap handler. It seems that openfirmware cannot handle over 4GB pointers,

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

2015-02-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Feb 28 21:44:33 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: As christos put it: "Tidy up error handling, and return SIGBUS for mmap past the end of file as required by the spec." To generate a

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

2015-02-23 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Feb 23 12:36:58 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: sparc_interupt - ensure that the trap level and globals level are the same when the flushw instruction is issued - othwise war

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

2015-02-20 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sat Feb 21 07:40:01 UTC 2015 Modified Files: src/sys/arch/sparc64/dev: lom.c Log Message: Fix queue handling to make the watchdog timer actually works on netbsd-7 if it is configured by wdogctl=YES in rc.conf, and also avoid a h

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

2015-02-14 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sun Feb 15 01:43:11 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: files.sparc64 Log Message: Fix up sysmon_* dependencies. To generate a diff of this commit: cvs rdiff -u -r1.147 -r1.148 src/sys/arch/sparc64/conf/files.s

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

2015-02-12 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Feb 12 10:09:10 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: files.sparc64 Log Message: sun4v: vpci driver - initial (and incomplete) version of virtual PCIe host bridge driver for sun4v systems. Based on the NetBSD pyr

CVS commit: src/sys/arch/sparc64

2015-02-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Feb 12 04:48:37 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: GENERIC Added Files: src/sys/arch/sparc64/dev: vpci.c vpcivar.h Log Message: sun4v: vpci driver - initial (and incomplete) version of virtual PCIe host

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

2015-02-10 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Feb 11 04:47:11 UTC 2015 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Updated todo list with item about v445 and GENERIC.UP kernel that hangs To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys

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

2015-02-10 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Feb 11 04:44:11 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: sun4v: Ensure that sane values are returned in scenarios where no x_cache_associativity info is present, e.g. in a simulated environment

CVS commit: src/sys/arch/sparc64

2015-01-24 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jan 24 20:17:22 UTC 2015 Modified Files: src/sys/arch/sparc64/doc: TODO src/sys/arch/sparc64/sparc64: cpu.c Log Message: Cache info is now printed during bootstrap on the sun4v platform. Make the sun4u centric cache in

CVS commit: src/sys/arch/sparc64

2015-01-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jan 19 19:46:08 UTC 2015 Modified Files: src/sys/arch/sparc64/include: mdesc.h src/sys/arch/sparc64/sparc64: mdesc.c Log Message: sun4v: Add two new functions to the mdesc api: mdesc_find_node_by_idx() and mdesc_next_n

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

2015-01-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jan 11 13:40:22 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: mdesc.c Log Message: sun4v: hv_mach_desc() needs a buffer length of zero to return the actual length - this also fixes the failing sparc GENERIC_SUN4U buil

CVS commit: src/sys/arch/sparc64

2015-01-10 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jan 10 22:19:26 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: files.sparc64 src/sys/arch/sparc64/sparc64: autoconf.c Added Files: src/sys/arch/sparc64/include: mdesc.h src/sys/arch/sparc64/sparc64:

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

2015-01-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jan 7 09:50:05 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: enable genfb at sbus output may not be pretty but it has a halfway decent chance to work at least to some degree on otherwise unsupport

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

2015-01-06 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jan 6 17:51:57 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: add mgx driver To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 src/sys/arch/sparc64/conf/GENERIC Please note that di

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

2015-01-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jan 5 11:42:19 UTC 2015 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Add reminder to change run-time cpu type checks To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sparc64/doc/TODO P

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

2015-01-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jan 5 11:40:56 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: cache.c cache.h Log Message: cache_flush_phys(): Avoid run-time check for cpu type/implementation by installing correct function pointer in cache_setup_fun

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

2015-01-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jan 4 15:24:18 UTC 2015 Modified Files: src/sys/arch/sparc64/sparc64: ipifuncs.c Log Message: smp_dcache_flush_page_cpuset(): Avoid run-time check for cpu type/implementation by installing correct function in sparc64_ipi_ini

CVS commit: src/sys/arch/sparc64

2015-01-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jan 3 11:22:14 UTC 2015 Modified Files: src/sys/arch/sparc64/include: cpu.h src/sys/arch/sparc64/sparc64: ipifuncs.c Log Message: smp_tlb_flush_pte(): Avoid run-time check for cpu type/implementation by installing cor

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

2014-12-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Dec 30 18:29:20 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cache.c cache.h Log Message: sp_tlb_flush_*: Avoid run-time check for cpu type/implementation by installing correct function in cache_setup_funcs() To ge

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

2014-12-25 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Thu Dec 25 14:02:03 UTC 2014 Modified Files: src/sys/arch/sparc64/include: psl.h Log Message: Put "memory" to asm inline for reading privilege registers on sun4v to avoid issuing rdpr %ver before checking cputyp as a result of c

CVS commit: src/sys/arch/sparc64

2014-12-05 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Dec 5 11:34:00 UTC 2014 Modified Files: src/sys/arch/sparc64/include: psl.h src/sys/arch/sparc64/sparc64: cpu.c Log Message: Use GETVER_CPU_* macros. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 s

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

2014-12-05 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Dec 5 11:31:50 UTC 2014 Modified Files: src/sys/arch/sparc64/include: psl.h Log Message: Make getver() into a constant function since Version Register (%ver) is read only and its value is constant. This change reduces mult

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

2014-11-15 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Sat Nov 15 12:41:36 UTC 2014 Modified Files: src/sys/arch/sparc64/conf: Makefile.sparc64 Log Message: Use LINKSCRIPT. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/arch/sparc64/conf/Makefile.sparc64 Pl

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

2014-11-05 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed Nov 5 13:50:50 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cache.h Log Message: Simplify a condition. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sparc64/sparc64/cache.h Please n

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

2014-11-05 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Wed Nov 5 13:30:11 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cache.h cpu.c ipifuncs.c Log Message: Remove more #ifdef SUN4V to make compilable w/o options SUN4V. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/sys/arch/sparc64

2014-11-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Nov 4 18:11:42 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: ebus_mainbus.c src/sys/arch/sparc64/sparc64: cache.h cpu.c ipifuncs.c pmap.c Log Message: sun4v: Removed a bunch of ifdef SUN4V since the CPU_ISSUN4V al

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

2014-11-02 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Nov 2 19:40:06 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: ipifuncs.c mp_subr.S Log Message: sun4v: Implement missing sparc64_ipi_dcache_flush_page_xxx() function. ok martin@ To generate a diff of this commit: cv

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

2014-11-01 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sat Nov 1 16:45:16 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: sab.c Log Message: Convert sab_shutdown from deprecated shutdownhook_establish(9) API to PMF(9) framework. Tested on Ultra 60 with serial console. To gene

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

2014-10-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Oct 30 13:57:14 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: sun4v: ensure that the X (eXecute) bit is set in the TTE To generate a diff of this commit: cvs rdiff -u -r1.290 -r1.291 src/sys/arch/

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

2014-10-28 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Tue Oct 28 13:04:51 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: Sync cpu_reboot with i386: - avoid sync and unmount after panic. - remove vfs_shutdown, we call vfs_sync_all and vfs_unmount* inst

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

2014-10-26 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Oct 26 21:03:45 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Create CLEANWIN0 and CLEANWIN1 macros for handling clean window traps on both sun4u and sun4u (based on the original code inli

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

2014-10-24 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Oct 24 15:51:16 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.375 -r1.376 src/sys/arch/sparc64/sparc64/locore.s Pleas

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

2014-10-15 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Oct 15 21:18:32 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: fixed bug causing the real address to be incorrectly calculated as zero To generate a diff of this commit: cvs rdiff -u -r1.3

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

2014-10-08 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Oct 8 10:30:27 UTC 2014 Modified Files: src/sys/arch/sparc64/include: param.h Log Message: Ths has been sitting in my tree for years... Allow the Xserver to map PCI IO space. Not needed for Sun-branded graphics cards but Xo

CVS commit: src/sys/arch/sparc64

2014-09-24 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Sep 24 18:32:10 UTC 2014 Modified Files: src/sys/arch/sparc64/include: cpu.h hypervisor.h src/sys/arch/sparc64/sparc64: cpu.c genassym.cf locore.s mp_subr.S Log Message: sun4v: add code to enable startup of secondary cp

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

2014-09-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 21 16:39:12 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: psycho.c schizo.c Log Message: fix leak To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/sparc64/dev/psycho.c cvs rdiff -u -r1.

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

2014-09-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 21 16:37:34 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: fix leak To generate a diff of this commit: cvs rdiff -u -r1.278 -r1.279 src/sys/arch/sparc64/sparc64/machdep.c Please note tha

CVS commit: src/sys/arch/sparc64

2014-09-06 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Sep 6 20:56:39 UTC 2014 Modified Files: src/sys/arch/sparc64/include: sparc64.h src/sys/arch/sparc64/sparc64: ofw_machdep.c Log Message: sun4v: New function prom_startcpu_by_cpuid() necessary for starting cpus on sun4

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

2014-09-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Sep 4 18:55:03 UTC 2014 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: update TODO list To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sparc64/doc/TODO Please note that diffs ar

CVS commit: src/sys/arch/sparc64

2014-09-04 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Sep 4 18:48:29 UTC 2014 Modified Files: src/sys/arch/sparc64/include: cpu.h pmap.h src/sys/arch/sparc64/sparc64: genassym.cf locore.s pmap.c Log Message: sun4v: All cpus must be setup with a TSB descriptor, so pmap_set

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

2014-09-01 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Sep 1 19:01:55 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: cpu_boot_secondary_processors() needs a platform independent way to get the cpu id, so use cpu_myid() instead of sun4u specific CPU_UPAI

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

2014-08-31 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Aug 31 18:49:42 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Split the NORMAL_GLOBALS and ALTERNATE_GLOBALS macros to _SUN4U and _SUN4V variants. Rework the return_from_trap logic to use

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

2014-08-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Aug 27 19:02:17 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: ebus_mainbus.c Log Message: Use device_lookup() to locate device instances To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sparc64/

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

2014-08-24 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Aug 24 19:09:43 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: iommu.c iommureg.h Log Message: Initialize IOMMU control and status register properly - from OpenBSD - ok mrg@ To generate a diff of this commit: cvs rdiff -u

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

2014-08-24 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Aug 24 19:06:14 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: ebus_mainbus.c ebusvar.h Log Message: Generalize the code to allow for arbitrary interrupt wirings - with this change the serial console is usable on Sun Fire

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

2014-08-19 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Aug 19 18:20:51 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: fdc.c Log Message: Sync with sparc/dev/fd.c:1.155. Fix panic() on opening fd(4), caused by a wrong pointer passed to memset(). I'm not sure why this 18 year

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

2014-08-13 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Thu Aug 14 04:14:33 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Add missing delay slot in DEBUG kernel. To generate a diff of this commit: cvs rdiff -u -r1.369 -r1.370 src/sys/arch/sparc64/spar

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

2014-08-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Aug 11 11:51:45 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: Match firmware paths for the boot device in Mac style, as used by QEMU/OpenBIOS. To generate a diff of this commit: cvs rdiff -u

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

2014-07-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jul 30 13:50:33 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Fix ALTERNATE_GLOBALS so it at least works on sun4u - using a scratch register is not a good idea... To generate a diff of this com

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

2014-07-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jul 27 17:46:43 UTC 2014 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: Update TODO list with relevant sun4v stuff To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/sparc64/doc/TODO

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

2014-07-27 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jul 27 16:37:47 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Introduce a new macro ALTERNATE_GLOBALS (matching NORMAL_GLOBALS). Two new helper macros ENABLE_INTERRUPTS and DISABLE_INTERRU

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

2014-07-26 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jul 26 17:16:41 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Improved the NORMAL_GLOBALS macro in the sun4u case, so only the relevant bit (AG) in %pstate is affected - ok martin@ To generate

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

2014-07-25 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Jul 25 18:29:45 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: Output CPU manufacturer, implementation and mask code. To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/sys/arch/

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

2014-07-25 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Jul 25 17:54:50 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: clock.c cpu.c Log Message: Use clockfreq() to print a system tick frequency. The stick-frequency of Fire V100 is 555Hz and printing it as 5.555MHz i

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

2014-07-24 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jul 24 18:23:28 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: add missing spill/fill handling for trap level 1 + cosmetic changes to comments for trap level 0 entries To generate a diff

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

2014-07-19 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jul 19 20:58:12 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Introduce a NORMAL_GLOBALS macro - first used in sparc_interrupt - other relevant uses will be handled as the sun4v work is pr

CVS commit: src/sys/arch/sparc64

2014-07-16 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed Jul 16 19:53:18 UTC 2014 Modified Files: src/sys/arch/sparc64/include: ctlreg.h src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Introduce SET_MMU_CONTEXTID macro for setting the mmu context id on both sun4u

CVS commit: src/sys/arch/sparc64

2014-07-14 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Mon Jul 14 12:40:38 UTC 2014 Modified Files: src/sys/arch/sparc64/include: bus_funcs.h src/sys/arch/sparc64/sparc64: machdep.c Log Message: Make bus_space_barrier inline to avoid unnecessary argument handling. To gener

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

2014-07-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jul 13 22:32:49 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: add interrupt handling to sun4v trap table To generate a diff of this commit: cvs rdiff -u -r1.362 -r1.363 src/sys/arch/sparc

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

2014-07-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jul 13 22:09:01 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Bugfix: add missing cmp instruction to GET_MAXCWP macro To generate a diff of this commit: cvs rdiff -u -r1.361 -r1.362 src/sys/arch

CVS commit: src/sys/arch/sparc64

2014-07-09 Thread Julian Coleman
Module Name:src Committed By: jdc Date: Thu Jul 10 06:24:02 UTC 2014 Modified Files: src/sys/arch/sparc64/include: param.h src/sys/arch/sparc64/sparc64: pmap.c Log Message: Increase maximum MSGBUFSIZE to 248k. While here, remove 2 sparc(32)-only entries (from mrg@)

CVS commit: src/sys/arch/sparc64

2014-06-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Jun 30 12:59:48 UTC 2014 Modified Files: src/sys/arch/sparc64/doc: TODO src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: The maximum number of register windows is a constant and thus not available via the %ve

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

2014-06-10 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Jun 10 18:27:42 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: clock.c cpu.c Log Message: sun4v: make cpu_initclocks() work on sun4v - %tick and %stick on sun4v systems are read-only. ok martin@ To generate a diff of

CVS commit: src/sys/arch/sparc64

2014-06-08 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jun 8 17:33:24 UTC 2014 Modified Files: src/sys/arch/sparc64/include: cpu.h hypervisor.h trap.h src/sys/arch/sparc64/sparc64: cache.h cpu.c hvcall.S ipifuncs.c mp_subr.S Log Message: sun4v: make tlb_flush_p

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

2014-06-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jun 5 19:49:04 UTC 2014 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: sun4v: note missing handling in cpu_match() To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sparc64/doc/TODO Pleas

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

2014-06-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jun 5 19:47:24 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: sun4v: note missing handling in pmap_calculate_colors() To generate a diff of this commit: cvs rdiff -u -r1.287 -r1.288 src/sys/arch/s

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

2014-06-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jun 5 18:36:44 UTC 2014 Modified Files: src/sys/arch/sparc64/include: hypervisor.h Log Message: sun4v: ensure that it is possible to include the hypervisor.h file more than once To generate a diff of this commit: cvs rdiff

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

2014-06-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue Jun 3 20:01:34 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: sun4v: rename upaid_from_node() to cpuid_from_node() - make the function able to extract the cpuid from the cpu nodes reg property (sun4

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

2014-05-31 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat May 31 18:27:03 UTC 2014 Modified Files: src/sys/arch/sparc64/doc: TODO Log Message: Updated TODO with relevant things to fix on sun4v To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc64/doc/TODO

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

2014-05-31 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat May 31 18:22:29 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: added missing dtsb miss handling for trap level 1 - with this update the kernel now reaches configure() on sun4v systems To

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

2014-05-30 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Fri May 30 21:55:32 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: Remove debugging code introduced by accident in locore.s revision 1.357 To generate a diff of this commit: cvs rdiff -u -r1.358 -r1.

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

2014-05-21 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Wed May 21 19:33:51 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: pmap.c Log Message: Removed duplicate call to prom_map_phys() To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/arch/sparc64/sparc64

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

2014-05-19 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Mon May 19 23:13:46 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: ipifuncs.c Log Message: s/cpu_send_ipi/cpu_ipi/ To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/sparc64/sparc64/ipifuncs.c Ple

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

2014-05-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue May 13 19:39:40 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: Use proper SYSCTL_DESCR() macro To generate a diff of this commit: cvs rdiff -u -r1.276 -r1.277 src/sys/arch/sparc64/sparc64/machde

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

2014-05-13 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Tue May 13 19:14:05 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: get_vis() now handles sun4v (VIS 1 and VIS 2) To generate a diff of this commit: cvs rdiff -u -r1.275 -r1.276 src/sys/arch/sparc64/

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

2014-05-05 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon May 5 19:04:47 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: the trap base address should be assigned to %l1 so %tba is properly setup later in the code - now the kernel gets as far as pr

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

2014-05-04 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun May 4 09:05:39 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: ofw_machdep.c Log Message: The OF_test_method() function takes an instance handle, not a phandle, and returns 0 on success. Pointed out by Mark Cave-Ayland

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

2014-05-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat May 3 12:51:32 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: lpt_ebus.c Log Message: Also attach to devices named "parallel" To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/sparc64/dev/lpt_eb

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

2014-04-29 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Apr 30 00:09:29 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: clock.c Log Message: avoid divide by zero when setting 'hz' low. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 src/sys/arch/sparc64/sparc6

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

2014-04-21 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Apr 21 17:34:38 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: sun4v: Update comment: modified -> access To generate a diff of this commit: cvs rdiff -u -r1.356 -r1.357 src/sys/arch/sparc64/sparc

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

2014-04-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Apr 15 12:22:49 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c Log Message: fix same pasto as in sparc/cpu.c - print frequency in MHz if we say it's in MHz To generate a diff of this commit: cvs rdiff -u -r1.

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

2014-04-14 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Apr 14 10:54:08 UTC 2014 Modified Files: src/sys/arch/sparc64/include: pmap.h vmparam.h Log Message: Implement and enable TOPDOWN_VM. From Chuck Silvers. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/

CVS commit: src/sys/arch/sparc64

2014-03-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 26 08:40:58 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: pci_machdep.c src/sys/arch/sparc64/sparc64: autoconf.c Log Message: kill sprintf To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/

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

2014-03-07 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Fri Mar 7 22:51:27 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: netbsd32_machdep.c syscall.c Log Message: Mark as __diagused to variables used only in KASSERT. To generate a diff of this commit: cvs rdiff -u -r1.102

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

2014-03-02 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Mon Mar 3 05:05:09 UTC 2014 Modified Files: src/sys/arch/sparc64/include: pte.h Log Message: sun4v: SUN4V_TLB_TSB_LOCK define should have the same LL (instead of UL) as the other defines To generate a diff of this commit: cvs r

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

2014-02-27 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Feb 27 18:14:52 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: db_disasm.c Log Message: Cast argument to abs, not the result. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/sparc64/sparc64/

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

2014-02-21 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Feb 21 20:45:12 UTC 2014 Modified Files: src/sys/arch/sparc64/conf: Makefile.sparc64 Log Message: Use code model small for LLVM, it should be equivalent to GCC's medlow. To generate a diff of this commit: cvs rdiff -u -r1.73

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

2014-02-20 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Feb 20 11:00:40 UTC 2014 Modified Files: src/sys/arch/sparc64/dev: lom.c Log Message: Don't use conditional format strings, if they aren't equivalent in the arguments they use. To generate a diff of this commit: cvs rdiff -u

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

2014-02-19 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Feb 20 01:40:42 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: trap.c Log Message: Use a format string. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/arch/sparc64/sparc64/trap.c Please note

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

2014-02-01 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sat Feb 1 11:19:04 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: kobj_machdep.c Log Message: Follow rev. 1.54, 1.55 of libexec/ld.elf_so/arch/sparc64/mdreloc.c. To generate a diff of this commit: cvs rdiff -u -r1.4 -

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

2014-01-31 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Fri Jan 31 18:56:24 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: locore.s Log Message: defined(LKM) -> defined(MODULAR) To generate a diff of this commit: cvs rdiff -u -r1.354 -r1.355 src/sys/arch/sparc64/sparc64/loco

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

2014-01-26 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sun Jan 26 20:12:32 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf locore.s Log Message: sun4v: Add handling of spill/fill and dtsb miss traps (with a XXX to be handled later) To generate a diff of this commi

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

2014-01-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 25 19:42:25 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: machdep.c Log Message: __USING_TOPDOWN_VM is gone. To generate a diff of this commit: cvs rdiff -u -r1.274 -r1.275 src/sys/arch/sparc64/sparc64/machdep

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

2014-01-25 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jan 25 19:07:25 UTC 2014 Added Files: src/sys/arch/sparc64/doc: TODO Log Message: Add a TODO file to document things to be done for the sparc64 port To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/sparc

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

2014-01-11 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jan 11 18:31:35 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf Log Message: No need to make CI_MMFSA depend on SUN4V since the ci_mmfsa field is always present in the cpu_info struct now To generate a dif

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

2014-01-11 Thread Takeshi Nakayama
Module Name:src Committed By: nakayama Date: Sat Jan 11 12:20:07 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: genassym.cf Log Message: Uncomment ifdef/endif and tabify. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/arch/sparc64/sparc64/g

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

2014-01-09 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jan 9 20:28:24 UTC 2014 Modified Files: src/sys/arch/sparc64/include: cpu.h Log Message: sun4v: Update description of the ci_mmfsa field in the cpu_info structure To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.1

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

2014-01-09 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Thu Jan 9 20:13:54 UTC 2014 Modified Files: src/sys/arch/sparc64/sparc64: cpu.c pmap.c Log Message: Coding style fixes (whitespace) - no functional changes To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/

<    1   2   3   4   5   6   7   8   9   >