summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-03-27Make sure the HIBERNATE pages get reserved regardless of the memory layout.Miod Vallat
2014-03-27Increase VM_PHYSSEG_MAX, necessary for systems with non-contiguous memoryMiod Vallat
(such as 2E and 3A systems).
2014-03-27{fix,add} comments.Miod Vallat
2014-03-27Add commented out entries for xhci(4).Brad Smith
ok mpi@
2014-03-27Program the colormap correctly; gives us proper shade of blue and highlighting.Miod Vallat
Add a simple screen burner accessop.
2014-03-27Retire kernel support for SO_DONTROUTE, since the plan is to alwaysMartin Pieuchot
use the routing table there's no future for an option that wants to bypass it. This option has never been implemented for IPv6 anyway, so let's just remove the IPv4 bits that you weren't aware of. Tested by florian@, man pages inputs from jmc@, ok benno@
2014-03-27last of the htolem32 bitsDavid Gwynne
2014-03-27When enforcing TOS (Traffic Class), preserve the ECN bits, just as we doJeremie Courreges-Anglas
with IPv4 packets. ok mikeb@
2014-03-27fix a theoretical double free.daniel
ok tedu@
2014-03-27everything is at least 4 byte alignedDavid Gwynne
2014-03-27Stop dereferencing the ifp pointer present in the packet header allMartin Pieuchot
over the input path since it is going to die. Should be no functional change. ok mikeb@, lteo@, benno@
2014-03-27Stop mixing interface address flags with routing entry ones.Martin Pieuchot
Instead of always copying ifa_flags to the routing entry flags when creating a route by calling rtinit(), explicitly pass the RTF_CLONING flag when required. This means ifa_flags are now *only* used to check if an address has an associated route that was created by the kernel auto-magically. ok benno@
2014-03-27Store an ifp index instead of a pointer in the "struct mbuf_ext".Martin Pieuchot
This is part of the plan to remove the ifp pointer from the packet header that will allow us to stop garbage collecting mbuf(9)s when an ifp is detached/destroyed. ok mikeb@, lteo@, benno@
2014-03-27replace x86_atomic_cas_things with atomic_cas_foo equivalents.David Gwynne
ok kettenis@
2014-03-27tweak mpii_start.David Gwynne
on 64bit archs you can post the descriptor in one go, which is easy. on 32bit you have to post it in halves in the right order, which is not atomic and requires barriers for ordering.
2014-03-27the request and reply descriptors are 8 byte aligned for the hardware.David Gwynne
2014-03-27tweak the looping of the postqDavid Gwynne
2014-03-27you want the ring to wrap when it gets to the size of the ring, not oneDavid Gwynne
after it. jmatthew@ figured out i am bad at c.
2014-03-27optimise mpii_push_reply.David Gwynne
int types are easier to work with than shorts. use a compare to handle ring wraparound rather than a mod operation.
2014-03-27updating the reply queue indexes on the chip dont have any dependentDavid Gwynne
register ops, so dont need barriers around them.
2014-03-27remove unused macrosDavid Gwynne
2014-03-27forgot a htolem32David Gwynne
2014-03-27apply more htolemXX and lemtohXX.David Gwynne
2014-03-27Check for PS_SUGID/PS_SUGIDEXEC against the correct set of flagsPhilip Guenther
ok deraadt@
2014-03-27Reorder a few struct process members to avoid copying some valuesPhilip Guenther
that will be reinitialized anyway. Delete some blank lines to prevent the same error being repeated. ok millert@ deraadt@
2014-03-27move to htolemXX and lemtohXX. interestingly, this caught a few typeDavid Gwynne
errors which may have affected operation on BE archs. ok jmatthew@
2014-03-26Increase max data size. 32G is the new 640K.Ted Unangst
Using this much memory may have negative side effects, but at least now you have the option. Here's some rope; have fun. maybe ok a few people.
2014-03-26Service R4[04]00SC-specific virtual coherency exceptions directly from theMiod Vallat
lowest bowels of the exception handling code, rather than in trap(). They won't get recorded in the trap history, but there is a measurable speedup. No change for non-CPU_R4000 kernels.
2014-03-26bcmp -> memcmpMartin Pieuchot
2014-03-26No need to include <sys/lock.h> when only <sys/rwlock.h> is needed,Martin Pieuchot
so remove the former and include the latter instead of pulling it in <dev/pci/agpvar.h>. This header already requires various other types anyway. While here remove unneeded headers.
2014-03-26No need to check here if the destination address is ours, because inMartin Pieuchot
such case loouput() is called not ether_output(). ok claudio@, mikeb@
2014-03-26Simply cansignal(), passing it processes instead of procs andPhilip Guenther
dropping the pcred argument. Fix handling of kill(-1, sig) from a thread other than the original thread. ok deraadt@
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
Tweak the handling of ktrace EMUL when changing ktracing: only generate one per process (not one per thread) and pass the correct proc pointer down to the VFS layer. Permit generating of NAMI and CSW records inside ktrace(2) itself. ok deraadt@ millert@
2014-03-25Instead of matching root hubs with a custom address, that only worksMartin Pieuchot
because USB_START_ADDR is defined to 0 and the softc is M_ZERO'd, assume that root hubs are the only devices with a depth of 0. Root hubs can now happily be detached and reattached.
2014-03-25Remove and shuffle some includes to reduce their number since drmP.hMartin Pieuchot
is included by a lot of files.
2014-03-25Upon resume do a full reset of the HC, including the command and eventMartin Pieuchot
rings, and rewrite all the addresses in the registers. While here don't keep a copy of our usb(4) child device, autoconf(9) knows how to reach our children.
2014-03-25when working with the cdb its better to use cmdlen than datalen.David Gwynne
ok jmatthew@
2014-03-25use lemtohXX and htolemXX as much as possibleDavid Gwynne
2014-03-25when reading from the chip you use letoh32, not htole32.David Gwynne
jmatthew@ agrees with me
2014-03-25rework qle_put_cmd to use hto[lb]emXX as best it can.David Gwynne
ok jmatthew@
2014-03-25everything is at least 4 byte aligned.David Gwynne
2014-03-25use htolem32 to write out qle sg elements, and annotate the structure asDavid Gwynne
being 4 byte aligned. rewrite qle_put_data_seg so it takes an address and length rather than a dma descriptor so it can be used to write sges for arbitrary things rather than just dmamaps. use it to write out all sges. ok jmatthew@
2014-03-25the memory constraints are correct, so we dont need volatile to provideDavid Gwynne
extra restrictions on ordering.
2014-03-25As long as we're pulling in "systrace.h", might as well conditionalizePhilip Guenther
the inclusion of <dev/systrace.h>
2014-03-25the memory constraints are correct on the MD_SWAPIO bits, so we dont needDavid Gwynne
the extra restrictions that __volatile provides on the __asm statements.
2014-03-25Add a driver for simple usb serial devices, it attachesJonathan Gray
ucom but doesn't set any custom callbacks. John Long has a HPx9G+ device that requires this.
2014-03-25regenJonathan Gray
2014-03-25add HP-x9G+Jonathan Gray
2014-03-24add support for aux button strip on newer thinkpads like the 2ndjoshua stein
generation x1 carbon that have done away with regular F1-F12 keys from rivo nurges <rix at estpak.ee> and reportedly tested on x1 carbon, x220, and x61s
2014-03-24Only need to call tlb_probe() once per pair, instead of once per page.Miod Vallat