CVS: cvs.openbsd.org: src

2019-10-26 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/10/26 19:25:26

Modified files:
sys/dev/pci: if_vmx.c 

Log message:
fix the last commit.

if gen is toggled per packet, then it needs to be toggled before
each packet, not before the loop. also, if 0 out the right offload.

brad pointed out the if 0 bit.



CVS: cvs.openbsd.org: www

2019-10-26 Thread Todd Mortimer
CVSROOT:/cvs
Module name:www
Changes by: morti...@cvs.openbsd.org2019/10/26 18:26:57

Modified files:
.  : innovations.html 

Log message:
Add octeon to the retguard section.

Prodded by Janne Johansson - thanks!



CVS: cvs.openbsd.org: src

2019-10-26 Thread Todd Mortimer
CVSROOT:/cvs
Module name:src
Changes by: morti...@cvs.openbsd.org2019/10/26 18:21:47

Modified files:
share/man/man1 : clang-local.1 

Log message:
Document retguard for octeon in clang-local.

Prodded by Janne Johansson - thanks!



CVS: cvs.openbsd.org: src

2019-10-26 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/10/26 17:55:58

Modified files:
sys/dev/pci: if_vmx.c 

Log message:
put vlan tag offload back in



CVS: cvs.openbsd.org: src

2019-10-26 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/10/26 17:40:29

Modified files:
sys/dev/pci: if_vmx.c if_vmxreg.h 

Log message:
make vmx transmit (vmxnet3_start) mpsafe.

to make mpsafetey a bit easier to figure out i disabled checksum
and vlan offload. i'll put them back in soon though.



CVS: cvs.openbsd.org: src

2019-10-26 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/10/26 17:01:33

Modified files:
sys/dev/pci: if_vmx.c 

Log message:
avoid rxr races between rxfill from the interrupt and timeout paths

vmx "hardware" seems to be able to use rx descriptors as soon as
theyre filled in, which means filling the ring from a timeout can
run conccurently with an isr that's pulling stuff off the ring.
this is mostly a problem with the rxr accounting, so we serialise
updates to the alive counter by running rxfill in a mutex.

most of the investigation was done by claudio@ and mathieu@
an earlier version of this diff was tested hard by mathieu@ and was
ok@ claudio



CVS: cvs.openbsd.org: src

2019-10-26 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2019/10/26 15:16:38

Modified files:
sys/kern   : kern_time.c kern_tc.c 
sys/sys: timetc.h 

Log message:
clock_getres(2): actually return the resolution of the given clock

Currently we return (10 / hz) from clock_getres(2) as the
resolution for every clock.  This is often untrue.

For CPUTIME clocks, if we have a separate statclock interrupt the
resolution is (10 / stathz).  Otherwise it is as we currently
claim: (10 / hz).

For the REALTIME/MONOTONIC/UPTIME/BOOTTIME clocks the resolution is
that of the active timecounter.  During tc_init() we can compute the
precision of a timecounter by examining its tc_counter_mask and store
it for lookup later in a new member, tc_precision.  The resolution of
a clock backed by a timecounter "tc" is then

tc.tc_precision * (2^64 / tc.tc_frequency)

fractional seconds.

While here we can clean up sys_clock_getres() a bit.

Standards input from guenther@.  Lots of input, feedback from
kettenis@.

ok kettenis@



CVS: cvs.openbsd.org: src

2019-10-26 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2019/10/26 13:34:15

Modified files:
usr.bin/snmp   : snmpc.c 

Log message:
Remove common from "common options" in usage to be closer to SYNOPSIS.

Discussed with jmc@



CVS: cvs.openbsd.org: src

2019-10-26 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2019/10/26 12:47:11

Modified files:
lib/libc/arch/aarch64: Symbols.list 
lib/libc/arch/alpha: Symbols.list 
lib/libc/arch/amd64: Symbols.list 
lib/libc/arch/arm: Symbols.list 
lib/libc/arch/m88k: Symbols.list 

Log message:
Stop exporting the internal _mcount symbol as that's only referenced
by the ASM stub, which is also in libc.  The compiler only generates
invocations of the latter.

ok mpi@ deraadt@ kettenis@



CVS: cvs.openbsd.org: www

2019-10-26 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:www
Changes by: na...@cvs.openbsd.org   2019/10/26 12:23:42

Modified files:
.  : 66.html 

Log message:
9700 powerpc packages



CVS: cvs.openbsd.org: src

2019-10-26 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2019/10/26 11:52:55

Modified files:
usr.sbin/ldapd : ldape.c 

Log message:
The starttls command doesn't have a value with its extended request.
The handling of this changed with libutil/ber.c r1.12 resulting in starttls
failing.

Found by several.
Fix suggestion by roklein  roklein  de
OK claudio@



CVS: cvs.openbsd.org: src

2019-10-26 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2019/10/26 11:43:52

Modified files:
usr.bin/snmp   : snmp.1 

Log message:
Shorten the SYNOPSIS greatly.
While here also fix some wrong definitions.

With help from jmc@
Requested by and OK deraadt@



CVS: cvs.openbsd.org: www

2019-10-26 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:www
Changes by: bent...@cvs.openbsd.org 2019/10/26 09:45:49

Modified files:
openiked   : goals.html index.html manual.html papers.html 
 security.html users.html 

Log message:
Use the same template for openiked as for the other www pages.



CVS: cvs.openbsd.org: www

2019-10-26 Thread Gilles Chehade
CVSROOT:/cvs
Module name:www
Changes by: gil...@cvs.openbsd.org  2019/10/26 06:51:15

Modified files:
opensmtpd  : donations.html index.html portable.html 
Added files:
opensmtpd/announces: release-6.6.0.txt 

Log message:
opensmtpd-6.6.0 is out



CVS: cvs.openbsd.org: xenocara

2019-10-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/10/26 03:39:43

Modified files:
.  : MODULES 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2019-10-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/10/26 03:37:26

Modified files:
driver/xf86-video-ati: ChangeLog configure configure.ac 
driver/xf86-video-ati/src: radeon.h radeon_dri2.c radeon_dri3.c 
   radeon_kms.c radeon_present.c 

Log message:
Update to xf86-video-ati 19.10.0. tested by jsg@



CVS: cvs.openbsd.org: xenocara

2019-10-26 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2019/10/26 03:36:38

Modified files:
driver/xf86-video-amdgpu: ChangeLog configure configure.ac 
driver/xf86-video-amdgpu/src: amdgpu_dri2.c amdgpu_dri3.c 
  amdgpu_kms.c amdgpu_pixmap.h 
  amdgpu_present.c 

Log message:
Update to xf86-video-amdgpu 19.1.0. Tested by mortimer@ and jsg@



CVS: cvs.openbsd.org: src

2019-10-26 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2019/10/26 02:37:24

Modified files:
usr.sbin/syspatch: syspatch.sh 

Log message:
Wrap long lines.