OpenBSD cvs log

created 2020-03-28T21:15:30Z
begin 2020-03-21T00:00:00Z
end 2020-03-22T00:00:00Z
path src/sys
commits 9

date 2020-03-21T08:58:50Z
author mpi
files src/sys/kern/kern_ktrace.c log diff annotate
message Stop tracing if vget(9) fails.

Make sure to release the last reference of the vnode after all
other traced processes have given up on it.

CID 1453020 Unchecked return value.

Inputs from guenther@, ok visa@

date 2020-03-21T09:41:36Z
author jsg
files src/sys/dev/pci/drm/amd/amdgpu/amdgpu_atombios.c log diff annotate
message drm/amd/display: remove duplicated assignment to grph_obj_type

From Colin Ian King
bef7177cefad180b9776ed49290d42bfb873da1e in linux 4.19.y/4.19.111
d785476c608c621b345dd9396e8b21e90375cb0e in mainline linux

date 2020-03-21T12:08:31Z
author patrick
files src/sys/dev/usb/ehci.c log diff annotate
src/sys/dev/usb/ohci.c log diff annotate
src/sys/dev/usb/uhci.c log diff annotate
src/sys/dev/usb/usb_mem.c log diff annotate
src/sys/dev/usb/usb_mem.h log diff annotate
src/sys/dev/usb/usbdi.c log diff annotate
src/sys/dev/usb/usbdivar.h log diff annotate
src/sys/dev/usb/dwc2/dwc2.c log diff annotate
src/sys/dev/usb/dwc2/dwc2_hcd.c log diff annotate
src/sys/dev/usb/dwc2/dwc2_hcdddma.c log diff annotate
message Instead of passing the flags as part of a struct that's supposed to be
filled by the callee, change the usb_allocmem() API to take another
argument for the flags.

ok mpi@

date 2020-03-21T12:53:24Z
author patrick
files src/sys/dev/fdt/imxccm.c log diff annotate
src/sys/dev/fdt/imxccm_clocks.h log diff annotate
message Add clock support for i.MX8MM. The CCM is based on the i.MX8MQ version,
so we can re-use the same mechanisms. It's not the same though, which
means that some code is duplicated. There's some room for refactoring.
The PLLs, on the other hand, work quite differently. This allows most
of our supported peripherals to work, including clock frequency scaling.

Feedback from and ok kettenis@

date 2020-03-21T14:54:06Z
author otto
files src/sys/arch/i386/stand/boot/Makefile log diff annotate
src/sys/arch/i386/stand/boot/conf.c log diff annotate
src/sys/arch/i386/stand/cdboot/Makefile log diff annotate
src/sys/arch/i386/stand/cdboot/conf.c log diff annotate
src/sys/arch/i386/stand/pxeboot/Makefile log diff annotate
src/sys/arch/i386/stand/pxeboot/conf.c log diff annotate
message Teach i386 boot98) and friends about ffs2. fdboot(8) is the exception:
ffs2 support does not fit there. But the the kernel loaded by the
floppy ramdisk does support ffs2.

date 2020-03-21T17:37:09Z
author kettenis
files src/sys/dev/ofw/ofw_misc.c log diff annotate
message Fix crash when no device ports have been registered. Remove unused variable
while I'm there.

ok patrick@

date 2020-03-21T20:12:37Z
author krw
files src/sys/net/route.c log diff annotate
message r1.244 introduced rt_hash() with careful checks of src for NULL at
each dereference. r1.275 added a check at the top of the function,
with an immediate "return (-1)" if src == NULL. Thus making the
repeated checks in the body superfluous.

CID 1452932.

ok millert@ mpi@

date 2020-03-21T20:42:23Z
author krw
files src/sys/dev/ic/mfi.c log diff annotate
src/sys/dev/pci/mfii.c log diff annotate
message Simplify some goto'ing that jumps a single line or
does nothing at all.

The first one spotted as CID 1452976.

Reads good to millert@

ok mpi@

date 2020-03-21T22:45:18Z
author patrick
files src/sys/dev/ofw/ofw_misc.c log diff annotate
message The #pwm-cells attribute describes the amount of flags in addition
to the phandle, so adjust the check to be more inclusive.

ok kettenis@