CVS: cvs.openbsd.org: src

2021-04-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/04/23 23:16:27

Modified files:
share/man/man4 : Makefile 
Added files:
share/man/man4 : gfrtc.4 

Log message:
add gfrtc(4)



CVS: cvs.openbsd.org: src

2021-04-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/04/23 23:14:45

Modified files:
sys/dev/fdt: files.fdt 
sys/arch/riscv64/conf: GENERIC RAMDISK 
Added files:
sys/dev/fdt: gfrtc.c 

Log message:
Add gfrtc a driver for the real-time clock interface of Google's
Goldfish Android virtual hardware platform.  Used for the RTC on
qemu-system-riscv64 -M virt.

feedback and ok kettenis@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/04/23 18:10:43

Modified files:
regress/usr.bin/openssl: appstest.sh 

Log message:
Remove "-4" option treatment and use it always on s_server test in appstest.sh



CVS: cvs.openbsd.org: src

2021-04-23 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2021/04/23 15:55:36

Modified files:
sys/netinet: if_ether.c if_ether.h ip_input.c 

Log message:
Setting variable arpinit_done is not MP save if we want to execute
arp_rtrequest() in parallel.  Move initialization to arpinit()
function.
OK kettenis@ mvs@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2021/04/23 15:47:32

Modified files:
sys/netinet: if_ether.c ip_input.c 

Log message:
The variable la_hold_total contains the number of packets currently
in the arp queue.  So the sysctl net.inet.ip.arpqueued must be read
only.  In if_ether.c include the header with the declaration of
la_hold_total to ensure that the definition matches.
OK mvs@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2021/04/23 15:01:45

Modified files:
regress/lib/libssl/tlsfuzzer: tlsfuzzer.py 

Log message:
Enable test-renegotiation-changed-clienthello.py but skip
"drop extended_master_secret in renegotiation" since we don't
support this extension.



CVS: cvs.openbsd.org: src

2021-04-23 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2021/04/23 12:30:18

Modified files:
lib/libssl : ssl_transcript.c 

Log message:
whitespace



CVS: cvs.openbsd.org: src

2021-04-23 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/23 09:53:07

Modified files:
sys/sys: exec.h exec_elf.h 

Log message:
Add MID_RISCV64 and EM_RISCV to enable riscv64
ok deraadt@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Dale Rahn
CVSROOT:/cvs
Module name:src
Changes by: dr...@cvs.openbsd.org   2021/04/23 09:31:12

Modified files:
sys/arch/riscv64/include: loadfile_machdep.h 

Log message:
File was accidentally duplicated on inital checkin, remove dup.



CVS: cvs.openbsd.org: www

2021-04-23 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2021/04/23 09:06:07

Modified files:
.  : events.html 

Log message:
update bitrotted link; pointed out by powerol...@smartershadow.onmicrosoft.com



CVS: cvs.openbsd.org: src

2021-04-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/04/23 07:03:41

Modified files:
sys/arch/riscv64/conf: GENERIC RAMDISK 

Log message:
enable viornd(4) on riscv64



CVS: cvs.openbsd.org: src

2021-04-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/04/23 06:49:53

Modified files:
sys/dev/fdt: syscon.c 
sys/arch/riscv64/conf: GENERIC RAMDISK 

Log message:
enable syscon(4) on riscv64
makes reboot and poweroff work with qemu

ok kettenis@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2021/04/23 06:38:00

Modified files:
sys/dev/fdt: syscon.c 

Log message:
Adjust support for "syscon-reboot" and "syscon-poweroff" for the updated
bindings in mainline Linux.  Necessary to support the QEMY RISCV target.

ok jsg@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/04/23 06:09:46

Modified files:
sys/arch/riscv64/conf: Makefile.riscv64 

Log message:
build with -Werror
ok mlarkin@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/04/23 06:07:14

Modified files:
sys/arch/riscv64/include: tcb.h 

Log message:
cast TCB_GET() to void * to avoid -Wpointer-integer-compare warning
when building kern_sig.c
ok mlarkin@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/04/23 06:01:03

Modified files:
sys/arch/riscv64/conf: GENERIC files.riscv64 
sys/arch/riscv64/riscv64: conf.c 
Added files:
sys/arch/riscv64/include: openpromio.h 
sys/arch/riscv64/riscv64: openprom.c 

Log message:
reuse arm64 openprom(4) on riscv64
ok kettenis@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2021/04/23 01:21:03

Modified files:
sys/kern   : kern_sysctl.c 
sys/dev/dt : dt_dev.c 

Log message:
Remove the sysctl kern.allowdt code from kernel if dt(4) is not
configured.  This will result in a "value is not available" error
from sysctl when trying to enable dt on a kernel without support.
The variable allowdt should be in the device, not in sysctl source.
We don't need #ifdef for extern and prototypes.
OK mpi@



CVS: cvs.openbsd.org: src

2021-04-23 Thread Jonathan Matthew
CVSROOT:/cvs
Module name:src
Changes by: jmatt...@cvs.openbsd.org2021/04/23 01:00:58

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

Log message:
When we have a single tx/rx queue, the cp ring is also used for async
events, so it can't be allocated when the interface is brought up and
freed when it's taken down.

ok dlg@