summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2010-02-12introduce a uvm_km_valloc_try function that won't get a lower level lockTed Unangst
for use by the uvm pseg code. this is the path of least resistance until we sort out how many of these functions we really need. problem found by mikeb ok kettenis oga
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
else cares so it's just noise. Drivers that actually look at ITSDONE are unchanged. ok marco@ (for his files) dlg@ beck@
2010-01-02We need an additional level of indirection through 'struct scsibus_attach_args'Mark Kettenis
to find the 'struct scsi_link' associated with a scsibus(4). Interpreting 'struct scsibus_attach_args' as a 'struct scsi_link' happened to mostly work since it had a zero stored in the right place. However, after dlg@'s changes to 'struct scsi_link' that no longer turned out to be true. Makes my blade1k find its root disk again.
2010-01-01Miod must have gotten his fingers stuck between the keys on his keyboard andMark Kettenis
accidentally swapped to lines of code. Swap them back such that this compiles again.
2010-01-01Make sure we grab the kernel lock before invoking trapsignal().Miod Vallat
ok kettenis@
2009-12-31Add vds(4) and vdsp(4), implementing the vDisk server side protocol. ThisMark Kettenis
makes it possible to run an OpenBSD guest domain on top of a virtiual disk backed by a disk image on a filesystem on OpenBSD control or service domain. Probably doesn't support running Solaris or Linux yet. Haven't tried those yet because booting their installers in a guest domain is way too painful!
2009-12-31Add a few more hypervisor calls.Mark Kettenis
2009-12-26Add support for fragmented messages.Mark Kettenis
2009-12-26Remove unused variable.Mark Kettenis
2009-12-21Add uthum(4) to arches I could test it. ok deraadt@.Matthieu Herrb
2009-12-16- use nitems() inside a descriptive macro nameJasper Lievisse Adriaanse
ok kettenis@
2009-12-15Add vsw(4).Mark Kettenis
2009-12-15fix some buffer sizes.Edd Barrett
put () around all sizeof uses. OK ratchov@
2009-12-14Sanitize the code that resets the state when the LDC channel link stateMark Kettenis
changes. Don't initiate the handshake when the LDC channel link state comes up, to avoid a race where both sides initiate the handshake simultaniously, which leads to a guaranteed failure. Instead rely on the handshake done as a result of ifconfig up on the interface to succeed. Some retry logic may be needed there... This makes it possible to run OpenBSD (diskless) in a guest domain on a machine running OpenBSD in its control domain.
2009-12-14Fix previous commit. I left out a small fragment and accidentally committedMark Kettenis
a change we're not readdy for yet.
2009-12-14Support for in-band descriptor mode (VIO_DESC_MODE) used by OBP.Mark Kettenis
2009-12-14Make sure interrupts are disabled when we don't have queues configured. ThisMark Kettenis
prevents interrupt storms I'm hitting when running OpenBSD as a control domain.
2009-12-14Add wrapper functions to enable/disable interrupts and manipulate their state.Mark Kettenis
2009-12-12Add missing splbio() protection when sending commands to the vDisk server.Mark Kettenis
2009-12-12Remove debug printf and properly dequeue command instead when a read times outMark Kettenis
on LOMLite2.
2009-12-09Resubmit any pending SCSI commands when we sucessfully (re)connect toMark Kettenis
a vDisk server. This makes OpenBSD running in a guest domain survive a reboot of a control domain or service domain.
2009-12-09Don't try to shove I/O down the LDC if we're disconnected from the virtualMark Kettenis
disk server.
2009-12-08Passing kva + size as the third argument to uvm_km_free() is a bad idea. ItMark Kettenis
unmaps quite a bit more than intended, which causes weird things like watchdog resets.
2009-12-08Base the revision string in the INQUIRY info on the version of the VIO protocolMark Kettenis
used by the virtual disk server.
2009-12-02no firmware on ramdisks; ok kettenisTheo de Raadt
2009-12-01Fix the mixer interface for the CE4231 sound card found in Sun machines. Still aEdd Barrett
lot of room for improvement in the driver, but atleast it works now. OK kettenis@, ratchov@
2009-11-30Load firmware that is needed for accelerated X on Elite3D boards.Mark Kettenis
The firmware is loaded from /etc/firmware/afb, which will be provided soon.
2009-11-30Add inline function to read %fprs.Mark Kettenis
2009-11-27Move MB_LEN_MAX into the machine-independent sys/limits.h header,Philip Guenthe
rather than defining it separately for each architecture. Also set it to 4, to accommodate for future UTF-8 support (rfc3629). Diff by stsp, committing to catch the libc major bump ok kettenis@, guenther@
2009-11-25Clear any pending interrupts. This should not matter, since we're at splhigh(),Mark Kettenis
but I get the feeling this may be an issue for some of the schizo(4) error interrupts.
2009-11-23Add bnx(4) now that it works.Claudio Jeker
2009-11-15athn works on sparc64Theo de Raadt
2009-11-10Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once theMark Kettenis
machine is up and running.
2009-11-09Fix error message.Mark Kettenis
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
2009-11-04Replace the #ifdef NON_DEBUG and #ifdef NOTDEF_DEBUG mess with more saneJoel Sing
DPRINTF/DNPRINTF() debugging.
2009-10-31Establish a shutdown hook to disable the watchdog timer to prevent watchdogMark Kettenis
triggers after the kernel has been halted.
2009-10-31Make sure we don't insert and entry into the list of pending commends twice.Mark Kettenis
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
miod@ deraadt@ ok.
2009-10-31Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()Theo de Raadt
calls can go directly into selwakeup() safely long discussion with nicm, murmers of consent from tedu and miod, noone else seems to care of kqueue is busted as long as it makes their sockets move data fast... pretty sad.
2009-10-28LOMlite seems to get wedged from time to time; add some code to unwedge it.Mark Kettenis
2009-10-26Do not do strncmp comparisons on dv_xname because longer device names whichTheo de Raadt
look similar could arrive in the future. Instead, compare directly against dv_cfdata->cf_driver->cd_name Issue originally spotted by miod
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-10-04pull in wbsd conditionally; ok kettenisTheo de Raadt
2009-10-03Glue to attach the SD/MCC reader of the W83L519D found on some TadpoleMark Kettenis
laptops.
2009-09-27Print the LOM type (LOMlite/LOMlite2).Mark Kettenis
2009-09-27Add sensor status for fan sensors.Mark Kettenis
2009-09-27Implement queuing of reads and writes. This gets rid of the remaining busyMark Kettenis
waits for LOMlite.
2009-09-24Slightly less evil busy wait loop for LOMlite. Small tweak to LOMlite stateMark Kettenis
machine.