summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-04drm/amdkfd: fix TLB flush after unmap for GFX9.4.2Jonathan Gray
From Eric Huang 2684393685f7f3e264a55d4b55282e780bc2376d in linux-6.6.y/6.6.24 1210e2f1033dc56b666c9f6dfb761a2d3f9f5d6c in mainline linux
2024-04-04Revert "drm/amd/display: Fix sending VSC (+ colorimetry) packets for DP/eDP ↵Jonathan Gray
displays without PSR" From Harry Wentland 78516979792d4bf890e1df24c7f425ebe920ad29 in linux-6.6.y/6.6.24 78aca9ee5e012e130dbfbd7191bc2302b0cf3b37 in mainline linux
2024-04-04drm/amd/display: handle range offsets in VRR rangesJonathan Gray
From Alex Deucher 23b99c7bf6ecf643a4a37bd98eeae81323aef6f8 in linux-6.6.y/6.6.24 937844d661354bf142dc1c621396fdab10ecbacc in mainline linux
2024-04-04drm/i915: Don't explode when the dig port we don't have an AUX CHJonathan Gray
From Ville Syrjala e21fee1035b9172fb7dc0e77692df7ebdbfce425 in linux-6.6.y/6.6.24 0b385be4c3ccd5636441923d7cad5eda6b4651cb in mainline linux
2024-04-04drm/i915: Check before removing mm notifierJonathan Gray
From Nirmoy Das a30c36bc0cfc32ec3662408e6a5cdf8a809fde51 in linux-6.6.y/6.6.24 01bb1ae35006e473138c90711bad1a6b614a1823 in mainline linux
2024-04-04drm/amdgpu/pm: Fix the error of pwm1_enable settingJonathan Gray
From Ma Jun 6f3c1dabe8d014ad95b72fc56276d82a6f5e6ab3 in linux-6.6.y/6.6.24 0dafaf659cc463f2db0af92003313a8bc46781cd in mainline linux
2024-04-04drm/amd/display: Use freesync when `DRM_EDID_FEATURE_CONTINUOUS_FREQ` foundJonathan Gray
From Mario Limonciello 95232806972adab87d6979256df37f5ceb1ad561 in linux-6.6.y/6.6.24 2f14c0c8cae8e9e3b603a3f91909baba66540027 in mainline linux
2024-04-04drm/bridge: add ->edid_read hook and drm_bridge_edid_read()Jonathan Gray
From Jani Nikula 2b6aaf7b193be2bfa4e1af90c0d96e78a80aef69 in linux-6.6.y/6.6.24 d807ad80d811ba0c22adfd871e2a46491f80d6e2 in mainline linux
2024-04-04drm/ttm: Make sure the mapped tt pages are decrypted when neededJonathan Gray
From Zack Rusin de125efb3bae7720d10364a9ab6785466e4e2461 in linux-6.6.y/6.6.24 71ce046327cfd3aef3f93d1c44e091395eb03f8f in mainline linux
2024-04-04drm/amd/display: Fix noise issue on HDMI AV muteJonathan Gray
From Leo Ma 066bbc4306445f16e529a13a6e8d05ec6074416e in linux-6.6.y/6.6.24 69e3be6893a7e668660b05a966bead82bbddb01d in mainline linux
2024-04-04drm/amd/display: Return the correct HDCP error codeJonathan Gray
From Rodrigo Siqueira c7c855fd3d5af01496aaa8be93a1e9811166cf11 in linux-6.6.y/6.6.24 e64b3f55e458ce7e2087a0051f47edabf74545e7 in mainline linux
2024-04-04drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flagJonathan Gray
From Philip Yang 6fcd12cb90888ef2d8af8d4c04e913252eee4ef3 in linux-6.6.y/6.6.24 6c6064cbe58b43533e3451ad6a8ba9736c109ac3 in mainline linux
2024-04-04drm/panel: do not return negative error codes from drm_panel_get_modes()Jonathan Gray
From Jani Nikula a686732df6cecc3561595e6ce7a962a0121eed00 in linux-6.6.y/6.6.24 fc4e97726530241d96dd7db72eb65979217422c9 in mainline linux
2024-04-04drm/probe-helper: warn about negative .get_modes()Jonathan Gray
From Jani Nikula 12bbe2c25cdb571190d523fd814e7696964a84d9 in linux-6.6.y/6.6.24 7af03e688792293ba33149fb8df619a8dff90e80 in mainline linux
2024-04-04add pgprot_decrypted() for 6.6.24 drmJonathan Gray
2024-04-04add cc_platform_has() for 6.6.24 drmJonathan Gray
2024-04-04tzset_basic: only call issetugid(2) if TZ has changedTodd C. Miller
If we are just going to return without parsing TZ, there is no need to call issetugid(2) first. We only need to call issetugid(2) the first time TZ is checked or when the value of TZ has changed. Previously, we called issetugid(2) for every call to the functions described by localtime(3). OK deraadt@
2024-04-03Stopping grabbing the kernel lock in kbind(2).Mark Kettenis
ok mpi@
2024-04-03Initialize earlier macppc's and powerpc64's pmap_hash_lockGeorge Koehler
At boot, the powerpc64 kernel was calling pmap_bootstrap -> pmap_kenter_pa -> mtx_enter(&pmap_hash_lock) before it did pmap_init -> mtx_init(&pmap_hash_lock, IPL_HIGH) Change from mtx_init to MUTEX_INITIALIZER. This allows an option WITNESS kernel to boot without warning of an uninitialized mutex. Also change macppc's pmap_hash_lock from __ppc_lock_init to PPC_LOCK_INITIALIZER, though WITNESS doesn't see this lock. ok mpi@
2024-04-03pmap_virtual_space() and pmap_steal_memory() are mutually exclusive, soMiod Vallat
make sure only one of them is prototyped and only one of them is implemented. ok mpi@ kettenis@
2024-04-03Reuse the timeout from struct scsi_xfer rather than declaring one inMiod Vallat
struct ncr53c9x_ecb. When the scsi_xfer timeout was introduced *cough* 23 years ago, SCSI drivers were progressively updated to use this, but for some reason that driver got missed. ok dlg@ krw@
2024-04-03Change ipmi(4)'s taskq from IPL_NONE to IPL_MPFLOORGeorge Koehler
The IPL_NONE mutex didn't block interrupts that can cause a powerpc64 kernel with option WITNESS to "panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock". ok mpi@
2024-04-03syncTheo de Raadt
2024-04-03Switch one of the tcpmd5 passwords over to use the hex key instead.Claudio Jeker
This way both modes are tested.
2024-04-03Rewrite str2key() to not use strtoul() to convert 2 hexdigits into oneClaudio Jeker
char. Instead use a simple function to do the conversion per nibble. OK deraadt@ tb@
2024-04-03Since ssh-agent(1) is only readable by root by now, use ssh(1) whileAnton Lindqvist
generating data in tests.
2024-04-03Reading https://github.com/Geal/rust-syslog/issues/79, I came to aTheo de Raadt
related conclusion that our syslog_r should not stomp on errno. The errno being returned from sendsyslog() isn't exactly compatible with the what a legacy syslog_r() would do here anyways, and it is better to just be void and non-stomping; ok millert bluhm
2024-04-03Fix warning about DistributionPointName typeTheo Buehler
The warning incorrectly mentioned GEN_OTHERNAME, while this is about fullName vs nameRelativeToCRLIssuer. Also add a comment to indicate that there's no enum or macros obviate the meaning of the magic 0. ok claudio job
2024-04-03Add ci_cpuid_level and ci_vendor holding the per-CPU basic cpuidPhilip Guenther
level and a numeric mapping of the cpu vendor, both from CPUID(0). Convert the general use of strcmp(cpu_vendor) to simple numeric tests of ci_vendor. Track the minimum of all ci_cpuid_level in the cpuid_level global and continue to use that for what we vmm exposes. AMD testing help matthieu@ krw@ ok miod@ deraadt@ cheloha@
2024-04-02Backout previous commit (intending that libressl client rejects a supportedStuart Henderson
groups extension from the server). It triggers 'CONNECT_CR_SRVR_HELLO:tlsv1 alert decode error' when connecting to a (modern) java server (tomcat 10.1.18 on openjdk 17.0.10). "please revert" tb@
2024-04-02Implement and enable TSO in vmx(4)Jan Klemkow
Tested with IPv4/IPv6 and vlan(4). ok jmatthew@
2024-04-02Add check to make sure EAP header length matches expected payload length.Tobias Heider
ok markus@ yasuoka@
2024-04-02Implement SO_ACCEPTCONN in getsockopt(2)Claudio Jeker
Requested by robert@ OK mvs@ millert@ deraadt@
2024-04-02Oops, incorrect hex conversion spotted by claudio. While here try toTheo de Raadt
improve how it reads a bit better. Surprising the regression tests didn't spot this error, maybe it fails to roundtrip the values.
2024-04-02Remove wrong "temporary udp error" comment in filt_so{read,write}(). NotVitaliy Makkoveev
only udp(4) sockets set and check `so_error'. No functional changes. ok bluhm
2024-04-02Remove unused fileClaudio Jeker
2024-04-02for parse_ipqos(), use strtonum() instead of mostly idiomatic strtoul(),Theo de Raadt
but wow it's so gross. ok djm
2024-04-02can shortcut by returning strtonum() value directly; ok djmTheo de Raadt
2024-04-02rewrite convtime() to use a isdigit-scanner and strtonum() instead ofTheo de Raadt
strange strtoul can might be fooled by garage characters. passes regress/usr.bin/ssh/unittests/misc ok djm
2024-04-02Remove unused ptr[3] char array in pkcs11_decode_hex.Claudio Jeker
OK deraadt@
2024-04-02Replace non-idiomatic strtoul(, 16) to parse a region of 2-characterTheo de Raadt
hex sequences with a low-level replacement designed just for the task. ok djm
2024-04-02Use strtonum() instead of severely non-idomatic strtoul()Theo de Raadt
In particular this will now reject trailing garbage, ie. '12garbage'. ok djm
2024-04-02fix unintended sizeof(pointer) introduced in rev 1.41Jonathan Gray
found with noderef.cocci, ok deraadt@
2024-04-02Delete the msyscall mechanism entirely, since mimmutable+pinsyscalls hasTheo de Raadt
replaced it with a more strict mechanism, which happens to be lockless O(1) rather than micro-lock O(1)+O(log N). Also nop-out the sys_msyscall(2) guts, but leave the syscall around for a bit longer so that people can build through it, since ld.so(1) still wants to call it.
2024-04-02remove useless whitespace; from Jia TanTheo de Raadt
2024-04-02also relink ssh-agentTheo de Raadt
2024-04-02sndiod: Migrate clients upon watchdog timeoutAlexandre Ratchov
When -F is used, fixes the difference in behavior between watchdog timer expiry and other errors.
2024-04-02sndiod: Fix confusion between the slot and ctlslot pointersAlexandre Ratchov
Fixes crash when the device is disconnected and the clients are not migrated to another device.
2024-04-02Simplify ecx_cms_sign_or_verify() using X509_ALGOR_set0_by_nid()Theo Buehler
ok jsing
2024-04-01init var to fix missing symtab section pathJonathan Gray
found by smatch, ok mpi@