OpenBSD cvs log

created 2020-11-14T23:59:04Z
begin 2020-11-13T00:00:00Z
end 2020-11-14T00:00:00Z
path src/sys
commits 17

date 2020-11-13T05:32:08Z
author guenther
files src/sys/arch/amd64/amd64/vector.S log diff annotate
message Correct CVE number in comment

date 2020-11-13T10:14:52Z
author patrick
files src/sys/dev/i2c/pca9548.c log diff annotate
message Add support for the PCA9547 I2C mux to pcamux(4). In comparison to
the PCA954[68], this is a mux instead of a switch and can only have
one active channel at a time. On the bright side, we treat switches
like a mux, so only the bits have to be set a little bit differently.

ok kettenis@

date 2020-11-13T11:11:48Z
author mpi
files src/sys/uvm/uvm_amap.c log diff annotate
message Introduce amap_adjref_anons() an helper to reference count amaps.

Reduce code duplication, reduce differences with NetBSD and simplify
upcoming locking diff.

ok jmatthew@

date 2020-11-13T11:11:49Z
author mpi
files src/sys/uvm/uvm_amap.h log diff annotate
message Introduce amap_adjref_anons() an helper to reference count amaps.

Reduce code duplication, reduce differences with NetBSD and simplify
upcoming locking diff.

ok jmatthew@

date 2020-11-13T11:16:08Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Move the logic dealing with faults 1A & 1B to its own function.

Some minor documentation improvments and style nits but this should
not contain any functionnal change.

ok tb@

date 2020-11-13T12:40:06Z
author patrick
files src/sys/dev/fdt/imxiic.c log diff annotate
message Even though the registers are 16-bit wide, the upper 8 bits are always
reserved. It is fine to use byte-wide access on those registers, which
will be necessary to support VF610.

Tested on i.MX6 by kettenis@ and on i.MX8MQ by myself
ok kettenis@

date 2020-11-13T12:43:04Z
author patrick
files src/sys/dev/fdt/imxiic.c log diff annotate
message On VF610 the registers are a single byte apart, so introduce a regshift
variable so that read/write can calculate the correct register offset.

ok kettenis@

date 2020-11-13T12:51:08Z
author patrick
files src/sys/dev/fdt/imxiic.c log diff annotate
message Add define for the status register's Arbitration Lost bit.

date 2020-11-13T13:04:53Z
author patrick
files src/sys/dev/usb/uplcom.c log diff annotate
message Add support for the PL2303HXN series chips to uplcom(4). The main
difference is that is uses a different bRequest value for READ/WRITE.
Apart from that the flow control bits are in a different register
and resetting the data pipes uses different bits as well. We can
check if its an HXN by reading an HX-only register and checking for
a fail.

ok kettenis@

date 2020-11-13T14:18:25Z
author mpi
files src/sys/uvm/uvm_fault.c log diff annotate
message Use a helper to look for existing mapping & return if there's an anon.

Separate fault handling code for type 1 and 2 and reduce differences
with NetBSD.

ok tb@, jmatthew@, kettenis@

date 2020-11-13T16:42:50Z
author visa
files src/sys/arch/loongson/stand/Makefile.inc log diff annotate
message Use BTB bug workaround also with assembly files.

This might fix some boot-time hangs.

date 2020-11-13T16:45:11Z
author visa
files src/sys/arch/loongson/stand/Makefile.inc log diff annotate
message Fold -fno-builtin-* into -fno-builtin.

date 2020-11-13T16:53:02Z
author visa
files src/sys/arch/loongson/stand/libsa/Makefile log diff annotate
message Do not include ../Makefile.inc twice.

System include file <bsd.lib.mk> includes ../Makefile.inc if it exists.

This avoids repetition of certain compile options.

date 2020-11-13T20:46:18Z
author patrick
files src/sys/dev/fdt/imxiic.c log diff annotate
src/sys/dev/fdt/imxiicvar.h log diff annotate
message Convert array of two-element arrays into a much more readable array of
structs.

ok kettenis@

date 2020-11-13T20:50:06Z
author patrick
files src/sys/dev/fdt/imxiic.c log diff annotate
src/sys/dev/fdt/imxiicvar.h log diff annotate
message To prepare for upcoming VF610 support, access the clk div table using
a pointer in the softc instead of using a hardcoded table. While there
move the call to retrieve the clock frequency into the attach code, and
store the value in the softc as well. This will allow a future ACPI
attachment driver to supply its value in different fashion.

ok kettenis@

date 2020-11-13T22:46:20Z
author kettenis
files src/sys/dev/fdt/if_mvpp.c log diff annotate
message Assert reset before configuring the MACs. Otherwise we leave the 10G MAC
in reset which prevents it from working.

ok patrick@

date 2020-11-13T23:08:10Z
author guenther
files src/sys/arch/amd64/include/trap.h log diff annotate
message Delete unused #defines: T_USER hasn't been used since July 2018
while TC_TSS and TC_FLAGMASK have _never_ been used

ok kettenis@