summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-13Add a driver for the ARM System Control and Management Interface, which,Mark Kettenis
among other things allows management of clocks under firmware management. ok patrick@
2023-02-13Add RK356x TSADC clocks.Mark Kettenis
ok patrick@
2023-02-13Add dwqe(4), a driver for the Synopsis DesignWare Ethernet QoS controllerPatrick Wildt
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@
2023-02-13Mention TCS4525.Mark Kettenis
2023-02-13Add support for the Shenzhen Tangcheng Technology TCS4525 voltageMark Kettenis
regulator. ok patrick@
2023-02-13Adjust function prototype of a stub function after change toClaudio Jeker
rde_generate_updates() in bgpd.
2023-02-13Pass struct rib_entry to rde_generate_updates() instead of struct rib.Claudio Jeker
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@
2023-02-13Support device trees with NOPs in them (like the kernel version alreadyMark Kettenis
does). tested by jca@ (riscv64) ok patrick@
2023-02-13Fix an alignment issue in iwx(4) Rx descriptors.Stefan Sperling
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.
2023-02-13Also lock the map in the execve-driven calls to uvm_map_check_copyin_add()Theo de Raadt
ok kettenis
2023-02-13Upon fork, copy the copyin_check structure to the new map, otherwiseTheo de Raadt
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
2023-02-13regenVitaliy Makkoveev
2023-02-13asn1x509 test: Remove unnecessary line continuationsTheo Buehler
2023-02-13Push kernel lock down to dopselect() and doppoll() and unlock select(2),Vitaliy Makkoveev
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@
2023-02-13Merge dsa_sign.c and dsa_vrf.c into dsa_ossl.cTheo Buehler
discussed with jsing
2023-02-13dsa/dsa_sign.c: unindent by inverting logic for DSA_SIG_free(NULL)Theo Buehler
2023-02-13dsa/dsa_sign.c: shuffle functions into a more sensible orderTheo Buehler
2023-02-13regenMark Kettenis
2023-02-13Add Rockchip RK3566 and shorten the name for the RK3399.Mark Kettenis
ok jsg@
2023-02-13Revise for negative zero changes.Joel Sing
2023-02-13Avoid negative zero.Joel Sing
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@
2023-02-13Simplify BN_set_negative().Joel Sing
ok tb@
2023-02-13Add currently failing negative zero check to BN_rshift() regress.Joel Sing
2023-02-12syncTheo de Raadt
2023-02-12bump major after syscall removalTheo Buehler
2023-02-12Rename pipeselwakeup() to pipe_wakeup(). It doesn't call selwakeup()Vitaliy Makkoveev
anymore, so do it to be consistent with similar *wakeup() functions. No functional changes. ok visa@
2023-02-12regenVitaliy Makkoveev
2023-02-12Add "Micron Technology" vendor and MTFDKBA512QFM NVMe storageVitaliy Makkoveev
ok deraadt@
2023-02-12m88k also needs to define PMAP_CHECK_COPYIN as 1.Kenji Aoyama
"this makes sense" miod@
2023-02-11non-padded 64-bit system calls arrived 2021/12/23, over a year ago.Theo de Raadt
time to delete the backwards compat padded functions in the kernel.
2023-02-11syncTheo de Raadt
2023-02-11sync for __syscall removalTheo de Raadt
2023-02-11syncTheo de Raadt
2023-02-11crank major because __syscall is goneTheo de Raadt
2023-02-11__syscall() is no longer neccessary since the system calls which neededTheo de Raadt
it are now unpadded ok kettenis guenther
2023-02-11sprinkle some Xr; from josiah frentsosJason McIntyre
2023-02-11I forgot to copy the msyscall interlock flag to forked processes, soTheo de Raadt
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
2023-02-11Remove bn_exp2.c, which is now empty.Joel Sing
2023-02-11Bye bye x86_64-gcc.c.Joel Sing
This is no longer used, since we're now using s2n-bignum functions instead.
2023-02-11Refactor common code of the 3 up_generate functions into up_process_prefix()Claudio Jeker
Simplifies up_generate_updates(), up_generate_addpath() and up_generate_addpath_all() a fair bit. OK tb@
2023-02-11Use a consistent comment to explain why 32bit archs set their secondPhilip Guenther
return register to -1 in the syscall error path ("for lseek"). removal of the misleading __syscall() mention requested by deraadt@ ok deraadt@
2023-02-11Make 'ls' command in bootloader work correctly on luna88k.Kenji Aoyama
Now 'ls' against directory works fine. Tested on LUNA-88K2 and nono emulator by me.
2023-02-10Add support for configuring multiple name servers as roadwarriorTobias Heider
client. This allows us to have a fallback in case one connection fails. Tested by Ryan Kavanagh ok patrick@
2023-02-10Use "echo '/ *' | disklabel -wAT-" to put all free space into theKenneth R Westerback
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@
2023-02-10drm/amdgpu: update wave data type to 3 for gfx11Jonathan Gray
From Graham Sider 86dbbc8f6ba705b82c0e6daf5c2fed993665dc1a in linux-6.1.y/6.1.11 ed8e793c65e4c6633e8577e40d574da8a56d2e0f in mainline linux
2023-02-10drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11Jonathan Gray
From Tim Huang 91ef43f6b65b5aea03e71d70bb510efc61637ff6 in linux-6.1.y/6.1.11 1538709c9f1c207d30afd95ea41b3aeb973f67e7 in mainline linux
2023-02-10drm/amd: Fix initialization for nbio 4.3.0Jonathan Gray
From Mario Limonciello 814d83a710e8309d989fafc163656a68f2acaef4 in linux-6.1.y/6.1.11 5048fa1ebf89d03cf0ceca13fab8f800399e9ee3 in mainline linux
2023-02-10Make tun(4) and tap(4) event filters MP-safe.Visa Hankala
OK mvs@
2023-02-10drm/i915: Fix potential bit_17 double-freeJonathan Gray
From Rob Clark 0769f997a7b6d5cb8336db0b4ec3d2d311b8097c in linux-6.1.y/6.1.11 7057a8f126f14f14b040faecfa220fd27c6c2f85 in mainline linux
2023-02-10drm/i915: Avoid potential vm use-after-freeJonathan Gray
From Rob Clark 764accc2c1b8fd1507be2e7f436c94cdce887a00 in linux-6.1.y/6.1.11 41d419382ec7e257e54b7b6ff0d3623aafb1316d in mainline linux