summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2023-02-16Remove obsolete __HAVE_VM_PAGE_MD define - all platforms provide vm_page_mdMiod Vallat
those days, and nothing checks for that symbol anymore.
2023-02-16Enable dwqe(4).Mark Kettenis
2023-02-16Fix MAC address register offsets.Mark Kettenis
ok patrick@
2023-02-16regenClaudio Jeker
2023-02-16utrace(2) can run without kernel lock. Now ktruser() will take theClaudio Jeker
lock only when needed. OK miod@ cheloha@
2023-02-16Like other ktrace functions make ktruser() callable without kernel lockClaudio Jeker
by takeing the lock around ktrwrite2(). OK miod@ cheloha@
2023-02-16syncTheo de Raadt
2023-02-16Add pinsyscall(2). With this you can tell the kernel the locationTheo de Raadt
(start,len) of the syscall stub in libc.so for a specified syscall (using SYS_* notation). Only SYS_execve is supported at this time. ok gnezdo mortimer kettenis
2023-02-15Relax kernel lock assertion within tsleep(9). The `nowake' channel isVitaliy Makkoveev
the special case which doesn't expect wakeup(9), so allow to use it without kernel lock held. Discussed with and ok by claudio@
2023-02-15pfsync(4) panics on NULL pointer dereference if thereAlexandr Nedvedicky
are no data ready for bulk transfer. reported and fix kindly tested by hrvoje@ OK bluhm@
2023-02-15The GMAC on the Rockchip RK356x and RK3588 SoCs can only do 32-bit DMAMark Kettenis
so set the appropriate DMA constraint. ok patrick@
2023-02-15Don't print the version twice, but do print a newline before attaching theMark Kettenis
PHY. Put the DMA address of the mbuf into the rx descriptors (instead of the length). Use the correct value when setting the tx ring tail pointer. This make sending and receiving packets work as long as the interface is in promiscuous mode. ok patrick@
2023-02-15Add GMAC-related RK356x clocks.Mark Kettenis
ok patrick@
2023-02-15Now Puffy comes on luna88k bootloader!Kenji Aoyama
"Of course!" miod@
2023-02-15drm/i915: Fix VBT DSI DVO port handlingJonathan Gray
From Ville Syrjala 7fa83855852e4b13dd05702569f3f0bb3e1c624d in linux-6.1.y/6.1.12 6a7ff131f17f44c593173c5ee30e2c03ef211685 in mainline linux
2023-02-15drm/i915: Initialize the obj flags for shmem objectsJonathan Gray
From Aravind Iddamsetty baaed8c92927e2530a799daf2e909e6688dc2943 in linux-6.1.y/6.1.12 44e4c5684fcc82d8f099656c4ea39d9571e2a8ac in mainline linux
2023-02-15drm/i915: Move fd_install after last use of fenceJonathan Gray
From Rob Clark bfa700d12274bd3509b64fd545d1046eef89d564 in linux-6.1.y/6.1.12 251e8c5b1b1fadcc387a8e618c7437d330bdac3e in mainline linux
2023-02-15drm/amd/display: fix cursor offset on rotation 180Jonathan Gray
From Melissa Wen 5af27a53a881ed49e071875c10760b0fc13996a1 in linux-6.1.y/6.1.12 49d0555976f0972af68397ed996375c135b38ba7 in mainline linux
2023-02-15drm/amd/display: properly handling AGP aperture in vm setupJonathan Gray
From Alex Deucher 8d81e1c6865e7114d9829b0f3c73a66cd3a0963d in linux-6.1.y/6.1.12 5c4e8c71d1202cd84d870e7e5cb8d6b52f9c3507 in mainline linux
2023-02-15drm/amdgpu/smu: skip pptable init under sriovJonathan Gray
From Jane Jian 4609e1773222670af42e71c3a7bbf0453438d74a in linux-6.1.y/6.1.12 c6ac406cd8ff610a2d5da298b1d3071acfcde7f0 in mainline linux
2023-02-15drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/finiJonathan Gray
From Guilherme G. Piccoli 2bcbbef9cace772f5b7128b11401c515982de34b in linux-6.1.y/6.1.12 5ad7bbf3dba5c4a684338df1f285080f2588b535 in mainline linux
2023-02-15drm/amd/pm: bump SMU 13.0.7 driver_if header versionJonathan Gray
From Evan Quan d82e6903b395aafc5c94b7282eccdd13903942a3 in linux-6.1.y/6.1.12 dc38b996db968f51f0fe45845a519c5cd7f6bd04 in mainline linux
2023-02-15drm/amdgpu: Add unique_id support for GC 11.0.1/2Jonathan Gray
From Kent Russell e379d5662c26b65384d95674559f9343be132851 in linux-6.1.y/6.1.12 c108a18462949fe709ebd6b0be68398d643bc285 in mainline linux
2023-02-15drm/amd/pm: bump SMU 13.0.0 driver_if header versionJonathan Gray
From Evan Quan daaa0760cd0b6cf5985384d24e991f6c23a236e7 in linux-6.1.y/6.1.12 9874cc2df4e892c8744aa0472866cbf7c3cf1862 in mainline linux
2023-02-15drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptesJonathan Gray
From Friedrich Vock a2e60fee4b7681bb9664f6a638d9630102ac978b in linux-6.1.y/6.1.12 e53448e0a1efa5133c7db78f1df1f4caf177676b in mainline linux
2023-02-15drm/amd/pm: add SMU 13.0.7 missing GetPptLimit message mappingJonathan Gray
From Evan Quan 62890f3eabf80676c0fefbbdd88e0f3f12528032 in linux-6.1.y/6.1.12 0e763afcb50814e256ecb780fcc0f3bade2e1a0c in mainline linux
2023-02-15Use the nowake channel for sys_nanosleep() instead of handrolling the same.Claudio Jeker
OK cheloha@ jca@ mvs@
2023-02-15drm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabledJonathan Gray
From Ville Syrjala d05b72328810897a28fe313735481789edfef7e4 in linux-6.1.y/6.1.12 90d5e8301ac24550be80d193aa5582cab56c29fc in mainline linux
2023-02-15regenJonathan Gray
2023-02-15add a Navi 33 / Radeon RX 7600S device idJonathan Gray
spotted in notebookcheck review of ASUS TUF Gaming A16 Advantage Edition (2023), model FA617NS
2023-02-14enable scmi(4)Mark Kettenis
2023-02-14jca@ points out that the field I split in iwx(4) Rx descriptors is in a union.Stefan Sperling
Keep semantics of the field intact by wrapping the split values in struct { }. Again no size change, because of union semantics. diff from jca@ with request to commit if ok, thanks! build-tested again + ok tb@
2023-02-14use pragma pack around PPTable_t definitionsJonathan Gray
Avoids warnings about alignment changing when embedded inside of a packed struct (such as _ATOM_VEGA20_POWERPLAYTABLE) seen with clang 15 on arm64. reported and compile tested by tb@ sent upstream to amd-gfx list
2023-02-14use pragma pack around dmub_addr definitionJonathan Gray
Avoids warnings about alignment changing when embedded inside of a packed struct (dmub_rb_cmd_mall) seen with clang 15 on arm64. reported and compile tested by tb@ sent upstream to amd-gfx list
2023-02-14regenVitaliy Makkoveev
2023-02-14Backout previous. Assertion was triggered within tsleep().Vitaliy Makkoveev
2023-02-14Fix scmi(4) entry.Mark Kettenis
2023-02-13Add a driver for the ARM System Control and Management Interface, which,Mark Kettenis
among other things allows management of clocks under firmware management. ok patrick@
2023-02-13Add RK356x TSADC clocks.Mark Kettenis
ok patrick@
2023-02-13Add dwqe(4), a driver for the Synopsis DesignWare Ethernet QoS controllerPatrick Wildt
used on the NXP i.MX8MP, the Rockchip RK35xx series and Intel Elkhart Lake. For now it is committed with FDT-attachment only and still in rough shape, but it's time for development to occur in-tree. Discussed with bluhm@ ok kettenis@
2023-02-13Add support for the Shenzhen Tangcheng Technology TCS4525 voltageMark Kettenis
regulator. ok patrick@
2023-02-13Support device trees with NOPs in them (like the kernel version alreadyMark Kettenis
does). tested by jca@ (riscv64) ok patrick@
2023-02-13Fix an alignment issue in iwx(4) Rx descriptors.Stefan Sperling
Split a 64-bit field, aligned at a 4-byte boundary, into two 32 bit fields. Our driver does not use this field. Its definition does not matter to us, as long as its size remains correct. Fixes clang-15 warnings, which turn into compilation errors with -Werror. Reported by, and ok tb@ Relevant clang 15 errors are: In file included from /sys/dev/pci/if_iwx.c:151: /sys/dev/pci/if_iwxreg.h:3659:2: error: field within 'struct iwx_rx_mpdu_desc_v1' is less aligned than 'union iwx_rx_mpdu_desc_v1::(anonymous at /sys/dev/pci/if_iwxreg.h:3659:2)' and is usually due to 'struct iwx_rx_mpdu_desc_v1' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access] union { ^ /sys/dev/pci/if_iwxreg.h:3626:2: error: field within 'struct iwx_rx_mpdu_desc_v3' is less aligned than 'union iwx_rx_mpdu_desc_v3::(anonymous at /sys/dev/pci/if_iwxreg.h:3626:2)' and is usually due to 'struct iwx_rx_mpdu_desc_v3' being packed, which can lead to unaligned accesses [-Werror,-Wunaligned-access] union { ^ 2 errors generated.
2023-02-13Also lock the map in the execve-driven calls to uvm_map_check_copyin_add()Theo de Raadt
ok kettenis
2023-02-13Upon fork, copy the copyin_check structure to the new map, otherwiseTheo de Raadt
the xonly rules are not applied a child. This was due to the same misunderstanding as with msyscall a few days ago. ok guenther kettenis
2023-02-13regenVitaliy Makkoveev
2023-02-13Push kernel lock down to dopselect() and doppoll() and unlock select(2),Vitaliy Makkoveev
pselect(2), poll(2) and ppoll(2). select(2) and poll(2) are just wrappers for kqueue(2)/kevent(2) which are already unlocked. They do temporary event queue initialization and scan for this call only. The difference is in local data conversion between select(2)/poll(2) and kevent(2) formats. To separate possible signal related fallout, dosigsuspend() left under the kernel lock. It will be taken only if optional signal mask arg passed to pselect(2) or ppoll(2). dosigsuspend() will be unlocked later with sigsuspend(2). Discussed with claudio@ and kettenis@. ok claudio@
2023-02-13regenMark Kettenis
2023-02-13Add Rockchip RK3566 and shorten the name for the RK3399.Mark Kettenis
ok jsg@
2023-02-12Rename pipeselwakeup() to pipe_wakeup(). It doesn't call selwakeup()Vitaliy Makkoveev
anymore, so do it to be consistent with similar *wakeup() functions. No functional changes. ok visa@