summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-07-02structure copy the unp_connid to the other socketTheo de Raadt
2010-07-02Switch to nitems for the table, save some space. `Looks good' deraadt@.Paul Irofti
2010-07-02Use M_NOWAIT only if SCSI_NOSLEEP is set, as is the usual idiom. FromKenneth R Westerback
matthew@ who won't be home until late. ok matthew@ & tedu@.
2010-07-02Implement FPU shootdowns for hppa multiprocessor kernels. There are stillJoel Sing
some subtle bugs however these can be fixed in tree. ok kettenis@
2010-07-01Repost T510 video using the emulator.Mike Larkin
ok deraadt@
2010-07-01When a process' FPU context is evicted or restored record which CPU theJoel Sing
context is on so that we can handle FPU shootdowns. ok kettenis@
2010-07-01Mobility hd4870 works, add it.Owain Ainsworth
From jcr
2010-07-01regenTed Unangst
2010-07-013.5 compat is old, but relied upon by other compats still in tree. theTed Unangst
fhstat syscall, however, isn't needed and can go away. ok deraadt
2010-07-01syncOwain Ainsworth
2010-07-01Radeon mobility Hd4870, from jcr.Owain Ainsworth
2010-07-01Make our trapframe squeeky clean in setregs(). Avoid leaking registers intoMark Kettenis
the new process image. ok deraadt@, guenther@
2010-07-01It seems the x200s doesn't need the video bios call from locore.Paul Irofti
Retested on yuo's machine with a clean kernel and it works fine without the hack. This should also fix the issues other x200s users were seeing with resuming from X.
2010-07-01Add more support bits for ARMv7, including frame for VIPT (pmap_prefer).Dale Rahn
2010-07-01Another radeon hd3200.Owain Ainsworth
from brad
2010-07-01CPU id is not enough to tell 3430 from 3530 so change the printed name.Dale Rahn
2010-07-01Move rdcap/rdcap16 structs used to get info about disk size off ofKenneth R Westerback
stack and malloc/free them instead. First stirrings of the tide of de-stacking to come. Feedback, fixes and ok matthew@ & tedu@.
2010-07-01Oops. Lost the < 0 check on file position I had in the circulatedKenneth R Westerback
diff. A bit of paranoia suggested by beck@.
2010-07-01Synch instead of flush FPU state on APs before suspending.Mike Larkin
tested by kettenis@ on i386 and myself on amd64 ok kettenis@
2010-07-01We don't do CamelCase: fix style(9) violations in goto labels.Owain Ainsworth
no binary change.
2010-07-01Implement vs{,un}lock_device and use it for physio.Artur Grabowski
Just like normal vs{,un}lock, but in case the pages we get are not dma accessible, we bounce them, if they are dma acessible, the functions behave exactly like normal vslock. The plan for the future is to have fault_wire allocate dma acessible pages so that we don't need to bounce (especially in cases where the same buffer is reused for physio over and over again), but for now, keep it as simple as possible.
2010-07-01Ensure that IPIs have priority and are run first to avoid deadlock. ThisJoel Sing
is a rather ugly hack and needs to be revisited at a later date. ok kettenis@
2010-07-01garbage collect the now unused PAGEFASTRECYCLE option.Thordur I. Bjornsson
ok deraadt@, david@
2010-07-01Typo in comment.Mike Larkin
ok oga@
2010-07-01constrain malloc to only grab pages from dma reachable memory.Thordur I. Bjornsson
Do this by calling uvm_km_kmemalloc_pla with the dma_constraint. ok art@ (ofcourse, he eats his cereal and okeys everything). OK beck@, deraadt@
2010-07-01Allow swapping to happen in the case where where we have more memoryOwain Ainsworth
than we can realistically dma to. In the swap encrypt case we already bounce through a intermediate buffer for pageout, so just make sure that that buffer is constrained to dmaable memory. In the other cases we check to see if the memory is dmaable, then if not we bounce it. ok beck@, art@, thib@.
2010-07-01I accidentally whacked something important. Sorry.Ted Unangst
2010-07-01g/c unused param to pf_translateHenning Brauer
2010-07-01make sure that buf's on the stack set the b_bq to NULL.Thordur I. Bjornsson
one memset -> bzero. ok marco@, jsing@
2010-07-01pool setconstraints must be called immediately after pool_init, otherwiseBob Beck
if we allocate memory before applying constraints we get memory outside the constraints allocated in the pool. this is bad. ok claudio@
2010-07-01SO_PEERCRED should return ENOTCONN when the sockets are not connectedTheo de Raadt
2010-07-01suspend/resume to the same level as apm machines. note: that is kindTheo de Raadt
of broken since it does not detach+reattach the card (which it has to) ok mlarkin
2010-07-01leases have expired. (remove a comment).Thordur I. Bjornsson
2010-07-01Return EINVAL if the file position is greater than LONG_MAX, sinceKenneth R Westerback
otherwise truncation will occur on archs where LONG LONG and LONG are not the same. Noticed at n2k10. Error return suggested by deraadt@. ok beck@ millert@ deraadt@ guenther@
2010-07-01another day, another compat gets removed. today is ibcs2's turnTed Unangst
2010-07-01SO_PEERCRED should pass out the main pid, not the "pid" of the currentTheo de Raadt
thread. Discussion with guenther.
2010-07-01See, I said the #ifdef's are a confusing maze -- they confused me.Theo de Raadt
2010-07-01Make this compile with SMALL_KERNEL. The #ifdef farm this produces shouldTheo de Raadt
probably be cleaned up...
2010-07-01make this compile with SMALL_KERNELTheo de Raadt
2010-07-01compile when SMALL_KERNEL is setTheo de Raadt
2010-07-01do bufq quiesce again, since vnd/the bufq_done call inThordur I. Bjornsson
biodone has been fixed.
2010-07-01Call bufq_done at the top of biodone, so we don't call it onThordur I. Bjornsson
a freed buf as that causes problems...
2010-07-01for the allocated buf, set the b_bq flag to NULL so we do notThordur I. Bjornsson
call bufq_done in biodone.
2010-07-01ioctl XS_SENSE/XS_SHORTSENSE should print the sense info likeKenneth R Westerback
everyone else when SCSIDEBUG is set.
2010-07-01- don't do curupte checks if the current miss address is user spaceJasper Lievisse Adriaanse
from netbsd ok miod@
2010-07-01Backout recent AML changes, breaks on R210 and othersJordan Hargrave
2010-07-01Create a struct to store FP state and include a pointer to the CPU thatJoel Sing
currently holds the FPU context for this process. This will be soon used to implement FPU shootdowns on multiprocessor kernels. ok kettenis@
2010-07-01Die struct scsi_device! Die! Instead, save a pointer to the routineKenneth R Westerback
to interpret sense errors. This is initialized to the basic interpretation routine, and specific scsi drivers (sd/st/cd) can replace this with their own. While here kill EJUSTRETURN dance and make more specialized interpretation routines directly call the basic routine if desired. Fixes by matthew@ to my first diff. Most original work by dlg@. ok matthew@ marco@ dlg@
2010-07-01Provide uvm constraints.Joel Sing
ok kettenis@ thib@
2010-07-01Provide safepri.Joel Sing