summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2012-11-02uvm_km_alloc() allocs bytes rounded up to the nearest page not pages.Jonathan Gray
Problem spotted by and diff to fix this (and convert to km_alloc) from oga ok deraadt@
2012-11-02unbreak ramdisks, we need to include tcp/udp.h unconditionally now and notHenning Brauer
dependent on ipsec. puzzled how this went by since I did run full mkrs... pbly lost in my forest of trees :( report Amit Kulkarni <amitkulz at gmail.com>, fix me, ok kettenis beck krw
2012-11-02Don't OR flags into an uninitialized variable in elantech hardware v1 code.Stefan Sperling
Fix by oga, via mikeb.
2012-11-01Switch alpha to per-process astpending.Miod Vallat
2012-11-01In cpu_fork(), correctly set up the stack of the new process if required. ThisMiod Vallat
repairs tfork_thread() operation.
2012-11-01When possible, send multiple characters per packet. Also, stop sending whenMark Kettenis
the transmit queue is full. If the transmit queue is full, set a timeout to get things going again.
2012-11-01redo most of the protocol (tcp/udp/...) checksum handlingHenning Brauer
-assume we have hardware checksum offloading. stop mucking with the checksum in most of the stack -stop checksum mucking in pf, just set a "needs checksumming" flag if needed -in all output pathes, very late, if we figure out the outbound interface doesn't have hw cksum offloading, do the cksum in software. this especially makes the bridge path behave like a regular output path -little special casing for bridge still required until the broadcast path loses its disgusting shortcut hacks, but at least it's in one place now and not all over the stack in6_proto_cksum_out mostly written by krw@ started at k2k11 in iceland more than 1.5 years ago - yes it took that long, this stuff is everything but easy. this happens to fix the infamous pf rdr bug that made us turn off proto cksum offloading on almost all interface drivers. ok camield sthen claudio, testing by many, thanks!
2012-11-01Fix merge errors.Joel Sing
Found the hard way by deraadt@
2012-10-31minor style cleanupMike Belopuhov
2012-10-31don't show Kelvin units, and don't be off by a factor of 10 either.Theo de Raadt
ok kettenis
2012-10-31Unbreak build on !i386.Joel Sing
Pointed out by deraadt@
2012-10-31Bump version numbers.Joel Sing
2012-10-31Enable softraid boot support for cdboot(8) and pxeboot(8).Joel Sing
2012-10-31Make cdboot(8) and pxeboot(8) work correctly when it is larger than 64KB inJoel Sing
size. When relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-31Save and restore %ebx across the call to read. Otherwise we load the firstJoel Sing
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000.
2012-10-31Bump i386 boot(8) version.Joel Sing
2012-10-31Enable softraid boot support for i386 boot(8).Joel Sing
2012-10-31Bring softraid support to i386/stand/libsa.Joel Sing
2012-10-31Add support for Intel's Supervisor Mode Access Prevention (SMAP) feature.Jonathan Gray
When enabled SMAP will generate page faults on the kernel attempting to read/write user data pages unless an override flag is set. Instructions that modify the flag are patched into copyin/copyout and friends on boot if SMAP is enabled. Those with access to hardware with SMAP can contact me for a test case. joint work with deraadt@ ok miod@ deraadt@
2012-10-31Some fixes for the receive filter handling.Brad Smith
ok sf@
2012-10-30introduce specialized register read and write functionsMike Belopuhov
oce_{read,write}_{cfg,csr,db} for different pci bars
2012-10-30Apply a bunch of style(9) and whitespace fixes to i386/amd64 libsa, makingJoel Sing
the code actually diffable. No binary change.
2012-10-30backout previous over the m_freem contention concernsMike Belopuhov
2012-10-30Actually remove the Makefiles.Joel Sing
2012-10-30Use time_uptime for expiration values as time_second can be skewed atFlorian Obser
runtime while time_uptime is monotonic. Prevent underflows in pfsync(4) and pflow(4) by using signed variables. pfsync(4) problem pointed out by camield. Diff originally by dlg, frag and pflow bits by me. feedback dlg man page tweak jmc Various versions of the pflow bits tested by Hrvoje Popovski (hrvoje AT srce DOT hr), thanks! ok benno, henning, dlg
2012-10-30Remove the now unused i386 libsa/libz Makefiles.Joel Sing
ok deraadt@
2012-10-30Bump the default number of descriptors.Brad Smith
ok mikeb@
2012-10-29Set the type of a processed MSI data record to 0, and check that the typeMark Kettenis
is non-zero before handling them, like we do in pyro(4). Seems to fix issues with MSIs on sun4v, so enable them again.
2012-10-29prefer to return oce_cmd and save on the error variableMike Belopuhov
2012-10-29shorten fwcmd to cmdMike Belopuhov
2012-10-29On UltraSPARC T1/T2, block the current strand while spinning in the hopeMark Kettenis
other strands can do some useful work. Idea stolen from Linux. Results in a small, but measurable speedup doing a kernel build and reduces the system time by almost 10%.
2012-10-29merge oce.c into if_oce.c and rename oce{reg,var}.h to if_oce{reg,var}.hMike Belopuhov
2012-10-29don't split mq sge paddr into low and high partsMike Belopuhov
2012-10-29rename oce_fw to oce_cmd and shorten MBX_SUBSYSTEM_* defines to SUBSYS_Mike Belopuhov
2012-10-29rearrange the function layout a bitMike Belopuhov
2012-10-29oce_get_fw_config is useless; ditch itMike Belopuhov
2012-10-29add (consistent) STANDARDS;Jason McIntyre
2012-10-29Build i386 cdboot(8) and pxeboot(8) using the same method as the amd64Joel Sing
versions. Compile all required sources directly, rather than linking against uninstalled libraries. Discussed with deraadt@
2012-10-29Bump version.Joel Sing
2012-10-29Enable softraid boot support in pxeboot(8).Joel Sing
2012-10-29Make pxeboot(8) work correctly when it is larger than 64KB in size. WhenJoel Sing
relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-29Bump version.Joel Sing
2012-10-29Enable softraid boot support in cdboot(8).Joel Sing
2012-10-29Make cdboot(8) work correctly when it is larger than 64KB in size. WhenJoel Sing
relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-29Add support for Elantech touchpads to pms(4). This allows the X synaptics(4)Stefan Sperling
input driver to configure these touchpads properly, e.g. toggle tap-to-click, two-finger scrolling, edge-scrolling, etc. So far these pads were working only in PS/2 mouse compatibility mode. Support for up to hardware version 3 has been implemented. But only version 3 has been tested so versions 1 and 2 remain disabled via #ifdef notyet until someone tests (bugs in this code could seriously mess up the mouse and I don't want to end up shipping such bugs in 5.3). help and ok mpi@ shadchin@
2012-10-28We need to allocate memory for crp_buf in the DMA accessibleMike Belopuhov
region since it's passed to the hardware directly. Tested by Yoshihisa Matsushita <y at m8a ! org>, thanks! ok kettenis miod
2012-10-28Use the same (shorter) error message as the i386 version.Joel Sing
2012-10-28Save and restore %ebx across the call to read. Otherwise we load the firstJoel Sing
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000.
2012-10-28Add braces to some code in ixgbe_setup_vlan_hw_support().Brad Smith
ok mikeb@
2012-10-27Also attach to channels name "ldom-<guestname>" (but not "ldom-primary").Mark Kettenis