OpenBSD cvs log

created 2019-03-23T16:09:58Z
begin 2019-03-22T00:00:00Z
end 2019-03-23T00:00:00Z
path src/sys
commits 13

date 2019-03-22T02:18:31Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message don't blindly complete admin queue entries

there's a bit in the flags field that the firmware sets when the
command is done, so check to decide if the command is ready to be
completed. this in turn makes ixl_iff work.

"oh" jmatthew@

date 2019-03-22T02:20:30Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message use a cond in ixl_atq_exec to wait for a command to be completed.

the main change is to not run ixl_atq_done, cos the interrupt handler
is supposed to do that for us.

date 2019-03-22T02:23:06Z
author dlg
files src/sys/dev/pci/if_ixl.c log diff annotate
message back out 1.28

i misread the doco, having promisc vlan reception is what we want.

date 2019-03-22T09:04:46Z
author kevlo
files src/sys/dev/pci/if_alc.c log diff annotate
src/sys/dev/pci/if_alcreg.h log diff annotate
message Add support for QCA AR816x/AR817x for alc(4).
Based on FreeBSD via Genadijus Paleckis on tech@, some modifications by me.

Tested with Atheros Killer E2200.

date 2019-03-22T12:02:38Z
author sthen
files src/sys/dev/usb/usbdevs log diff annotate
message add Meinberg DCF600USB, from weerd@, ok phessler@

date 2019-03-22T12:02:59Z
author sthen
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message sync

date 2019-03-22T12:04:25Z
author sthen
files src/sys/dev/usb/umbg.c log diff annotate
message support Meinberg DCF600USB, from weerd@, ok phessler

date 2019-03-22T12:05:45Z
author sthen
files src/sys/arch/amd64/conf/GENERIC log diff annotate
message build umbg(4) on amd64, previously only done on i386/macppc/octeon/sparc64
from weerd@, ok phessler

date 2019-03-22T12:07:00Z
author sthen
files src/sys/arch/i386/conf/GENERIC log diff annotate
src/sys/arch/macppc/conf/GENERIC log diff annotate
src/sys/arch/octeon/conf/GENERIC log diff annotate
src/sys/arch/sparc64/conf/GENERIC log diff annotate
message umbg now supports DCF600USB as well; adjust comment. from weerd@

date 2019-03-22T15:33:30Z
author kevlo
files src/sys/dev/pci/if_alc.c log diff annotate
message Mixmerge fixup.

Some of the flag and oactive handling bits and alc_stop_queue() were
mismerged.

Pointed out by Brad, thanks!

date 2019-03-22T16:21:21Z
author cheloha
files src/sys/kern/kern_tc.c log diff annotate
message Rename "timecounter_mtx" to "windup_mtx".

This will make upcoming MP-related diffs smaller and should make the code
int kern_tc.c easier to read in general. "windup_mtx" is also a better
mnemonic: always call tc_windup() before leaving windup_mtx.

date 2019-03-22T17:43:18Z
author kevlo
files src/sys/dev/pci/if_alc.c log diff annotate
message - Fix the AR816X_REV_B0 / default DMA channel selection to be the
same as the original code

- Merge FreeBSD's r304574
Correct DMA channel number selection on AR816x family of
controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x
except L1D controller, use vendor recommended ASPM parameters.
While here, increase alc_dma_burst array size. Broken H/W can
return bogus value in theory

From Brad.

date 2019-03-22T18:27:12Z
author cheloha
files src/sys/kern/kern_tc.c log diff annotate
message Move adjtimedelta into the timehands.

adjtimedelta is 64-bit and thus can't be read/written atomically on all
architectures. Because it can be modified from tc_windup() and
ntp_update_second() we need a way to ensure safe reads/writes for
adjtime(2) callers. One solution is to move it into the timehands and
adopt the lockless read protocol we now use for the system boot time and
uptime.

So make new_adjtimedelta an argument to tc_windup() and add a lockless
read loop to tc_adjtime(). With adjtimedelta stored in the timehands
we can now simply pass a timehands pointer to ntp_update_second(). This
makes ntp_update_second() safer as we're using the timehands' timecounter
pointer instead of the mutable global timecounter pointer.

Lots of input from mpi@ and visa@.

ok visa@