summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2024-07-25Explicitly request for battery status updates as the firmware doesn't seemMark Kettenis
to send us regular updates itself. Estamate the remaining battery (charge) time by using the reported rate. ok phessler@
2024-07-25virtio: Allow more verbose debuggingStefan Fritsch
If VIRTIO_DEBUG is set to 2, dump the whole virtqueues.
2024-07-23virtio: fix commentStefan Fritsch
2024-07-23uaudio: Fix confusion between interface numbers and interface indexesAlexandre Ratchov
There is rare hardware for which the interface numbers and indexes are not equal. Such devices couldn't attach because the driver claimed the wrong interface.
2024-07-22remove unneeded prototypes for functions in other filesJonathan Gray
2024-07-22remove prototype with no matching functionJonathan Gray
2024-07-21Add optimized character rendering case for 6 pixels wide fonts inFrederic Cambus
rasops32_putchar(). From jon (at) elytron (dot) openbsd (dot) amsterdam.
2024-07-20UVIDEO_DEBUG needs fcntl.hJonathan Gray
reported by Peter J. Philipp
2024-07-16match on Atom C3000Jonathan Gray
from and tested by Brendan Shanks
2024-07-15Make the touchpad on the Samsung Galaxy Book4 Edge work.Marcus Glocker
ok patrick@
2024-07-15Add support for the RK3588 eMMC controller. This is mostly the same, withPatrick Wildt
some HS400 bits that we don't support yet. While there, fix some constants that weren't applied to the correct registers. ok dlg@
2024-07-15Add RK3588 eMMC clocks and resets.Patrick Wildt
ok dlg@
2024-07-14Only match if we can find a corresponding cpu device. This means theJonathan Matthew
many extra ACPI0007 instances found in current generation servers no longer fill up dmesg with noise. ok kettenis@
2024-07-14For specific hids (currently only ACPI0007, acpicpu(4)), use a printJonathan Matthew
function that always returns QUIET so instances that don't get matched are not reported. ok kettenis@
2024-07-14In addition to setting the PCI power state, also run the appropriate _PSxMark Kettenis
method that matches the target state. ok deraadt@
2024-07-14Upon first suspend, turn off all power resources that haven't beenMark Kettenis
referenced. ok deraadt@
2024-07-13Implement some more suspend/resume Linux compat such that inteldrm(4) canMark Kettenis
achieve RC6 and save a significant amount of power for S0i. ok jsg@
2024-07-13Backout previous change related to not freeing memory on suspend.Dave Voutila
It broke resume from hibernate. :(
2024-07-12Simplify nvme suspend/resume by resetting queues and not deallocatingDave Voutila
memory. This removes memory allocation from the resume-side of device activation. ok deraadt@
2024-07-12Add pool to allocate individual rtkit task arguments instead of passing aTobias Heider
shared argument. This fixes a race condition where a message could overwrite rtkep->msg of a previously scheduled task resulting in a refcounting error later on causing the screen to stay dark after waking up from suspend. ok kettenis@
2024-07-12Use dedicated window for access to the PCIe core registers.Mark Kettenis
Based on a diff from Hector Martin for Asahi Linux. ok patrick@, tobhe@
2024-07-12drm/amdgpu: silence UBSAN warningJonathan Gray
From Alex Deucher 1ba66b121100862fc208848264821a788a79317f in linux-6.6.y/6.6.39 05d9e24ddb15160164ba6e917a88c00907dc2434 in mainline linux
2024-07-12drm: panel-orientation-quirks: Add quirk for Valve GalileoJonathan Gray
From John Schoenick 33de7c47a19ab1165ee2404f197de4f7e4848f23 in linux-6.6.y/6.6.39 26746ed40bb0e4ebe2b2bd61c04eaaa54e263c14 in mainline linux
2024-07-12drm/amdgpu/atomfirmware: silence UBSAN warningJonathan Gray
From Alex Deucher 004b7fe6ca8c709e8431b400c3082040b80e59cf in linux-6.6.y/6.6.39 d0417264437a8fa05f894cabba5a26715b32d78e in mainline linux
2024-07-12drm/amdgpu: fix the warning about the expression (int)size - lenJonathan Gray
From Jesse Zhang 3fac5aecb59336c9ae808a2cf4733f9f185e3fa2 in linux-6.6.y/6.6.39 ea686fef5489ef7a2450a9fdbcc732b837fb46a8 in mainline linux
2024-07-12drm/amdgpu: fix uninitialized scalar variable warningJonathan Gray
From Tim Huang 7e0fbceae1e671af9d91e338cc8608c9bfb7d2f1 in linux-6.6.y/6.6.39 9a5f15d2a29d06ce5bd50919da7221cda92afb69 in mainline linux
2024-07-12drm/amd/display: Fix uninitialized variables in DMJonathan Gray
From Alex Hung 8e5cbc820ab4a0029e0765b47cb2b38354b02527 in linux-6.6.y/6.6.39 f95bcb041f213a5da3da5fcaf73269bd13dba945 in mainline linux
2024-07-12drm/amd/display: Skip finding free audio for unknown engine_idJonathan Gray
From Alex Hung 95ad20ee3c4efbb91f9a4ab08e070aa3697f5879 in linux-6.6.y/6.6.39 1357b2165d9ad94faa4c4a20d5e2ce29c2ff29c3 in mainline linux
2024-07-12drm/amd/display: Check pipe offset before setting vblankJonathan Gray
From Alex Hung 96bf81cc1bd058bb8af6e755a548e926e934dfd1 in linux-6.6.y/6.6.39 5396a70e8cf462ec5ccf2dc8de103c79de9489e6 in mainline linux
2024-07-12drm/amd/display: Check index msg_id before read or writeJonathan Gray
From Alex Hung 9933eca6ada0cd612e19522e7a319bcef464c0eb in linux-6.6.y/6.6.39 59d99deb330af206a4541db0c4da8f73880fba03 in mainline linux
2024-07-12drm/amdgpu: Initialize timestamp for some legacy SOCsJonathan Gray
From Ma Jun e55077badb9054630856cbefc099ad148a446648 in linux-6.6.y/6.6.39 2e55bcf3d742a4946d862b86e39e75a95cc6f1c0 in mainline linux
2024-07-12drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_relocJonathan Gray
From Jesse Zhang 855ae72c20310e5402b2317fc537d911e87537ef in linux-6.6.y/6.6.39 88a9a467c548d0b3c7761b4fd54a68e70f9c0944 in mainline linux
2024-07-12drm/amdgpu: Fix uninitialized variable warningsJonathan Gray
From Ma Jun 646e13f0a65b1930a4fa838f31bf763dbb4307a3 in linux-6.6.y/6.6.39 60c448439f3b5db9431e13f7f361b4074d0e8594 in mainline linux
2024-07-11Turn FBINFO_xxx defines into proper flags. Gets rid of an unwantedMark Kettenis
warning introduced by a recent commit to drm_fbdev_dma.c. ok jsg@
2024-07-10Implement support for deeper idle states offered by PSCI. Reduces theMark Kettenis
idle power usage of the Vivobook S15 by almost 50%. ok patrick@
2024-07-10Hook up the Qualcomm UEFI Secure Application that handles EFI variables toMark Kettenis
efi(4) such that we can access EFI variables through ioctls on /dev/efi. ok patrick@
2024-07-10Missed some files in previous commit to split vmd into mi/md.Dave Voutila
Forgot `cvs add` and sys/dev/vmm/vmm.h changes.
2024-07-10use better endian swaps for populating the irq map requestJonathan Matthew
from NetBSD's if_iavf.c r1.1
2024-07-10iaq_datalen is 16 bits, so always use htole16 to populate itJonathan Matthew
from NetBSD's if_iavf.c r1.2
2024-07-10as per if_ixl.c r1.88, protect the admin queue with a muteXJonathan Matthew
cVS: ----------------------------------------------------------------------
2024-07-09netlock is no longer held for SIOCSIFMEDIA and SIOCGIFMEDIA, so rely onJonathan Matthew
the kernel lock instead, as done in if_ixl.c r1.84. from Yuichiro NAITO
2024-07-09vmd/vmm: move vm_run_params into mi header.Dave Voutila
To prepare for mi/md splitting vmd, need to fixup the dev/vmm/vmm.h mi header. Move the vm_run_params struct and clean up the includes in vmd. "sure", mlarkin@
2024-07-09Implement MSI multiple-vector support.Mark Kettenis
ok patrick@
2024-07-08Don't check op_q_alloc for non-NULL before invoking op_q_free.Kenneth R Westerback
Check op_q_free for non-NULL instead. Neither are currently set to non-NULL anywhere. ok jmatthew@
2024-07-08Introduce sched_unpeg_curproc() to abstract the current implementation.Martin Pieuchot
ok kettenis@, mlarkin@, miod@, claudio@
2024-07-08drm/amdgpu/atomfirmware: fix parsing of vram_infoJonathan Gray
From Alex Deucher 01f58871af9c2cffcb57b77336994e6bfe37c1f0 in linux-6.6.y/6.6.37 f6f49dda49db72e7a0b4ca32c77391d5ff5ce232 in mainline linux
2024-07-08drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is presentJonathan Gray
From Michael Strauss 89d8a851543e1aab6ea5c8a06d02dbe982948508 in linux-6.6.y/6.6.37 2ec6c7f802332d1eff16f03e7c757f1543ee1183 in mainline linux
2024-07-08drm/i915/gt: Fix potential UAF by revoke of fence registersJonathan Gray
From Janusz Krzysztofik 06dec31a0a5112a91f49085e8a8fa1a82296d5c7 in linux-6.6.y/6.6.37 996c3412a06578e9d779a16b9e79ace18125ab50 in mainline linux
2024-07-08drm/fbdev-dma: Only set smem_start is enable per module optionJonathan Gray
From Thomas Zimmermann f29fcfbf6067c0d8c83f84a045da9276c08deac5 in linux-6.6.y/6.6.37 d92a7580392ad4681b1d4f9275d00b95375ebe01 in mainline linux
2024-07-08drm/drm_file: Fix pid refcounting raceJonathan Gray
From Jann Horn 16682588ead4a593cf1aebb33b36df4d1e9e4ffa in linux-6.6.y/6.6.37 4f2a129b33a2054e62273edd5a051c34c08d96e9 in mainline linux