summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2009-03-05Make ELF platforms generate ELF core dumps. Somewhat based on code fromMark Kettenis
NetBSD. ok kurt@, drahn@, miod@
2009-03-01Replace a few magic constants with proper #defines as pointed out by miod@.Mark Kettenis
2009-03-01Enable raptor(4) here too. Pointed out by deraadt@ and miod@.Mark Kettenis
2009-03-01Enable raptor(4).Mark Kettenis
2009-03-01Finish colormap support; makes Xorg wsfb driver work.Mark Kettenis
2009-03-01Some initial colormap support.Mark Kettenis
2009-03-01An accelerated framebuffer driver for the Tech Source Raptor GFX cards builtMark Kettenis
around the Number 0 Imagine-128 chip. Colormap support is still missing.
2009-03-01Don't let an mmio area replace the frame buffer if they are the same size.Mark Kettenis
Seen on a Tech Source Raptor. ok miod@
2009-02-26Add a two new ioctls to the apm(4) interface.Owain Ainsworth
APM_IOC_{SUSPEND,STANDBY}_REQ: This is to fix an issue with apm suspend where a call to zzz suspended the machine immediately, not giving anyone listening for apm events (other than apmd) a chance to deal with the upcoming change. This hit X hard since the introduction of drm, since it needs to have time to idle the 3d engine and otherwise get the device into a recoverable state. Such things are needed until we support modesetting in the kernel. Now, instead of forcing a suspend, using ioctl sends out an event similar to if you had put the lid down, giving all userland applications a chance to reply. tested by sthen@ and beck@, especial thanks to sthen for sitting there while I tried to debug this remotely, I owe him beer. Prompted by and ok deraadt@
2009-02-20Tweak debug printf.Mark Kettenis
2009-02-20Make sure we have enough space in the LDC transmit queue to send a DRING_DATAMark Kettenis
message and bail out early instead of dropping packets to be transmitted.
2009-02-19Make prom_sun4v_soft_state_supported() call the right client interface.Mark Kettenis
2009-02-17Remove an if 0ed out chunk for BUS_DMA_COHERENT in bus_dmamap_map.Owain Ainsworth
sparc64 is dma coherent and won't be needing this. ok kettenis@.
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
2009-02-15Sun's usage of the "banner-name" property is just too inconsistent to giveMark Kettenis
us a chance to parse it and generate strings for hw.product and hw.vendor. Use the "name" property instead. This should give us a better chance of booting on UltraSPARC T2+ systems. ok deraadt@
2009-02-12Add a pm_statistics struct to all pmap, and keep track of residentMiod Vallat
pages. Use this to provide a real pmap_resident_count() function. ok kettenis@
2009-02-10remove run(4) from some RAMDISKDamien Bergamini
2009-02-10enable run(4) everywhere where ural(4) and rum(4) are enabled.Damien Bergamini
run(4) has been reported to work on sparc64 by Maxim Belooussov so I'm pretty confident that it works on all arches.
2009-02-08Add missing mux locators to non-USB keyboards and mice.Mark Kettenis
ok miod@
2009-01-25Remove /dev/drum and related code.Miod Vallat
2009-01-23Make write_user_windows() do what the name suggests: flush user windows insteadMark Kettenis
of all windows.
2009-01-22Call checkdisklabel() for labels built from native info. This willKenneth R Westerback
ensure 'c' always has the correct size as the rest of the kernel assumes. Thus prevent dd'ing causing a SCSI out-of-bounds error. ok miod@
2009-01-21Extend the acceleration code to handle jfb (XVR-600, XVR-1200) models, theMiod Vallat
software only code is kept in case we can't reliably figure out what kind of device we are facing. Tested on XVR-1200 by Mattieu Baptiste, and on Expert3D-Lite by me.
2009-01-20I can't figure out why flushing all user windows before writing out windowsMark Kettenis
saved in the pcb to the stack fixes the problems with user space register window corruption I see on sun4v. So I give up and commit the workaround. It isn't too evil, since this isn't in the fast path and we're likely to spill these windows anyway in the process of writing out the register windows. Curiously enough, the OpenSolaris code seems to do pretty much the same.
2009-01-20Add a few more inline functions to read priviliged registers.Mark Kettenis
2009-01-19The acceleration code would not work on XVR-600 and XVR-1200, so if it turnsMiod Vallat
out it doesn't work, fall back to dumb software routines until we know better. Also, do not attach to the second head of the XVR-1200 yet, the second node lacks basic frame buffer properties. Tested by Mattieu Baptiste, thanks!
2009-01-19Clear RI_CLEARMARGINS in the ri_bits == NULL ifb(4) kluge, the new windowMiod Vallat
position code may set it.
2009-01-17If the hypervisor call that fetches randomness returns EWOULDBLOCK,Mark Kettenis
reschedule the timeout again instead of complaining.
2009-01-17Clean things up a bit, and be a bit more fussy about the proper sequence inMark Kettenis
which we should receive messages from our peer.
2009-01-17Return NO_CCB if we run out of descriptors.Mark Kettenis
Suggested by krw@
2009-01-17Sync vio_sendmsg() with equivalent code in vdsk(4).Mark Kettenis
2009-01-17Enable vrng(4).Mark Kettenis
2009-01-17Make this work in guest domains.Mark Kettenis
2009-01-17Implement SYNCHRONIZE CACHE and make SCSI_POLL work while we're there.Mark Kettenis
2009-01-16Set the number of openings to the number of ring descriptors minus one. ForMark Kettenis
some reason, setting it to the number of descriptors causes ring overruns.
2009-01-16Make it possible to boot from vdsk(4).Mark Kettenis
2009-01-16Make transfers bigger than PAGE_SIZE work.Mark Kettenis
2009-01-16Remove bogus KASSERT.Mark Kettenis
2009-01-16Call start callback unconditionally.Mark Kettenis
2009-01-16Improve VIO state machine, and initiate VIO handshake ourselves. Makes thisMark Kettenis
work with newer versions of Solaris.
2009-01-14Be sure to allocate memory with M_ZERO in sbus_alloc_dma_tag(), or strangeMiod Vallat
things happen. ok kettenis@
2009-01-14Enable vsdk(4).Mark Kettenis
2009-01-12A storage driver should be DV_DULL, not DV_IFNET. Pointed out by dlg@.Mark Kettenis
2009-01-12Look up the "compatible" property of the right node to detect serialMark Kettenis
interfaces on the m4k/m5k/m8k/m9k.
2009-01-12Oops, sunkbd_decode() still needs to be public for *cngetc() to work;Miod Vallat
spotted the hard way by kettenis.
2009-01-12Enable WSDISPLAY_COMPAT_RAWKBD and wsmux on sparc64; ok matthieu@Miod Vallat
2009-01-12Initial stab at a driver for virtual disks found on sun4v logical domains.Mark Kettenis
Still needs some work, but reading from and writing to a disk image works.
2009-01-12Add padding to some message structs since the Solaris virtual disk serversMark Kettenis
seems to want it. Also add 'struct vio_rdx' to make sure we use the proper padding there too.
2009-01-12Add a callback function that gets called when an LDC connection is established.Mark Kettenis
2009-01-12As recommended by the Sun Virtual IO specification, use tick() to generateMark Kettenis
session ID instead of arc4random().