summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-06drm/amdkfd: Fix lock dependency warning with srcuJonathan Gray
From Philip Yang 752312f6a79440086ac0f9b08d7776870037323c in linux-6.6.y/6.6.16 2a9de42e8d3c82c6990d226198602be44f43f340 in mainline linux
2024-02-06drm/amdkfd: Fix lock dependency warningJonathan Gray
From Felix Kuehling 28d2d623d2fbddcca5c24600474e92f16ebb3a05 in linux-6.6.y/6.6.16 47bf0f83fc86df1bf42b385a91aadb910137c5c9 in mainline linux
2024-02-06drm/amdgpu: apply the RV2 system aperture fix to RN/CZN as wellJonathan Gray
From Alex Deucher 08dde830ab24cfcb855b198f7dbe7d3637f623bc in linux-6.6.y/6.6.16 16783d8ef08448815e149e40c82fc1e1fc41ddbf in mainline linux
2024-02-06drm/amdkfd: Fix iterator used outside loop in 'kfd_add_peer_prop()'Jonathan Gray
From Srinivasan Shanmugam 583e0a336bfbf3f2fb2badc7d1980dadfb3611f0 in linux-6.6.y/6.6.16 b1a428b45dc7e47c7acc2ad0d08d8a6dda910c4c in mainline linux
2024-02-06drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'Jonathan Gray
From Srinivasan Shanmugam ff5aefbbd82ea7eee61606ff7cce56bfac269010 in linux-6.6.y/6.6.16 bf2ad4fb8adca89374b54b225d494e0b1956dbea in mainline linux
2024-02-06drm/amdgpu: Fix '*fw' from request_firmware() not released in ↵Jonathan Gray
'amdgpu_ucode_request()' From Srinivasan Shanmugam aa1791b280ed36005226e031a622091fa7e5382e in linux-6.6.y/6.6.16 13a1851f923d9a7a78a477497295c2dfd16ad4a4 in mainline linux
2024-02-06Re-revert "drm/amd/display: Enable Replay for static screen use cases"Jonathan Gray
From Ivan Lipski 90df72694a5b7ca2a415eb3baeb9f385cee8033c in linux-6.6.y/6.6.16 d6398866a6b47e92319ef6efdb0126a4fbb7796a in mainline linux
2024-02-06drm/amdgpu: Let KFD sync with VM fencesJonathan Gray
From Felix Kuehling 0d35c8977be8f220931d437d568f64a7028d0115 in linux-6.6.y/6.6.16 ec9ba4821fa52b5efdbc4cdf0a77497990655231 in mainline linux
2024-02-06drm/amd/display: Fix minor issues in BW Allocation Phase2Jonathan Gray
From Meenakshikumar Somasundaram cef7f96a0a4c00f761248cd714b086c1256992cb in linux-6.6.y/6.6.16 aa5dc05340eb97486a631ce6bccb8d020bf6b56b in mainline linux
2024-02-06drm/amdgpu: Fix ecc irq enable/disable unpairedJonathan Gray
From Stanley Yang 0a8fc4e007b933d46f079a1d9ab8539a4d8439ef in linux-6.6.y/6.6.16 a32c6f7f5737cc7e31cd7ad5133f0d96fca12ea6 in mainline linux
2024-02-06drm/amd/display: Only clear symclk otg flag for HDMIJonathan Gray
From Alvin Lee 49b4cab7bcbdfe621162405502283fc9cb3ef77f in linux-6.6.y/6.6.16 dff45f03f508c92cd8eb2050e27b726726b8ae0b in mainline linux
2024-02-06drm/amd/display: make flip_timestamp_in_us a 64-bit variableJonathan Gray
From Josip Pavic 4033887acddcbb15280091f0a125ac0829cffdc8 in linux-6.6.y/6.6.16 6fb12518ca58412dc51054e2a7400afb41328d85 in mainline linux
2024-02-06drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heapJonathan Gray
From Wang Beyond e7a0ee45c653784edda5e36bae6ae3c75fd5e7a8 in linux-6.6.y/6.6.16 94aeb4117343d072e3a35b9595bcbfc0058ee724 in mainline linux
2024-02-06drm/amdkfd: fix mes set shader debugger process managementJonathan Gray
From Jonathan Kim 3a950c56dea199d65bc98db348c017856aa2f194 in linux-6.6.y/6.6.16 bd33bb1409b494558a2935f7bbc7842def957fcd in mainline linux
2024-02-06drm/amd/display: Force p-state disallow if leaving no plane configJonathan Gray
From Alvin Lee e9ca61a7e6b0d323547067e1dde64a97476e1696 in linux-6.6.y/6.6.16 9a902a9073c287353e25913c0761bfed49d75a88 in mainline linux
2024-02-06drm/amd/display: For prefetch mode > 0, extend prefetch if possibleJonathan Gray
From Alvin Lee 6750d1de747f4d2db0046a25b069e15341f6a9ba in linux-6.6.y/6.6.16 dd4e4bb28843393065eed279e869fac248d03f0f in mainline linux
2024-02-06drm/mipi-dsi: Fix detach call without attachJonathan Gray
From Tomi Valkeinen daf57c5ce16e907405d8a59a4f2be20e204906e4 in linux-6.6.y/6.6.16 90d50b8d85834e73536fdccd5aa913b30494fef0 in mainline linux
2024-02-06drm/framebuffer: Fix use of uninitialized variableJonathan Gray
From Tomi Valkeinen 9b3fbff86a623a0ec053d5a4ab432956cb025c1f in linux-6.6.y/6.6.16 f9af8f0c1dc567a5a6a6318ff324c45d80d4a60f in mainline linux
2024-02-06drm/drm_file: fix use of uninitialized variableJonathan Gray
From Tomi Valkeinen 2cde325e185b43accae56a23c18b2e735245197a in linux-6.6.y/6.6.16 1d3062fad9c7313fff9970a88e0538a24480ffb8 in mainline linux
2024-02-06drm/amd/display: Fix MST PBN/X.Y value calculationsJonathan Gray
From Ilya Bakoulin 01e7578c7cd3d8815fae130ac74b1303c056bd2d in linux-6.6.y/6.6.16 94bbf802efd0a8f13147d6664af6e653637340a8 in mainline linux
2024-02-06drm/amd/display: Fix tiled display misalignmentJonathan Gray
From Meenakshikumar Somasundaram 1c563c04509080b374af5adf8e1c45718e3f37bf in linux-6.6.y/6.6.16 c4b8394e76adba4f50a3c2696c75b214a291e24a in mainline linux
2024-02-06Invert broken check of panic string in if_linkstate().Alexander Bluhm
original bug report from syzkaller Reported-by: syzbot+d19060a65721eb432a72@syzkaller.appspotmail.com broken fix found by Hrvoje Popovski hint to the problem and OK deraadt@
2024-02-05Add netstat counter for route cache.Alexander Bluhm
To optimize route caching, count cache hits and misses. This is shown in netstat -s for both inet and inet6. Reuse the old IPv6 forward cache counter. Sort ip6s_wrongif consistently. For now only IPv4 cache counter has been implemented. OK mvs@
2024-02-05Cleanup fcntl(3) usage and fd lifetimes in vmd(8).Dave Voutila
Remove extraneous fcntl(3) usage for setting fd features that can be set at time of open(2), pipe2(2), or socketpair(2). Also cleans up pty creation switching to using functions from libutil instead of direct ioctl(2) calls. ok mlarkin@, original diff ok claudio@ as well.
2024-02-05syncTheo de Raadt
2024-02-05remove /f from "show buf", which was used for softdep infoJason McIntyre
and is no longer relevant after softdep removal; confirmed by miod
2024-02-05Use `sb_mtx' mutex(9) to protect `sb_timeo_nsecs'. In most placesVitaliy Makkoveev
solock() is still held because other 'sockbuf' members require it, but in so{g,s}etopt() paths solock() is avoided. ok bluhm
2024-02-05Check whether all data in eContent has been consumedJob Snijders
It is possible that a given ASN.1 template generated d2i_*() function didn't consume all data, so there is a potential for malleability. The econtent is a sequence (which means it could be the concatenation of several DER "blobs"). d2i_*() would only deserialize the first one and not notice blobs following it. OK tb@
2024-02-05support newer mfii devices; ok jmatthewTheo de Raadt
2024-02-05syncTheo de Raadt
2024-02-05newer mfii devices; ok jmatthewTheo de Raadt
2024-02-05Don't send route messages while rebooting after panic. Syskaller exposedVitaliy Makkoveev
[1] that if_downall() tries to send route messages and triggers panic again but in knote(9) layer. 1. https://syzkaller.appspot.com/bug?extid=d19060a65721eb432a72 ok bluhm
2024-02-05Update to 2024agtz from https://github.com/JodaOrg/global-tzTodd C. Miller
o Kazakhstan unifies on UTC+5 beginning 2024-03-01. o Palestine springs forward a week later after Ramadan.
2024-02-05Increase interval's rate to speed up tests.Martin Pieuchot
2024-02-05Regress test for undefined probe arguments fixed in in btrace.c,v 1.83.Martin Pieuchot
Adapted from a submission from Christian Ludwig.
2024-02-05Adapt map regress test to cover associated arrays fixed in btrace.c r1.82.Martin Pieuchot
From Christian Ludwig.
2024-02-05Print statistics on stderr to be able to redirect bt(5) script output.Martin Pieuchot
From Christian Ludwig.
2024-02-05Move route_cache() declaration from net/route.h to netinet/in.h.Kenji Aoyama
This prevents gcc3's 'parameter has incomplete type' warning that causes kernel build failure. Suggested by claudio@, ok bluhm@
2024-02-05Add a bunch of IANA/IETF MIBs that are (partially) supported by OpenBSD.Martijn van Duren
These will soon be picked up by snmpd(8) for debugging output and OID names used in snmpd.conf(5). Go ahead sthen@ and tb@
2024-02-05Add a 1ms delay before starting the MHI channels. This is a hack; we'reMark Kettenis
probably not waiting iproperly for some sort of firmware state transition. But this gets us going on the x13s. ok stsp@, phessler@
2024-02-05Cope with recent ctype.h prefix changes.Anton Lindqvist
2024-02-04More missing voidTheo Buehler
From Christian Andersen
2024-02-04Of course libssl also has a few missing voidTheo Buehler
From Christian Andersen
2024-02-04Tweak codepatch_control_flow():Philip Guenther
* it should be in .cptext so it gets unmapped when codepatching is done * when doing a JMP, fill the area after it with INT3s instead of NOPs ok deraadt@
2024-02-04Add a DMA constraint for the x13s. Some brilliant person at QualcommMark Kettenis
decided that tying a wifi interface that can only do 32-bit DMA to their compute platform that typically comes with at least 8G of memory was a sensible thing to do. Maybe we should be able to use an IOMMU to work around that. But they fucked that up as well. ok patrick@, phessler@
2024-02-04Fix cases where the size of the complete firmware file is used instead ofMark Kettenis
the carved out board firmware. ok phessler@, stsp@
2024-02-04Add minimal support for GNU_PROPERTYTheo de Raadt
2024-02-04Remove dead code and fix null deref if vm is not found.Dave Voutila
Return early if no vm is found in vmd(8)'s primary vm fork/exec function, preventing null deref in the 'fail' section. Also remove inner return from the parent routine to prevent unreachable code. Found by smatch, reported by and ok jsg@.
2024-02-04Prevent null pointer deref is vm isn't found.Dave Voutila
This area of code in vmd(8) is suspect, but the null dereference is easily avoided. Found by smatch, reported by and ok jsg@
2024-02-04Initialize result in vioblk notification handler.Dave Voutila
In the event the driver kicks the vioblk device, but the guest doesn't have any available virtqueue space, vmd will return an uninitialized value. If non-zero, it results in a notification to the driver and effectively a spurious interrupt. Found by smatch, reported by and ok jsg@