OpenBSD cvs log

created 2018-11-29T14:20:14Z
begin 2018-04-25T00:00:00Z
end 2018-04-26T00:00:00Z
path src/sys
commits 11

date 2018-04-25T00:46:28Z
author jsg
files src/sys/arch/amd64/amd64/efifb.c log diff annotate
src/sys/arch/amd64/amd64/mainbus.c log diff annotate
src/sys/arch/amd64/include/efifbvar.h log diff annotate
message Add a way to reattach efifb(4). This will be used when radeondrm(4)
attaches and claims glass console but after root is mounted if firmware
is not found efifb gets reattached to have a useable glass console.

date 2018-04-25T01:27:46Z
author jsg
files src/sys/dev/pci/drm/drm_cache.c log diff annotate
src/sys/dev/pci/drm/drm_cache.h log diff annotate
src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/drm_linux.h log diff annotate
src/sys/dev/pci/drm/drm_linux_rbtree.h log diff annotate
src/sys/dev/pci/drm/drm_pciids.h log diff annotate
src/sys/dev/pci/drm/files.drm log diff annotate
src/sys/dev/pci/drm/linux_rcupdate.h log diff annotate
src/sys/dev/pci/drm/linux_reservation.c log diff annotate
src/sys/dev/pci/drm/linux_reservation.h log diff annotate
src/sys/dev/pci/drm/radeon_drm.h log diff annotate
src/sys/dev/pci/drm/i915/intel_i2c.c log diff annotate
src/sys/dev/pci/drm/i915/intel_sprite.c log diff annotate
src/sys/dev/pci/drm/radeon/ObjectID.h log diff annotate
src/sys/dev/pci/drm/radeon/atom-bits.h log diff annotate
src/sys/dev/pci/drm/radeon/atom-names.h log diff annotate
src/sys/dev/pci/drm/radeon/atom-types.h log diff annotate
src/sys/dev/pci/drm/radeon/atom.c log diff annotate
src/sys/dev/pci/drm/radeon/atom.h log diff annotate
src/sys/dev/pci/drm/radeon/atombios.h log diff annotate
src/sys/dev/pci/drm/radeon/atombios_crtc.c log diff annotate
src/sys/dev/pci/drm/radeon/atombios_dp.c log diff annotate
src/sys/dev/pci/drm/radeon/atombios_encoders.c log diff annotate
src/sys/dev/pci/drm/radeon/atombios_i2c.c log diff annotate
src/sys/dev/pci/drm/radeon/avivod.h log diff annotate
src/sys/dev/pci/drm/radeon/btc_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/btc_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/btcd.h log diff annotate
src/sys/dev/pci/drm/radeon/cayman_blit_shaders.c log diff annotate
src/sys/dev/pci/drm/radeon/cayman_blit_shaders.h log diff annotate
src/sys/dev/pci/drm/radeon/ci_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/ci_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/ci_smc.c log diff annotate
src/sys/dev/pci/drm/radeon/cik.c log diff annotate
src/sys/dev/pci/drm/radeon/cik_blit_shaders.c log diff annotate
src/sys/dev/pci/drm/radeon/cik_blit_shaders.h log diff annotate
src/sys/dev/pci/drm/radeon/cik_reg.h log diff annotate
src/sys/dev/pci/drm/radeon/cik_sdma.c log diff annotate
src/sys/dev/pci/drm/radeon/cikd.h log diff annotate
src/sys/dev/pci/drm/radeon/clearstate_cayman.h log diff annotate
src/sys/dev/pci/drm/radeon/clearstate_ci.h log diff annotate
src/sys/dev/pci/drm/radeon/clearstate_defs.h log diff annotate
src/sys/dev/pci/drm/radeon/clearstate_evergreen.h log diff annotate
src/sys/dev/pci/drm/radeon/clearstate_si.h log diff annotate
src/sys/dev/pci/drm/radeon/cypress_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/cypress_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/dce3_1_afmt.c log diff annotate
src/sys/dev/pci/drm/radeon/dce6_afmt.c log diff annotate
src/sys/dev/pci/drm/radeon/drm_buffer.h log diff annotate
src/sys/dev/pci/drm/radeon/evergreen.c log diff annotate
src/sys/dev/pci/drm/radeon/Attic/evergreen_blit_kms.c log diff annotate
src/sys/dev/pci/drm/radeon/evergreen_blit_shaders.c log diff annotate
src/sys/dev/pci/drm/radeon/evergreen_blit_shaders.h log diff annotate
src/sys/dev/pci/drm/radeon/evergreen_cs.c log diff annotate
src/sys/dev/pci/drm/radeon/evergreen_dma.c log diff annotate
src/sys/dev/pci/drm/radeon/evergreen_hdmi.c log diff annotate
src/sys/dev/pci/drm/radeon/evergreen_reg.h log diff annotate
src/sys/dev/pci/drm/radeon/evergreen_smc.h log diff annotate
src/sys/dev/pci/drm/radeon/evergreend.h log diff annotate
src/sys/dev/pci/drm/radeon/kv_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/kv_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/kv_smc.c log diff annotate
src/sys/dev/pci/drm/radeon/mkregtable.c log diff annotate
src/sys/dev/pci/drm/radeon/ni.c log diff annotate
src/sys/dev/pci/drm/radeon/ni_dma.c log diff annotate
src/sys/dev/pci/drm/radeon/ni_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/ni_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/ni_reg.h log diff annotate
src/sys/dev/pci/drm/radeon/nid.h log diff annotate
src/sys/dev/pci/drm/radeon/nislands_smc.h log diff annotate
src/sys/dev/pci/drm/radeon/ppsmc.h log diff annotate
src/sys/dev/pci/drm/radeon/pptable.h log diff annotate
src/sys/dev/pci/drm/radeon/r100.c log diff annotate
src/sys/dev/pci/drm/radeon/r100_track.h log diff annotate
src/sys/dev/pci/drm/radeon/r100d.h log diff annotate
src/sys/dev/pci/drm/radeon/r200.c log diff annotate
src/sys/dev/pci/drm/radeon/r300.c log diff annotate
src/sys/dev/pci/drm/radeon/r300_reg.h log diff annotate
src/sys/dev/pci/drm/radeon/r300d.h log diff annotate
src/sys/dev/pci/drm/radeon/r420.c log diff annotate
src/sys/dev/pci/drm/radeon/r420d.h log diff annotate
src/sys/dev/pci/drm/radeon/r500_reg.h log diff annotate
src/sys/dev/pci/drm/radeon/r520.c log diff annotate
src/sys/dev/pci/drm/radeon/r520d.h log diff annotate
src/sys/dev/pci/drm/radeon/r600.c log diff annotate
src/sys/dev/pci/drm/radeon/Attic/r600_audio.c log diff annotate
src/sys/dev/pci/drm/radeon/Attic/r600_blit_kms.c log diff annotate
src/sys/dev/pci/drm/radeon/r600_blit_shaders.c log diff annotate
src/sys/dev/pci/drm/radeon/r600_blit_shaders.h log diff annotate
src/sys/dev/pci/drm/radeon/r600_cs.c log diff annotate
src/sys/dev/pci/drm/radeon/r600_dma.c log diff annotate
src/sys/dev/pci/drm/radeon/r600_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/r600_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/r600_hdmi.c log diff annotate
src/sys/dev/pci/drm/radeon/r600_reg.h log diff annotate
src/sys/dev/pci/drm/radeon/r600d.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_acpi.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_acpi.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_agp.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_asic.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_asic.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_atombios.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_audio.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_audio.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_benchmark.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_bios.c log diff annotate
src/sys/dev/pci/drm/radeon/Attic/radeon_blit_common.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_clocks.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_combios.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_connectors.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_cs.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_cursor.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_device.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_devlist.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_display.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_dp_mst.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_drv.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_drv.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_encoders.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_family.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_fb.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_fence.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_gart.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_gem.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_i2c.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_ib.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_ioc32.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_irq_kms.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_kfd.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_kfd.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_kms.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_legacy_crtc.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_legacy_encoders.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_legacy_tv.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_mn.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_mode.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_object.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_object.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_pm.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_prime.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_reg.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_ring.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_sa.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_semaphore.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_sync.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_test.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_trace.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_trace_points.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_ttm.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_ucode.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_ucode.h log diff annotate
src/sys/dev/pci/drm/radeon/radeon_uvd.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_vce.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_vm.c log diff annotate
src/sys/dev/pci/drm/radeon/rs100d.h log diff annotate
src/sys/dev/pci/drm/radeon/rs400.c log diff annotate
src/sys/dev/pci/drm/radeon/rs400d.h log diff annotate
src/sys/dev/pci/drm/radeon/rs600.c log diff annotate
src/sys/dev/pci/drm/radeon/rs600d.h log diff annotate
src/sys/dev/pci/drm/radeon/rs690.c log diff annotate
src/sys/dev/pci/drm/radeon/rs690d.h log diff annotate
src/sys/dev/pci/drm/radeon/rs780_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/rs780_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/rs780d.h log diff annotate
src/sys/dev/pci/drm/radeon/rv200d.h log diff annotate
src/sys/dev/pci/drm/radeon/rv250d.h log diff annotate
src/sys/dev/pci/drm/radeon/rv350d.h log diff annotate
src/sys/dev/pci/drm/radeon/rv515.c log diff annotate
src/sys/dev/pci/drm/radeon/rv515d.h log diff annotate
src/sys/dev/pci/drm/radeon/rv6xx_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/rv6xx_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/rv6xxd.h log diff annotate
src/sys/dev/pci/drm/radeon/rv730_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/rv730d.h log diff annotate
src/sys/dev/pci/drm/radeon/rv740_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/rv740d.h log diff annotate
src/sys/dev/pci/drm/radeon/rv770.c log diff annotate
src/sys/dev/pci/drm/radeon/rv770_dma.c log diff annotate
src/sys/dev/pci/drm/radeon/rv770_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/rv770_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/rv770_smc.c log diff annotate
src/sys/dev/pci/drm/radeon/rv770_smc.h log diff annotate
src/sys/dev/pci/drm/radeon/rv770d.h log diff annotate
src/sys/dev/pci/drm/radeon/si.c log diff annotate
src/sys/dev/pci/drm/radeon/si_blit_shaders.c log diff annotate
src/sys/dev/pci/drm/radeon/si_blit_shaders.h log diff annotate
src/sys/dev/pci/drm/radeon/si_dma.c log diff annotate
src/sys/dev/pci/drm/radeon/si_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/si_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/si_reg.h log diff annotate
src/sys/dev/pci/drm/radeon/si_smc.c log diff annotate
src/sys/dev/pci/drm/radeon/sid.h log diff annotate
src/sys/dev/pci/drm/radeon/sislands_smc.h log diff annotate
src/sys/dev/pci/drm/radeon/smu7.h log diff annotate
src/sys/dev/pci/drm/radeon/smu7_discrete.h log diff annotate
src/sys/dev/pci/drm/radeon/smu7_fusion.h log diff annotate
src/sys/dev/pci/drm/radeon/sumo_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/sumo_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/sumo_smc.c log diff annotate
src/sys/dev/pci/drm/radeon/sumod.h log diff annotate
src/sys/dev/pci/drm/radeon/trinity_dpm.c log diff annotate
src/sys/dev/pci/drm/radeon/trinity_dpm.h log diff annotate
src/sys/dev/pci/drm/radeon/trinity_smc.c log diff annotate
src/sys/dev/pci/drm/radeon/trinityd.h log diff annotate
src/sys/dev/pci/drm/radeon/uvd_v1_0.c log diff annotate
src/sys/dev/pci/drm/radeon/uvd_v2_2.c log diff annotate
src/sys/dev/pci/drm/radeon/uvd_v3_1.c log diff annotate
src/sys/dev/pci/drm/radeon/uvd_v4_2.c log diff annotate
src/sys/dev/pci/drm/radeon/vce_v1_0.c log diff annotate
src/sys/dev/pci/drm/radeon/vce_v2_0.c log diff annotate
src/sys/dev/pci/drm/radeon/reg_srcs/cayman log diff annotate
src/sys/dev/pci/drm/radeon/reg_srcs/evergreen log diff annotate
src/sys/dev/pci/drm/ttm/ttm_agp_backend.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_bo.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_bo_api.h log diff annotate
src/sys/dev/pci/drm/ttm/ttm_bo_driver.h log diff annotate
src/sys/dev/pci/drm/ttm/ttm_bo_manager.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_bo_util.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_bo_vm.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_execbuf_util.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_execbuf_util.h log diff annotate
src/sys/dev/pci/drm/ttm/Attic/ttm_lock.c log diff annotate
src/sys/dev/pci/drm/ttm/Attic/ttm_lock.h log diff annotate
src/sys/dev/pci/drm/ttm/ttm_memory.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_memory.h log diff annotate
src/sys/dev/pci/drm/ttm/Attic/ttm_module.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_module.h log diff annotate
message update ttm and radeondrm(4) to Linux 4.4.129

Compared to the previous Linux 3.8 based port this adds support for
KAVERI/KABINI/MULLINS APUs and OLAND/BONAIRE/HAINAN/HAWAII GPUs.

Thanks to the OpenBSD Foundation for sponsoring this work.

date 2018-04-25T01:27:47Z
author jsg
files src/sys/dev/pci/drm/ttm/Attic/ttm_object.c log diff annotate
src/sys/dev/pci/drm/ttm/Attic/ttm_object.h log diff annotate
src/sys/dev/pci/drm/ttm/ttm_page_alloc.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_page_alloc.h log diff annotate
src/sys/dev/pci/drm/ttm/ttm_page_alloc_dma.c log diff annotate
src/sys/dev/pci/drm/ttm/ttm_placement.h log diff annotate
src/sys/dev/pci/drm/ttm/ttm_tt.c log diff annotate
message update ttm and radeondrm(4) to Linux 4.4.129

Compared to the previous Linux 3.8 based port this adds support for
KAVERI/KABINI/MULLINS APUs and OLAND/BONAIRE/HAINAN/HAWAII GPUs.

Thanks to the OpenBSD Foundation for sponsoring this work.

date 2018-04-25T10:29:16Z
author mpi
files src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/kern_sysctl.c log diff annotate
src/sys/sys/file.h log diff annotate
message Introduce fd_iterfile() a new helper function to iterate over `filehead'.

This turns `filehead' into a local variable, that will make it easier
to protect it.

ok visa@

date 2018-04-25T10:29:17Z
author mpi
files src/sys/sys/filedesc.h log diff annotate
message Introduce fd_iterfile() a new helper function to iterate over `filehead'.

This turns `filehead' into a local variable, that will make it easier
to protect it.

ok visa@

date 2018-04-25T10:30:41Z
author mpi
files src/sys/kern/kern_lock.c log diff annotate
message Teach mtx_enter_try(9) to avoid deadlocks after a panic.

ok deraadt@

date 2018-04-25T11:15:58Z
author dlg
files src/sys/lib/libkern/getsn.c log diff annotate
src/sys/lib/libkern/libkern.h log diff annotate
message use size_t for the size of buffers and strings, not int.

sprinkle some bounded attributes while here.

ok deraadt@

date 2018-04-25T15:53:08Z
author visa
files src/sys/nfs/nfs_vnops.c log diff annotate
message Fix use of unreferenced vnode by decrementing the vnode's reference
count after unlocking. To improve consistency, use vput() instead of
VOP_UNLOCK() + vrele().

OK guenther@, mpi@, tedu@

date 2018-04-25T16:05:58Z
author jca
files src/sys/net/if.h log diff annotate
message Make this header standalone #if __BSD_VISIBLE, by including needed headers

Puts us in line with Free/NetBSD and Linux and will get us rid of
pointless patches in the ports tree. ok guenther@ deraadt@

date 2018-04-25T16:22:19Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): clarify whose FPU state we are saving (change in a comment)

no code change

date 2018-04-25T17:35:04Z
author guenther
files src/sys/arch/amd64/amd64/trap.c log diff annotate
src/sys/arch/amd64/amd64/vector.S log diff annotate
message Simplify the handling of faults in iretq and xrstor by doing the
handling purely in ASM instead of fixing up the state to call into
C...all in order to return back into a chunk of custom ASM which
was longer than the direct solution!

ok mlarkin@