OpenBSD cvs log

created 2019-09-06T04:56:41Z
begin 2019-09-02T00:00:00Z
end 2019-09-03T00:00:00Z
path src/sys
commits 11

date 2019-09-02T02:35:08Z
author deraadt
files src/sys/arch/mips64/include/cpu.h log diff annotate
message in non-MP, cpu_number() the #define should be 0UL; ok visa

date 2019-09-02T02:35:33Z
author deraadt
files src/sys/arch/mips64/mips64/db_machdep.c log diff annotate
message cpu number is unsigned (does not really matter)

date 2019-09-02T08:16:49Z
author kettenis
files src/sys/dev/fdt/amlpinctrl.c log diff annotate
message Two additional pin configurations.

date 2019-09-02T08:21:15Z
author kettenis
files src/sys/dev/fdt/amlmmc.c log diff annotate
message A few more missing bits: power regulators, eMMC power sequencing,
MMC DDR52 support, clock gating.

date 2019-09-02T11:26:30Z
author kettenis
files src/sys/dev/pci/drm/i915/i915_gem.c log diff annotate
message Release locks in error paths. Spotted by semarie@

ok jsg@

date 2019-09-02T12:50:12Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwn.c log diff annotate
src/sys/net80211/ieee80211.c log diff annotate
message Reset the current wireless PHY mode to 'auto' when a scan begins if we
are in media autoselect mode.

The interface might have been switched to a fixed PHY mode during association
and keeping it fixed will mislead AP selection after roaming failure.

Problem found and diagnosed at CCC camp 2019
Tested by myself, fkr@, chris@

date 2019-09-02T12:54:21Z
author stsp
files src/sys/net80211/ieee80211_ioctl.c log diff annotate
src/sys/net80211/ieee80211_ioctl.h log diff annotate
src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_node.h log diff annotate
src/sys/net80211/ieee80211_pae_input.c log diff annotate
src/sys/net80211/ieee80211_proto.c log diff annotate
message Make net80211 expose reasons for association failures to userland and have
ifconfig display them in 'scan' output and on the ieee80211 status line if
the failure is applicable to an already selected AP (e.g. wrong WPA key).

This will hopefully reduce the amount of help requests for what often
turn out to be trivial misconfiguration issues that were previously
hard to diagnose without debug mode.

ifconfig must be recompiled with the new ieee80211_ioctl.h to stay in
sync with the kernel. A full 'make build' will do the right thing!

Very helpful input by mpi@ and deraadt@

date 2019-09-02T13:08:49Z
author kettenis
files src/sys/dev/fdt/sxiccmu.c log diff annotate
message Implement setting the CPU clock for Allwinner A64 SoCs.
From Krystian Lewandowski.

date 2019-09-02T13:12:09Z
author bluhm
files src/sys/netinet/ip_mroute.c log diff annotate
message Fix a route use after free in multicast route. Move the rt_mcast_del()
out of the rtable_walk(). This avoids recursion to prevent stack
overflow. Also it allows freeing the route outside of the walk.
Now mrt_mcast_del() frees the route only when it is deleted from
the routing table. If that fails, it must not be freed. After the
route is returned by mfc_find(), it is reference counted. Then we
need a rtfree(), but not in the other caes.
Move rt_timer_remove_all() into rt_mcast_del().
OK mpi@

date 2019-09-02T15:24:39Z
author kettenis
files src/sys/dev/fdt/sxiccmu_clocks.h log diff annotate
message Implement setting the CPU clock for Allwinner A64 SoCs.
From Krystian Lewandowski.

date 2019-09-02T23:40:29Z
author kettenis
files src/sys/arch/macppc/stand/Locore.c log diff annotate
src/sys/arch/macppc/stand/alloc.c log diff annotate
src/sys/arch/macppc/stand/libsa.h log diff annotate
src/sys/arch/macppc/stand/main.c log diff annotate
src/sys/arch/macppc/stand/net.c log diff annotate
src/sys/arch/macppc/stand/ofdev.c log diff annotate
src/sys/arch/macppc/stand/ofdev.h log diff annotate
src/sys/arch/macppc/stand/openfirm.h log diff annotate
src/sys/arch/macppc/stand/boot.mac/fixcoff.c log diff annotate
message Various fixes to make clang happy.

ok deraadt@