summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-09-05Give up trying to map DMA descriptor in uncached memory on ECC flavours of theMiod Vallat
IP22 motherboard (IP26, IP28). Instead, do not ask for a BUS_DMA_COHERENT mapping, but perform explicit cache operations. This removes the need for the memory controller to switch between `fast' and `slow' mode every time a DMA descriptor is updated. Tested on IP22 and IP28.
2015-09-05Support Synaptics touchpads without W mode.bru
Emulate W mode if a Synaptics model doesn't provide it, and check for the success of the resolution query during setup. ok shadchin@, mpi@
2015-09-05Improve tap-and-drag detection for ALPS touchpads.bru
The ALPS mechanism for gesture detection can produce long delays between a packet that signals a tap and the next packet, which either signals the end of the gesture or the start of a drag-operation. The time spans can exceed the timeouts used by the generic detection mechanism in the synaptics driver. Reporting both the touch and the release event when the second packet has arrived ensures that the tap will be recognized. ok mpi@ shadchin@
2015-09-05Support for xterm-compatible SGR escapes 39 and 49 (reset fg/bg colour toMiod Vallat
default). From Matthew Martin on tech@
2015-09-05Correct bounds checking in efifb_mmap(). ok yasuoka@Miod Vallat
2015-09-05regenJonathan Gray
2015-09-05add some braswell idsJonathan Gray
2015-09-04These days pcc defines __GNUC__ and we don't support gcc2. Also neededDaniel Dickman
for upcoming CompCert port. Final version of the diff is from kettenis@ with input from jsg@ and tedu@. ok kettenis@, jsg@, "I agree" millert@
2015-09-04Let efifb depend on rasops32 such that it works on ramdisks where rasops32Mark Kettenis
isn't brought in by inteldrm or radeondrm.
2015-09-04The bnx_tx_pool gets used from interrupt context, so drop the explicitMark Kettenis
backend allocoter here without passing PR_WAITOK to pool_init(9). ok mikeb@
2015-09-04The pf_osfp_pl and pf_osfp_entry_pl never get used in interrupt context.Mark Kettenis
Drop the explicit pool backend allocator here and add PR_WAITOK to the flags passed to pool_init(9). The pfi_addr_pl and pf_rule_pl can get used in interrupt context though. So simply drop the explicit pool backend allocator without adding PR_WAITOK to the flags passed to pool_init(9). ok mikeb@
2015-09-04pflow_flush() still needs sc->send_nam; free it later.Florian Obser
2015-09-04Fix condition used while seaching candidates for "record level"Alexandre Ratchov
control for wskbd. This may fix "record level" keys on certain keyboards.
2015-09-04Tunnels also need a cloning route.Martin Pieuchot
Fix a regression reported by Brad.
2015-09-04The futex_pool and futex_wp_pool pools never get used in interrupt context.Mark Kettenis
ok mlarkin@
2015-09-04The nfsrv_descript_pl pool never gets used in interrupt context.Mark Kettenis
ok deraadt@
2015-09-04Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
submitting a bulk write request. This also means big bulk write requests are no longer split into multiple small transfers something that libusb consumers do not expect. From Grant Czajkowski <czajkow2 AT illinois DOT edu> as part of the GSoC 2015.
2015-09-04Make every subsystem using a radix tree call rn_init() and pass theMartin Pieuchot
length of the key as argument. This way every consumer of the radix tree has a chance to explicitly initialize the shared data structures and no longer rely on another subsystem to do the initialization. As a bonus ``dom_maxrtkey'' is no longer used an die. ART kernels should now be fully usable because pf(4) and IPSEC properly initialized the radix tree. ok chris@, reyk@
2015-09-04Fix an mbuf use-after-fruit in pflow_clone_create().Martin Pieuchot
Issue reported by semarie@ on bugs@ who also isolated the use-after-fruit to pflow(4) using dlg@'s tracing mbuf diff. Inputs from and ok florian@, semarie@, benno@
2015-09-04add support for RTL8168HJonathan Gray
tedu tested an almost identical diff from brad that set the same flags.
2015-09-03Fix a race in pmap_page_remove_86() and pmap_page_remove_pae().Mark Kettenis
ok millert@, tedu@, mlarkin@
2015-09-03Fix a race in pmap_page_remove().Mark Kettenis
This should get mail from the mailing lists flowing again. Thanks to millert@ for helping me tracking this down. ok millert@, tedu@, mlarkin@
2015-09-03No real point in having efifb(4) on the floppies; we want it on everythingMark Kettenis
else! ok deraadt@
2015-09-03Change the order of operations for loopback interfaces to haveMartin Pieuchot
::1 configured before fe80::1. (lo0:0) in pf should resolve to 127.0.0.1 ::1. reported by and ok mikeb@
2015-09-03match amd64; bios_efi_info_t is required here as well, because acpidumpTheo de Raadt
compiles on more than one platform.
2015-09-03Properly cancel any pending USB abort task when aborting a transferVisa Hankala
and skip completed transfers in dwc2_abort_xfer(). This fixes some timeout-related crashes. Feedback and ok mpi@
2015-09-03Revert (again!) the two uses of rtisvalid(9), they break NFS!Martin Pieuchot
Found the hardway by naddy@
2015-09-03Remove the abort_task field in struct dwc2_xfer. There is an identicalVisa Hankala
field in struct usbd_xfer which is part of dwc2_xfer. ok mpi@
2015-09-03Remove sc->sc_lock and add several splusb()'s in dwc2, to avoid aVisa Hankala
possible lock recursion panic on transfer timeout. The lock is not needed yet because the USB stack is not MP-safe. ok mpi@, "makes sense" jasper@
2015-09-03Fix !INET6 build.Martin Pieuchot
2015-09-03Convert ip{,6}_output() (cached) route entry checks to rtisvalid(9).Martin Pieuchot
This introduces a behavior change as we now reject !RTF_UP routes to output packets. This stricter check exposed a bug in the setup of new routes and was the reason for the previous revert. This should be now fixed by r1.229 of sys/net/route.c . ok bluhm@
2015-09-03Unconditionally set the RTF_UP flags when adding a route to the table.Martin Pieuchot
This makes dhclient(8) configured default routes usable without relying on the link-state change hooks not present in RAMDISK kernels. ok krw@, claudio@
2015-09-03Improve the code that tries to figure out which device we booted from. TheMark Kettenis
EFI Loaded Image Device Path Protocol typically includes partition and file components. We want to match it to a "raw" Device Path without these components though, so we declare we have found the boot device as soon as the Device Path matches the initial components of the Loaded Image Device Path. ok yasuoka@
2015-09-03Add missing net/art.c, found the hardway by reyk@Martin Pieuchot
2015-09-03Do not use an intermediary buffer on the stack of the caller whenMartin Pieuchot
submitting a read request. This also means big read requests are no longer split into multiple small transfers something that libusb consumers do not expect. Tested by ajacatoutot@. Found by Grant Czajkowski <czajkow2 AT illinois DOT edu> during the GSoC 2015.
2015-09-03Fix the condition of finding SMBIOS. Found by gerhard@.YASUOKA Masahiko
ok gerhard uebayasi deraadt
2015-09-02Make pmap_kenter_pa(9) and pmap_kremove(9) mpsafe. This required me toMark Kettenis
use atomic operations to operate on pm_stats.resident_count. Is it really necessary to keep track of that for the kernel pmap?
2015-09-02Use the pointer we got back from alloc() when calling free() instead ofMark Kettenis
something that points smack in the middle of the buffer.
2015-09-02correct sizes for free(), sighTheo de Raadt
2015-09-02sync commentChristian Weisgerber
2015-09-02sizes for free()Theo de Raadt
2015-09-02simple size for free()Theo de Raadt
2015-09-02remove a bunch of orphaned prototypes and unused functions; ok miodMike Belopuhov
2015-09-02To make logging to local syslog reliable, log a message about failedAlexander Bluhm
log atempts. sendsyslog(2) is a good place to detect and report the problem. OK deraadt@
2015-09-02Revert the two uses of rtisvalid(9) for the moment, it breaks dhclient(8)Martin Pieuchot
configured networks on RAMDISK kernels. The problem is that the default route installed by dhclient(8) does not have the RTF_UP flag in this environement and rtisvalid(9) doesn't allow you to use a RTF_DOWN route.
2015-09-02Add missing copyright.YASUOKA Masahiko
2015-09-02Fix the bios boot to pass the bootargs properly.YASUOKA Masahiko
ok deraddt
2015-09-02enter efibootTheo de Raadt
2015-09-02alloca() no longer neededTheo de Raadt
2015-09-02Bring the boot changes on amd64 to i386. alloca is deleted.YASUOKA Masahiko
Also fix the boot from BIOS and bump the version. input and ok deraadt