OpenBSD cvs log

created 2018-11-29T17:47:02Z
begin 2018-05-30T00:00:00Z
end 2018-05-31T00:00:00Z
path src/sys
commits 8

date 2018-05-30T11:58:04Z
author kettenis
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
message Remove comcnspeed variable, which gets set but is never actually used.
This removes the (no-op) -1 and -9 kernel boot arguments.

ok visa@

date 2018-05-30T13:32:40Z
author patrick
files src/sys/dev/fdt/imxesdhc.c log diff annotate
src/sys/dev/sdmmc/sdhc.c log diff annotate
message Clear the DMA select bits in case we use PIO instead of DMA. Some
SDHC controllers get confused if the ADMA bit is set even though we
don't set the DMA enable flag. This can happen with the SDIO stack
which uses PIO for 4 byte read/writes but DMA for larger transfers
and thus switches from one mode to the other.

ok kettenis@

date 2018-05-30T13:54:09Z
author mpi
files src/sys/arch/armv7/include/intr.h log diff annotate
src/sys/arch/landisk/include/intr.h log diff annotate
message Define IPL_MPFLOOR on SP archs.

From Mathieu , ok visa@

date 2018-05-30T14:04:53Z
author patrick
files src/sys/dev/sdmmc/if_bwfm_sdio.c log diff annotate
message For the upcoming SDIO DMA support we need to use DMA-able buffer
to send/receive data. This basically means that we cannot use any
malloc(9)'d buffer. For this, use dma_alloc(9) to allocate a buf
that can fit a whole SDIO frame (unfortunately without headers).

Keep note that we need to round up the transfer sizes to block-
sized (for TX packets) or 4-byte alignment, since some DMA con-
trollers truncate the request size. If there's anything wrong,
the KASSERTs will catch it.

ok kettenis@

date 2018-05-30T14:53:11Z
author patrick
files src/sys/dev/sdmmc/sdmmc_io.c log diff annotate
message Implement SDIO DMA support. This is achieved by wrapping the
sdmmc_io_rw_extended() function and loading the passed buffer
using the bus dma API akin to the SDMMC memory card code. The
2-byte and 4-byte accessors continue to use PIO.

ok kettenis@

date 2018-05-30T14:53:56Z
author fcambus
files src/sys/arch/octeon/dev/amdcf.c log diff annotate
src/sys/arch/octeon/dev/octcf.c log diff annotate
message Add sizes for free() for octeon.

OK deraadt@, visa@

date 2018-05-30T18:15:47Z
author sthen
files src/sys/net/if.c log diff annotate
src/sys/sys/sockio.h log diff annotate
message Add SIOCGIFGLIST to fetch a list of interface groups on the system.
From Jan Klemkow, ok mpi@ tb@, ok/bugfix bluhm@

date 2018-05-30T22:20:41Z
author dlg
files src/sys/net/if.c log diff annotate
src/sys/net/if.h log diff annotate
message restrict the prio values from SIOCSIFLLPRIO to what the kernel handles

previously the ioctl code checked that prio was an int less than
UCHAR_MAX, but the rest of the kernel (and priq code in particular)
expects it to be between 0 and 7 inclusive.

ok krw@ tb@