summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2024-01-22make a note about when to remove overly verbose logging for pinsyscall ↵Theo de Raadt
violations
2024-01-22drm/amd/display: Pass pwrseq inst for backlight and ABMJonathan Gray
From Lewis Huang 71be0f674070a5ad54a1c4fb112bb2923b28ea50 in linux-6.6.y/6.6.13 b17ef04bf3a4346d66404454d6a646343ddc9749 in mainline linux
2024-01-22drm/crtc: fix uninitialized variable useJonathan Gray
From Jani Nikula 7e881af7fb3c2ddc0c29b249250606fbe004f353 in linux-6.6.y/6.6.13 6e455f5dcdd15fa28edf0ffb5b44d3508512dccf in mainline linux
2024-01-22drm/amd/display: get dprefclk ss info from integration info tableJonathan Gray
From Charlene Liu a5ba95c226b5c25cd5c8b9df29a1953c85a1531e in linux-6.6.y/6.6.13 51e7b64690776a9981355428b537af9048308a95 in mainline linux
2024-01-22drm/amd/display: Add case for dcn35 to support usb4 dmub hpd eventJonathan Gray
From Wayne Lin 18562b1691e2280858f291d00678468cf70bda5a in linux-6.6.y/6.6.13 989824589f793120833bef13aa4e21f5a836a707 in mainline linux
2024-01-22drm/amdkfd: svm range always mapped flag not working on APUJonathan Gray
From Philip Yang bd443910debf71a1c0140c148ffb4f048fff3c2b in linux-6.6.y/6.6.13 ebab8c3eb6a6515dc14cd93fc29dd287709da6d3 in mainline linux
2024-01-22drm/crtc: Fix uninit-value bug in drm_mode_setcrtcJonathan Gray
From Ziqi Zhao ff89e507b231a3afbddc2972a850947b73247a3b in linux-6.6.y/6.6.13 3823119b9c2b5f9e9b760336f75bc989b805cde6 in mainline linux
2024-01-22drm/amdgpu: Add NULL checks for function pointersJonathan Gray
From Lijo Lazar fb26de4a86e19711880e7e845505505f01d2eb82 in linux-6.6.y/6.6.13 81577503efb49f4ad76af22f9941d72900ef4aab in mainline linux
2024-01-22drm/amd/display: Add monitor patch for specific eDPJonathan Gray
From Ivan Lipski 7fc3d8ea1a675eae9ee57dca894a9c4fb0e0d8b5 in linux-6.6.y/6.6.13 3d71a8726e05a35beb9de394e86ce896d69e563f in mainline linux
2024-01-22Revert "drm/prime: Unexport helpers for fd/handle conversion"Jonathan Gray
From Felix Kuehling 379af079c42738fa3f33de5912931a7865887c62 in linux-6.6.y/6.6.13 0514f63cfff38a0dcb7ba9c5f245827edc0c5107 in mainline linux
2024-01-22drm/amdgpu: Use another offset for GC 9.4.3 remapJonathan Gray
From Lijo Lazar 941887dc5ed4ef85ad06f3e76bcd444d9d5bc839 in linux-6.6.y/6.6.13 ed6e4f0a27ebafffbd12bf3878ab004787685d8a in mainline linux
2024-01-22drm/amdkfd: Free gang_ctx_bo and wptr_bo in pqm_uninitJonathan Gray
From ZhenGuo Yin ccba042816400a82ed5d3d2f7b4ed79403d20c4c in linux-6.6.y/6.6.13 72838777aa38352e20301e123b97110c456cd38e in mainline linux
2024-01-22drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointerJonathan Gray
From Lu Yao 61dfdb779048332546358ac1847f0bbb07367162 in linux-6.6.y/6.6.13 2161e09cd05a50d80736fe397145340d2e8f6c05 in mainline linux
2024-01-22drm/amd/display: update dcn315 lpddr pstate latencyJonathan Gray
From Dmytro Laktyushkin 6396b551f28668aa376e281993ff0790bc8e7b9e in linux-6.6.y/6.6.13 c92da0403d373c03ea5c65c0260c7db6762013b0 in mainline linux
2024-01-22drm/amdkfd: Use common function for IP version checkJonathan Gray
From Mukul Joshi 867ecd8970d33ae4e269a7f24d037c35dcc79290 in linux-6.6.y/6.6.13 2f86bf79b63dbe6963ebc647b77a5f576a906b40 in mainline linux
2024-01-22drm/amdgpu: Do not issue gpu reset from nbio v7_9 bif interruptJonathan Gray
From Hawking Zhang 541cb7618a15674ccad4d6878f65fa3241009cb6 in linux-6.6.y/6.6.13 884e9b0827e889a8742e203ccd052101fb0b945d in mainline linux
2024-01-21workaround for the static non-PIE instbin "instbin" program on the installTheo de Raadt
media is no longer needed, due to fix in libc/dlfcn/init.c thanks kettenis and gkoehler
2024-01-21For minherit(MAP_INHERIT_ZERO) upon readonly memory return EPERM.Theo de Raadt
ok kettenis
2024-01-21madvise(2) and msync(2) have some memory/mapping destructive ops which shouldTheo de Raadt
not be allowed upon immutable memory, instead return EPERM. Some of these ops are not destructive in OpenBSD, but they are destructive on other systems, so we take the "all ops" are illegal approach. Related to this, it should not be allowed to minherit(MAP_INHERIT_ZERO) immutable regions, or vice versa, calling mimmutable() upon MAP_INHERIT_ZERO regions, because such a range will be zero'd post-fork in the child. These now also return EPERM. Adjusting the madvise / msync behaviour upon immutable memory brings us closer to the behaviour of the mimmutable clone "mseal" being proposed by google for inclusion in Linux. ok kettenis
2024-01-21Add support for multiple matches in the component code.Mark Kettenis
ok jsg@
2024-01-21sync with userlandTheo Buehler
2024-01-21sync with userlandTheo Buehler
2024-01-21Print raw battery information if KB3310_DEBUG, not DEBUG. NFCMiod Vallat
2024-01-21Assert that inpcb table has correct address family.Alexander Bluhm
Since inpcb tables for UDP and Raw IP have been split into IPv4 and IPv6, assert that INP_IPV6 flag is correct instead of checking it. While there, give the table variable a nicer name. OK sashan@ mvs@
2024-01-21oops, brain scrambled trying to squeeze the ifdef into bad placeTheo de Raadt
2024-01-21some bizzare glitch related to ramdisk instbin static binaries, theirTheo de Raadt
mutable mapping is not working right, so temporarily bring back the RW -> R *only* for ramdisk kernels
2024-01-20vmm(4)/vmd(8)/vmctl(8): increase max VM mem size.Mike Larkin
MAXDSIZ was cranked to 128GB back in April 2023, but vmd(8) was limiting VM RAM size to the old value (32GB).
2024-01-20Early during mimmutable(2) development, we had a big problem with theTheo de Raadt
chrome v8_flags variable's placement in bss, and as a workaround made it possible to demote a mimmutable mapping's permissions from RW to R. Further mimmutable-related work in libc's malloc created the same problem, which led to a better design: objects could be placed into .openbsd.mutable region, and then at runtime their permission and immutability could be manipulated better. So the RW to R demotion logic is no longer being used, and now this semantic is being deleted. ok kettenis
2024-01-20AEXECVE can be removed, because pinsyscall SYS_execve detection hasTheo de Raadt
been deleted.
2024-01-20There are several DART variants; print some more details such that we canMark Kettenis
distinguish between them. Pay attention to the apple,dma-range property that tells us the desired DVA window. Add support for a new BUS_DMA_FIXED that allows use of bus_dmamap_load_raw(9) to map things at a pre-determined DVA. This last change is needed for the upcoming Apple KMS driver. Hopefully that is the only driver that will need this, so don't attempt to turn this into an MI feature. ok patrick@
2024-01-20Fetch touchpad dimensions from firmware here as well.Mark Kettenis
ok mlarkin@, tobhe@
2024-01-19Implement extent_alloc_region_with_descr(9) which is the equivalent ofMark Kettenis
extent_alloc_region(9) that uses a pre-allocated region descriptor. ok patrick@
2024-01-19remove the guts of pinsyscall(2), it just returns 0 now.Theo de Raadt
It has been made redundant by the introduction of pinsyscalls(2) which handles all system calls, rather than just 1.
2024-01-19ugly whitespaceTheo de Raadt
2024-01-19Implement Multiple Message MSI support on amd64. This is experimental codeMark Kettenis
to assist qwx(4) development. We may remove this code again at some point in the future. Multiple Message MSI has some serious design flaws, especially when combined with the APIC interrupt controller architecture. It was superseded by MSI-X. Unfortunately qwx(4) does not implement MSI-X. ok stsp@, deraadt@
2024-01-19Rename WSDISPLAY_TYPE_RKDRM to WSDISPLAY_TYPE_KMS such that we can use itMark Kettenis
for other generic KMS drivers. ok jsg@, matthieu@
2024-01-19add iwn(4) to arm64 GENERICMike Larkin
ok kettenis
2024-01-19consolidate pci and cardbus detach code, and have it detach kstats.David Gwynne
this solves one probably with an re(4) going away.
2024-01-19Add TSO support. Previous commit fixed up a bug that could only beJonathan Matthew
triggered with TCP socket splicing and TSO, and with that fixed, it works reliably. tested by hrvoje, jan@, mbuhl@, bluhm@, feedback from jan@ and bluhm@, ok jan@ mbuhl@ bluhm@
2024-01-19Unify inpcb API for inet and inet6.Alexander Bluhm
Many functions for IPv4 call their IPv6 counterpart if INP_IPV6 is set at the socket's pcb. By using the generic API consistently, the logic is not in the caller it gets more readable. OK mvs@
2024-01-19Backout priterator() for walking allprocess list.Alexander Bluhm
This approach does not work as LIST_NEXT() of a removed element does not return NULL. I causes a crash in syzcaller and triggers kernel diagnostic assertion "vp->v_uvcount == 0" in sys/kern/kern_unveil.c line 845 during reboot. Unfortunately the backout brings back the race in fill_file() and fstat(1) may crash the kernel. Reported-by: syzbot+54fba1c004d7383d5e85@syzkaller.appspotmail.com
2024-01-18Move the rtable_exists() check into in_pcbset_rtableid().Claudio Jeker
OK bluhm@ mvs@
2024-01-18reduce diff to linuxJonathan Gray
2024-01-18Use solock() instead of netlock within fill_file(). This makes allVitaliy Makkoveev
socket types protected. The netlock is still used while fill_file() called through *table.inpt_queue walkthroughs, but this is the inet sockets case. ok bluhm
2024-01-18Use `nowake' as tsleep_nsec(9) ident. It has no corresponding wakeup(9).Vitaliy Makkoveev
ok bluhm
2024-01-18remove duplicate defines, merge error from local patchesJonathan Gray
2024-01-18remove duplicate steam deck block, merge error from local patchesJonathan Gray
2024-01-18Instead of skipping the call to hdcp_destroy(), use NULL for the kobjectJonathan Gray
argument. Unused in the function itself as we define away sysfs_remove_bin_file().
2024-01-17Fix core file writing when a file map into memory has later been truncatedKurt Miller
to be smaller than the mapping. Record which memory segments are backed by vnodes while walking the uvm map and later suppress EFAULT errors caused by the underlying file being truncated. okay miod@
2024-01-17Since pinsyscalls(2) applies to all system calls and does a more preciseTheo de Raadt
check earlier, the pinsyscall(SYS_execve mechanism has become redundant. It needs to be removed delicately since ld.so and static binaries use it. As a first step, neuter the checking code in sys_execve(). Further steps will follow slowly. ok kettenis