summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-12-01put the midlayer changes back in.David Gwynne
the two issues affecting it last time are gone. the first, mishandling of TRY_AGAIN_LATER is not relevant now that krw got rid of TRY_AGAIN_LATER. the second, the misbehaving IBM disk was found to be a problem with siop using ordered tags on most ops combined with the speed of the new code. putting this in so we can move forward. ok krw@ "commit please" marco@
2009-12-01Change type of dva to u_int64_t to make mpii(4) compile on i386.Alexander Bluhm
ok marco@
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-30Re-initialise the interface upon resume.Mark Kettenis
ok deraadt@, pirofti@, claudio@
2009-11-30Crank __LDPGSZ from 4KB to 16KB, in preparation for a kernel page sizeMiod Vallat
increase as well. Binaries compiled before this change will not work once the kernel page size is cranked (in a few weeks), so you might want to update your userland and packages soon.
2009-11-30KNFPaul Irofti
2009-11-30Bump up array size to prevent overflow when probing memoryCan Erkin Acar
on machines reporting > 32 memory regions. ok kettenis@
2009-11-30regenJasper Lievisse Adriaanse
2009-11-30- add two devices found in dmesgsJasper Lievisse Adriaanse
2009-11-30Use the new Elfxx_Phdr check hook to prevent loading a kernel not compiledMiod Vallat
for the platform we are running on (i.e. trying to boot e.g. bsd.IP32 on an IP27 machine).
2009-11-30Allow the bootblocks to provide an optional Elfxx_Phdr check, and abort theMiod Vallat
file load if necessary. Will be used very shortly.
2009-11-29Backout previous commit. There is a possible race which makes it possibleMark Kettenis
for sys_reboot() to hang forever.
2009-11-29- add net80211, from Vladimir KirillovStuart Henderson
- sort nnpfs alphabetically ok deraadt jasper
2009-11-29disable the isa wdc's because amd64 machines are much more likely toTheo de Raadt
be legacy-free machines built by Dell monkeys who then (it seems) reuse the io address space for something else. Touch it, and the
2009-11-29disable the isa wdc's because amd64 machines are much more likely toTheo de Raadt
be legacy-free machines built by Dell monkeys who then (it seems) reuse the io address space for something else. Touch it, and the machine resets. Great....
2009-11-29At suspend time there is no need for a fancy cr3 dance to decide ifTheo de Raadt
pmap_activate() should be called to force the kthread into the kernel pmap. If it is i386 it is lazy pmap it may not be in the kernel kthread, so it must be called so that pmap_activate can decide. If it is amd64 without lazy pmap, it must not be called. A comment is added to remind us about this in the future in case these assumptions change. ok kettenis
2009-11-29unbreak compilation on sparc64 with AUDIO_DEBUG definedAlexandre Ratchov
2009-11-29On any sensor the SENSOR_FINVALID flag indicates whether we are able toTheo de Raadt
read a value from the sensor properly. The .status field, on the other hand, indicates whether the location that sensor is at, is OK, failed, on fire, or whatnot. In the case of uthum we have no idea whether that temperature is ok or not, so we must leave it SENSOR_S_UNSPEC
2009-11-29Reload mtrr state on all CPUs after updates. Seems to speed up X on MPMark Kettenis
systems, at least with Intel graphics. ok marco@, deraadt@
2009-11-29Send a powerdown command to L1 on IP35 if powerdown is requested.Miod Vallat
2009-11-29Merge in some tidying up bits from gem(4). From Brad.Mark Kettenis
2009-11-28Fix previous; pointed out by stsp@Mark Kettenis
2009-11-28Make sure we pass on DVACT_SUSPEND and DVACT_RESUME requests to our childrenMark Kettenis
such that inteldrm(4) stands a chance at actually saving and restoring its state. Makes it possible to start X after a suspend/resume cycle on my Dell laptop with Intel graphics. ok jsg@, miod@
2009-11-28missing #ifdef MULTIPROCESSOR protection around locking code.Miod Vallat
2009-11-27RegeneratePhilip Guenthe
2009-11-27Add setrdomain() and getrdomain() system calls. Committing now toPhilip Guenthe
catch the libc major bump per request from deraadt@ Diff by reyk. ok guenther@
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-27Add a signal for librthread to use for interthread ASTs for cancelationPhilip Guenthe
and suspension. "get it in" deraadt@, tedu@, cheers by others
2009-11-27Convert thrsleep() to an absolute timeout with clockid to eliminate aPhilip Guenthe
race condition and prep for later support of pthread_condattr_setclock() "get it in" deraadt@, tedu@, cheers by others
2009-11-27Convert thrsigdivert to (almost) be sigtimedwait by adding siginfo_tPhilip Guenthe
and struct timespec * argument. sigtimedwait is just a one line wrapper after this. "get it in" deraadt@, tedu@, cheers by others
2009-11-27Change threxit() to take a pointer to a pid_t to zero out from thePhilip Guenthe
kernel so that librthread can detect when a thread is completely done with its stack without need a kqueue. The dying thread moves itself to a GC list, other threads scan the GC list on pthread_create() and pthread_join() and free the stack and handle once the thread's thread id is zeroed. "get it in" deraadt@, tedu@, cheers by others
2009-11-27ci->ci_curprocpaddr must initialized before cpu1 get into cpu_switchto().Takuya ASADA
ok miod@
2009-11-27typo in documentation; missing full stop.Igor Sobrado
from Dawe.
2009-11-27atomic counter increment for SMP.Takuya ASADA
ok jsing@
2009-11-26Visual (and on some machines, audio) feedback while the machine isMike Larkin
resuming via calls to aml _SST method. This also makes the "moon" LED on thinkpads to blink during resume and cease when resume is completed. ok pirofti@
2009-11-26Now IPI can interrupt to clock interrupt handler.Takuya ASADA
It prevents deadlock with TLB shootdown and clock interrupt. ok miod@
2009-11-26- let this compile again.Jasper Lievisse Adriaanse
ok jsing@
2009-11-26Reset the wakeup vector to ensure that we don't resume on reboot.Mike Larkin
Temporarily disabled for debugging purposes, but can be turned on if needed. ok deraadt@
2009-11-26Don't try to be clever and mix tag queueing mechanisms. Few if anyKenneth R Westerback
disks actually do queueing correctly. Keep it SIMPLE. Fixes naddy@'s magic DNES disks on siop even if dlg@'s new midlayer is active. ok marco@, tested by naddy@.
2009-11-26do not pull acpi_wakecode.o into RAMDISKSTheo de Raadt
2009-11-26move gcu* to near what it is used byTheo de Raadt
2009-11-26If the EC is in burst mode use the fast delay to meet the requirementsTheo de Raadt
of the spec, instead of using tsleep and screwing up. from canacar, ok kettenis jsing pirofti
2009-11-26Fix an issue where 82573L based em(4) devices had long latencies on theDariusz Swiderski
recieved packets. fix from intel drivers, via Brad ok claudio@, deraadt@
2009-11-26em_stop() removes IFF_RUNNING flag, so we should rely on the IFF_UP being setDariusz Swiderski
ok deraadt@
2009-11-26By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-26allow USB xfer requests to use up to 16 frames per xfer, depending onJacob Meuser
blocksize
2009-11-26greatly reduce latency and kill some XXXs:Jacob Meuser
* reduce number of outstanding USB xfers: 6 -> 3 * reduce number of USB frames per xfer: 10 -> 2 * if the device uses wMaxPacketSize frame sizes that are longer than 1 ms, allow 1 frame per xfer * instead of making blocksizes big enough to hold all outstanding xfers, just make it big enough to hold one xfer * calculate blocksizes a little better * be more careful to let the upper layer know exactly when a block has been moved in/out of the upper layer buffer ok ratchov
2009-11-26magical fix for a fault which reliably brings my firewalls down. i thinkDavid Gwynne
not having sks and sks set to NULL causes random memory to be pool_put(). ok deraadt@ jsing@
2009-11-26initialize cpu_info correctly.Takuya ASADA
ok miod@