[Midnightbsd-cvs] [MidnightBSD/src] c46a6f: Add ELFCOMPRESS_ZSTD ELF compression constant
Mitchell Horne
noreply at github.com
Tue Jun 27 09:59:01 EDT 2023
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: c46a6f85645cad3118ab547cd24fbbe0129ea383
https://github.com/MidnightBSD/src/commit/c46a6f85645cad3118ab547cd24fbbe0129ea383
Author: Ed Maste <emaste at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M share/man/man5/elf.5
M sys/sys/elf_common.h
Log Message:
-----------
Add ELFCOMPRESS_ZSTD ELF compression constant
ELFCOMPRESS_ZSTD indicates that an ELF section is compressed with zstd.
It is the second compression type, after the existing ELFCOMPRESS_ZLIB.
Zstd generally provides a compelling tradeoff of speed and compression
(other algorithms may compress slightly better but take a lot longer,
or run faster but do not compress nearly as well).
See https://groups.google.com/g/generic-abi/c/satyPkuMisk for details.
ELFCOMPRESS_ZSTD will be supported in a future Clang/LLVM update. ELF
Tool Chain tools also need updating.
Reviewed by: Fangrui Song
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 05b6744c446c2d274738fbb27a3ded1bf9f9f1d1)
Commit: 6aeaf068d3ff42afd4e28f78c783d31a2860233b
https://github.com/MidnightBSD/src/commit/6aeaf068d3ff42afd4e28f78c783d31a2860233b
Author: Rick Macklem <rmacklem at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/fs/nfsclient/nfs_clvnops.c
Log Message:
-----------
nfs_clvnops.c: Fix access to v_mount when vnode unlocked
Commit ab17854f974b fixed access to v_mount when the
vnode is unlocked for nfs_copy_file_range().
This patch does the same for nfs_advlockasync().
(cherry picked from commit a82308abab86740e9bc37499bd2a13568764d7a0)
Commit: df7505653c916d820d5b83ddd2ace8ba7c2cf250
https://github.com/MidnightBSD/src/commit/df7505653c916d820d5b83ddd2ace8ba7c2cf250
Author: Baptiste Daroussin <bapt at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M usr.bin/ident/Makefile
M usr.bin/ident/ident.c
Log Message:
-----------
ident: replace sbuf(9) with open_memstream(3)
This change makes ident only dependant on libc functions
This makes our ident(1) more portable, also the fact that we only
depend on libc which is maintained with excellent backward compatibility
means that if one day ident is removed from base, someone using FreeBSD
22 will be able to fetch ident from FreeBSD 14 to run ident against
FreeBSD 1.0 binary
MFC After: 1 week
(cherry picked from commit 1a4d5f13ba19308f9909ef712c5d7eebaf1f9806)
Commit: 6c27b14ea710270cf717961dd2bf017f0adb76f2
https://github.com/MidnightBSD/src/commit/6c27b14ea710270cf717961dd2bf017f0adb76f2
Author: Baptiste Daroussin <bapt at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M usr.bin/locate/bigram/locate.bigram.c
M usr.bin/locate/code/locate.code.c
M usr.bin/locate/locate/fastfind.c
M usr.bin/locate/locate/locate.c
M usr.bin/locate/locate/locate.h
M usr.bin/locate/locate/pathnames.h
M usr.bin/locate/locate/util.c
Log Message:
-----------
locate: change from BSD-4-clause to BSD-3-clause
We have the authorization from the University of California to remove
the advertising clause for a while, wosch@ who also hold a copyright
on this code also approved the relicensing
Approved by: wosch@
MFC after: 3 days
(cherry picked from commit 389844c058ec1ab69bb506601ed673fdd4e4d12b)
Commit: e40928081c5908d36273a8aa9f20e39d1bdc999d
https://github.com/MidnightBSD/src/commit/e40928081c5908d36273a8aa9f20e39d1bdc999d
Author: Kevin Bowling <kbowling at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/e1000/if_em.c
Log Message:
-----------
Revert "e1000: Try auto-negotiation for fixed 100 or 10 configuration"
This reverts commit 9ab4dfce8feda8cf3545be0c3c7569095b1fcd24.
OPNsense users have reported a regression with fixed configs.
The e1000 api is not ready for this change.
(cherry picked from commit 66dad2db0a484d65df331df76db0b68ef518f4db)
Commit: db81c6e842a6979f878f69461b10784b05533cd7
https://github.com/MidnightBSD/src/commit/db81c6e842a6979f878f69461b10784b05533cd7
Author: Hans Petter Selasky <hselasky at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M lib/libusb/Makefile
M lib/libusb/libusb.3
M lib/libusb/libusb.h
M lib/libusb/libusb10.c
Log Message:
-----------
libusb(3): Implement libusb_interrupt_event_handler() by exposing existing function.
Sponsored by: NVIDIA Networking
(cherry picked from commit aa87aa52326be7b726664dba65e91ec3d8160f48)
Commit: 33ae06f09b1a447f8834256a1dc3014661e44112
https://github.com/MidnightBSD/src/commit/33ae06f09b1a447f8834256a1dc3014661e44112
Author: Kristof Provost <kp at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sbin/dhclient/dhclient-script
Log Message:
-----------
dhclient-script: cope with /32 address leases
On certain cloud platforms (Google Cloud, Packet.net and others) the
DHCP server offers a /32 address. This makes adding the default route
fail since it is not reachable via any interface. Linux's
dhclient-script seem to usually have a special case for that and
explicitly adds an interface route to the router's address.
FreeBSD's dhclient-script already has a special case for when the router
address is the same as the leased address. Now also add one for when
it's a different address that doesn't fall in the interface's subnet.
PR: 241792
Event: Aberdeen hackathon 2022
Submitted by: sigsys at gmail.com
Reviewed by: dch, kp, bz (+1 on the idea, not reviewed), thj
MFC after: 1 week
(cherry picked from commit fd6ecc184dbc64b9b3f7866b34812fb93df62925)
Commit: 89e6ecca234bf6f1dbdfa79bd6fff9e99c7b10dd
https://github.com/MidnightBSD/src/commit/89e6ecca234bf6f1dbdfa79bd6fff9e99c7b10dd
Author: Jose Luis Duran <jlduran at gmail.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M release/tools/gce.conf
M share/man/man7/tuning.7
M tools/regression/sockets/listen_backlog/listen_backlog.c
Log Message:
-----------
Track kern.ipc.somaxconn -> kern.ipc.soacceptqueue rename
Fixes: 2bdf61ca29d0 ("Hide the unfortunate named sysctl...")
(cherry picked from commit 9871ae6aa91f82a6932be7fcfa1023b077be8e2e)
(cherry picked from commit f4f6bc636787e110cbea90ca5822cc5209138125)
(cherry picked from commit 67d863df0833cdb1ca054a7c4e7d551b4ad28d95)
Commit: 4e18924d081fc0426e75bf25cecfc8e9dec059c2
https://github.com/MidnightBSD/src/commit/4e18924d081fc0426e75bf25cecfc8e9dec059c2
Author: Simon J. Gerraty <sjg at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M usr.bin/ldd/ldd.c
Log Message:
-----------
ldd: ignore unverified files
When mac_veriexec is enforcing, we won't run unverified binaries,
don't let ldd examine them either.
Reviewed by: stevek emaste
MFC after: 1 week
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D36897
(cherry picked from commit f48114b653a2a3d8f817ad68186235595ce304ed)
Commit: c6e75d7d9cdce51eb5f16d8e25e1592f02a3dcac
https://github.com/MidnightBSD/src/commit/c6e75d7d9cdce51eb5f16d8e25e1592f02a3dcac
Author: Cy Schubert <cy at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sbin/ipf/common/ipf.h
Log Message:
-----------
ipfilter: Removed unused ioctl typedef
Defunct operating systems no longer pollute the ipfilter sources. Remove
their typedefs.
(cherry picked from commit 1fcc50004cebbe3a578f6761936e5d8cd8ee24cd)
Commit: 67d5b580723dc34fcb2fd18c1ff76517a6d1385f
https://github.com/MidnightBSD/src/commit/67d5b580723dc34fcb2fd18c1ff76517a6d1385f
Author: Mah Yock Gen <yock.gen.mah at intel.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/igc/igc_i225.c
M sys/dev/igc/igc_phy.c
Log Message:
-----------
igc: remove unnecessary PHY ID checks
I225 devices have only one PHY vendor. There is unnecessary to check
_I_PHY_ID during the link establishment and auto-negotiation process,
the checking also caused devices like i225-IT failed. This patch is to
remove the mentioned unnecessary checking.
Cc: stable at dpdk.org
Signed-off-by: Mah Yock Gen <yock.gen.mah at intel.com>
Signed-off-by: Taripin Samuel <samuel.taripin at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Approved by: grehan
Differential Revision: https://reviews.freebsd.org/D36923
(cherry picked from commit 29d7f1ff579579711dd5a3325480728b8ed45f8c)
Commit: ef7679a85d87dfe713cac166e92e7451d5549b5b
https://github.com/MidnightBSD/src/commit/ef7679a85d87dfe713cac166e92e7451d5549b5b
Author: Kevin Bowling <kbowling at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/igc/if_igc.c
M sys/dev/igc/if_igc.h
Log Message:
-----------
igc: Fix up hw vlan ops
Adapt 2796f7cab10785ef40efbba97ef67ab319c96e9c to igc(4)
* Don't reset the entire adapter for vlan changes, fix up the problems
* Remove the VFTA, this hardware doesn't seem to implement it
Approved by: grehan
Differential Revision: https://reviews.freebsd.org/D31979
(cherry picked from commit 2eaef8ec4af1f7576a1444180020e23d2e142107)
Commit: 8d8ddc6cd6ec7eb642bc4a6b9bf0de49a95b3c9c
https://github.com/MidnightBSD/src/commit/8d8ddc6cd6ec7eb642bc4a6b9bf0de49a95b3c9c
Author: Kyle Evans <kevans at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M lib/clang/llvm.build.mk
Log Message:
-----------
Revert "Avoid using TARGET_ARCH in llvm.build.mk"
This reverts commit 8534e6be8110a8126268a38dc0557a2d15615ce9, and adds
a cautionary note that there are dragons about that should be considered
when changing it.
PR: 267026
Reviewed by: dim, imp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D36981
(cherry picked from commit ed7910fbac07ee39d10528994e49ada2d0f2d754)
Commit: 8a38f31c13ac1a2eea4006a12d1c6f963c4e8ede
https://github.com/MidnightBSD/src/commit/8a38f31c13ac1a2eea4006a12d1c6f963c4e8ede
Author: Rick Macklem <rmacklem at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/rpc/clnt_vc.c
Log Message:
-----------
clnt_vc.c: Replace msleep() with pause() to avoid assert panic
An msleep() in clnt_vc.c used a global "fake_wchan" wchan argument
along with the mutex in a CLIENT structure. As such, it was
possible to use different mutexes for the same wchan and
cause a panic assert. Since this is in a rarely executed code
path, the assert panic was only recently observed.
Since "fake_wchan" never gets a wakeup, this msleep() can
be replaced with a pause() to avoid the panic assert,
which is what this patch does.
(cherry picked from commit 82512c17ea39fcc272483024cb55d567dfd55366)
Commit: 58a3905135d499cf2e3a8ca8acabb940b980bbf8
https://github.com/MidnightBSD/src/commit/58a3905135d499cf2e3a8ca8acabb940b980bbf8
Author: Mitchell Horne <mhorne at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M share/man/man9/EVENTHANDLER.9
Log Message:
-----------
EVENTHANDLER(9): drop the list of event handlers
Maintaining a comprehensive list of event handlers in this man page is a
futile endeavor. It is entirely detached from the source code, and
therefore requires that anyone adding/removing an event handler have
prior knowledge of the list. Many do not, so it will naturally become
stale (and is).
This is demonstrated by the fact that there are currently 88 instances
of EVENTHANDLER_DECLARE() in the source tree, but the list contains 66
items.
Many of the descriptions do not offer much detail that could not be
gleaned from the handler name alone. It is a more effective strategy to
document the purpose/details of the event handler in a comment alongside
its declaration.
Reviewed by: markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36895
(cherry picked from commit 34aac98e3511d90df9209204df6772935a2b7617)
Commit: 4fe2f59a3f20f958efa3cf16c9fca22c6c453731
https://github.com/MidnightBSD/src/commit/4fe2f59a3f20f958efa3cf16c9fca22c6c453731
Author: Mitchell Horne <mhorne at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M share/man/man9/Makefile
Log Message:
-----------
ofw_graph(9): hook it up to the Makefile
Otherwise, the man page is not installed. Add appropriate MLINKS.
Reviewed by: manu
MFC after: 3 days
Fixes: 9a4eed0be20c ("ofw_graph: Add functions for graph bindings")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36932
(cherry picked from commit d88131e1e50c9cce5bd089b156661ca3090c10c6)
Commit: 8ceb9b4405111da3a38bfaad46d1092e433fe39c
https://github.com/MidnightBSD/src/commit/8ceb9b4405111da3a38bfaad46d1092e433fe39c
Author: Mitchell Horne <mhorne at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M share/man/man9/sbuf.9
Log Message:
-----------
sbuf(9): reference the correct function
This was most likely a copy-paste error.
PR: 262433
MFC after: 3 days
Reported by: Boris Ivanovsky <bivanovsky at gmail.com>
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 204a5f5800a0d025c223a7b0b66537e30777d0c7)
Commit: a4aab7d7b09745d6f2b3a0eedf1539fe44547260
https://github.com/MidnightBSD/src/commit/a4aab7d7b09745d6f2b3a0eedf1539fe44547260
Author: Alan Somers <asomers at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/fs/fuse/fuse_vnops.c
M tests/sys/fs/fusefs/locks.cc
Log Message:
-----------
fusefs: during F_GETLK, don't change l_pid if no lock is found
PR: 266885
Submitted by: John Millikin <jmillikin at gmail.com>
Sponsored by: Axcient
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D36905
(cherry picked from commit 46fcf947c6c8db1e1ceb3cbd75b69d1d1e494929)
Commit: 262de92e0284b541221663daea4adbd177e79781
https://github.com/MidnightBSD/src/commit/262de92e0284b541221663daea4adbd177e79781
Author: Alan Somers <asomers at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/fs/fuse/fuse_vnops.c
Log Message:
-----------
Fix a vnode locking bug in fuse_vnop_advlock.
Must lock the vnode before accessing the fufh table. Also, check for
invalid parameters earlier. Bug introduced by r346170.
MFC after: 2 weeks
Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D27936
(cherry picked from commit 542711e52079f65647ac1daadf0c9e74cb221f3e)
Commit: 4f641cac5e814b2f7812888dae62327281be49b2
https://github.com/MidnightBSD/src/commit/4f641cac5e814b2f7812888dae62327281be49b2
Author: Alan Somers <asomers at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/fs/fuse/fuse_vnops.c
Log Message:
-----------
Add missing change from c76461e064b675c8edd3b1d9bb917905a885a860
Direct commit to stable/12 because it fixes an MFC mismerge
Commit: 030dff37af96a2c91416819c2d03fb2d73c4af85
https://github.com/MidnightBSD/src/commit/030dff37af96a2c91416819c2d03fb2d73c4af85
Author: Alan Somers <asomers at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/fs/fuse/fuse_internal.c
M sys/fs/fuse/fuse_io.c
M sys/fs/fuse/fuse_node.c
M sys/fs/fuse/fuse_node.h
M sys/fs/fuse/fuse_vnops.c
M tests/sys/fs/fusefs/cache.cc
M tests/sys/fs/fusefs/io.cc
M tests/sys/fs/fusefs/mockfs.cc
M tests/sys/fs/fusefs/mockfs.hh
M tests/sys/fs/fusefs/read.cc
M tests/sys/fs/fusefs/utils.cc
M tests/sys/fs/fusefs/utils.hh
Log Message:
-----------
fusefs: update atime on reads when using cached attributes
When using cached attributes, whether or not the data cache is enabled,
fusefs must update a file's atime whenever it reads from it, so long as
it wasn't mounted with -o noatime. Update it in-kernel, and flush it to
the server on close or during the next setattr operation.
The downside is that close() will now frequently trigger a FUSE_SETATTR
upcall. But if you care about performance, you should be using
-o noatime anyway.
Reviewed by: pfg
Differential Revision: https://reviews.freebsd.org/D33145
(cherry picked from commit 91972cfcddf950d7a9c33df5a9171ada1805a144)
fusefs: fix 32-bit build of the tests after 91972cfcddf
(cherry picked from commit d109559ddbf7afe311c1f1795ece137071406db8)
Commit: d3a939e0b80642bb560ea286643a5014ac5c0334
https://github.com/MidnightBSD/src/commit/d3a939e0b80642bb560ea286643a5014ac5c0334
Author: Alan Somers <asomers at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M tests/sys/fs/fusefs/mockfs.cc
Log Message:
-----------
fusefs: better debugging for FUSE_RENAME in the tests
(cherry picked from commit c2d342c509065bee6392624e95b75cf7b3bb9c45)
Commit: f689718f83ed5ed28975315b5211e8276f6c2b29
https://github.com/MidnightBSD/src/commit/f689718f83ed5ed28975315b5211e8276f6c2b29
Author: Hiroki Sato <hrs at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/netinet6/in6_proto.c
Log Message:
-----------
inet6(4): add a missing IPPROTO_ETHERIP entry
bridge(4) + gif(4) did not work when the outer protocol was IPv6.
Submitted by: Masahiro Kozuka
PR: 256820
Approved by: hps (to cherry-pick)
(cherry picked from commit 9823a0c0acf4fc277a71336ea737e1de7c65742f)
Commit: 30f814ca72460ce9c4d1acf6c4b6493c87e3f22d
https://github.com/MidnightBSD/src/commit/30f814ca72460ce9c4d1acf6c4b6493c87e3f22d
Author: Ed Maste <emaste at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M crypto/openssh/MIDNIGHTBSD-upgrade
R tools/tools/nanobsd/rescue/Files/etc/ssh/ssh_config
R tools/tools/nanobsd/rescue/Files/etc/ssh/sshd_config
Log Message:
-----------
nanobsd: remove unmodified copies of ssh config files
Nanobsd included copies of ssh_config and sshd_config. The former is
identical to the one provided by the base system, and the latter is
identical except for PermitRootLogin, which is updated by nanobsd's
cust_allow_ssh_root anyhow. Remove nanobsd's copies and use the
existing base system ones.
Reported by: Jose Luis Duran <jlduran at gmail.com> in D34937
Reviewed by: Jose Luis Duran <jlduran at gmail.com>, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36933
(cherry picked from commit 42942998437d9304110e39b04552853729aa498e)
(cherry picked from commit 6e6c45e66f68e68b451a27430f51a687e00bad15)
(cherry picked from commit a1e39f96d244fe30a3277c9cefbfd23e046cf845)
(cherry picked from commit a8925e0e578f355a201f81bf52161d6312826911)
Commit: ab35a900144bb495575ac1ea95d8d68a2ca67e9d
https://github.com/MidnightBSD/src/commit/ab35a900144bb495575ac1ea95d8d68a2ca67e9d
Author: Simon J. Gerraty <sjg at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M usr.bin/ldd/ldd.c
Log Message:
-----------
ldd: guard against stack overflow reading corrupted files.
Reviewed by: imp, emaste
Reported by: UK National Cyber Security Centre (NCSC)
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37010
Commit: d08577f48a37e835eca0f218d071bbc79ce5ef4b
https://github.com/MidnightBSD/src/commit/d08577f48a37e835eca0f218d071bbc79ce5ef4b
Author: Krzysztof Galazka <krzysztof.galazka at intel.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/ixl/i40e_osdep.c
M sys/dev/ixl/iavf.h
M sys/dev/ixl/iavf_vc.c
M sys/dev/ixl/if_iavf.c
M sys/dev/ixl/if_ixl.c
M sys/dev/ixl/ixl.h
M sys/dev/ixl/ixl_iw.c
M sys/dev/ixl/ixl_pf.h
M sys/dev/ixl/ixl_pf_iflib.c
M sys/dev/ixl/ixl_pf_iov.c
M sys/dev/ixl/ixl_pf_main.c
Log Message:
-----------
ixl(4): Fix VLAN HW filtering
X700 family of controllers has limited number of available VLAN
HW filters. Driver did not handle properly a case when user
assigned more VLANs to the interface which had all filters
already in use. Fix that by disabling HW filtering when
it is impossible to create filters for all requested VLANs.
Keep track of registered VLANs using bitstring to be able
to re-enable HW filtering when number of requested VLANs
drops below the limit.
Also switch all allocations to use M_IXL malloc type
to ease detecting memory leaks in the driver.
Reviewed by: erj
Tested by: gowtham.kumar.ks at intel.com
Differential Revision: https://reviews.freebsd.org/D28137
(cherry picked from commit 7d4dceec103039e2b2fa90793ceeb71a8d6684aa)
Commit: 1660f2e1143ec817a80c5ce19fd1004996a55fc0
https://github.com/MidnightBSD/src/commit/1660f2e1143ec817a80c5ce19fd1004996a55fc0
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/conf/files.amd64
M sys/conf/files.arm64
R sys/contrib/dev/ice/ice-1.3.19.0.pkg
A sys/contrib/dev/ice/ice-1.3.24.0.pkg
M sys/modules/ice_ddp/Makefile
Log Message:
-----------
ice_ddp: Update to 1.3.24.0
This version is intended to be used with the 0.29.4 version of the
ice(4) driver, which will be be committed afterwards.
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Reviewed by: stallamr_netapp.com
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D30887
(cherry picked from commit 538ef055b7ea11326ba22197537e617587a0d677)
(cherry picked from commit 070f7812da16b692d4e65fdfd418654fdb42729d)
Commit: 651653d45eaede16ab3d95a58c211c72ad77b021
https://github.com/MidnightBSD/src/commit/651653d45eaede16ab3d95a58c211c72ad77b021
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/ice/ice_adminq_cmd.h
M sys/dev/ice/ice_bitops.h
M sys/dev/ice/ice_common.c
M sys/dev/ice/ice_common.h
M sys/dev/ice/ice_common_sysctls.h
M sys/dev/ice/ice_controlq.c
M sys/dev/ice/ice_controlq.h
M sys/dev/ice/ice_drv_info.h
M sys/dev/ice/ice_features.h
M sys/dev/ice/ice_flex_pipe.c
M sys/dev/ice/ice_flex_pipe.h
M sys/dev/ice/ice_flex_type.h
M sys/dev/ice/ice_flow.c
M sys/dev/ice/ice_iflib.h
M sys/dev/ice/ice_lan_tx_rx.h
M sys/dev/ice/ice_lib.c
M sys/dev/ice/ice_lib.h
M sys/dev/ice/ice_nvm.c
M sys/dev/ice/ice_protocol_type.h
M sys/dev/ice/ice_sched.c
M sys/dev/ice/ice_switch.c
M sys/dev/ice/ice_switch.h
M sys/dev/ice/ice_type.h
M sys/dev/ice/ice_vlan_mode.c
M sys/dev/ice/ice_vlan_mode.h
M sys/dev/ice/if_ice_iflib.c
M sys/dev/ice/virtchnl.h
M sys/dev/ice/virtchnl_inline_ipsec.h
A sys/dev/ice/virtchnl_lan_desc.h
Log Message:
-----------
ice(4): Update to version 0.29.4-k
Includes various feature improvements and bug fixes.
Notable changes include:
- Link management flow changes
- New sysctl to report aggregated error counts
- Health Status Event reporting from firmware (Use the new read-only
tunables hw.ice.enable_health_events / dev.ice.#.enable_health_events
to turn this off)
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Sponsored by: Intel Corporation
(cherry picked from commit 9cf1841c4aaf8fbab06132ab9f76094f34ad7c7b)
Commit: c41db2f3fa4251f67caebd98a8d9e7a2618e5ad6
https://github.com/MidnightBSD/src/commit/c41db2f3fa4251f67caebd98a8d9e7a2618e5ad6
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/conf/files.amd64
A sys/dev/iavf/iavf_adminq.c
A sys/dev/iavf/iavf_adminq.h
A sys/dev/iavf/iavf_adminq_cmd.h
A sys/dev/iavf/iavf_alloc.h
A sys/dev/iavf/iavf_common.c
A sys/dev/iavf/iavf_debug.h
A sys/dev/iavf/iavf_devids.h
A sys/dev/iavf/iavf_drv_info.h
A sys/dev/iavf/iavf_iflib.h
A sys/dev/iavf/iavf_lib.c
A sys/dev/iavf/iavf_lib.h
A sys/dev/iavf/iavf_opts.h
A sys/dev/iavf/iavf_osdep.c
A sys/dev/iavf/iavf_osdep.h
A sys/dev/iavf/iavf_prototype.h
A sys/dev/iavf/iavf_register.h
A sys/dev/iavf/iavf_status.h
A sys/dev/iavf/iavf_sysctls_common.h
A sys/dev/iavf/iavf_sysctls_iflib.h
A sys/dev/iavf/iavf_txrx_common.h
A sys/dev/iavf/iavf_txrx_iflib.c
A sys/dev/iavf/iavf_type.h
A sys/dev/iavf/iavf_vc_common.c
A sys/dev/iavf/iavf_vc_common.h
A sys/dev/iavf/iavf_vc_iflib.c
A sys/dev/iavf/if_iavf_iflib.c
A sys/dev/iavf/virtchnl.h
M sys/modules/iavf/Makefile
Log Message:
-----------
iavf(4): Split source and update to 3.0.26-k
The iavf(4) driver now uses a different source base from ixl(4), since
it will be the standard VF driver for new Intel Ethernet products going
forward, including ice(4). It continues to use the iflib framework
for network drivers.
Since it now uses a different source code base, this commit adds a new
sys/dev/iavf entry, but it re-uses the existing module name so no
configuration changes are necessary.
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Reviewed by: kbowling@
Tested by: lukasz.szczepaniak at intel.com
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D28636
(cherry picked from commit ca853dee3b8f26f53d48d685f32ec0b8396369e8)
(cherry picked from commit 5577aa338a675f2a465a58356894fbe24ba20407)
Commit: 7fbe20454327e3002e7d11b7051c283562d4f489
https://github.com/MidnightBSD/src/commit/7fbe20454327e3002e7d11b7051c283562d4f489
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
R sys/dev/ixl/iavf.h
R sys/dev/ixl/iavf_vc.c
R sys/dev/ixl/if_iavf.c
Log Message:
-----------
ixl(4): Remove iavf(4) source files
Since iavf(4) no longer shares code with ixl(4) as of commit
f2fbd56a8d07665bc0a5e8b7e40026b50a591e2a and now has its own directory,
remove these now-unused iavf(4)-only files.
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D28638
(cherry picked from commit 409b36ad911d0a12a45c1488369b458965691379)
Commit: 804e2b5c545981b0614934c77e0e19b4b95a5401
https://github.com/MidnightBSD/src/commit/804e2b5c545981b0614934c77e0e19b4b95a5401
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/ixl/ixl_pf.h
Log Message:
-----------
ixl(4): Remove unused function declaration
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Sponsored by: Intel Corporation
(cherry picked from commit 0e8181c01237141ed94d2efbb5b7efae39e6232e)
Commit: 9eacaa239bca27415bfe0dc179a3340b227d36fc
https://github.com/MidnightBSD/src/commit/9eacaa239bca27415bfe0dc179a3340b227d36fc
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/iavf/iavf_lib.c
Log Message:
-----------
iavf(4): Replace functions with compatible implementations
Since FreeBSD 12.4 is missing functions found in newer versions,
replace some of the usages of missing ones with implementations
that work for 12.4.
This is a direct commit to stable/12; this fix isn't necessary on
newer branches.
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Commit: 0041870835a6702388819fa0fc208f4d575bf5a9
https://github.com/MidnightBSD/src/commit/0041870835a6702388819fa0fc208f4d575bf5a9
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/net/iflib.c
M sys/net/iflib.h
M sys/sys/param.h
Log Message:
-----------
iflib: Allow drivers to determine which queue to TX on
Adds a new function pointer to struct if_txrx in order to allow
drivers to set their own function that will determine which queue
a packet should be sent on.
Since this includes a kernel ABI change, bump the __FreeBSD_version
as well.
(This motivation behind this is to allow the driver to examine the
UP in the VLAN tag and determine which queue to TX on based on
that, in support of HW TX traffic shaping.)
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Reviewed by: kbowling@, stallamr at netapp.com
Tested by: jeffrey.e.pieper at intel.com
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D31485
(cherry picked from commit 213e91399b7998554d787bb290109ebe602aa279)
Commit: 7083b4d3b0dfcb8d0da36d642e258f7c2899191a
https://github.com/MidnightBSD/src/commit/7083b4d3b0dfcb8d0da36d642e258f7c2899191a
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/conf/files.amd64
M sys/conf/files.arm64
M sys/contrib/dev/ice/README
R sys/contrib/dev/ice/ice-1.3.24.0.pkg
A sys/contrib/dev/ice/ice-1.3.27.0.pkg
M sys/modules/ice_ddp/Makefile
Log Message:
-----------
ice_ddp: Update to 1.3.27.0
This is intended to be used with forthcoming ice(4) driver version 1.34.2.
(MFC note: this is missing any powerpc64 support changes)
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Sponsored by: Intel Corporation
(cherry picked from commit e438f0a97538bf5cf6f3ff70a65c4d1f96b766aa)
Commit: 7c63af0c28c98b242adbbe45dd1bcd1240341b10
https://github.com/MidnightBSD/src/commit/7c63af0c28c98b242adbbe45dd1bcd1240341b10
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/conf/files.amd64
M sys/conf/files.arm64
M sys/dev/ice/ice_adminq_cmd.h
M sys/dev/ice/ice_common.c
M sys/dev/ice/ice_common.h
M sys/dev/ice/ice_dcb.c
M sys/dev/ice/ice_dcb.h
M sys/dev/ice/ice_devids.h
M sys/dev/ice/ice_drv_info.h
M sys/dev/ice/ice_features.h
M sys/dev/ice/ice_flex_pipe.c
M sys/dev/ice/ice_flex_type.h
M sys/dev/ice/ice_flow.c
M sys/dev/ice/ice_flow.h
A sys/dev/ice/ice_fw_logging.c
A sys/dev/ice/ice_fwlog.c
A sys/dev/ice/ice_fwlog.h
M sys/dev/ice/ice_hw_autogen.h
M sys/dev/ice/ice_iflib.h
M sys/dev/ice/ice_iflib_txrx.c
M sys/dev/ice/ice_lan_tx_rx.h
M sys/dev/ice/ice_lib.c
M sys/dev/ice/ice_lib.h
M sys/dev/ice/ice_nvm.c
M sys/dev/ice/ice_nvm.h
M sys/dev/ice/ice_osdep.c
M sys/dev/ice/ice_osdep.h
M sys/dev/ice/ice_protocol_type.h
M sys/dev/ice/ice_sched.c
R sys/dev/ice/ice_sriov.c
R sys/dev/ice/ice_sriov.h
M sys/dev/ice/ice_strings.c
M sys/dev/ice/ice_switch.c
M sys/dev/ice/ice_switch.h
M sys/dev/ice/ice_type.h
M sys/dev/ice/ice_vlan_mode.c
M sys/dev/ice/ice_vlan_mode.h
M sys/dev/ice/if_ice_iflib.c
M sys/dev/ice/virtchnl.h
M sys/dev/ice/virtchnl_inline_ipsec.h
M sys/dev/ice/virtchnl_lan_desc.h
M sys/modules/ice/Makefile
Log Message:
-----------
ice(4): Update to 1.34.2-k
- Adds FW logging support
- Once enabled, this lets the firmware print event and error messages
to the log, increasing the visibility into what the hardware is
doing; this is useful for debugging
- General bug fixes
- Adds initial DCB support to the driver
- Notably, this adds support for DCBX to the driver; now with the
fw_lldp sysctl set to 1, the driver and adapter will adopt a DCBX
configuration sent from a link partner
- Adds statistcs sysctls for priority flow control frames
- Adds new configuration sysctls for DCB-related features: (VLAN) user
priority to TC mapping; ETS bandwidth allocation; priority flow
control
- Remove unused SR-IOV files (until support gets added)
(MFC node: This adds support for E82x devices (codename Columbia Park)
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Tested by: jeffrey.e.pieper at intel.com
MFC with: 213e91399b, e438f0a975
Relnotes: yes
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D34024
(cherry picked from commit 56429daea255fa719169bb23ded66f8edb6f5408)
(cherry picked from commit 61d83041ab111fe491409f2eca2b528108b9ec29)
Commit: 98162fb3eed3e73a06d1e8b2c1565823af001379
https://github.com/MidnightBSD/src/commit/98162fb3eed3e73a06d1e8b2c1565823af001379
Author: Piotr Pietruszewski <piotr.pietruszewski at intel.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/ixgbe/if_ixv.c
M sys/dev/ixgbe/ixgbe.h
M sys/dev/ixgbe/ixgbe_mbx.h
M sys/dev/ixgbe/ixgbe_type.h
M sys/dev/ixgbe/ixgbe_vf.c
M sys/dev/ixgbe/ixgbe_vf.h
Log Message:
-----------
ixv(4): Allow PF to control the VF link state
This patch adds checks of a VF link state provided by PF via mailbox
API. Such change enables the PF to disable a VF administratively.
Since command needed by the PF to control the VF is introduced in
mailbox api version 1.2, this patch also bumps supported mailbox api
version to 1.2.
Co-authored-by: Krzysztof Galazka <krzysztof.galazka at intel.com>
Reviewed By: kbowling@
Tested by: lukasz.szczepaniak at intel.com
MFC after: 3 days
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D32004
(cherry picked from commit a3e719bbc21a56230a5b8adeb4c531a6dfb77940)
Commit: 14473293d83f868b34718d7c8e48ae272fd430d7
https://github.com/MidnightBSD/src/commit/14473293d83f868b34718d7c8e48ae272fd430d7
Author: Piotr Pietruszewski <piotr.pietruszewski at intel.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/ixgbe/if_ix.c
M sys/dev/ixgbe/ixgbe.h
Log Message:
-----------
ix(4): Add control of 2.5/5G autonegotiation speeds
This change enables the user to control 2.5G and 5G autonegotiation
speeds via advertise_speed sysctl for X550T devices. Due to reported
interoperability issues with switches, 2.5G and 5G speeds will not be
advertised by default.
Signed-off-by: Piotr Pietruszewski <piotr.pietruszewski at intel.com>
Co-authored-by: Krzysztof Galazka <krzysztof.galazka at intel.com>
Tested by: gowtham.kumar.ks at intel.com
MFC after: 3 days
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D26245
(cherry picked from commit d381c807510de2ebb453a563540bd17e344a2aab)
Commit: 63713b025a47ded8369865a416aa45daedb4b179
https://github.com/MidnightBSD/src/commit/63713b025a47ded8369865a416aa45daedb4b179
Author: Eric Joyner <erj at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/conf/files.amd64
M sys/conf/files.arm64
M sys/dev/ice/ice_adminq_cmd.h
M sys/dev/ice/ice_common.c
M sys/dev/ice/ice_common.h
M sys/dev/ice/ice_common_sysctls.h
M sys/dev/ice/ice_iflib.h
M sys/dev/ice/ice_lib.c
M sys/dev/ice/ice_lib.h
A sys/dev/ice/ice_rdma.c
A sys/dev/ice/ice_rdma.h
A sys/dev/ice/ice_rdma_internal.h
M sys/dev/ice/ice_sched.c
M sys/dev/ice/ice_sched.h
M sys/dev/ice/ice_switch.c
M sys/dev/ice/ice_switch.h
M sys/dev/ice/ice_type.h
M sys/dev/ice/if_ice_iflib.c
A sys/dev/ice/irdma_di_if.m
A sys/dev/ice/irdma_if.m
M sys/modules/ice/Makefile
Log Message:
-----------
ice(4): Add RDMA Client Interface
This allows the "irdma" driver to communicate with the ice(4)
driver to allow it access to the underlying device's hardware
resources as well as synchronize access to shared resources.
This interface already existed in the standalone out-of-tree
1.34.2 driver; this commit adds and enables it in the in-kernel
driver.
Note:
Adds hack to module Makefile to compile interface/.m files
These are required for the RDMA client interface, but they don't
build as-is like the normal .c files. The source directory doesn't
seem to be included by default, so add lines that specifically
add them as libraries so that ice_rdma.h can be found and the
interface files will compile.
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D30889
(cherry picked from commit 8a13362d49bf07dfc654e25976d057adbe0ac9c1)
(cherry picked from commit d8cce8145c39812cc31b50070c44d66ca21a5127)
Commit: 0e3fb2194d4cbb5f93dd8a06484e10fe1f604e6c
https://github.com/MidnightBSD/src/commit/0e3fb2194d4cbb5f93dd8a06484e10fe1f604e6c
Author: Krzysztof Galazka <krzysztof.galazka at intel.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/ixl/i40e_common.c
M sys/dev/ixl/i40e_devids.h
M sys/dev/ixl/i40e_status.h
M sys/dev/ixl/if_ixl.c
Log Message:
-----------
ixl(4): Add support for I710 devices and remove non-inclusive language
Intel introduces a new line of 1G Ethernet adapters
with Device ID 0x0DD2. While at that also remove
non-inclusive language.
Signed-off-by: Eric Joyner <erj at FreeBSD.org>
Reviewed by: kbowling@
Tested by: gowtham.kumar.ks at intel.com
MFC after: 1 week
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D34924
(cherry picked from commit b7b40e4a38d8521a40494d868d0870dfb9d6d77d)
Commit: bc7aa81f6d84bd6ec18a8b1e64fb228ee79e269e
https://github.com/MidnightBSD/src/commit/bc7aa81f6d84bd6ec18a8b1e64fb228ee79e269e
Author: Yan Ka Chiu <nyan at myuji.xyz>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/ixl/ixl_pf_main.c
Log Message:
-----------
ixl(4): Fix SR-IOV panics
The hw and ifp of a vsi will be NULL if such ixl_vsi is allocated
for a VF. When ixl_reconfigure_filters called, it is trying to
access vsi->ifp and hw->mac.addr and therefore is casuing panic.
This commit add checks to determine if vsi is a VF by checking
if vsi->hw is NULL, before adding IXL_VLAN_ANY filter (which
is already in a VF vsi's filter list) and VLAN filters.
(erj's Note: The SR-IOV flows need revisiting; this will help
prevent panics for now)
Reviewed by: krzysztof.galazka at intel.com, erj@
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D35649
(cherry picked from commit e706512a2b64fa2741144caf056c9fe923b60004)
Commit: 6e71e94190a113062c7c02302d9104ef7dd3fe3c
https://github.com/MidnightBSD/src/commit/6e71e94190a113062c7c02302d9104ef7dd3fe3c
Author: Alexander Motin <mav at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/ioat/ioat.c
Log Message:
-----------
ioat: Add Ice Lake ID.
MFC after: 2 weeks
(cherry picked from commit e4e91353c62e2af425061a4e56e1f24dcca2dd0f)
Commit: 85021d9fd026716298cca7e3712fceceba3e9fef
https://github.com/MidnightBSD/src/commit/85021d9fd026716298cca7e3712fceceba3e9fef
Author: Kenneth D. Merry <ken at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/dev/mpr/mpr.c
Log Message:
-----------
Fix mpr(4) panic during a firmware update.
Issue Description:
The RequestCredits field of IOCFacts got changed between the Phase23
firmware to Phase24 firmware. So as part of firmware update operation,
driver has to free the resources & pools which are created with the Phase23
Firmware's IOCFacts data (i.e. during driver load time) and has to
reallocate the resources and pools using Phase24's IOCFacts data. Here
driver has freed the interrupts but missed to reallocate the interrupts and
hence config page read operation is getting timed out and controller is
going for recursive reinit (controller reset) operations and leading to
kernel panic.
Fix:
Reallocate the interrupts if the interrupts are disabled as part of
firmware update/downgrade operation.
Submitted by: Sreekanth Ready <sreekanth.reddy at broadcom.com>
Tested by: ken
MFC after: 3 days
(cherry picked from commit 11778fca4a83f5e3b597c75785aa5c0ee0dc518e)
Commit: f175f54fbc68aeb759e6a969277abe49a0f6f98b
https://github.com/MidnightBSD/src/commit/f175f54fbc68aeb759e6a969277abe49a0f6f98b
Author: Alan Somers <asomers at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/fs/fuse/fuse_vnops.c
M tests/sys/fs/fusefs/locks.cc
M tests/sys/fs/fusefs/mockfs.cc
Log Message:
-----------
fusefs: After successful F_GETLK, l_whence should be SEEK_SET
PR: 266886
Reported by: John Millikin <jmillikin at gmail.com>
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D37014
(cherry picked from commit 3c3b906b54236841d813fd9a01b1e090f39558ea)
fusefs: fix VOP_ADVLOCK with SEEK_END
When the user specifies SEEK_END, unlike SEEK_CUR, VOP_ADVLOCK must
adjust lock offsets itself.
Sort-of related to bug 266886.
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D37040
(cherry picked from commit f6e5319550f60170840f1a07a9cbdd45b5014a21)
Approved by: kib (re)
Commit: 222dfe505d5966ef8f4a6e8d3f346c41cf8db1da
https://github.com/MidnightBSD/src/commit/222dfe505d5966ef8f4a6e8d3f346c41cf8db1da
Author: Glen Barber <gjb at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/conf/newvers.sh
M sys/sys/param.h
Log Message:
-----------
bump __FreeBSD_version
Commit: fb173e83508d3fcd7d953f9652226394603651d8
https://github.com/MidnightBSD/src/commit/fb173e83508d3fcd7d953f9652226394603651d8
Author: Sreekanth Reddy <sreekanth.reddy at broadcom.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M share/man/man4/mpr.4
Log Message:
-----------
mpr(4): Add Aero/Sea devices to supported hardware list
Add Aero/Sea devices to supported hardware list in mpr man page.
PR: 267172
MFC after: 3 days
(cherry picked from commit 751ec8af5ea1df5a4eadd1f3e7d76271fcfed0b1)
Commit: 5c44218cd71426dc1e295869845b79042f6b1ac0
https://github.com/MidnightBSD/src/commit/5c44218cd71426dc1e295869845b79042f6b1ac0
Author: Mitchell Horne <mhorne at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M share/man/man3/pthread_schedparam.3
Log Message:
-----------
pthread_setschedparam(3): document EPERM return
In kern_sched_setparam(), before setting any parameters, p_cansched() is
called to check that the thread has appropriate privileges.
PR: 175687
Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D37020
(cherry picked from commit 04620006b9116049e9e2f27d74417d2d84dc8d10)
Commit: eefa07f93082e1476f22067f699cd8ea90727863
https://github.com/MidnightBSD/src/commit/eefa07f93082e1476f22067f699cd8ea90727863
Author: Ali Abdallah <ali.abdallah at suse.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M sys/kern/ksched.c
Log Message:
-----------
ksched: correct return code for invalid priority
By convention, EINVAL is returned when validating arguments, not EPERM.
This matches the documented behaviour of sched_setscheduler(3), and that
of SCHED_OTHER.
PR: 227735
MFC after: 1 week
Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D37021
(cherry picked from commit ba4782022ac840bd20f4e10cb95ca27d2742333a)
Commit: e0f44f242e977220ba467f385d1698e3550b7c46
https://github.com/MidnightBSD/src/commit/e0f44f242e977220ba467f385d1698e3550b7c46
Author: Mitchell Horne <mhorne at FreeBSD.org>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M lib/libc/gen/getpagesize.3
Log Message:
-----------
getpagesize(3): cross-reference getpagesizes(3)
MFC after: 3 days
(cherry picked from commit 4a9b1a146385912510ed1b203cd853a327643625)
Compare: https://github.com/MidnightBSD/src/compare/263ddadcd9f9...e0f44f242e97
More information about the Midnightbsd-cvs
mailing list