CVS: cvs.openbsd.org: src

2021-07-24 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/24 23:51:15

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

Log message:
enable ix(4)

from Ashton Fagg who tested on 82599



CVS: cvs.openbsd.org: src

2021-07-24 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/24 16:41:09

Modified files:
sys/arch/riscv64/include: timetc.h 
sys/arch/riscv64/riscv64: clock.c 
lib/libc/arch/riscv64/gen: usertc.c 

Log message:
riscv64 userland timecounter support

ok kettenis@



CVS: cvs.openbsd.org: src

2021-07-24 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/07/24 13:11:02

Modified files:
distrib/sets/lists/comp: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2021-07-24 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2021/07/24 12:15:13

Modified files:
sys/arch/riscv64/include: cpu.h 
sys/arch/riscv64/riscv64: cpu.c pmap.c 

Log message:
Implement a workaround for the SiFive FU740 CIP-1200 errata.

Remove the (incomplete) support for ASIDs.  RISC-V hardware that implements
ASIDs doesn't exist at this moment and the current code interferes with
the errata workaround and other pmap improvements we're planning to make.

ok drahn@, jca@, deraadt@



CVS: cvs.openbsd.org: src

2021-07-24 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/07/24 10:56:54

Modified files:
gnu/usr.bin/binutils-2.17/binutils: readelf.c 

Log message:
Pretty print ELF machine name as "RISC-V"

Instead of ": f3".  ok kettenis@



CVS: cvs.openbsd.org: src

2021-07-24 Thread Marcus Glocker
CVSROOT:/cvs
Module name:src
Changes by: mgloc...@cvs.openbsd.org2021/07/24 08:43:53

Modified files:
sys/arch/octeon/dev: octdwctwo.c 

Log message:
The updated dwctwo(4) driver introduces two new parameters.



CVS: cvs.openbsd.org: src

2021-07-24 Thread Marcus Glocker
CVSROOT:/cvs
Module name:src
Changes by: mgloc...@cvs.openbsd.org2021/07/24 08:41:41

Modified files:
sys/arch/octeon/dev: octdwctwo.c 

Log message:
Fix octeon build after dwctwo(4) update.

>From deraadt@



CVS: cvs.openbsd.org: src

2021-07-24 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2021/07/24 08:33:14

Modified files:
lib/libcrypto/man: Makefile PEM_read_bio_PrivateKey.3 
   X509_CINF_new.3 X509_add1_trust_object.3 
   X509_check_purpose.3 X509_new.3 
Added files:
lib/libcrypto/man: X509_TRUST_set.3 X509_check_trust.3 

Log message:
Two new manual pages X509_TRUST_set(3) and X509_check_trust(3)
documenting ten functions related to X509_TRUST objects,
trust identifiers, and trust indices.



CVS: cvs.openbsd.org: src

2021-07-24 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/07/24 08:15:34

Modified files:
sbin/unwind: unwind.conf.5 

Log message:
Capitalise DNS response code, stub learns from SLAAC, clarify wording

OK florian



CVS: cvs.openbsd.org: src

2021-07-24 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/07/24 07:21:04

Modified files:
usr.bin/openssl: ca.c 

Log message:
Compare strcmp and strcasecmp return value with zero



CVS: cvs.openbsd.org: src

2021-07-24 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2021/07/24 04:52:07

Modified files:
sys/dev/acpi   : imxiic_acpi.c 

Log message:
The I2C controller's clock- and bitrate properties used different naming
between ACPI and FDT.  The ACPI tables have now been adjusted, so now we
need to accept the new scheme as well.

ok kettenis@



CVS: cvs.openbsd.org: src

2021-07-24 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2021/07/24 03:16:51

Modified files:
sys/kern   : kern_event.c 

Log message:
Modifying a knote must be done with the corresponding lock held.  Assert
that the KERNEL_LOCK() is held unless the filter is marked as MPSAFE.

Should help finding missing locks when unlocking various filters.

ok visa@



CVS: cvs.openbsd.org: src

2021-07-24 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2021/07/24 02:21:13

Modified files:
sys/arch/loongson/loongson: generic3a_machdep.c machdep.c 
sys/arch/mips64/include: cpu.h 
sys/arch/mips64/mips64: cpu.c ipifuncs.c pmap.c 
sys/arch/octeon/octeon: machdep.c 

Log message:
Replace cpus_running with CPU_IS_RUNNING().



CVS: cvs.openbsd.org: src

2021-07-24 Thread Marcus Glocker
CVSROOT:/cvs
Module name:src
Changes by: mgloc...@cvs.openbsd.org2021/07/24 00:04:44

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

Log message:
The updated dwctwo(4) driver introduces two new parameters.