summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2023-03-25restore fetch of qsize.mlelstv
2023-03-25Setup virtqueues after registering them to virtio_softcyamaguchi
2023-03-24Added check of pointer for allocated memory before release of resourceyamaguchi
2023-03-24vioif(4): fix wrong memory allocation sizeyamaguchi
2023-03-23vioif(4): clear flags when configure is failedyamaguchi
2023-03-23Added functions to set interrupt handler and index into virtqueueyamaguchi
2023-03-23viocon(4): fix not to allocate unused virtqueueyamaguchi
viocon(4) allocates 4 virtqueues but it only uses 2 (0 and 1) queues.
2023-03-23Set virtqueues in virtio_child_attach_finishyamaguchi
The number of virtqueue maybe change in a part of VirtIO devices (e.g. vioif(4)). And it is fixed after negotiation of features. So the configuration is moved into the function.
2023-03-23vioif(4): divide IFF_OACTIVE into per-queueyamaguchi
2023-03-23vioif(4): reorganize functionsyamaguchi
iThis change is move of function and rename, and this is no functional change.
2023-03-23vioif(4): rename sc_hdr_segs to sc_segsyamaguchi
2023-03-23vioif(4): added functions to manipulate network queuesyamaguchi
2023-03-23vioif(4): added new data structure for network queuesyamaguchi
and moved the same parameters in vioif_txqueue and vioif_rxqueue into the new structure
2023-03-23vioif(4): added __predct_false to error checkyamaguchi
2023-03-23vioif(4): prepare slot before dequeuingyamaguchi
2023-03-23vioif(4): added a structure to manage variables for packet processingsyamaguchi
2023-03-23vioif(4): increase output error counteryamaguchi
2023-03-23vioif(4): merge drain into clear of queueyamaguchi
2023-03-23vioif(4): divide interrupt handler for receivingyamaguchi
into dequeuing and preparing of buffers
2023-03-23vioif(4): drain receive buffer on stopping the deviceyamaguchi
to remove branch in vioif_populate_rx_mbufs_locked()
2023-03-23vioif(4): fix missing virtio_enqueue_abort for error handlingyamaguchi
2023-03-23vioif(4): added event counters related to receive processingyamaguchi
2023-03-23vioif(4): adjust receive buffer to ETHER_ALIGNyamaguchi
2023-03-23vioif(4): stop interrupt before schedule handleryamaguchi
2023-03-23vioif(4): rename {txq,rxq}_active to {txq,rxq}_running_handleyamaguchi
2023-03-23vioif(4): use device reset to stop interrupt completelyyamaguchi
2023-03-23vioif(4): access to txq_active and rxq_active with lock heldyamaguchi
2023-03-23vioif(4): remove unnecessary lock releaseyamaguchi
if_percpuq_enqueue() can call with rxq->rxq_lock held because of per-cpu.
2023-03-22Pass B_PHYS when reading from device. Xbd(4) at least checkshannken
this flag and may trigger an assertion.
2023-03-22Ignore non-recoverable and critical limits smaller than the warning limits.mlelstv
These are usually invalid. Name the limit flags to make code more readable.
2023-03-17s/Brigthness/Brightness/ in comment.andvar
2023-03-14Do not limit the number of pending requests for the worker thread.hannken
With wedge on vnd it prevents a deadlock when requests get queued with biodone() -> dkstart() -> vndstrategy(). Fixes PR kern/57263 "vnd locks up when using vn_rdwr"
2023-03-05ucom(4): Simplify logic fixing PR kern/57259.riastradh
cv_timedwait only ever returns 0 or EWOULDBLOCK, so this would always return ERESTART anyway. No functional change intended.
2023-03-05In the HUP-wait path in ucomopen():thorpej
- Use cv_timedwait() rather than cv_timedwait_sig(); the wait here is bounded (and fairly short besides) and seems appropriate to treat like other uninterruptible waits. The behavior is now consistent with com(4) in this regard. - Map EWOULDBLOCK return from cv_timedwait() to 0, as the successful passage of time is not an error in this case. - If the HUP-wait time has passed, clear the HUP-wait timestamp. kern/57259 (although insufficient -- another change to vfs_syscalls.c is required)
2023-03-01nouveau: Kick out genfb on firmware framebuffer before initializing.riastradh
PR kern/53126
2023-02-27igpio(4): Disable Baytrail and Lynxpoint support. Fixes PR kern/57225.msaitoh
It seems additional code is required to support Baytrail and Lynxpoint. Disable those support.
2023-02-26wsemul_vt100_subr: spell edp->tabs assertion with NULLuwe
2023-02-26wsemul_vt100_subr: don't assert unsigned ncols >= 0uwe
2023-02-23nvmm: Filter CR4 bits on x86 SVM (AMD).riastradh
In particular, prohibit PKE, Protection Key Enable, which requires some additional management of CPU state by nvmm.
2023-02-23wscons(4): Paranoia: Clamp numbers of rows and columns.riastradh
2023-02-23wscons(4): Ignore nonsense tab stops in vt100 emulation.riastradh
XXX pullup-8 XXX pullup-9 XXX pullup-10
2023-02-22Retry autonegotiation every mii_anegticks seconds instead of mii_anegticks+1.msaitoh
2023-02-21s/jumo/jumbo/ in comments.andvar
2023-02-19Add missing "latin small letter sharp s" (U+00DF) to ibm437 map.mlelstv
2023-02-17ucom(4): Missed a spot in previous -- nix now-unused local.riastradh
2023-02-17ucom(4): Nix broken error branch.riastradh
This error branch was introduced to make the system act, when a USB serial adapter is yanked, as if the other end had spat out a line feed in an attempt to wake any sleeping readers so they will stop using the USB serial port. This is no longer necessary, because ttycancel will wake them anyway, and it is actually harmful because it puts stuff in the output queue (CR LF) that will never be processed, causing subsequent users to hang trying to open the device. Problem found and patch tested by tih@.
2023-02-15dev/wscons/wsdisplay_vcons.c: Sprinkle KNF.riastradh
2023-02-14Regen.msaitoh
2023-02-14Add devices from PPR for AMD Family 19h Model 61h Revision B1 processors.msaitoh
2023-02-14add flags for drivers to requesr R2L bit/byte-ordered fonts, default tomacallan
L2R, chack them in vcons_load_font() instead of just trusting that we'd get what we need