1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00
Commit Graph

234932 Commits

Author SHA1 Message Date
florian
1e5a9493c1 Remove reference to telnet(1).
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-16 16:11:06 +00:00
florian
b7bdf16b8b telnet(1) is not a good example for logging in over the network.
OK jmc, sthen, deraadt
2024-08-16 16:10:27 +00:00
florian
5b1c629843 Add pledge & unveil.
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-16 16:00:30 +00:00
deraadt
a6d36058f3 whitespace 2024-08-16 15:27:11 +00:00
jan
9ec2faa373 vio(4): Don't set IPv4 checksum OK flag for rx packets.
The virtio specification just address TCP/UDP checksum offloading.
Thus, we have to check the IPv4 checksum in our stack.

ok sf@
2024-08-16 13:02:44 +00:00
miod
a362e7cd74 Fix bounds checking in wsmux_getmux(). 2024-08-16 12:22:17 +00:00
kettenis
a9c690c879 Set CONFIG_AMD_PMC. We don't have the corresponding driver just yet, but
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-16 10:49:57 +00:00
kettenis
cc2e793a64 Hook up a few more bits of suspend/resume power management code. This
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-16 10:46:46 +00:00
kettenis
8571a5a71f drm/amd: Stop evicting resources on APUs in suspend
From Mario Limonciello
3a9626c816db901def438dc2513622e281186d39 in mainline linux
2024-08-16 10:26:20 +00:00
yasuoka
e1af567eac Make sure that the uptime field is always updated. Previously it was
used before initialized when the database has a session.
2024-08-16 09:54:21 +00:00
yasuoka
c0c32a87c2 Free memory as much as possible. Also, fix a use-after-free when exiting. 2024-08-16 09:52:16 +00:00
yasuoka
a06d4bdd1a Send a reply to the control client when DAE is timed out instead of
silence.  Also, fix a broken error string.
2024-08-16 09:50:09 +00:00
yasuoka
b59731c9fb Delete req_modified. Which is not used. 2024-08-16 09:45:52 +00:00
mvs
60728a2f1b Introduce PR_MPSYSCTL flag to mark mp-safe (*pr_sysctl)() handlers and
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-16 09:20:34 +00:00
robert
74154050e2 add 7.7 syspatch pubkey 2024-08-16 06:42:21 +00:00
deraadt
fd042ffdc7 delete disabled ACPI-related code in here, this power management is
done at a different level, and nothing needs to be done here
ok kettenis
2024-08-16 04:14:27 +00:00
patrick
b8a42cce7e Align more register addresses and data structures with ath12k. 2024-08-16 00:26:54 +00:00
patrick
aff7e5a9be Further minor cleanup for improved readability, with the major change that
FW now seems to come up after providing regdb parsed out of the board file.
2024-08-15 23:23:06 +00:00
patrick
27c3d9148f Initial patchset on top of the qwx(4) to adjust for ath12k. Still not
working yet, but it's better to continue polishing this in-tree.
2024-08-15 22:01:37 +00:00
deraadt
674f03e5c4 whitespace 2024-08-15 17:30:40 +00:00
kettenis
868dd50c5c Upon resume, restore the saved state. Newer Intel xHCI controller (e.g.
those on Meteor Lake) need this, otherwise the ports are dead after
resume.

ok mglocker@, deraadt@
2024-08-15 17:17:05 +00:00
deraadt
e02236bf0c sync 2024-08-15 16:55:06 +00:00
deraadt
3ee94cabf6 sync 2024-08-15 14:43:28 +00:00
claudio
4b59c9cb25 Regen some OK files since the bgpctl rib header changed.
Friendly reminder by anton@
2024-08-15 13:26:16 +00:00
dlg
e88074f01b add BIOCSETFNR, which is like BIOCSETF but doesnt reset the buffer or stats.
from Matthew Luckie <mjl@luckie.org.nz> via tech@
deraadt@ likes it.
2024-08-15 12:20:20 +00:00
job
7cb76e5580 Ensure synchronization jobs are stopped when the timeout is reached
OK tb@ claudio@
2024-08-15 11:30:43 +00:00
patrick
c20582d02a sync 2024-08-15 11:26:03 +00:00
patrick
39ae9f96bb Add Qualcomm WCN7850 2024-08-15 11:25:37 +00:00
sthen
2d33a48fba add 77-fw pubkey 2024-08-15 10:25:25 +00:00
tb
a414f7eb36 bsd.port.mk: typo dbp -> dpb 2024-08-15 09:46:39 +00:00
tb
ee93b8d123 Document DWZ and fix a few mandoc lints
from espie
2024-08-15 09:29:12 +00:00
claudio
d389b51dcd Call repo_check_timeout() before colleting the POLLOUT fds. Since
repo_abort() called by repo_check_timeout() will add messages to
be sent out.
OK tb@
2024-08-15 09:22:12 +00:00
claudio
fac3be8e1a Add filtered support to bgplgd.
OK tb@
2024-08-15 09:13:13 +00:00
yasuoka
3e976a28df Accept empty lines for authopts to fix the parser to accept the old
syntax.  It was broken by parse.y 1.18.  Found by Mike at mgm51.com.
2024-08-15 07:24:28 +00:00
guenther
18d6208093 unifdef for S_I{FLNK,FIFO,FSOCK}. For the operations where we use
access() (-r, -w, -x, -e) do them without requiring stat() to succeed first.

ok tb@ deraadt@
2024-08-15 06:27:24 +00:00
jsg
0311f81dd3 drm/radeon: Remove __counted_by from StateArray.states[]
From Bill Wendling
ea12dbf570ef1cbbf857dfa80fbdd66cc0e4612b in linux-6.6.y/6.6.46
2bac084468847cfe5bbc7166082b2a208514bb1c in mainline linux
2024-08-15 03:24:29 +00:00
jsg
0c230191a8 drm/dp_mst: Skip CSN if topology probing is not done yet
From Wayne Lin
28c060cd370d2718345452f4182cba115b7367e8 in linux-6.6.y/6.6.46
ddf983488c3e8d30d5c2e2b315ae7d9cd87096ed in mainline linux
2024-08-15 03:22:41 +00:00
jsg
f7df2f8c56 drm/client: fix null pointer dereference in drm_client_modeset_probe
From Ma Ke
d64fc94f7bb24fc2be0d6bd5df8df926da461a6d in linux-6.6.y/6.6.46
113fd6372a5bb3689aba8ef5b8a265ed1529a78f in mainline linux
2024-08-15 03:20:40 +00:00
jsg
7e70941162 drm/i915/gem: Adjust vma offset for framebuffer mmap offset
From Andi Shyti
d73de3c6447644c65ed0e9a368328713dc28fb18 in linux-6.6.y/6.6.46
1ac5167b3a90c9820daa64cc65e319b2d958d686 in mainline linux
2024-08-15 03:18:56 +00:00
jsg
b023b714a9 drm/amdgpu: Forward soft recovery errors to userspace
From Joshua Ashton
0da0b06165d83a8ecbb6582d9d5a135f9d38a52a in linux-6.6.y/6.6.46
829798c789f567ef6ba4b084c15b7b5f3bd98d51 in mainline linux
2024-08-15 03:15:06 +00:00
jsg
574be50dc5 drm/amd/display: Skip Recompute DSC Params if no Stream on Link
From Fangzhi Zuo
718d83f66fb07b2cab89a1fc984613a00e3db18f in linux-6.6.y/6.6.46
50e376f1fe3bf571d0645ddf48ad37eb58323919 in mainline linux
2024-08-15 03:12:41 +00:00
jsg
08be9e2bdf drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
From Andi Shyti
4b09513ce93b3dcb590baaaff2ce96f2d098312d in linux-6.6.y/6.6.46
8bdd9ef7e9b1b2a73e394712b72b22055e0e26c3 in mainline linux
2024-08-15 03:10:37 +00:00
jsg
b50ec64de0 drm/amd/display: Add null checker before passing variables
From Alex Hung
4cc2a94d96caeb3c975acdae7351c2f997c32175 in linux-6.6.y/6.6.46
8092aa3ab8f7b737a34b71f91492c676a843043a in mainline linux
2024-08-15 03:08:00 +00:00
jsg
bb30a34951 drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr
From Bob Zhou
2e538944996d0dd497faf8ee81f8bfcd3aca7d80 in linux-6.6.y/6.6.46
50151b7f1c79a09117837eb95b76c2de76841dab in mainline linux
2024-08-15 03:06:09 +00:00
jsg
6f63516c0a drm/amdgpu: Add lock around VF RLCG interface
From Victor Skvortsov
1adb5ebe205e96af77a93512e2d5b8c437548787 in linux-6.6.y/6.6.46
e864180ee49b4d30e640fd1e1d852b86411420c9 in mainline linux
2024-08-15 03:04:18 +00:00
jsg
926193d6db drm/admgpu: fix dereferencing null pointer context
From Jesse Zhang
641dac64178ccdb9e45c92b67120316896294d05 in linux-6.6.y/6.6.46
030ffd4d43b433bc6671d9ec34fc12c59220b95d in mainline linux
2024-08-15 03:01:36 +00:00
jsg
26f37df53e drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules
From Ma Jun
3a01bf2ca9f860fdc88c358567b8fa3033efcf30 in linux-6.6.y/6.6.46
d19fb10085a49b77578314f69fff21562f7cd054 in mainline linux
2024-08-15 02:59:50 +00:00
jsg
8602cf8bff drm/amdgpu: Fix the null pointer dereference to ras_manager
From Ma Jun
b89616333979114bb0da5fa40fb6e4a2f5294ca2 in linux-6.6.y/6.6.46
4c11d30c95576937c6c35e6f29884761f2dddb43 in mainline linux
2024-08-15 02:58:13 +00:00
jsg
b4d9328962 drm/amdgpu/pm: Fix the null pointer dereference for smu7
From Ma Jun
09544cd95c688d3041328a4253bd7514972399bb in linux-6.6.y/6.6.46
c02c1960c93eede587576625a1221205a68a904f in mainline linux
2024-08-15 02:56:22 +00:00
jsg
b121103bc4 drm/amdgpu/pm: Fix the param type of set_power_profile_mode
From Ma Jun
837ab17ceef90a85ddfc918935ed1f19ff60d09b in linux-6.6.y/6.6.46
f683f24093dd94a831085fe0ea8e9dc4c6c1a2d1 in mainline linux
2024-08-15 02:53:57 +00:00