OpenBSD cvs log

created 2020-02-15T21:22:59Z
begin 2020-02-10T00:00:00Z
end 2020-02-11T00:00:00Z
path src/sys
commits 3

date 2020-02-10T03:08:58Z
author jsg
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
src/sys/arch/i386/i386/cpu.c log diff annotate
message When attempting to disabe TSX avoid uninitialised var use for Intel cpus
with cpuid_level < 7.

Problem reported by Anthony Steinhauser.

date 2020-02-10T12:41:34Z
author patrick
files src/sys/dev/fdt/rkclock.c log diff annotate
src/sys/dev/fdt/rkclock_clocks.h log diff annotate
message Add support for the RK3399's VOP clocks to rkclock(4).

The main VOP DCLK clocks either have a normal divisor as a parent
or some fractional one. The clock referred in the device tree to
set the frequency on is the mux itself, which has no divisor. To
To be able to set the frequency, we need to allow setting it on the
parent anyway. Thus move the divisor mask check to a later point,
so even though we have no divisor, we can still tell the parent to
adjust itself.

ok kettenis@

date 2020-02-10T14:35:08Z
author patrick
files src/sys/dev/hid/hidmt.c log diff annotate
message When walking the HID descriptor, even though we filter for hid_input
we will get hid_collection and hid_endcollection items. Since hid_
endcollection apparently returns the usage of the previous item, it
was possible that we "see" two items for the same usage. Make sure
that we only accept hid_input items. Both hidms and hidkbd do some-
thing similar, fixes the Pinebook Pro's trackpad.

ok kettenis@