openbsd
20 months agoAdd GMAC-related RK356x clocks.
kettenis [Wed, 15 Feb 2023 14:06:43 +0000 (14:06 +0000)]
Add GMAC-related RK356x clocks.

ok patrick@

20 months agoUse correct order of arguments for shutdown(2).
florian [Wed, 15 Feb 2023 13:47:00 +0000 (13:47 +0000)]
Use correct order of arguments for shutdown(2).

Luckily routesock would never be <= 2 so shutdown would always failing
with EINVAL and not shutting down random other sockets.
The kernel was just uselessly piling up route messages that we were
never reading.

This mistake first showed up in slaacd(8) and then was copied to the
other daemons.

Reported & fixed by Josiah Frentsos (jfrent at tilde.team), thanks!
OK kn

20 months agoNow Puffy comes on luna88k bootloader!
aoyama [Wed, 15 Feb 2023 12:43:32 +0000 (12:43 +0000)]
Now Puffy comes on luna88k bootloader!

"Of course!" miod@

20 months agodrm/i915: Fix VBT DSI DVO port handling
jsg [Wed, 15 Feb 2023 10:33:03 +0000 (10:33 +0000)]
drm/i915: Fix VBT DSI DVO port handling

From Ville Syrjala
7fa83855852e4b13dd05702569f3f0bb3e1c624d in linux-6.1.y/6.1.12
6a7ff131f17f44c593173c5ee30e2c03ef211685 in mainline linux

20 months agodrm/i915: Initialize the obj flags for shmem objects
jsg [Wed, 15 Feb 2023 10:31:23 +0000 (10:31 +0000)]
drm/i915: Initialize the obj flags for shmem objects

From Aravind Iddamsetty
baaed8c92927e2530a799daf2e909e6688dc2943 in linux-6.1.y/6.1.12
44e4c5684fcc82d8f099656c4ea39d9571e2a8ac in mainline linux

20 months agodrm/i915: Move fd_install after last use of fence
jsg [Wed, 15 Feb 2023 10:28:39 +0000 (10:28 +0000)]
drm/i915: Move fd_install after last use of fence

From Rob Clark
bfa700d12274bd3509b64fd545d1046eef89d564 in linux-6.1.y/6.1.12
251e8c5b1b1fadcc387a8e618c7437d330bdac3e in mainline linux

20 months agodrm/amd/display: fix cursor offset on rotation 180
jsg [Wed, 15 Feb 2023 10:26:50 +0000 (10:26 +0000)]
drm/amd/display: fix cursor offset on rotation 180

From Melissa Wen
5af27a53a881ed49e071875c10760b0fc13996a1 in linux-6.1.y/6.1.12
49d0555976f0972af68397ed996375c135b38ba7 in mainline linux

20 months agodrm/amd/display: properly handling AGP aperture in vm setup
jsg [Wed, 15 Feb 2023 10:23:28 +0000 (10:23 +0000)]
drm/amd/display: properly handling AGP aperture in vm setup

From Alex Deucher
8d81e1c6865e7114d9829b0f3c73a66cd3a0963d in linux-6.1.y/6.1.12
5c4e8c71d1202cd84d870e7e5cb8d6b52f9c3507 in mainline linux

20 months agodrm/amdgpu/smu: skip pptable init under sriov
jsg [Wed, 15 Feb 2023 10:21:11 +0000 (10:21 +0000)]
drm/amdgpu/smu: skip pptable init under sriov

From Jane Jian
4609e1773222670af42e71c3a7bbf0453438d74a in linux-6.1.y/6.1.12
c6ac406cd8ff610a2d5da298b1d3071acfcde7f0 in mainline linux

20 months agodrm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini
jsg [Wed, 15 Feb 2023 10:18:26 +0000 (10:18 +0000)]
drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini

From Guilherme G. Piccoli
2bcbbef9cace772f5b7128b11401c515982de34b in linux-6.1.y/6.1.12
5ad7bbf3dba5c4a684338df1f285080f2588b535 in mainline linux

20 months agodrm/amd/pm: bump SMU 13.0.7 driver_if header version
jsg [Wed, 15 Feb 2023 10:16:50 +0000 (10:16 +0000)]
drm/amd/pm: bump SMU 13.0.7 driver_if header version

From Evan Quan
d82e6903b395aafc5c94b7282eccdd13903942a3 in linux-6.1.y/6.1.12
dc38b996db968f51f0fe45845a519c5cd7f6bd04 in mainline linux

20 months agodrm/amdgpu: Add unique_id support for GC 11.0.1/2
jsg [Wed, 15 Feb 2023 10:15:00 +0000 (10:15 +0000)]
drm/amdgpu: Add unique_id support for GC 11.0.1/2

From Kent Russell
e379d5662c26b65384d95674559f9343be132851 in linux-6.1.y/6.1.12
c108a18462949fe709ebd6b0be68398d643bc285 in mainline linux

20 months agodrm/amd/pm: bump SMU 13.0.0 driver_if header version
jsg [Wed, 15 Feb 2023 10:13:02 +0000 (10:13 +0000)]
drm/amd/pm: bump SMU 13.0.0 driver_if header version

From Evan Quan
daaa0760cd0b6cf5985384d24e991f6c23a236e7 in linux-6.1.y/6.1.12
9874cc2df4e892c8744aa0472866cbf7c3cf1862 in mainline linux

20 months agodrm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes
jsg [Wed, 15 Feb 2023 10:11:09 +0000 (10:11 +0000)]
drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes

From Friedrich Vock
a2e60fee4b7681bb9664f6a638d9630102ac978b in linux-6.1.y/6.1.12
e53448e0a1efa5133c7db78f1df1f4caf177676b in mainline linux

20 months agodrm/amd/pm: add SMU 13.0.7 missing GetPptLimit message mapping
jsg [Wed, 15 Feb 2023 10:09:37 +0000 (10:09 +0000)]
drm/amd/pm: add SMU 13.0.7 missing GetPptLimit message mapping

From Evan Quan
62890f3eabf80676c0fefbbdd88e0f3f12528032 in linux-6.1.y/6.1.12
0e763afcb50814e256ecb780fcc0f3bade2e1a0c in mainline linux

20 months agoUse the nowake channel for sys_nanosleep() instead of handrolling the same.
claudio [Wed, 15 Feb 2023 10:07:50 +0000 (10:07 +0000)]
Use the nowake channel for sys_nanosleep() instead of handrolling the same.
OK cheloha@ jca@ mvs@

20 months agodrm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabled
jsg [Wed, 15 Feb 2023 10:07:43 +0000 (10:07 +0000)]
drm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabled

From Ville Syrjala
d05b72328810897a28fe313735481789edfef7e4 in linux-6.1.y/6.1.12
90d5e8301ac24550be80d193aa5582cab56c29fc in mainline linux

20 months agoregen
jsg [Wed, 15 Feb 2023 06:08:53 +0000 (06:08 +0000)]
regen

20 months agoadd a Navi 33 / Radeon RX 7600S device id
jsg [Wed, 15 Feb 2023 06:08:18 +0000 (06:08 +0000)]
add a Navi 33 / Radeon RX 7600S device id

spotted in notebookcheck review of
ASUS TUF Gaming A16 Advantage Edition (2023), model FA617NS

20 months agosync
tb [Wed, 15 Feb 2023 05:20:01 +0000 (05:20 +0000)]
sync

20 months agozap tab
tb [Wed, 15 Feb 2023 04:46:49 +0000 (04:46 +0000)]
zap tab

20 months agosync - perl 5.36.0
afresh1 [Wed, 15 Feb 2023 01:41:05 +0000 (01:41 +0000)]
sync - perl 5.36.0

20 months agoApply pre-built unicore patch - perl-5.36.0
afresh1 [Wed, 15 Feb 2023 01:39:49 +0000 (01:39 +0000)]
Apply pre-built unicore patch - perl-5.36.0

OK bluhm@
a good time naddy@

20 months agoApply local patches - perl-5.36.0
afresh1 [Wed, 15 Feb 2023 01:38:20 +0000 (01:38 +0000)]
Apply local patches - perl-5.36.0

OK bluhm@
a good time naddy@

20 months agoFix merge issues, remove excess files - match perl-5.36.0 dist
afresh1 [Wed, 15 Feb 2023 01:36:12 +0000 (01:36 +0000)]
Fix merge issues, remove excess files - match perl-5.36.0 dist

OK bluhm@
a good time naddy@

20 months agoImport perl-5.36.0
afresh1 [Wed, 15 Feb 2023 01:31:50 +0000 (01:31 +0000)]
Import perl-5.36.0

OK bluhm@
a good time naddy@

20 months agoenable scmi(4)
kettenis [Tue, 14 Feb 2023 19:06:18 +0000 (19:06 +0000)]
enable scmi(4)

20 months agoRemove the misnamed and now unused mul, mul_add and mul_add_c macros.
jsing [Tue, 14 Feb 2023 18:45:39 +0000 (18:45 +0000)]
Remove the misnamed and now unused mul, mul_add and mul_add_c macros.

There were only three versions of each one...

ok tb@

20 months agoReimplement bn_mul_words(), bn_mul_add_words() and bn_mul_comba{4,8}().
jsing [Tue, 14 Feb 2023 18:37:15 +0000 (18:37 +0000)]
Reimplement bn_mul_words(), bn_mul_add_words() and bn_mul_comba{4,8}().

Use bignum primitives rather than the current mess of macros, which also
allows us to remove the essentially duplicate versions of
bn_mul_words() and bn_mul_add_words() for BN_LLONG.

The "mul" macro gets replaced by bn_mulw_addw(), "mul_add" with
bn_mulw_addw_addw() and "mul_add_c" with bn_mulw_addtw() (where 'w'
indicates single word input and 'tw' indicates triple word input).

The variables in the comba functions have also been reordered, so that the
patterns are easier to understand - the compiler can take care of
optimising the inputs and outputs to avoid register moves.

ok tb@

20 months agoProvide big number primitives for word addition/multiplication.
jsing [Tue, 14 Feb 2023 18:31:02 +0000 (18:31 +0000)]
Provide big number primitives for word addition/multiplication.

These use a consistent naming scheme and are implemented using
bitwise/constant time style operations, which should generally be safe on
all platforms (until a compiler decides to optimise and use branches).

More optimised versions can be provided for a given architecture.

ok tb@

20 months agoMake BN_is_zero() check word values.
jsing [Tue, 14 Feb 2023 18:22:35 +0000 (18:22 +0000)]
Make BN_is_zero() check word values.

Rather than completely relying on top, check the words of a bignum.
This gets us one step away from being dependent on top and additionally
means that we correctly report zero even if top is not yet correct.

ok tb@

20 months agoFix a -0 corner case in BN_div_internal()
jsing [Tue, 14 Feb 2023 18:19:27 +0000 (18:19 +0000)]
Fix a -0 corner case in BN_div_internal()

If the numerator is negative, the numerator and divisor are the same
length (in words) and the absolute value of the divisor > the absolute
value of the numerator, the "no_branch" case produces -0 since negative
has already been set. Call BN_set_negative() at the end of the function
to avoid this.

ok tb@

20 months agoReimplement BN_num_bits_word().
jsing [Tue, 14 Feb 2023 18:06:06 +0000 (18:06 +0000)]
Reimplement BN_num_bits_word().

Provide a simpler and more readable bn_word_clz() function that returns the
number of leading zeros for a given BN_ULONG, then implement
BN_num_bits_word() using bn_word_clz(). This is a hot path and
bn_word_clz() can now be replaced with architecture specific versions where
possible.

ok tb@

20 months agoMake BN_set_negative() closer to constant time.
jsing [Tue, 14 Feb 2023 18:01:15 +0000 (18:01 +0000)]
Make BN_set_negative() closer to constant time.

ok tb@

20 months agoProvide bn_ct_{eq,ne}_zero{,_mask}() inline functions.
jsing [Tue, 14 Feb 2023 17:58:26 +0000 (17:58 +0000)]
Provide bn_ct_{eq,ne}_zero{,_mask}() inline functions.

These will be used to test a BN_ULONG in cases where constant time style
behaviour is required.

ok tb@

20 months agoFix handling of port numbers in rsync://host[:port]/module URLs
job [Tue, 14 Feb 2023 17:15:15 +0000 (17:15 +0000)]
Fix handling of port numbers in host[:port]/module URLs

With and OK tb@

20 months agoWhen initalizing a new peer, wait an extra 5 seconds before connecting
claudio [Tue, 14 Feb 2023 15:37:45 +0000 (15:37 +0000)]
When initalizing a new peer, wait an extra 5 seconds before connecting
eo the remote end. With this the RDE has a chance to finish config reload
before the session to a new peer is established.
OK tb@

20 months agoNo longer wait for the RTR process to finish the config reload before
claudio [Tue, 14 Feb 2023 15:33:46 +0000 (15:33 +0000)]
No longer wait for the RTR process to finish the config reload before
sending the IMSG_RECONF_DONE message to the RDE. The RDE does not depend
on the RTR config reload (in contrast to the SE).
The ROA / ASPA reload is async from the RDE config reload.
OK tb@

20 months agoAdd regress coverage for BN_num_bits_word()
tb [Tue, 14 Feb 2023 15:08:15 +0000 (15:08 +0000)]
Add regress coverage for BN_num_bits_word()

20 months agojca@ points out that the field I split in iwx(4) Rx descriptors is in a union.
stsp [Tue, 14 Feb 2023 12:14:07 +0000 (12:14 +0000)]
jca@ points out that the field I split in iwx(4) Rx descriptors is in a union.
Keep semantics of the field intact by wrapping the split values in struct { }.
Again no size change, because of union semantics.

diff from jca@ with request to commit if ok, thanks!
build-tested again + ok tb@

20 months agoAdd -mpls to the route monitor case. It is an allowed address family.
claudio [Tue, 14 Feb 2023 11:46:08 +0000 (11:46 +0000)]
Add -mpls to the route monitor case. It is an allowed address family.
OK sthen@ florian@

20 months agouse pragma pack around PPTable_t definitions
jsg [Tue, 14 Feb 2023 11:34:32 +0000 (11:34 +0000)]
use pragma pack around PPTable_t definitions

Avoids warnings about alignment changing when embedded inside of a
packed struct (such as _ATOM_VEGA20_POWERPLAYTABLE) seen with clang 15
on arm64.

reported and compile tested by tb@
sent upstream to amd-gfx list

20 months agouse pragma pack around dmub_addr definition
jsg [Tue, 14 Feb 2023 11:31:47 +0000 (11:31 +0000)]
use pragma pack around dmub_addr definition

Avoids warnings about alignment changing when embedded inside of a
packed struct (dmub_rb_cmd_mall) seen with clang 15 on arm64.

reported and compile tested by tb@
sent upstream to amd-gfx list

20 months agoregen
mvs [Tue, 14 Feb 2023 08:35:20 +0000 (08:35 +0000)]
regen

20 months agoBackout previous. Assertion was triggered within tsleep().
mvs [Tue, 14 Feb 2023 08:34:49 +0000 (08:34 +0000)]
Backout previous. Assertion was triggered within tsleep().

20 months agoFix scmi(4) entry.
kettenis [Tue, 14 Feb 2023 08:26:59 +0000 (08:26 +0000)]
Fix scmi(4) entry.

20 months agosmci -> scmi
jsg [Tue, 14 Feb 2023 05:28:35 +0000 (05:28 +0000)]
smci -> scmi

20 months agoTypofix -ssthresh in HISTORY
kn [Tue, 14 Feb 2023 00:41:02 +0000 (00:41 +0000)]
Typofix -ssthresh in HISTORY

20 months agosync
deraadt [Mon, 13 Feb 2023 21:13:08 +0000 (21:13 +0000)]
sync

20 months agoscmi(4)
kettenis [Mon, 13 Feb 2023 19:33:51 +0000 (19:33 +0000)]
scmi(4)

20 months agoAdd a driver for the ARM System Control and Management Interface, which,
kettenis [Mon, 13 Feb 2023 19:26:15 +0000 (19:26 +0000)]
Add a driver for the ARM System Control and Management Interface, which,
among other things allows management of clocks under firmware management.

ok patrick@

20 months agoAdd RK356x TSADC clocks.
kettenis [Mon, 13 Feb 2023 19:19:29 +0000 (19:19 +0000)]
Add RK356x TSADC clocks.

ok patrick@

20 months agoAdd dwqe(4), a driver for the Synopsis DesignWare Ethernet QoS controller
patrick [Mon, 13 Feb 2023 19:18:53 +0000 (19:18 +0000)]
Add dwqe(4), a driver for the Synopsis DesignWare Ethernet QoS controller
used on the NXP i.MX8MP, the Rockchip RK35xx series and Intel Elkhart Lake.

For now it is committed with FDT-attachment only and still in rough shape,
but it's time for development to occur in-tree.

Discussed with bluhm@
ok kettenis@

20 months agoMention TCS4525.
kettenis [Mon, 13 Feb 2023 19:18:23 +0000 (19:18 +0000)]
Mention TCS4525.

20 months agoAdd support for the Shenzhen Tangcheng Technology TCS4525 voltage
kettenis [Mon, 13 Feb 2023 19:16:50 +0000 (19:16 +0000)]
Add support for the Shenzhen Tangcheng Technology TCS4525 voltage
regulator.

ok patrick@

20 months agoAdjust function prototype of a stub function after change to
claudio [Mon, 13 Feb 2023 18:09:05 +0000 (18:09 +0000)]
Adjust function prototype of a stub function after change to
rde_generate_updates() in bgpd.

20 months agoPass struct rib_entry to rde_generate_updates() instead of struct rib.
claudio [Mon, 13 Feb 2023 18:07:53 +0000 (18:07 +0000)]
Pass struct rib_entry to rde_generate_updates() instead of struct rib.
With this the newbest and oldbest arguments can go since the infromation
is part of the rib_entry. Especially the prefix in the rib_entry is
always valid so simplify some code in various functions below to use
this information.
OK tb@

20 months agoSupport device trees with NOPs in them (like the kernel version already
kettenis [Mon, 13 Feb 2023 16:16:03 +0000 (16:16 +0000)]
Support device trees with NOPs in them (like the kernel version already
does).

tested by jca@ (riscv64)
ok patrick@

20 months agoFix an alignment issue in iwx(4) Rx descriptors.
stsp [Mon, 13 Feb 2023 15:50:06 +0000 (15:50 +0000)]
Fix an alignment issue in iwx(4) Rx descriptors.

Split a 64-bit field, aligned at a 4-byte boundary, into two 32 bit fields.
Our driver does not use this field. Its definition does not matter to us,
as long as its size remains correct.

Fixes clang-15 warnings, which turn into compilation errors with -Werror.

Reported by, and ok tb@

Relevant clang 15 errors are:

In file included from /sys/dev/pci/if_iwx.c:151:
/sys/dev/pci/if_iwxreg.h:3659:2: error: field  within 'struct iwx_rx_mpdu_desc_v1' is less aligned than 'union iwx_rx_mpdu_desc_v1::(anonymous at /sys/dev/pci/if_iwxreg.h:3659:2)' and is usually due to 'struct iwx_rx_mpdu_desc_v1' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access]
        union {
        ^
/sys/dev/pci/if_iwxreg.h:3626:2: error: field  within 'struct iwx_rx_mpdu_desc_v3' is less aligned than 'union iwx_rx_mpdu_desc_v3::(anonymous at /sys/dev/pci/if_iwxreg.h:3626:2)' and is usually due to 'struct iwx_rx_mpdu_desc_v3' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access]
        union {
        ^
2 errors generated.

20 months agoAlso lock the map in the execve-driven calls to uvm_map_check_copyin_add()
deraadt [Mon, 13 Feb 2023 14:52:55 +0000 (14:52 +0000)]
Also lock the map in the execve-driven calls to uvm_map_check_copyin_add()
ok kettenis

20 months agoUpon fork, copy the copyin_check structure to the new map, otherwise
deraadt [Mon, 13 Feb 2023 14:51:49 +0000 (14:51 +0000)]
Upon fork, copy the copyin_check structure to the new map, otherwise
the xonly rules are not applied a child.  This was due to the same
misunderstanding as with msyscall a few days ago.
ok guenther kettenis

20 months agoregen
mvs [Mon, 13 Feb 2023 09:57:20 +0000 (09:57 +0000)]
regen

20 months agoasn1x509 test: Remove unnecessary line continuations
tb [Mon, 13 Feb 2023 09:50:47 +0000 (09:50 +0000)]
asn1x509 test: Remove unnecessary line continuations

20 months agoPush kernel lock down to dopselect() and doppoll() and unlock select(2),
mvs [Mon, 13 Feb 2023 09:42:45 +0000 (09:42 +0000)]
Push kernel lock down to dopselect() and doppoll() and unlock select(2),
pselect(2), poll(2) and ppoll(2).

select(2) and poll(2) are just wrappers for kqueue(2)/kevent(2) which
are already unlocked. They do temporary event queue initialization and
scan for this call only. The difference is in local data conversion
between select(2)/poll(2) and kevent(2) formats.

To separate possible signal related fallout, dosigsuspend() left under
the kernel lock. It will be taken only if optional signal mask arg
passed to pselect(2) or ppoll(2). dosigsuspend() will be unlocked later
with sigsuspend(2).

Discussed with claudio@ and kettenis@.

ok claudio@

20 months agoMerge dsa_sign.c and dsa_vrf.c into dsa_ossl.c
tb [Mon, 13 Feb 2023 09:21:35 +0000 (09:21 +0000)]
Merge dsa_sign.c and dsa_vrf.c into dsa_ossl.c

discussed with jsing

20 months agodsa/dsa_sign.c: unindent by inverting logic for DSA_SIG_free(NULL)
tb [Mon, 13 Feb 2023 09:17:50 +0000 (09:17 +0000)]
dsa/dsa_sign.c: unindent by inverting logic for DSA_SIG_free(NULL)

20 months agodsa/dsa_sign.c: shuffle functions into a more sensible order
tb [Mon, 13 Feb 2023 09:16:15 +0000 (09:16 +0000)]
dsa/dsa_sign.c: shuffle functions into a more sensible order

20 months agoregen
kettenis [Mon, 13 Feb 2023 08:03:05 +0000 (08:03 +0000)]
regen

20 months agoAdd Rockchip RK3566 and shorten the name for the RK3399.
kettenis [Mon, 13 Feb 2023 08:01:52 +0000 (08:01 +0000)]
Add Rockchip RK3566 and shorten the name for the RK3399.

ok jsg@

20 months agoRevise for negative zero changes.
jsing [Mon, 13 Feb 2023 04:26:32 +0000 (04:26 +0000)]
Revise for negative zero changes.

20 months agoAvoid negative zero.
jsing [Mon, 13 Feb 2023 04:25:37 +0000 (04:25 +0000)]
Avoid negative zero.

Whenever setting negative to one (or when it could potentially be one),
always use BN_set_negative() since it checks for a zero valued bignum and
will not permit negative to be set in this case. Since BN_is_zero()
currently relies on top == 0, call BN_set_negative() after top has been
set (or bn_correct_top() has been called).

This fixes a long standing issue where -0 and +0 have been permitted,
however multiple code paths (such as BN_cmp()) fail to treat these as
equivalent.

Prompted by Guido Vranken who is adding negative zero fuzzing to oss-fuzz.

ok tb@

20 months agoSimplify BN_set_negative().
jsing [Mon, 13 Feb 2023 04:03:38 +0000 (04:03 +0000)]
Simplify BN_set_negative().

ok tb@

20 months agoAdd currently failing negative zero check to BN_rshift() regress.
jsing [Mon, 13 Feb 2023 04:00:39 +0000 (04:00 +0000)]
Add currently failing negative zero check to BN_rshift() regress.

20 months agosync
deraadt [Sun, 12 Feb 2023 17:42:41 +0000 (17:42 +0000)]
sync

20 months agobump major after syscall removal
tb [Sun, 12 Feb 2023 17:41:46 +0000 (17:41 +0000)]
bump major after syscall removal

20 months agoRename pipeselwakeup() to pipe_wakeup(). It doesn't call selwakeup()
mvs [Sun, 12 Feb 2023 10:41:00 +0000 (10:41 +0000)]
Rename pipeselwakeup() to pipe_wakeup(). It doesn't call selwakeup()
anymore, so do it to be consistent with similar *wakeup() functions.

No functional changes.

ok visa@

20 months agoregen
mvs [Sun, 12 Feb 2023 10:40:05 +0000 (10:40 +0000)]
regen

20 months agoAdd "Micron Technology" vendor and MTFDKBA512QFM NVMe storage
mvs [Sun, 12 Feb 2023 10:39:16 +0000 (10:39 +0000)]
Add "Micron Technology" vendor and MTFDKBA512QFM NVMe storage

ok deraadt@

20 months agom88k also needs to define PMAP_CHECK_COPYIN as 1.
aoyama [Sun, 12 Feb 2023 07:02:43 +0000 (07:02 +0000)]
m88k also needs to define PMAP_CHECK_COPYIN as 1.

"this makes sense" miod@

20 months agonon-padded 64-bit system calls arrived 2021/12/23, over a year ago.
deraadt [Sat, 11 Feb 2023 23:22:17 +0000 (23:22 +0000)]
non-padded 64-bit system calls arrived 2021/12/23, over a year ago.
time to delete the backwards compat padded functions in the kernel.

20 months agosync
deraadt [Sat, 11 Feb 2023 23:21:58 +0000 (23:21 +0000)]
sync

20 months agonon-padded 64-bit system calls arrived 2021/12/23, over a year ago.
deraadt [Sat, 11 Feb 2023 23:21:22 +0000 (23:21 +0000)]
non-padded 64-bit system calls arrived 2021/12/23, over a year ago.
time to delete the backwards compat padded functions in the kernel.

20 months agosync for __syscall removal
deraadt [Sat, 11 Feb 2023 23:10:24 +0000 (23:10 +0000)]
sync for __syscall removal

20 months agosync
deraadt [Sat, 11 Feb 2023 23:08:14 +0000 (23:08 +0000)]
sync

20 months agocrank major because __syscall is gone
deraadt [Sat, 11 Feb 2023 23:07:51 +0000 (23:07 +0000)]
crank major because __syscall is gone

20 months ago__syscall() is no longer neccessary since the system calls which needed
deraadt [Sat, 11 Feb 2023 23:07:23 +0000 (23:07 +0000)]
__syscall() is no longer neccessary since the system calls which needed
it are now unpadded
ok kettenis guenther

20 months agosprinkle some Xr; from josiah frentsos
jmc [Sat, 11 Feb 2023 21:13:56 +0000 (21:13 +0000)]
sprinkle some Xr; from josiah frentsos

20 months agoI forgot to copy the msyscall interlock flag to forked processes, so
deraadt [Sat, 11 Feb 2023 21:11:37 +0000 (21:11 +0000)]
I forgot to copy the msyscall interlock flag to forked processes, so
only freshly executed processes were actually locked.  (This happened
because I didn't realize how the uvm_map's contents are copied entry
by entry, and other parts are not)
ok kettenis

20 months agoRemove bn_exp2.c, which is now empty.
jsing [Sat, 11 Feb 2023 12:17:57 +0000 (12:17 +0000)]
Remove bn_exp2.c, which is now empty.

20 months agoBye bye x86_64-gcc.c.
jsing [Sat, 11 Feb 2023 12:15:02 +0000 (12:15 +0000)]
Bye bye x86_64-gcc.c.

This is no longer used, since we're now using s2n-bignum functions instead.

20 months agoRefactor common code of the 3 up_generate functions into up_process_prefix()
claudio [Sat, 11 Feb 2023 08:50:43 +0000 (08:50 +0000)]
Refactor common code of the 3 up_generate functions into up_process_prefix()
Simplifies up_generate_updates(), up_generate_addpath() and
up_generate_addpath_all() a fair bit.
OK tb@

20 months agoUse a consistent comment to explain why 32bit archs set their second
guenther [Sat, 11 Feb 2023 06:10:39 +0000 (06:10 +0000)]
Use a consistent comment to explain why 32bit archs set their second
return register to -1 in the syscall error path ("for lseek").

removal of the misleading __syscall() mention requested by deraadt@
ok deraadt@

20 months agoMake 'ls' command in bootloader work correctly on luna88k.
aoyama [Sat, 11 Feb 2023 04:35:34 +0000 (04:35 +0000)]
Make 'ls' command in bootloader work correctly on luna88k.

Now 'ls' against directory works fine.

Tested on LUNA-88K2 and nono emulator by me.

20 months agoAdd support for configuring multiple name servers as roadwarrior
tobhe [Fri, 10 Feb 2023 19:51:08 +0000 (19:51 +0000)]
Add support for configuring multiple name servers as roadwarrior
client.  This allows us to have a fallback in case one connection
fails.

Tested by Ryan Kavanagh
ok patrick@

20 months agoUse "echo '/ *' | disklabel -wAT-" to put all free space into the
krw [Fri, 10 Feb 2023 15:54:33 +0000 (15:54 +0000)]
Use "echo '/ *' | disklabel -wAT-" to put all free space into the
root partition.

Identical behaviour as but more readable than the "echo 'a
a\n\n\n\nw\nq\n'| disklabel -E" it replaces.

It also eliminates the extraneous output of -E that required
">/dev/null".

ok kn@

20 months agodrm/amdgpu: update wave data type to 3 for gfx11
jsg [Fri, 10 Feb 2023 14:46:26 +0000 (14:46 +0000)]
drm/amdgpu: update wave data type to 3 for gfx11

From Graham Sider
86dbbc8f6ba705b82c0e6daf5c2fed993665dc1a in linux-6.1.y/6.1.11
ed8e793c65e4c6633e8577e40d574da8a56d2e0f in mainline linux

20 months agodrm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11
jsg [Fri, 10 Feb 2023 14:43:15 +0000 (14:43 +0000)]
drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11

From Tim Huang
91ef43f6b65b5aea03e71d70bb510efc61637ff6 in linux-6.1.y/6.1.11
1538709c9f1c207d30afd95ea41b3aeb973f67e7 in mainline linux

20 months agodrm/amd: Fix initialization for nbio 4.3.0
jsg [Fri, 10 Feb 2023 14:40:59 +0000 (14:40 +0000)]
drm/amd: Fix initialization for nbio 4.3.0

From Mario Limonciello
814d83a710e8309d989fafc163656a68f2acaef4 in linux-6.1.y/6.1.11
5048fa1ebf89d03cf0ceca13fab8f800399e9ee3 in mainline linux

20 months agoMake tun(4) and tap(4) event filters MP-safe.
visa [Fri, 10 Feb 2023 14:39:18 +0000 (14:39 +0000)]
Make tun(4) and tap(4) event filters MP-safe.

OK mvs@

20 months agodrm/i915: Fix potential bit_17 double-free
jsg [Fri, 10 Feb 2023 14:39:13 +0000 (14:39 +0000)]
drm/i915: Fix potential bit_17 double-free

From Rob Clark
0769f997a7b6d5cb8336db0b4ec3d2d311b8097c in linux-6.1.y/6.1.11
7057a8f126f14f14b040faecfa220fd27c6c2f85 in mainline linux