Age | Commit message (Collapse) | Author |
|
ok mpi@
|
|
ok kevlo@
|
|
This code has already been exercised quite extensively by syzkaller and
got decent test coverage.
|
|
|
|
There are no other return options, so adjust function signature to
void. This also allows for cleaning up its usage in vmm(4) in the
vm pmap initialization logic.
ok mlarkin@
|
|
by firewall.
OK dlg@
|
|
Leftover lint from early days of vmm(4).
ok mlarkin@
|
|
When the user requests a lock range that ends at LLONG_MAX, replace
the end point with the special EOF value -1. This avoids ambiguity
with lf_end in lf_split(). The ambiguity could result in a broken
data structure.
This change is visible to userspace in a corner case. When a lock range
has been requested with an end point at absolute position LLONG_MAX,
fcntl(F_GETLK) returns l_len == 0, instead of a positive value, for that
range. This seems consistent with FreeBSD and Linux.
OK anton@
Reported-by: syzbot+c93afea6c27a3fa3af39@syzkaller.appspotmail.com
|
|
OK anton@
|
|
|
|
link state changes still take the kernel lock, but packet processing
is unlocked now.
|
|
this is another big step toward making the code mpsafe, and makes
a bunch of ring operations such as dmamap syncs and register updates
get done once for the ring rather than for every packet.
|
|
the interrupt handler is still under kernel lock, but at least you
can queue packets from another cpu concurrently.
|
|
|
|
|
|
this is a big step toward making the code mpsafe, and makes a bunch
of ring operations such as dmamap syncs and register updates per
start/completion call rather than per packet.
|
|
|
|
SiFive FU740 SoC.
ok jca@
|
|
Recommit the reverted change selectively so that only pipes are
affected. Leave sockets untouched for now.
|
|
mvneta counters are read to clear, so we accumulate them over time.
they are also mostly 32bit, except for 2 of them, so this handles
all the 32bit counters in a loop and deals with the 64bit ones as
exceptions.
i can see rx drops now, but not the rx rx counters yet. i'll figure
it out.
this is mostly inspired by em(4).
|
|
this leads to better (and shorter) code.
ok patrick@
|
|
|
|
|
|
|
|
reason why)
discussed with many, ok millert
|
|
ok deraadt@, mpi@
|
|
ok kettenis@
|
|
Keep supporting the old compatible string for a bit longer.
Add frequency sensors that reflect the actual frequencies the CPU clusters
are running at as reported by the hardware.
ok patrick@
|
|
|
|
From Tejas Upadhyay
8d80cceecdd98de6d2281d39d6571a1fe08e5af9 in mainline linux
|
|
From Anusha Srivatsa
8295524a2d5550b56e800ac779a183b7f4d8c33c in mainline linux
|
|
From Anusha Srivatsa
c9ee950a2ca55ea0f63d0893f796b2eb089e7900 in mainline linux
|
|
From Tejas Upadhyay
02ed904261481460e6084769416e7ca31bbb92eb in mainline linux
|
|
From Anusha Srivatsa
4a75f32fc783128d0c42ef73fa62a20379a66828 in mainline linux
|
|
|
|
|
|
From Matt Atwood
72c3c8d6e5275b19fd2d32ec787e8135a421c7ec in mainline linux
|
|
From Tejas Upadhyay
756b807f6a3e01d238c346925006cdfd6a59e341 in mainline linux
|
|
if_put(9) call means we finish work with `ifp' and it could be destroyed.
`ia' is the pointer to 'in_ifaddr' data belongs to `ifp', so we need to
release corresponding `ifp' after we finish deal with `ia'.
`if_addrlist' list destruction and ip_getmoptions() are serialized with
kernel and net locks so this is not critical, but looks inconsistent.
ok bluhm@
|
|
From Hangyu Hua
deec86168170d085d4f91445c1f72a900ed02372 in linux 5.15.y/5.15.42
6e03b13cc7d9427c2c77feed1549191015615202 in mainline linux
|
|
From Anusha Srivatsa
aaf0f01d074d6fd39ec1b01477f69cd688bf6c9d in linux 5.15.y/5.15.42
54395a33718af1c04b5098203335b25382291a16 in mainline linux
|
|
From Mario Limonciello
9d3ec4e5bf032f53137e11075846cec9c474ce4b in linux 5.15.y/5.15.42
7123d39dc24dcd21ff23d75f46f926b15269b9da in mainline linux
|
|
state"
From Greg Thelen
11e6a90ffd6294083b808d34ccc5a5ea18ed603e in linux 5.15.y/5.15.42
|
|
cache coherent PCIe), map the rx and tx rings coherent.
tested by kevlo@ on rockpro64
ok dlg@
|
|
ok kettenis@ patrick@
|
|
add _?ENTRY_NB to asm.h, switch libc's asm bits to the generic
DEFS.h, and use ENTRY_NB as necessary.
Also, give sizes to the htonl/htons symbols and mark them as weak.
ok kettenis@ miod@
|
|
/usr/mdec/mbr. Make the partition table all zeros and
see if any hidden uses fall out.
ok deraadt@
|
|
* add _?ENTRY_NB to arm/asm.h
* make sure ld.so's arm asm bits see the same includes as libc
* switch libc's arm bits to the generic DEFS.h
* switch arm ASM bits from ENTRY to ENTRY_NB as necessary
ok kettenis@ miod@
|
|
information in /usr/mdec/mbr. Stop telling fdisk(8) that macppc
and loongson HAS_MBR, and don't bother including the file in the
base set.
macppc build/install tests and ok gkoehler@
loongson is gone deraadt@
|
|
This refactors the commin parts of sys_truncate() and sys_ftruncate()
into dotruncate(). If the new size of the file is larger than the
RLIMIT_FSIZE limit _and_ the file is being extended, not truncated,
return EFBIG. Adapted from a diff by Piotr Durlej.
With help from and OK by deraadt@ guenther@.
|