OpenBSD cvs log

created 2019-02-01T12:19:58Z
begin 2018-02-24T00:00:00Z
end 2018-02-25T00:00:00Z
path src/sys
commits 11

date 2018-02-24T07:20:04Z
author dlg
files src/sys/net/if_gre.c log diff annotate
src/sys/net/if_tun.c log diff annotate
message when comparing nvgre entries, compare a with b, not a with itself.

date 2018-02-24T09:45:10Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
src/sys/arch/arm64/dev/mainbus.c log diff annotate
message Make ncpusfound count the available processors even if they don't attach.

ok patrick@

date 2018-02-24T11:06:59Z
author kettenis
files src/sys/dev/fdt/bcm2835_temp.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
message Add bcmtemp(4), a driver for the temperature sensor on the Raspberry Pi.

date 2018-02-24T11:07:40Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
message Enable bcmtemp(4).

date 2018-02-24T11:42:30Z
author visa
files src/sys/arch/loongson/dev/bonito.c log diff annotate
message Declare ci_ipl volatile to prevent the compiler from optimizing
or reordering accesses to the variable. Assume that the assembler
preserves the correct sequence of instructions, which allows the
removal of the explicit noreorder/reorder toggles from the C code.

With ci_ipl being volatile, drop mips_sync() calls that follow
the accesses of the variable. The sync is redundant as a compiler
barrier. In addition, the MIPS64 CPU designs should not need the
sync for pipeline or write buffer control. According to miod@,
the use of the instruction is a carryover from code targeting
early MIPS designs that lack tight integration with the cache
and write buffer.

Discussed with and testing help from miod@.
Tested on CN5020, CN6120, CN7130, CN7360, Loongson 2F and 3A1000,
R4400, R8000, R10000 and R16000.

date 2018-02-24T11:42:31Z
author visa
files src/sys/arch/loongson/loongson/generic2e_machdep.c log diff annotate
src/sys/arch/loongson/loongson/isa_machdep.c log diff annotate
src/sys/arch/loongson/loongson/loongson3_intr.c log diff annotate
src/sys/arch/loongson/loongson/yeeloong_machdep.c log diff annotate
src/sys/arch/mips64/include/cpu.h log diff annotate
src/sys/arch/mips64/mips64/interrupt.c log diff annotate
src/sys/arch/octeon/dev/octcit.c log diff annotate
src/sys/arch/octeon/dev/octciu.c log diff annotate
src/sys/arch/sgi/localbus/int.c log diff annotate
src/sys/arch/sgi/localbus/macebus.c log diff annotate
src/sys/arch/sgi/sgi/intr_template.c log diff annotate
src/sys/arch/sgi/sgi/ip27_machdep.c log diff annotate
src/sys/arch/sgi/xbow/xheart.c log diff annotate
message Declare ci_ipl volatile to prevent the compiler from optimizing
or reordering accesses to the variable. Assume that the assembler
preserves the correct sequence of instructions, which allows the
removal of the explicit noreorder/reorder toggles from the C code.

With ci_ipl being volatile, drop mips_sync() calls that follow
the accesses of the variable. The sync is redundant as a compiler
barrier. In addition, the MIPS64 CPU designs should not need the
sync for pipeline or write buffer control. According to miod@,
the use of the instruction is a carryover from code targeting
early MIPS designs that lack tight integration with the cache
and write buffer.

Discussed with and testing help from miod@.
Tested on CN5020, CN6120, CN7130, CN7360, Loongson 2F and 3A1000,
R4400, R8000, R10000 and R16000.

date 2018-02-24T12:46:45Z
author jsg
files src/sys/arch/arm64/dev/bcm2836_intr.c log diff annotate
message Enable interrupts while running interrupt handlers like we do on
agintc(4) and ampintc(4).

ok kettenis@ patrick@

date 2018-02-24T13:23:21Z
author kettenis
files src/sys/dev/fdt/files.fdt log diff annotate
message fix pasto

date 2018-02-24T13:46:22Z
author kettenis
files src/sys/dev/fdt/bcm2835_rng.c log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
message Add bcmrng(4), a driver for the random number generator on the Raspberry Pi.

date 2018-02-24T13:46:57Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
message Enable bcmrng(4).

date 2018-02-24T22:28:08Z
author kettenis
files src/sys/dev/fdt/if_dwge_fdt.c log diff annotate
message RK3328 support.