OpenBSD cvs log

created 2020-11-21T19:42:57Z
begin 2020-07-12T00:00:00Z
end 2020-07-13T00:00:00Z
path src/sys
commits 8

date 2020-07-12T00:36:01Z
author krw
files src/sys/dev/ic/nvme.c log diff annotate
src/sys/dev/ic/nvmevar.h log diff annotate
message False alarm, back it goes. Managed to mangle my kernel build directory
somehow. Cleaning it out and config/compile from scratch and all seems
well.

date 2020-07-12T00:48:59Z
author krw
files src/sys/dev/ic/ami.c log diff annotate
message Minor code shuffle to close ranks of sc_link initializations.

date 2020-07-12T04:58:10Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message it's not an error if the API doesnt support reading sfp/qsfp stuff.

it's just not supported. the manpage says why.

ok sthen@ deraadt@

date 2020-07-12T05:21:34Z
author dlg
files src/sys/dev/pci/if_em.c log diff annotate
message add kstat support for reading hardware counters.

this replaces the existing counters implementation, which just
collected the stats in the softc, but didn't really provide a way
for a person to read them.

em counters get cleared on read. a lot of them are 32bit, so to
avoid overflow the counters are polled and the newly accumulated
values are added to some 64 bit counters in software.

tested by hrvoje popovski and SAITOH Masanobu
ok mpi@

date 2020-07-12T11:28:55Z
author krw
files src/sys/dev/pci/arc.c log diff annotate
message Eliminate pointless 'child' variable and just cast the config_found() result to
struct scsibus_soft * like everybody else.

date 2020-07-12T18:54:23Z
author kn
files src/sys/net/if_wg.c log diff annotate
message Fix build without pf

date 2020-07-12T20:32:20Z
author naddy
files src/sys/arch/macppc/macppc/clock.c log diff annotate
src/sys/arch/powerpc64/powerpc64/clock.c log diff annotate
message The PowerPC/Power ISA Time Base is a 64-bit register, so we can use the
full lower 32 bits for the timecounter. ok kettenis@

date 2020-07-12T20:36:37Z
author naddy
files src/sys/arch/arm/cortex/agtimer.c log diff annotate
src/sys/arch/arm/cortex/amptimer.c log diff annotate
src/sys/arch/armv7/omap/gptimer.c log diff annotate
message Use the full 32 bits for the miscellaneous armv7 timecounters.
Checked against
* ARM Architecture Reference Manual (agtimer)
* ARM Cortex-A9 MPCore Technical Reference Manual (amptimer)
* OMAP35x Applications Processor Technical Reference Manual (gptimer)

Artturi Alm had independently suggested this in the past.