OpenBSD cvs log

created 2020-05-02T17:51:58Z
begin 2020-04-28T00:00:00Z
end 2020-04-29T00:00:00Z
path src/sys
commits 8

date 2020-04-28T06:58:09Z
author stsp
files src/sys/dev/ic/athn.c log diff annotate
src/sys/dev/ic/athnreg.h log diff annotate
message Configure Tx interrupt mitigation thresholds on athn(4) devices.
ok kevlo@ mpi@

date 2020-04-28T08:29:40Z
author mpi
files src/sys/sys/proc.h log diff annotate
message Document that thread credentials are owned by curproc.

From Vitaliy Makkoveev, ok visa@

date 2020-04-28T12:24:20Z
author kettenis
files src/sys/arch/sparc64/sparc64/clock.c log diff annotate
src/sys/arch/sparc64/sparc64/machdep.c log diff annotate
message Use the same inittodr()/resettodr() implementation as on arm64/armv7
and move it to the end of machdep.o.

ok mpi@

date 2020-04-28T12:58:27Z
author kettenis
files src/sys/arch/amd64/amd64/machdep.c log diff annotate
message Use the same inittodr()/resettodr() implementation as on arm64/armv7/sparc64
and move it to the end of machdep.c. Rework the actual implementation
for te MC14818 compatible RTC into something that can be used as a todr_handle.

ok mpi@

date 2020-04-28T12:58:28Z
author kettenis
files src/sys/arch/amd64/include/cpu.h log diff annotate
src/sys/arch/amd64/isa/clock.c log diff annotate
message Use the same inittodr()/resettodr() implementation as on arm64/armv7/sparc64
and move it to the end of machdep.c. Rework the actual implementation
for te MC14818 compatible RTC into something that can be used as a todr_handle.

ok mpi@

date 2020-04-28T17:17:08Z
author patrick
files src/sys/dev/fdt/imxccm_clocks.h log diff annotate
message Recognize a few more clocks referenced by the i.MX8MM and i.MX8MQ
imxesdhc(4) device tree nodes.

date 2020-04-28T17:22:53Z
author patrick
files src/sys/dev/fdt/imxesdhc.c log diff annotate
message Enable all clocks referenced by the imxesdhc(4) device tree node. Usually
those are already on, since on those machines we mostly boot from SD/MMC
and U-Boot prepares them for us. On machines with a WiFi on imxesdhc(4),
U-Boot isn't necessarily configured to do so. Enabling the clocks is the
right thing to do anyway.

ok kettenis@

date 2020-04-28T19:26:45Z
author patrick
files src/sys/dev/fdt/imxccm.c log diff annotate
message Calculate divisor for i.MX8M composite clocks. So far we have set
fixed values for the divisors, but the imxesdhc(4) nodes for
SD Cards usually have an assigned clock rate of 200 MHz instead of
400 MHz. So instead of just clearing the divisor, we should set it
according to what is asked. This also allows us to add the clock
for the second imxesdhc(4) node to the list, which I have previously
skipped, since otherwise the controller would have been clocked too
high.

ok kettenis@