summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-17skip Controller Save State (CSS) and Controller Restore State (CRS)Jonathan Gray
on AMD 17h/1xh xHCI avoids problem with resume after CRS was introduced in xhci.c rev 1.133 uhub0: device problem, disabling port 2 uhub1: device problem, disabling port 1 reported by brynet@ and reproduced on t495, ok kettenis@
2024-08-16Cast to unsigned char after or'ing in the meta bit, so the compilerPhilip Guenther
doesn't complain when it's implicitly converted to plain char in an assignment, and to make sure it's not negative when used as an array index. ok miod@
2024-08-16Delete duplicated x{m,re}alloc() declarations and add argument typesPhilip Guenther
to a function pointer definition. ok miod@
2024-08-16Delete bogus test of array being NULLPhilip Guenther
ok miod@
2024-08-16strn?casecmp() config bits were incomplete. We have them soPhilip Guenther
just delete the bogus declarations. Also, getopt() is in <unistd.h> so pull that in during the remapping of it. ok miod@
2024-08-16Fix precedence lossage reported by clang that results inPhilip Guenther
bad buffer size. ok miod@
2024-08-16syncTheo de Raadt
2000-02-09TexInfo 4.0. New manpages, can create html.Marc Espie
A bit more grumpy about bad texinfo, though.
1995-12-22Import of texinfo-3.6 from FSFNiklas Hallqvist
2024-08-16Atomically modify `nthreads' and move proc_free() out of KERNEL_LOCK().Martin Pieuchot
ok jca@
2024-08-16Remove reference to telnet(1).Florian Obser
telnet(1) doesn't have anything to do with login(1), maybe telnetd(8) did, but that was taken behind the barn nearly 20 years ago. Earlier version OK miod Input dtucker OK jmc, sthen, deraadt
2024-08-16telnet(1) is not a good example for logging in over the network.Florian Obser
OK jmc, sthen, deraadt
2024-08-16Add pledge & unveil.Florian Obser
The rpc library needs read access to the rpc database in /etc/rpc. Other than that rpcinfo only uses AF_INET sockets. With -b, rpcinfo(8) uses gethostbyaddr(3) to report hosts that responded, so add "dns" pledge as well. OK bluhm, miod
2024-08-16whitespaceTheo de Raadt
2024-08-16vio(4): Don't set IPv4 checksum OK flag for rx packets.Jan Klemkow
The virtio specification just address TCP/UDP checksum offloading. Thus, we have to check the IPv4 checksum in our stack. ok sf@
2024-08-16Fix bounds checking in wsmux_getmux().Miod Vallat
2024-08-16Set CONFIG_AMD_PMC. We don't have the corresponding driver just yet, butMark Kettenis
it seems that Linux is just overcautious in disabling S0 suspend when the driver isn't included in the kernel config. And we plan to implement the driver soon anyway. ok jsg@
2024-08-16Hook up a few more bits of suspend/resume power management code. ThisMark Kettenis
fixes S3 suspend/resume on the Lenovo ThinCentre M715q with: amdgpu0: RAVEN GC 9.1.0 8 CU rev 0x01 and also fixes S0 suspend/resume on various laptops with AMD graphics provided we disable a few checks (which will be done in a separate commit). ok jsg@
2024-08-16drm/amd: Stop evicting resources on APUs in suspendMark Kettenis
From Mario Limonciello 3a9626c816db901def438dc2513622e281186d39 in mainline linux
2024-08-16Make sure that the uptime field is always updated. Previously it wasYASUOKA Masahiko
used before initialized when the database has a session.
2024-08-16Free memory as much as possible. Also, fix a use-after-free when exiting.YASUOKA Masahiko
2024-08-16Send a reply to the control client when DAE is timed out instead ofYASUOKA Masahiko
silence. Also, fix a broken error string.
2024-08-16Delete req_modified. Which is not used.YASUOKA Masahiko
2024-08-16Introduce PR_MPSYSCTL flag to mark mp-safe (*pr_sysctl)() handlers andVitaliy Makkoveev
unlock both divert_sysctl() and divert6_sysctl(). Unlock them together, because they are identical and pretty simple: - DIVERTCTL_RECVSPACE and DIVERTCTL_SENDSPACE - atomically accessed integers; - DIVERTCTL_STATS - per-CPU counters; ok bluhm
2024-08-16add 7.7 syspatch pubkeyRobert Nagy
2024-08-16delete disabled ACPI-related code in here, this power management isTheo de Raadt
done at a different level, and nothing needs to be done here ok kettenis
2024-08-16Align more register addresses and data structures with ath12k.Patrick Wildt
2024-08-15Further minor cleanup for improved readability, with the major change thatPatrick Wildt
FW now seems to come up after providing regdb parsed out of the board file.
2024-08-15Initial patchset on top of the qwx(4) to adjust for ath12k. Still notPatrick Wildt
working yet, but it's better to continue polishing this in-tree.
2024-08-15whitespaceTheo de Raadt
2024-08-15Upon resume, restore the saved state. Newer Intel xHCI controller (e.g.Mark Kettenis
those on Meteor Lake) need this, otherwise the ports are dead after resume. ok mglocker@, deraadt@
2024-08-15syncTheo de Raadt
2024-08-15syncTheo de Raadt
2024-08-15Regen some OK files since the bgpctl rib header changed.Claudio Jeker
Friendly reminder by anton@
2024-08-15add BIOCSETFNR, which is like BIOCSETF but doesnt reset the buffer or stats.David Gwynne
from Matthew Luckie <mjl@luckie.org.nz> via tech@ deraadt@ likes it.
2024-08-15Ensure synchronization jobs are stopped when the timeout is reachedJob Snijders
OK tb@ claudio@
2024-08-15syncPatrick Wildt
2024-08-15Add Qualcomm WCN7850Patrick Wildt
2024-08-15add 77-fw pubkeyStuart Henderson
2024-08-15bsd.port.mk: typo dbp -> dpbTheo Buehler
2024-08-15Document DWZ and fix a few mandoc lintsTheo Buehler
from espie
2024-08-15Call repo_check_timeout() before colleting the POLLOUT fds. SinceClaudio Jeker
repo_abort() called by repo_check_timeout() will add messages to be sent out. OK tb@
2024-08-15Add filtered support to bgplgd.Claudio Jeker
OK tb@
2024-08-15Accept empty lines for authopts to fix the parser to accept the oldYASUOKA Masahiko
syntax. It was broken by parse.y 1.18. Found by Mike at mgm51.com.
2024-08-15unifdef for S_I{FLNK,FIFO,FSOCK}. For the operations where we usePhilip Guenther
access() (-r, -w, -x, -e) do them without requiring stat() to succeed first. ok tb@ deraadt@
2024-08-15drm/radeon: Remove __counted_by from StateArray.states[]Jonathan Gray
From Bill Wendling ea12dbf570ef1cbbf857dfa80fbdd66cc0e4612b in linux-6.6.y/6.6.46 2bac084468847cfe5bbc7166082b2a208514bb1c in mainline linux
2024-08-15drm/dp_mst: Skip CSN if topology probing is not done yetJonathan Gray
From Wayne Lin 28c060cd370d2718345452f4182cba115b7367e8 in linux-6.6.y/6.6.46 ddf983488c3e8d30d5c2e2b315ae7d9cd87096ed in mainline linux
2024-08-15drm/client: fix null pointer dereference in drm_client_modeset_probeJonathan Gray
From Ma Ke d64fc94f7bb24fc2be0d6bd5df8df926da461a6d in linux-6.6.y/6.6.46 113fd6372a5bb3689aba8ef5b8a265ed1529a78f in mainline linux
2024-08-15drm/i915/gem: Adjust vma offset for framebuffer mmap offsetJonathan Gray
From Andi Shyti d73de3c6447644c65ed0e9a368328713dc28fb18 in linux-6.6.y/6.6.46 1ac5167b3a90c9820daa64cc65e319b2d958d686 in mainline linux
2024-08-15drm/amdgpu: Forward soft recovery errors to userspaceJonathan Gray
From Joshua Ashton 0da0b06165d83a8ecbb6582d9d5a135f9d38a52a in linux-6.6.y/6.6.46 829798c789f567ef6ba4b084c15b7b5f3bd98d51 in mainline linux