OpenBSD cvs log

created 2019-01-12T16:02:26Z
begin 2018-12-31T00:00:00Z
end 2019-01-01T00:00:00Z
path src/sys
commits 11

date 2018-12-31T11:44:57Z
author claudio
files src/sys/arch/sparc64/stand/Makefile.inc log diff annotate
src/sys/arch/sparc64/stand/ofwboot/Locore.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/Makefile log diff annotate
src/sys/arch/sparc64/stand/ofwboot/boot.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/disk.h log diff annotate
src/sys/arch/sparc64/stand/ofwboot/diskprobe.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/elf64_exec.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/net.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/ofdev.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/ofdev.h log diff annotate
src/sys/arch/sparc64/stand/ofwboot/softraid_sparc64.c log diff annotate
src/sys/arch/sparc64/stand/ofwboot/vers.c log diff annotate
message Cleanup bootloader code. Compile with -ffreestanding and add ffs.S as a
build dependency which is required because of that. Add various include
files and some prototypes and change some code so that clang does not issue
warnings anymore.
OK kettenis@ deraadt@

date 2018-12-31T12:42:07Z
author visa
files src/sys/arch/mips64/mips64/fp_emulate.c log diff annotate
message Set floating point condition code even if the result of an emulated
floating point comparison is unordered. The setting should be skipped
only if an invalid operation exception is taken.

This fixes incorrect emulated compare behaviour with NaN values.

NaN issue on octeon reported by afresh1@; OK miod@

date 2018-12-31T13:19:24Z
author kettenis
files src/sys/dev/fdt/rkclock.c log diff annotate
src/sys/dev/fdt/rkclock_clocks.h log diff annotate
message Revamp the way we handle clocks on the RK3328. Instead of having code for
each and every clock, use a data structure for each clock and generic code
that handles muxing and clock division based on that data structure.
This should reduce the amount of code and hopefully make the process of
adding clocks less error prone as it is easy to check the data structures
against the SoC documentation.

This approach will be used for the other Rockchip SoCs in the future as well.

date 2018-12-31T17:12:34Z
author kettenis
files src/sys/dev/audio.c log diff annotate
message Use the return value of task_add(9) to determine whether the task was
already scheduled and whether we have to unref the device ourselves.

ok tedu@, ratchov@

date 2018-12-31T18:00:53Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Avoid calling setperf() with a negative level.
Avoid a potential use of an unitilized variable to pick an operating point.
Remove an unused (but set) variable.

ok patrick@

date 2018-12-31T18:09:36Z
author kettenis
files src/sys/dev/fdt/rkclock.c log diff annotate
src/sys/dev/fdt/rkclock_clocks.h log diff annotate
message Implement fractional PLL frequencies for RK3328 and use them for APLL and
GPLL like the Linux kernel does. Use NPLL for the CPU clock such that
adjusting the CPU frequency doesn't change the clock of other devices
anymore. Implement the last clocks that are used in the assigned-clocks
property of clock controller.

Don't enable the assigned-clocks processing yet as it results in a sub-optimal
clock for for the SD and eMMC controllers. This clock handling in dwmcc(4)
needs some further work before we can enable this.

date 2018-12-31T18:54:00Z
author cheloha
files src/sys/kern/kern_time.c log diff annotate
message nanosleep: loop tsleep(9) to ensure coverage of the full timeout range.

tsleep(9)'s maximum timeout shrinks as HZ grows, so this ensures we do
not return early from longer timeouts on alpha or on custom kernels.
POSIX says you cannot return early unless a signal is delivered, so
this makes us more compliant with the standard.

While here, remove the 100 million second upper bound. It is an
artifact from itimerfix() and it serves no discernible purpose.

ok tedu@ visa@

date 2018-12-31T21:17:45Z
author kettenis
files src/sys/dev/fdt/rkclock.c log diff annotate
src/sys/dev/fdt/rkclock_clocks.h log diff annotate
message Use data structures for the RK3399 as well.

date 2018-12-31T21:24:37Z
author kettenis
files src/sys/dev/fdt/dwmmc.c log diff annotate
message Force base clock to 50 MHz on Rockchip SoCs. This increases the chance that
we end up with an optimal clock frequency for SD and eMMC.

ok patrick@

date 2018-12-31T21:53:52Z
author kettenis
files src/sys/dev/fdt/rkclock.c log diff annotate
message Set assigned-clocks on RK3328.

date 2018-12-31T21:59:44Z
author kettenis
files src/sys/dev/fdt/rkiic.c log diff annotate
message Set assigned-clocks.