OpenBSD cvs log

created 2019-05-08T04:31:40Z
begin 2018-01-12T00:00:00Z
end 2018-01-13T00:00:00Z
path src/sys
commits 17

date 2018-01-12T00:36:13Z
author dlg
files src/sys/netinet/ip_carp.c log diff annotate
message restrict carp to configuring ethernet interfaces as carpdevs.

previously the driver only cared that a carp interface wasnt configured
as a carpdev. because the code only really works on ethernet, it makes
sense to restrict it.

ok visa@ mpi@

date 2018-01-12T02:25:27Z
author dlg
files src/sys/net/if_gif.c log diff annotate
message move gif_encap from gif_output to gif_start.

the main win is the simplification of bpf in the ouput path.

ok visa@

date 2018-01-12T06:57:56Z
author jca
files src/sys/netmpls/mpls_input.c log diff annotate
message Check that mpls has been enabled on the input interface, lost in rev 1.66

While here fix under MPLS_DEBUG. ok dlg@

date 2018-01-12T08:11:47Z
author mlarkin
files src/sys/dev/i2c/ihidev.c log diff annotate
message revert previous changes to enable dwiic on Dell precision as it seems
to cause issues on Dell XPS 15 9560. Will investigate and recommit later
if a better fix can be found.

date 2018-01-12T08:11:48Z
author mlarkin
files src/sys/dev/pci/dwiic_pci.c log diff annotate
message revert previous changes to enable dwiic on Dell precision as it seems
to cause issues on Dell XPS 15 9560. Will investigate and recommit later
if a better fix can be found.

date 2018-01-12T08:21:30Z
author mlarkin
files src/sys/arch/amd64/amd64/identcpu.c log diff annotate
message IBRS -> IBRS,IBPB in identifycpu lines

date 2018-01-12T09:19:32Z
author mpi
files src/sys/arch/amd64/include/mutex.h log diff annotate
message Unify a bit further.

`mtx_owner' becomes the first field of 'struct mutex' on i386/amd64/arm64.

ok visa@

date 2018-01-12T09:19:33Z
author mpi
files src/sys/arch/arm64/include/mutex.h log diff annotate
src/sys/arch/i386/include/mutex.h log diff annotate
src/sys/arch/mips64/include/mutex.h log diff annotate
src/sys/arch/powerpc/include/mutex.h log diff annotate
src/sys/arch/sparc64/include/mutex.h log diff annotate
message Unify a bit further.

`mtx_owner' becomes the first field of 'struct mutex' on i386/amd64/arm64.

ok visa@

date 2018-01-12T10:33:07Z
author patrick
files src/sys/arch/amd64/amd64/ucode.c log diff annotate
message Correctly iterate over all extended signatures.

Found by markus@
With sf@

date 2018-01-12T11:03:15Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
message Constrain alloc_pages() to the dma_constraint range. Avoids a
"Non dma-reachable buffer" panic when trying to use it from ttm code on
a machine with 8GB of physmem and a radeon.

ok kettenis@ dlg@ visa@ deraadt@

date 2018-01-12T14:52:55Z
author kettenis
files src/sys/arch/arm64/arm64/machdep.c log diff annotate
src/sys/arch/arm64/arm64/pmap.c log diff annotate
src/sys/arch/arm64/dev/efi.c log diff annotate
src/sys/arch/arm64/include/pmap.h log diff annotate
message Runtime services may (and do) use device mappings on some UEFI implementations.
Skip these mappings during the remap-pahse as they are likely to be in
a different 512G bloch as memory and SetVirtualAddressMap() shouldn't need
them. But do assign a new virtual address and let efi(4) create a mapping.
Add a PMAP_DEVICE flag such that pmap_enter() can continue to be used
to create these mappings.

ok patrick@

date 2018-01-12T14:53:37Z
author kettenis
files src/sys/arch/arm64/dev/ampintc.c log diff annotate
message Use correct size in allocarray() call.

ok patrick@

date 2018-01-12T20:14:20Z
author deraadt
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
message Don't bother ucode updates in ramdisk. We don't have the files....
ok patrick

date 2018-01-12T20:14:21Z
author deraadt
files src/sys/arch/amd64/conf/files.amd64 log diff annotate
message Don't bother ucode updates in ramdisk. We don't have the files....
ok patrick

date 2018-01-12T22:20:28Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
src/sys/arch/arm64/arm64/syscall.c log diff annotate
src/sys/arch/arm64/arm64/trap.c log diff annotate
src/sys/arch/arm64/dev/agintc.c log diff annotate
src/sys/arch/arm64/dev/ampintc.c log diff annotate
src/sys/arch/arm64/dev/bcm2836_intr.c log diff annotate
src/sys/arch/arm64/include/cpu.h log diff annotate
message Add MULTIPROCESSOR basics for arm64. Enough to build and run a kernel with
option MULTIPROCESSOR on a single CPU.

ok patrick@

date 2018-01-12T23:29:37Z
author dlg
files src/sys/netinet/ip_carp.c log diff annotate
message unbreak configurations using carppeers

ip_carp.c r1.322 removed the ability to receive carp protocol packets
on !IFT_CARP interfaces. however, carppeers cause the carp protocol
packets to be directed to a unicast address on another interface,
which definitely is not mapped back to a carp interface.

this brings back the ability to get carp packets on parent interfaces.
it is a bit different to a backout because it only allows carp
parents to be ethernet interfaces.

mpi@ told me carp regress tests were failing.

date 2018-01-12T23:47:24Z
author dlg
files src/sys/net/if.c log diff annotate
src/sys/netinet/ip_carp.c log diff annotate
src/sys/netinet/ip_carp.h log diff annotate
message have carp use standard detach hooks instead of getting special handling

if_deactivate looked for carp parent interfaces and called carp_ifdetach
to have children interfaces unplug themselves. this diff has the
carp interfaces register detach hooks on the parent instead. the
effect is the same, but using the standard every other interface
uses.

while im here i shuffle the order the hooks carp_set_ifp are
estabilshed so it will fail if they arent allocated.

ok visa@ mpi@