summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2022-01-31unstub append_oa_sample()Jonathan Gray
2022-01-30unstub intel_gt_get_awake_time()Jonathan Gray
2022-01-30push stub down in __await_execution()Jonathan Gray
functions in this file want to reach into the implementation of irq work which for us isn't a llist but rather a task
2022-01-30Add aplnco(4), a driver for the Numerically-controlled oscillator (NCO)Mark Kettenis
clock that drives the audio clocks on Apple silicon. ok patrick@
2022-01-30Add tascodec(4), a driver for the TI TAS2770/TAS5770 digital audioMark Kettenis
amplifier codec found on Apple M1 Macs. ok patrick@, ratchov@
2022-01-29Put the leaf and subleaf input values (from rax/rcx) into local variables,Philip Guenther
truncating them to 32bit as documented by the SDM and verified on an Intel CPU in a Lenovo T510. Use that in the clamping logic and all the tests, adjusting DPRINTF() format strings to match. ok mlarkin@
2022-01-29drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2Jonathan Gray
From Harry Wentland 7b6577cf9fe48d24d82df9362a077396a9d5cb27 in linux 5.15.y/5.15.18 dc5d4aff2e99c312df8abbe1ee9a731d2913bc1b in mainline linux
2022-01-29drm/amd/display: reset dcn31 SMU mailbox on failuresJonathan Gray
From Mario Limonciello f71c91ed1d4b4bfbbb55327b04dcc32b2d970f62 in linux 5.15.y/5.15.18 83293f7f3d15fc56e86bd5067a2c88b6b233ac3a in mainline linux
2022-01-29drm/i915: Flush TLBs before releasing backing storeJonathan Gray
From Tvrtko Ursulin 8a17a077e7e9ecce25c95dbdb27843d2d6c2f0f7 in linux 5.15.y/5.15.18 7938d61591d33394a21bdd7797a245b65428f44c in mainline linux
2022-01-29Fix macro name in comment.Kenji Aoyama
ok visa@
2022-01-29Use local symbols in libkern mips64 assembly routines.Visa Hankala
OK miod@
2022-01-28Give ddb more access to registers on macppc, powerpc64George Koehler
Edit db_regs[] in db_trace.c on both powerpc and powerpc64, so ddb can access $r14, $r15, $r16, $dar, $dsisr. Only for powerpc: change db_trap_glue to copy all registers to and from ddb_regs (it was skipping some); change db_set_single_step and db_clear_single_step to flip the correct bit of srr1; delete FIXUP_PC_AFTER_BREAK, which was off by 1 instruction. "ddb{1}> s" on my PowerMac7,3 (dual G5 at 2700 MHz) began to panic like, "*cpu0: mutex 0xa7d0a0 not held in tc_update_timekeep". Add an arbitrary delay(100) after sending PPC_IPI_DDB; I want cpu0 to get the ipi before it can see db_active == 1 and skip acquiring a mutex. ok kettenis@
2022-01-28Remove unused guarded read and write routines.Visa Hankala
No objection from miod@
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
apostrophe.
2022-01-27drm/radeon: fix error handling in radeon_driver_open_kmsJonathan Gray
From Christian Koenig f22f67b43775fffb09f371ea861779cdbbb763ec in linux 5.15.y/5.15.17 4722f463896cc0ef1a6f1c3cb2e171e949831249 in mainline linux
2022-01-27drm/i915/display/ehl: Update voltage swing tableJonathan Gray
From Jose Roberto de Souza 077fe9d865604fcab3238afeaa7408cc1635bc39 in linux 5.15.y/5.15.17 ef3ac01564067a4337bb798b8eddc6ea7b78fd10 in mainline linux
2022-01-27drm/amdgpu: don't do resets on APUs which don't support itJonathan Gray
From Alex Deucher c3a9e0e701dfd087b0044c3598bffe880262c066 in linux 5.15.y/5.15.17 e8309d50e97851ff135c4e33325d37b032666b94 in mainline linux
2022-01-27drm/amd/display: Fix the uninitialized variable in enable_stream_features()Jonathan Gray
From Yizhuo Zhai 3bf997ec299cdf7280b2039806e5e1d847df111a in linux 5.15.y/5.15.17 0726ed3065eeb910f9cea0c933bc021a848e00b3 in mainline linux
2022-01-27amdgpu/pm: Make sysfs pm attributes as read-only for VFsJonathan Gray
From Marina Nikolic e4066c05d3327b530bb00d11d3492bac1e69982d in linux 5.15.y/5.15.17 11c9cc95f818f0f187e9b579a7f136f532b42445 in mainline linux
2022-01-27drm/amdgpu: fixup bad vram size on gmc v8Jonathan Gray
From Zongmin Zhou 493b87970061f044c5cf795cfd1d679d114844ed in linux 5.15.y/5.15.17 11544d77e3974924c5a9c8a8320b996a3e9b2f8b in mainline linux
2022-01-27drm/amd/amdgpu: fix gmc bo pin count leak in SRIOVJonathan Gray
From Jingwen Chen 305f07b93d34d292432251e9963bf232db38d67a in linux 5.15.y/5.15.17 948e7ce01413b71395723aaf846015062aea3a43 in mainline linux
2022-01-27drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOVJonathan Gray
From Jingwen Chen 8662d0c6a36807093aed34b17b930484fd4bf22f in linux 5.15.y/5.15.17 85dfc1d692c9434c37842e610be37cd4ae4e0081 in mainline linux
2022-01-27drm/amdkfd: Fix error handling in svm_range_addJonathan Gray
From Felix Kuehling 4a635b9d5ba5f691e378f7ec20e11b7b04f07a45 in linux 5.15.y/5.15.17 726be40607264b180a2b336c81e1dcff941de618 in mainline linux
2022-01-27drm/amd/display: add else to avoid double destroy clk_mgrJonathan Gray
From Martin Leung 58d33532664c1580beeb127ffe771a7739fb63d3 in linux 5.15.y/5.15.17 11dff0e871037a6ad978e52f826a2eb7f5fb274a in mainline linux
2022-01-27drm/amdgpu/display: set vblank_disable_immediate for DCJonathan Gray
From Alex Deucher f94cf1cb17963905910c2adc332ebb9e44e7fa4b in linux 5.15.y/5.15.17 92020e81ddbeac351ea4a19bcf01743f32b9c800 in mainline linux
2022-01-27drm/amd/display: check top_pipe_to_program pointerJonathan Gray
From Yang Li 1fffa8ffd62fc511d4447b793641252c4743e81c in linux 5.15.y/5.15.17 a689e8d1f80012f90384ebac9dcfac4201f9f77e in mainline linux
2022-01-27drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/LJonathan Gray
From Hans de Goede c350fcc74035f48ee5a7226faee7079dd0ce9565 in linux 5.15.y/5.15.17 bc30c3b0c8a1904d83d5f0d60fb8650a334b207b in mainline linux
2022-01-27drm/amd/display: Fix out of bounds access on DNC31 stream encoder regsJonathan Gray
From Nicholas Kazlauskas 89166801f80dc64083212eef1308bfc62f6844f1 in linux 5.15.y/5.15.17 d374d3b493215d637b9e7be12a93f22caf4c1f97 in mainline linux
2022-01-27drm/amd/display: Fix bug in debugfs crc_win_update entryJonathan Gray
From Wayne Lin 6dcc6706dab10744d277bdc2613fb135c6a632dd in linux 5.15.y/5.15.17 4bef85d4c9491415b7931407b07f24841c1e0390 in mainline linux
2022-01-27drm/radeon/radeon_kms: Fix a NULL pointer dereference in ↵Jonathan Gray
radeon_driver_open_kms() From Zhou Qingyang e833ef0b545e1a5b3eaf00af391c4fd1fb47ffd8 in linux 5.15.y/5.15.17 ab50cb9df8896b39aae65c537a30de2c79c19735 in mainline linux
2022-01-27drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()Jonathan Gray
From Zhou Qingyang 1e22b51876fa786c0b972e327ffb5cc686873cd1 in linux 5.15.y/5.15.17 b220110e4cd442156f36e1d9b4914bb9e87b0d00 in mainline linux
2022-01-27drm/dp: Don't read back backlight mode in drm_edp_backlight_enable()Jonathan Gray
From Lyude Paul 56339a5546a7f66333f9d3c55e3fd1424caa4879 in linux 5.15.y/5.15.17 646596485e1ed2182adf293dfd5aec4a96c46330 in mainline linux
2022-01-27drm: fix null-ptr-deref in drm_dev_init_release()Jonathan Gray
From Wang Hai 52e1bf49e3e25358519719284028334cb31ab543 in linux 5.15.y/5.15.17 acf20ed020ffa4d6cc8347e8d356509b95df3cbe in mainline linux
2022-01-27drm/ttm: Put BO in its memory manager's lru listJonathan Gray
From xinhui pan 0da09030aae4a3c9de4699e7ce71085639f8c378 in linux 5.15.y/5.15.17 781050b0a3164934857c300bb0bc291e38c26b6f in mainline linux
2022-01-27Cast to unsigned integer before overflow can happen.Alexander Bluhm
found by kubsan; joint work with tobhe@; OK miod@
2022-01-27cad(4): Disable unused priority queuesVisa Hankala
The GEMs on the PolarFire Soc implement four Rx queues and four Tx queues for prioritizing traffic. All the queues are in a pseudo active state after reset. The driver uses only queues with index 0. Disable the rest to avoid DMA errors. Tested on a SiFive FU740 by jca@, Microchip PolarFire SoC and Xilinx Zynq-7000 by me.
2022-01-27drop some local changes in an unused functionJonathan Gray
2022-01-27raise sched_engine lock mtx ipl to IPL_TTYJonathan Gray
used with spin_lock_irq() from resubmit_virtual_request() execlists_hold() execlists_unhold() execlists_capture() remove_from_engine() rcu_virtual_context_destroy() virtual_submission_tasklet() used with spin_lock_irqsave() from execlists_submit_request() execlists_reset_rewind() execlists_reset_cancel() virtual_submit_request() intel_execlists_show_requests()
2022-01-27raise mm obj_lock mtx ipl to IPL_TTYJonathan Gray
used with spin_lock_irqsave() from __i915_gem_object_set_pages() i915_gem_suspend_late() i915_gem_shrink() i915_gem_shrinker_oom() i915_gem_object_make_unshrinkable() i915_gem_madvise_ioctl()
2022-01-27use process name for both thread and process nameJonathan Gray
2022-01-26An ACPI device needs to be both present and enabled for it to function.Mark Kettenis
So only attempt to attach hardware that has both bits enabled. This fixes an issue where com(4) would attach for a disabled serial port leading to misdetection of the hardware variant and a subsequent hang when /etc/rc runs ttyflags -a. ok anton@, deraadt@
2022-01-26shrink uca.ibufsize from UCHCOMIBUFSIZE to wMaxPacketSize of bulk-in pipeSASANO Takayoshi
USB transaction is finished when whole requested data has transferred, or short packet (the size is less than wMaxPacketSize) has sent. UCHCOMIBUFSIZE(256) was multiply of wMaxPacketSize(32). When CH340 sends exact wMaxPacketSize byte packet, this will cause Rx jam problem due to transaction is not finished. Now uca.ibufsize is same as wMaxPacketSize to avoid this problem. ok kevlo@
2022-01-26Make vmm(4/amd64) tracepoints amd64-onlyKlemens Nanni
One can use them on non-VMM architectures, but they obviously won't hit: # arch -s ; btrace -l | grep vmm sparc64 tracepoint:vmm:guest_enter tracepoint:vmm:guest_exit Move them under __amd64__ to avoid confusion and safe a few bytes. OK dv
2022-01-26Rework initialization of sensors on device connect.Anton Lindqvist
2022-01-26implement might_alloc() using assertwaitok()Jonathan Gray
2022-01-26reduce diff to linux ggtt_probe_common()Jonathan Gray
2022-01-25reduce diff to linux shmem_create_from_object()Jonathan Gray
includes linux 988d4ff6e3c2220d13d8dde22a98945b64fd7977 drm/i915: Fix ww locking in shmem_create_from_object
2022-01-25reduce diff to linux vm_fault_cpu()Jonathan Gray
adds change made in linux 9fa1f4785f2a54286ccb8a850cda5661f0a3aaf9 drm/i915: Add object locking to vm_fault_cpu
2022-01-25Use unguarded loads in stack trace savingVisa Hankala
The stack trace saver should see a system state that is not broken. Therefore use unguarded memory accesses. However, the unwinder is still haphazard. Terminate immediately if the program counter or stack pointer look inconsistent.
2022-01-25Preserve pcb_onfault in kdbpeek() and kdbpoke()Visa Hankala
This avoids misbehaviour if kdbpeek() or kdbpoke() is used in the middle of a guarded copy operation.