OpenBSD cvs log

created 2024-01-14T15:32:51Z
begin 2024-01-06T00:00:00Z
end 2024-01-07T00:00:00Z
path src/sys
commits 10

date 2024-01-06T09:33:08Z
author kettenis
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
src/sys/dev/pci/drm/drm_fb_dma_helper.c log diff annotate
src/sys/dev/pci/drm/drm_gem_dma_helper.c log diff annotate
src/sys/dev/pci/drm/drm_gem_framebuffer_helper.c log diff annotate
src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c log diff annotate
src/sys/dev/pci/drm/include/drm/drm_fb_dma_helper.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_fbdev_generic.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_gem_dma_helper.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_gem_framebuffer_helper.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_legacy.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_of.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_simple_kms_helper.h log diff annotate
src/sys/dev/pci/drm/include/linux/align.h log diff annotate
src/sys/dev/pci/drm/include/linux/atomic.h log diff annotate
src/sys/dev/pci/drm/include/linux/bitmap.h log diff annotate
src/sys/dev/pci/drm/include/linux/clk.h log diff annotate
src/sys/dev/pci/drm/include/linux/completion.h log diff annotate
src/sys/dev/pci/drm/include/linux/component.h log diff annotate
src/sys/dev/pci/drm/include/linux/device.h log diff annotate
src/sys/dev/pci/drm/include/linux/dma-mapping.h log diff annotate
src/sys/dev/pci/drm/include/linux/interrupt.h log diff annotate
src/sys/dev/pci/drm/include/linux/io.h log diff annotate
src/sys/dev/pci/drm/include/linux/iommu.h log diff annotate
src/sys/dev/pci/drm/include/linux/of.h log diff annotate
src/sys/dev/pci/drm/include/linux/of_address.h log diff annotate
src/sys/dev/pci/drm/include/linux/of_device.h log diff annotate
src/sys/dev/pci/drm/include/linux/of_platform.h log diff annotate
src/sys/dev/pci/drm/include/linux/platform_device.h log diff annotate
src/sys/dev/pci/drm/include/linux/pm.h log diff annotate
src/sys/dev/pci/drm/include/linux/scatterlist.h log diff annotate
src/sys/dev/pci/drm/include/linux/time.h log diff annotate
src/sys/dev/pci/drm/include/linux/workqueue.h log diff annotate
src/sys/dev/pci/drm/include/linux/gpio/consumer.h log diff annotate
src/sys/dev/pci/drm/include/linux/mux/consumer.h log diff annotate
src/sys/dev/pci/drm/include/linux/phy/phy.h log diff annotate
src/sys/dev/pci/drm/include/sound/pcm.h log diff annotate
message Add more Linux compat code in preparation for the apple KMS driver.

ok jsg@

date 2024-01-06T10:58:45Z
author bluhm
files src/sys/net/if.c log diff annotate
src/sys/netinet/in.c log diff annotate
message Take net lock before kernel lock.

Doing KERNEL_LOCK() just before NET_LOCK() does not make sense.
Net lock is a rwlock that releases kernel lock during sleep. To
avoid an unnecessary release and take kernel lock cycle, move
KERNEL_LOCK() after NET_LOCK().
There is no lock order reversal deadlock issue. Both locks are
used in any order thoughout the kernel. As NET_LOCK() releases the
kernel lock when it cannot take the lock immediately and has to
sleep, we always end in the order kernel lock before net lock after
sleeping.

OK sashan@

date 2024-01-06T11:42:11Z
author bluhm
files src/sys/net/if.c log diff annotate
message Do not count packets though multicast loopback and simplex interfaces.

Counting multicast packets sent to local stack or packets that are
reflected by simplex interfaces does not make much sense. They are
neither received nor output by any ethernet device. Counting these
packets at lo0 or the loopback interface of the routing domain would
be possible, but is not worth the effort. Make if_input_local()
MP safe by deleting the if_opackets++ code.

OK mvs@

date 2024-01-06T12:50:58Z
author jsg
files src/sys/dev/pci/drm/include/drm/drm_gem_dma_helper.h log diff annotate
src/sys/dev/pci/drm/include/linux/fs.h log diff annotate
message move struct file_operations to linux/fs.h
ok kettenis@

date 2024-01-06T12:52:20Z
author jsg
files src/sys/dev/pci/drm/include/linux/atomic.h log diff annotate
message remove stray semicolon
ok kettenis@

date 2024-01-06T13:04:03Z
author mglocker
files src/sys/dev/ic/ufshci.c log diff annotate
message Merge read/write UFS commands in to one single function, since they are very
similar.

date 2024-01-06T13:17:20Z
author dv
files src/sys/arch/amd64/amd64/vmm_machdep.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message vmm(4): reorder segment registers to match SDM.

Shuffles around the defines so the segment register indexes match
the values used by both Intel and AMD in vm exit information.
Simplifies some upcoming changes.

ok mlarkin@

date 2024-01-06T13:23:47Z
author mglocker
files src/sys/dev/ic/ufshci.c log diff annotate
message Unify UFS command function arguments a bit.

date 2024-01-06T15:52:13Z
author jsg
files src/sys/dev/pci/drm/include/linux/component.h log diff annotate
message revert component_add() change
avoids fault in amdgpu_dm_audio_component_bind()
problem reported by matthieu@

date 2024-01-06T17:47:43Z
author mglocker
files src/sys/dev/acpi/ufshci_acpi.c log diff annotate
src/sys/dev/ic/ufshci.c log diff annotate
message Zap more obsolete debug code.