OpenBSD cvs log

created 2018-11-29T15:10:27Z
begin 2018-05-16T00:00:00Z
end 2018-05-17T00:00:00Z
path src/sys
commits 15

date 2018-05-16T08:20:00Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmvar.h log diff annotate
src/sys/dev/pci/if_bwfm_pci.c log diff annotate
src/sys/dev/sdmmc/if_bwfm_sdio.c log diff annotate
src/sys/dev/usb/if_bwfm_usb.c log diff annotate
message Implement a BCDC control packet mechanism based on the command request
ids. So far we were only able to have one command in flight at a time
and race conditions could easily lead to unexpected behaviour, especia-
lly combined with a slow bus and timeouts. With this rework we send or
enqueue a control packet command and wait for replies to happen. Thus
we can have multiple control packets in flight and a reply with the
correct id will wake us up.

date 2018-05-16T09:02:11Z
author otto
files src/sys/uvm/uvm_addr.c log diff annotate
message Avoid overflow in constraint computation; ok kettenis@ tb@

date 2018-05-16T09:07:45Z
author kettenis
files src/sys/arch/arm64/arm64/pmap.c log diff annotate
src/sys/arch/arm64/include/pmap.h log diff annotate
src/sys/arch/arm64/include/vmparam.h log diff annotate
message Implement pmap_growkernel(). Bump VM_MAX_KERNEL_ADDRESS now that we no
longer pre-allocate the complete kernel page tables.

ok patrick@, visa@

date 2018-05-16T10:36:28Z
author patrick
files src/sys/dev/fdt/imxiic.c log diff annotate
message Correct shortcomings in imxiic(4) that occurred during the initial
development in 2013. Registers are to be accessed byte-wise. The
command buffer, used to transfer the register index we want to access
on the chip, is not only used on write operations, but also on read
operations. Thus it has to be pulled into the main i2c exec method.
Since these are two transfers, we have to set "repeat start" and wait
for busy to be set. Some machines have a clock-frequency attribute on
the controller node which controls the speed (e.g. 400 kHz instead of
100 kHz).

ok kettenis@

date 2018-05-16T13:09:17Z
author helg
files src/sys/miscfs/fuse/fuse_vnops.c log diff annotate
message libfuse should not maintain state for FBT_READDIR. If a directory is
opened multiple times (either from the same process or different
processes) then FUSE will not reliably return the directory entries to
both file descriptors.

ok mpi@

date 2018-05-16T13:14:23Z
author patrick
files src/sys/dev/usb/if_bwfm_usb.c log diff annotate
message Correct order of free(9) in an error case.

date 2018-05-16T13:19:00Z
author reyk
files src/sys/net/pfkeyv2.c log diff annotate
src/sys/netinet/ip_ipsp.c log diff annotate
src/sys/netinet/ip_spd.c log diff annotate
message Fix kernel builds without IPSEC.

OK mikeb@

date 2018-05-16T13:21:50Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/imxdwusb.c log diff annotate
message Add glue for the USB3 controller on the i.MX8MQ SoC.

Discussed with kettenis@

date 2018-05-16T13:42:35Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/arch/armv7/conf/GENERIC log diff annotate
src/sys/arch/armv7/conf/RAMDISK log diff annotate
src/sys/dev/fdt/imxanatop.c log diff annotate
src/sys/dev/fdt/imxanatopvar.h log diff annotate
src/sys/dev/fdt/imxccm.c log diff annotate
message Move the code that decodes the i.MX6 PLLs and PFDs into imxanatop(4)
instead of having imxccm(4) map more than it should and access the
memory space that imxanatop(4) should be responsible for.

ok kettenis@

date 2018-05-16T14:10:26Z
author patrick
files src/sys/dev/sdmmc/if_bwfm_sdio.c log diff annotate
message After having finished transmitting the last mbuf, don't just return to
the caller. Otherwise we skip restarting the ifq which means that if
we ever have a full queue and go oactive, there is no coming back. So
break out from the loop and call ifq restart if the queue is not full.

date 2018-05-16T14:53:43Z
author visa
files src/sys/kern/kern_sysctl.c log diff annotate
src/sys/kern/subr_witness.c log diff annotate
src/sys/sys/sysctl.h log diff annotate
src/sys/sys/witness.h log diff annotate
message Add kern.witnesswatch sysctl for controlling witness(4). By default,
lock order checking is disabled but it can be enabled at runtime.

Suggested by deraadt@ / mpi@
OK mpi@

date 2018-05-16T14:55:44Z
author visa
files src/sys/kern/subr_witness.c log diff annotate
message Print stack traces on lock order conflict.

OK mpi@

date 2018-05-16T14:57:22Z
author visa
files src/sys/kern/subr_witness.c log diff annotate
message Fix misleading indentation.

date 2018-05-16T21:14:39Z
author kettenis
files src/sys/dev/pci/pcidevs log diff annotate
message Add a few Intel C620 PCH entries.
Add the PLX PEX 9733 PCIe switch.

date 2018-05-16T21:15:03Z
author kettenis
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen