OpenBSD cvs log

created 2018-11-29T16:10:41Z
begin 2018-05-23T00:00:00Z
end 2018-05-24T00:00:00Z
path src/sys
commits 19

date 2018-05-23T02:24:58Z
author jsg
files src/sys/dev/pci/drm/radeon/cik.c log diff annotate
src/sys/dev/pci/drm/radeon/evergreen.c log diff annotate
src/sys/dev/pci/drm/radeon/r600.c log diff annotate
src/sys/dev/pci/drm/radeon/si.c log diff annotate
message Add back a local change to prevent interrupt handlers claiming an
interrupt when it is shared by other devices.

Fixes a regression reported by nigel@ where USB stopped working after
the radeondrm update on a machine where ohci shared an interrupt with
radeondrm.

date 2018-05-23T05:37:01Z
author guenther
files src/sys/arch/amd64/amd64/genassym.cf log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
src/sys/arch/amd64/include/specialreg.h log diff annotate
message Move CR4_DEFAULT to specialreg.h where the CR4_* values are defined

ok mlarkin@

date 2018-05-23T06:45:20Z
author kettenis
files src/sys/arch/arm64/arm64/pmap.c log diff annotate
message Remove unused pmap_steal_memory_implementation(). It doesn't actually work
and implementing this interface only really makes sense for architectures
that use a direct map.

ok patrick@, visa@

date 2018-05-23T08:36:15Z
author patrick
files src/sys/dev/pci/if_bwfm_pci.c log diff annotate
message Map the second bwfm(4) BAR first. The bwfm(4) PCIe devices have two
BARs, where the second one is much larger than the first. Both need
to be properly aligned in the given extent. Since the first one is
smaller, it will "unalign" the next free space and thus create a gap
so that the second BAR cannot be properly aligned in the given space.
By mapping the second BAR first, it will automatically have proper
alignment. The first BAR, which has fewer alignment requirements,
fits well after the initial allocation. Fixes bwfm(4) on APU 1.

Debugged and solved by kettenis@

date 2018-05-23T08:53:31Z
author patrick
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/armv7/conf/GENERIC log diff annotate
message Enable bwfm(4).

ok stsp@

date 2018-05-23T09:08:18Z
author patrick
files src/sys/dev/sdmmc/if_bwfm_sdio.c log diff annotate
message Extend list of supported bwfm(4) SDIO chips.

date 2018-05-23T09:12:34Z
author kettenis
files src/sys/dev/fdt/psci.c log diff annotate
message Simplify the CVE-2017-5715 workaround code. Marvell backported SMSCCC 1.1
support to their ATF fork and I expect other vendors that bothered to
backport the early workaround to do the same. And another ATF update is
needed anyway to implement the workaround for Spectre variant 4i
(CVE-2018-3639).

ok patrick@, mlarkin@, jsg@

date 2018-05-23T11:32:14Z
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 separate initialization stage so that we can still use
and initialize bwfm(4) later in the case that the firmware was not
available on bootup and was only later installed.

ok stsp@

date 2018-05-23T13:09:37Z
author helg
files src/sys/miscfs/fuse/fusebuf.c log diff annotate
message Change wait text when waiting for FUSE file system daemon to respond.

ok mpi@

date 2018-05-23T14:10:48Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
message Select correct channel in Host AP mode. One part of that is creating
the channel specification (channel, freq, bandwidth, control channel)
which is parsed and understood by the bwfm(4) firmware. Another part
is that we shouldn't start a scan if the channel is selected by the
user, otherwise we override the chosen channel. The remaining part is
bringing the device down properly. If it's not disabled properly, we
cannot bring it up again.

ok stsp@

date 2018-05-23T14:12:33Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
message Only react to deauthentication/disassociation and link changes if we are
not in INIT state. Otherwise we can have bogus state changes on ifconfig
down. Also don't try to end a scan if we were not scanning.

date 2018-05-23T14:15:06Z
author patrick
files src/sys/dev/usb/if_bwfm_usb.c log diff annotate
message Don't leak the RX pipe in case we have issues opening the TX pipe.

date 2018-05-23T14:49:08Z
author reyk
files src/sys/tmpfs/tmpfs_vnops.c log diff annotate
message Fix build without DIAGNOSTIC, ok mikeb@

date 2018-05-23T16:23:48Z
author cheloha
files src/sys/lib/libsa/ctime.c log diff annotate
message Align libsa ctime output with libc ctime output.

Use zero-padding to get double-digit HH:MM:SS and space-padding for
the DOM.

ok visa@

date 2018-05-23T17:49:20Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Add monitor mode support to iwm(4).

Tests: 7260 ccardenas, 7265 myself, 3165 Bruno Flueckiger, 8265 Tracey Emery.

ok ccardenas@, "ich bitte darum" benno@

date 2018-05-23T19:52:03Z
author phessler
files src/sys/net80211/ieee80211_proto.c log diff annotate
message add missing newlines for debug printfs

OK stsp@

date 2018-05-23T22:08:00Z
author kettenis
files src/sys/dev/ic/dwiic.c log diff annotate
message Wait for write operations to complete.

ok mlarkin@

date 2018-05-23T22:17:34Z
author kettenis
files src/sys/arch/amd64/conf/GENERIC log diff annotate
message Enable ccpmic(4) and tipmic(4).

date 2018-05-23T23:08:21Z
author kettenis
files src/sys/dev/acpi/tipmic.c log diff annotate
message Print a message if AML attempts to access a part of the Operation Region
that we haven't implemented yet.