created | 2024-07-14T05:08:39Z |
---|---|
begin | 2024-07-08T00:00:00Z |
end | 2024-07-09T00:00:00Z |
path | src/sys |
commits | 14 |
date | 2024-07-08T02:06:11Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/radeon/radeon.h | log | diff | annotate |
src/sys/dev/pci/drm/radeon/radeon_display.c | log | diff | annotate | |
message |
drm/radeon/radeon_display: Decrease the size of allocated memory From Erick Archer 41e58607a57c4c9963e2c736e1a8c90141207b69 in linux-6.6.y/6.6.37 ae6a233092747e9652eb793d92f79d0820e01c6a in mainline linux |
date | 2024-07-08T02:08:07Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c | log | diff | annotate |
message |
drm/amdgpu: Fix pci state save during mode-1 reset From Lijo Lazar f16c10e05f1406576ddcb8dc598a661522959f75 in linux-6.6.y/6.6.37 74fa02c4a5ea1ade5156a6ce494d3ea83881c2d8 in mainline linux |
date | 2024-07-08T02:10:48Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/drm_file.c | log | diff | annotate |
message |
drm/drm_file: Fix pid refcounting race From Jann Horn 16682588ead4a593cf1aebb33b36df4d1e9e4ffa in linux-6.6.y/6.6.37 4f2a129b33a2054e62273edd5a051c34c08d96e9 in mainline linux |
date | 2024-07-08T02:13:36Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/drm_fb_helper.c | log | diff | annotate |
src/sys/dev/pci/drm/drm_fbdev_dma.c | log | diff | annotate | |
message |
drm/fbdev-dma: Only set smem_start is enable per module option From Thomas Zimmermann f29fcfbf6067c0d8c83f84a045da9276c08deac5 in linux-6.6.y/6.6.37 d92a7580392ad4681b1d4f9275d00b95375ebe01 in mainline linux |
date | 2024-07-08T02:15:57Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/gt/intel_ggtt_fencing.c | log | diff | annotate |
message |
drm/i915/gt: Fix potential UAF by revoke of fence registers From Janusz Krzysztofik 06dec31a0a5112a91f49085e8a8fa1a82296d5c7 in linux-6.6.y/6.6.37 996c3412a06578e9d779a16b9e79ace18125ab50 in mainline linux |
date | 2024-07-08T02:18:34Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_capability.c | log | diff | annotate |
src/sys/dev/pci/drm/amd/display/include/dpcd_defs.h | log | diff | annotate | |
message |
drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present From Michael Strauss 89d8a851543e1aab6ea5c8a06d02dbe982948508 in linux-6.6.y/6.6.37 2ec6c7f802332d1eff16f03e7c757f1543ee1183 in mainline linux |
date | 2024-07-08T02:20:29Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_atomfirmware.c | log | diff | annotate |
message |
drm/amdgpu/atomfirmware: fix parsing of vram_info From Alex Deucher 01f58871af9c2cffcb57b77336994e6bfe37c1f0 in linux-6.6.y/6.6.37 f6f49dda49db72e7a0b4ca32c77391d5ff5ce232 in mainline linux |
date | 2024-07-08T08:07:45Z | |||
---|---|---|---|---|
author | landry | |||
files | src/sys/arch/octeon/dev/cn30xxgmx.c | log | diff | annotate |
message |
octeon/cnmac: assume 1Gbps in the default case avoids a division by 0 when up'ing the non-working cnmac2 on er-poe feedback from visa@: "The cnmac2 link is connected to a discrete Ethernet switch chip on the PoE, and this link does not carry RGMII in-band PHY status. If the code were to support such hardware designs in the future, something like this patch would be needed." this diff from miod@, same diff from visa@ in 2017 (cf https://marc.info/?l=openbsd-bugs&m=151017517115440&w=2) ok visa@ |
date | 2024-07-08T09:15:05Z | |||
---|---|---|---|---|
author | claudio | |||
files | src/sys/kern/kern_exit.c | log | diff | annotate |
message |
Fix comment for exit2() this code is called by sched_idle() not cpu_exit(). The note can be removed but add a comment that since this is called from the idle process exit2() is not allowed to sleep. OK jca@ |
date | 2024-07-08T13:17:11Z | |||
---|---|---|---|---|
author | claudio | |||
files | src/sys/kern/kern_acct.c | log | diff | annotate |
src/sys/kern/kern_clock.c | log | diff | annotate | |
message |
Rework per proc and per process time usage accounting For procs (threads) the accounting happens now lockless by curproc using a generation counter. Callers need to use tu_enter() and tu_leave() for this. To read the proc p_tu struct tuagg_get_proc() should be used. It ensures that the values read is consistent. For processes only the time of exited threads is accumulated in ps_tu and to get the proper process time usage tuagg_get_process() needs to be called. tuagg_get_process() will sum up all procs p_tu plus the ps_tu. This removes another SCHED_LOCK() dependency. Adjust the code in exit1() and exit2() to correctly account for the full run time. For this adjust sched_exit() to do the runtime accounting like it is done in mi_switch(). OK jca@ dlg@ |
date | 2024-07-08T13:17:12Z | |||
---|---|---|---|---|
author | claudio | |||
files | src/sys/kern/kern_exec.c | log | diff | annotate |
src/sys/kern/kern_exit.c | log | diff | annotate | |
src/sys/kern/kern_proc.c | log | diff | annotate | |
src/sys/kern/kern_resource.c | log | diff | annotate | |
src/sys/kern/kern_sched.c | log | diff | annotate | |
src/sys/kern/kern_sysctl.c | log | diff | annotate | |
src/sys/kern/kern_time.c | log | diff | annotate | |
src/sys/kern/sched_bsd.c | log | diff | annotate | |
src/sys/kern/tty.c | log | diff | annotate | |
src/sys/sys/proc.h | log | diff | annotate | |
src/sys/sys/resourcevar.h | log | diff | annotate | |
src/sys/sys/sysctl.h | log | diff | annotate | |
message |
Rework per proc and per process time usage accounting For procs (threads) the accounting happens now lockless by curproc using a generation counter. Callers need to use tu_enter() and tu_leave() for this. To read the proc p_tu struct tuagg_get_proc() should be used. It ensures that the values read is consistent. For processes only the time of exited threads is accumulated in ps_tu and to get the proper process time usage tuagg_get_process() needs to be called. tuagg_get_process() will sum up all procs p_tu plus the ps_tu. This removes another SCHED_LOCK() dependency. Adjust the code in exit1() and exit2() to correctly account for the full run time. For this adjust sched_exit() to do the runtime accounting like it is done in mi_switch(). OK jca@ dlg@ |
date | 2024-07-08T14:46:47Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/arch/amd64/amd64/identcpu.c | log | diff | annotate |
src/sys/dev/kstat.c | log | diff | annotate | |
src/sys/kern/kern_sched.c | log | diff | annotate | |
src/sys/kern/kern_smr.c | log | diff | annotate | |
src/sys/sys/sched.h | log | diff | annotate | |
message |
Introduce sched_unpeg_curproc() to abstract the current implementation. ok kettenis@, mlarkin@, miod@, claudio@ |
date | 2024-07-08T16:07:36Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/dev/ic/nvme.c | log | diff | annotate |
message |
Don't check op_q_alloc for non-NULL before invoking op_q_free. Check op_q_free for non-NULL instead. Neither are currently set to non-NULL anywhere. ok jmatthew@ |
date | 2024-07-08T16:15:42Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/kern/kern_sched.c | log | diff | annotate |
message |
Remove the KASSERT() in sched_unpeg_curproc(). This fix rebooting a GENERIC.MP kernel on SP machines because unpeg is out of the loop in smr_thread(). |