OpenBSD cvs log

created 2022-03-13T03:25:45Z
begin 2022-03-11T00:00:00Z
end 2022-03-12T00:00:00Z
path src/sys
commits 14

date 2022-03-11T06:45:22Z
author anton
files src/sys/dev/acpi/pluart_acpi.c log diff annotate
src/sys/dev/fdt/pluart_fdt.c log diff annotate
src/sys/dev/ic/pluart.c log diff annotate
src/sys/dev/ic/pluartvar.h log diff annotate
message Enable PL011 UART FIF0 support in pluart(4). The FIFO depth depends on
the revision and ranges from 16 to 32 bytes.

Special treatment of Server Base System Architecture (SBSA) generic UART
devices is required as presence of the interrupt trigger level register
is not guaranteed. Therefore treat such devices of having a 1-byte FIFO.

With help from kettenis@ and ok visa@

date 2022-03-11T08:28:40Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message fix previous

date 2022-03-11T08:29:21Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2022-03-11T10:05:38Z
author claudio
files src/sys/kern/kern_sig.c log diff annotate
message Revert part of rev 1.293. Using cursig() to deliver masked signals
to the debugger can cause a loop between the debugger and cursig()
if the signal is masked. cursig() has no way to know which signal
was already delivered to the debugger and so it delivers the same
signal over and over again.

Instead handle traps to masked signals directly in trapsignal. This
is what rev 1.293 was mostly about. If SIGTRAP was masked by the
process breakpoints no longer worked since the signal deliver to
the debugger did not happen. Doing this case in trapsignal solves
both the problem with the loop and the delivery of masked traps.

Problem reported and fix tested by matthieu@
OK kettenis@ mpi@

date 2022-03-11T12:14:17Z
author jmatthew
files src/sys/dev/pci/if_aq_pci.c log diff annotate
message Fix receive filter handling. Update the unicast mac address in the filter
when bringing the interface up, so it's possible to change it with
ifconfig. Rearrange multicast handling so IFF_ALLMULTI is set correctly
and multicast ranges don't trigger promisc mode. Perhaps most importantly,
set RPF_MCAST_FILTER_EN to 0 when we don't want all multicast traffic -
we use mac address filters to receive specific multicast groups, and the
multicast filter is programmed to accept all multicast traffic.

based on a diff from Brad
ok dlg@

date 2022-03-11T18:00:45Z
author mpi
files src/sys/dev/pci/aac_pci.c log diff annotate
src/sys/dev/pci/adv_pci.c log diff annotate
src/sys/dev/pci/adw_pci.c log diff annotate
src/sys/dev/pci/agp.c log diff annotate
src/sys/dev/pci/agp_ali.c log diff annotate
src/sys/dev/pci/agp_amd.c log diff annotate
src/sys/dev/pci/agp_i810.c log diff annotate
src/sys/dev/pci/agp_intel.c log diff annotate
src/sys/dev/pci/agp_sis.c log diff annotate
src/sys/dev/pci/agp_via.c log diff annotate
src/sys/dev/pci/ahc_pci.c log diff annotate
src/sys/dev/pci/ahci_pci.c log diff annotate
src/sys/dev/pci/ahd_pci.c log diff annotate
src/sys/dev/pci/alipm.c log diff annotate
src/sys/dev/pci/amas.c log diff annotate
src/sys/dev/pci/amdiic.c log diff annotate
src/sys/dev/pci/amdpcib.c log diff annotate
src/sys/dev/pci/amdpm.c log diff annotate
src/sys/dev/pci/ami_pci.c log diff annotate
src/sys/dev/pci/arc.c log diff annotate
src/sys/dev/pci/auacer.c log diff annotate
src/sys/dev/pci/auglx.c log diff annotate
src/sys/dev/pci/auich.c log diff annotate
src/sys/dev/pci/auixp.c log diff annotate
src/sys/dev/pci/autri.c log diff annotate
src/sys/dev/pci/auvia.c log diff annotate
src/sys/dev/pci/azalia.c log diff annotate
src/sys/dev/pci/berkwdt.c log diff annotate
src/sys/dev/pci/cac_pci.c log diff annotate
src/sys/dev/pci/ccp_pci.c log diff annotate
src/sys/dev/pci/ciss_pci.c log diff annotate
src/sys/dev/pci/cmpci.c log diff annotate
src/sys/dev/pci/cs4280.c log diff annotate
src/sys/dev/pci/cs4281.c log diff annotate
src/sys/dev/pci/cy_pci.c log diff annotate
src/sys/dev/pci/cz.c log diff annotate
src/sys/dev/pci/dwiic_pci.c log diff annotate
src/sys/dev/pci/eap.c log diff annotate
src/sys/dev/pci/ehci_pci.c log diff annotate
src/sys/dev/pci/emuxki.c log diff annotate
src/sys/dev/pci/envy.c log diff annotate
src/sys/dev/pci/esa.c log diff annotate
src/sys/dev/pci/eso.c log diff annotate
src/sys/dev/pci/fms.c log diff annotate
src/sys/dev/pci/gcu.c log diff annotate
src/sys/dev/pci/gdt_pci.c log diff annotate
src/sys/dev/pci/glxpcib.c log diff annotate
src/sys/dev/pci/i82365_pci.c log diff annotate
src/sys/dev/pci/ichiic.c log diff annotate
src/sys/dev/pci/ichwdt.c log diff annotate
src/sys/dev/pci/if_acx_pci.c log diff annotate
src/sys/dev/pci/if_age.c log diff annotate
src/sys/dev/pci/if_alc.c log diff annotate
src/sys/dev/pci/if_ale.c log diff annotate
src/sys/dev/pci/if_an_pci.c log diff annotate
src/sys/dev/pci/if_ath_pci.c log diff annotate
src/sys/dev/pci/if_athn_pci.c log diff annotate
src/sys/dev/pci/if_atw_pci.c log diff annotate
src/sys/dev/pci/if_bce.c log diff annotate
src/sys/dev/pci/if_bge.c log diff annotate
src/sys/dev/pci/if_bnx.c log diff annotate
src/sys/dev/pci/if_bnxt.c log diff annotate
src/sys/dev/pci/if_bwfm_pci.c log diff annotate
src/sys/dev/pci/if_bwi_pci.c log diff annotate
src/sys/dev/pci/if_cas.c log diff annotate
src/sys/dev/pci/if_dc_pci.c log diff annotate
src/sys/dev/pci/if_de.c log diff annotate
src/sys/dev/pci/if_devar.h log diff annotate
src/sys/dev/pci/if_em.c log diff annotate
src/sys/dev/pci/if_ep_pci.c log diff annotate
src/sys/dev/pci/if_epic_pci.c log diff annotate
src/sys/dev/pci/if_et.c log diff annotate
src/sys/dev/pci/if_fxp_pci.c log diff annotate
src/sys/dev/pci/if_gem_pci.c log diff annotate
src/sys/dev/pci/if_hme_pci.c log diff annotate
src/sys/dev/pci/if_iavf.c log diff annotate
src/sys/dev/pci/if_ipw.c log diff annotate
src/sys/dev/pci/if_iwi.c log diff annotate
src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwn.c log diff annotate
src/sys/dev/pci/if_ix.c log diff annotate
src/sys/dev/pci/if_ixgb.c log diff annotate
src/sys/dev/pci/if_ixl.c log diff annotate
src/sys/dev/pci/if_jme.c log diff annotate
src/sys/dev/pci/if_lge.c log diff annotate
src/sys/dev/pci/if_lii.c log diff annotate
src/sys/dev/pci/if_malo_pci.c log diff annotate
src/sys/dev/pci/if_mcx.c log diff annotate
message Constify struct cfattach.

date 2022-03-11T18:00:46Z
author mpi
files src/sys/dev/pci/if_msk.c log diff annotate
message Constify struct cfattach.

date 2022-03-11T18:00:48Z
author mpi
files src/sys/dev/pci/if_mtd_pci.c log diff annotate
src/sys/dev/pci/if_myx.c log diff annotate
src/sys/dev/pci/if_ne_pci.c log diff annotate
src/sys/dev/pci/if_nep.c log diff annotate
src/sys/dev/pci/if_nfe.c log diff annotate
src/sys/dev/pci/if_nge.c log diff annotate
src/sys/dev/pci/if_nxe.c log diff annotate
src/sys/dev/pci/if_oce.c log diff annotate
src/sys/dev/pci/if_pcn.c log diff annotate
src/sys/dev/pci/if_pgt_pci.c log diff annotate
src/sys/dev/pci/if_ral_pci.c log diff annotate
src/sys/dev/pci/if_re_pci.c log diff annotate
src/sys/dev/pci/if_rge.c log diff annotate
src/sys/dev/pci/if_rl_pci.c log diff annotate
src/sys/dev/pci/if_rtw_pci.c log diff annotate
src/sys/dev/pci/if_sf_pci.c log diff annotate
src/sys/dev/pci/if_sis.c log diff annotate
src/sys/dev/pci/if_sk.c log diff annotate
src/sys/dev/pci/if_ste.c log diff annotate
src/sys/dev/pci/if_stge.c log diff annotate
src/sys/dev/pci/if_tht.c log diff annotate
message Constify struct cfattach.

date 2022-03-11T18:00:50Z
author mpi
files src/sys/dev/pci/if_ti_pci.c log diff annotate
src/sys/dev/pci/if_tl.c log diff annotate
src/sys/dev/pci/if_txp.c log diff annotate
src/sys/dev/pci/if_vge.c log diff annotate
src/sys/dev/pci/if_vic.c log diff annotate
src/sys/dev/pci/if_vmx.c log diff annotate
src/sys/dev/pci/if_vr.c log diff annotate
src/sys/dev/pci/if_vte.c log diff annotate
src/sys/dev/pci/if_wb.c log diff annotate
src/sys/dev/pci/if_wi_pci.c log diff annotate
src/sys/dev/pci/if_wpi.c log diff annotate
src/sys/dev/pci/if_xge.c log diff annotate
src/sys/dev/pci/if_xl_pci.c log diff annotate
src/sys/dev/pci/iha_pci.c log diff annotate
src/sys/dev/pci/ips.c log diff annotate
src/sys/dev/pci/itherm.c log diff annotate
src/sys/dev/pci/jmb.c log diff annotate
src/sys/dev/pci/kate.c log diff annotate
src/sys/dev/pci/km.c log diff annotate
src/sys/dev/pci/ksmn.c log diff annotate
src/sys/dev/pci/maestro.c log diff annotate
src/sys/dev/pci/mbg.c log diff annotate
src/sys/dev/pci/mfi_pci.c log diff annotate
src/sys/dev/pci/mfii.c log diff annotate
src/sys/dev/pci/mmuagp.c log diff annotate
src/sys/dev/pci/mpi_pci.c log diff annotate
src/sys/dev/pci/mpii.c log diff annotate
message Constify struct cfattach.

date 2022-03-11T18:00:51Z
author mpi
files src/sys/dev/pci/neo.c log diff annotate
src/sys/dev/pci/nviic.c log diff annotate
src/sys/dev/pci/nvme_pci.c log diff annotate
src/sys/dev/pci/ohci_pci.c log diff annotate
src/sys/dev/pci/pccbb.c log diff annotate
src/sys/dev/pci/pchtemp.c log diff annotate
src/sys/dev/pci/pci.c log diff annotate
src/sys/dev/pci/pciide.c log diff annotate
src/sys/dev/pci/pcscp.c log diff annotate
src/sys/dev/pci/piixpm.c log diff annotate
src/sys/dev/pci/ppb.c log diff annotate
src/sys/dev/pci/puc.c log diff annotate
src/sys/dev/pci/pwdog.c log diff annotate
src/sys/dev/pci/qla_pci.c log diff annotate
src/sys/dev/pci/qle.c log diff annotate
src/sys/dev/pci/qlw_pci.c log diff annotate
src/sys/dev/pci/rtsx_pci.c log diff annotate
src/sys/dev/pci/sdhc_pci.c log diff annotate
src/sys/dev/pci/sili_pci.c log diff annotate
src/sys/dev/pci/siop_pci.c log diff annotate
src/sys/dev/pci/sti_pci.c log diff annotate
src/sys/dev/pci/sv.c log diff annotate
message Constify struct cfattach.

date 2022-03-11T18:00:52Z
author mpi
files src/sys/dev/pci/tcpcib.c log diff annotate
src/sys/dev/pci/tga.c log diff annotate
src/sys/dev/pci/twe_pci.c log diff annotate
src/sys/dev/pci/uhci_pci.c log diff annotate
src/sys/dev/pci/vga_pci.c log diff annotate
src/sys/dev/pci/viapm.c log diff annotate
src/sys/dev/pci/virtio_pci.c log diff annotate
src/sys/dev/pci/vmwpvs.c log diff annotate
src/sys/dev/pci/wdt.c log diff annotate
src/sys/dev/pci/xhci_pci.c log diff annotate
src/sys/dev/pci/xspd.c log diff annotate
src/sys/dev/pci/yds.c log diff annotate
message Constify struct cfattach.

date 2022-03-11T18:00:53Z
author mpi
files src/sys/dev/pci/bktr/bktr_os.c log diff annotate
src/sys/dev/pci/drm/drm_drv.c log diff annotate
src/sys/dev/pci/drm/amd/amdgpu/amdgpu_kms.c log diff annotate
src/sys/dev/pci/drm/i915/i915_drv.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_kms.c log diff annotate
message Constify struct cfattach.

date 2022-03-11T19:02:15Z
author bluhm
files src/sys/sys/atomic.h log diff annotate
message Declare membar_datadep_consumer() inline to fix build on sparc64.

date 2022-03-11T19:24:19Z
author kettenis
files src/sys/uvm/uvm_extern.h log diff annotate
src/sys/uvm/uvm_glue.c log diff annotate
src/sys/uvm/uvm_io.c log diff annotate
src/sys/uvm/uvm_map.c log diff annotate
src/sys/uvm/uvm_map.h log diff annotate
message Hold a read lock on the map while copying out data during a sysctl(2) call
to prevent another thread from unmapping the memory and triggering
an assertion or even corrupting random physical memory pages.

This fix is similar to the change in uvm_glue.c rev. 1.74. However in this
case we need to be careful since some sysctl(2) calls look at the map of
the current process. In those cases we must not attempt to lock the map
again.

ok mpi@

Should fix:
Reported-by: [email protected]