CVS commit: src/sys/dev/usb

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:13:10 UTC 2022 Modified Files: src/sys/dev/usb: ualea.c Log Message: ualea(4): Simplify xfer error branches. - Avoid going into a loop in case the transfer fails repeatedly -- just give up immediately if it

CVS commit: src/sys/dev/usb

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:13:10 UTC 2022 Modified Files: src/sys/dev/usb: ualea.c Log Message: ualea(4): Simplify xfer error branches. - Avoid going into a loop in case the transfer fails repeatedly -- just give up immediately if it

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 14:05:41 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: Revert "entropy(9): Nix rnd_trylock_sources." Not a premature optimization after all -- this is necessary because entropy_request can run

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 14:05:41 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: Revert "entropy(9): Nix rnd_trylock_sources." Not a premature optimization after all -- this is necessary because entropy_request can run

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:44:18 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Nix rnd_trylock_sources. This was a premature optimization that turned out to be bogus. It's not harmful to request more than

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:44:18 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Nix rnd_trylock_sources. This was a premature optimization that turned out to be bogus. It's not harmful to request more than

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:17:44 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Shuffle some assertions around. Tripped over (diff || E->pending == ENTROPY_CAPACITY*NBBY), not sure why yet, printing values

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:17:44 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Shuffle some assertions around. Tripped over (diff || E->pending == ENTROPY_CAPACITY*NBBY), not sure why yet, printing values

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:17:09 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Factor out logic to lock and unlock per-CPU state. No functional change intended. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:17:09 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Factor out logic to lock and unlock per-CPU state. No functional change intended. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:17:32 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Lock the per-CPU state in entropy_account_cpu. This was previously called with the per-CPU state locked, which worked fine as

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:17:32 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Lock the per-CPU state in entropy_account_cpu. This was previously called with the per-CPU state locked, which worked fine as

CVS commit: src/sys/dev/usb

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:18:30 UTC 2022 Modified Files: src/sys/dev/usb: ualea.c Log Message: ualea(4): Enter the data under the softc lock. This avoids a race with a concurrent ualea_get updating sc_needed, which could lead to hang

CVS commit: src/sys/dev/usb

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:18:30 UTC 2022 Modified Files: src/sys/dev/usb: ualea.c Log Message: ualea(4): Enter the data under the softc lock. This avoids a race with a concurrent ualea_get updating sc_needed, which could lead to hang

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:18:12 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Fix another new race in entropy_account_cpu. The consolidation xcall can preempt entropy_enter, between when it unlocks the

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 13:18:12 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Fix another new race in entropy_account_cpu. The consolidation xcall can preempt entropy_enter, between when it unlocks the

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 14:30:57 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Fix premature optimization deadlock in entropy_request. - For synchronous queries from /dev/random, which are waiting for

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 14:30:57 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Fix premature optimization deadlock in entropy_request. - For synchronous queries from /dev/random, which are waiting for

CVS commit: src/external/public-domain/tz/dist

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:22:20 UTC 2022 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Updated to tzdata2022agtz which is a 2022a fork with backzone zones moved back into the main data repo (restoring old data)

CVS commit: src/external/public-domain/tz/dist

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:22:20 UTC 2022 Modified Files: src/external/public-domain/tz/dist: TZDATA_VERSION Log Message: Updated to tzdata2022agtz which is a 2022a fork with backzone zones moved back into the main data repo (restoring old data)

CVS commit: src/sys/arch/usermode/usermode

2022-03-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 20 18:56:29 UTC 2022 Modified Files: src/sys/arch/usermode/usermode: pmap.c Log Message: fix typos in debug/panic messages: isued->issued, initialiased->initialised. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/usermode/usermode

2022-03-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 20 18:56:29 UTC 2022 Modified Files: src/sys/arch/usermode/usermode: pmap.c Log Message: fix typos in debug/panic messages: isued->issued, initialiased->initialised. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/public-domain/tz/dist

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:20:19 UTC 2022 Modified Files: src/external/public-domain/tz/dist: asia australasia backward leap-seconds.list leapseconds version Log Message: Merge tzdata2022agtz To generate a diff of this commit: cvs

CVS commit: src/external/public-domain/tz/dist

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:20:19 UTC 2022 Modified Files: src/external/public-domain/tz/dist: asia australasia backward leap-seconds.list leapseconds version Log Message: Merge tzdata2022agtz To generate a diff of this commit: cvs

CVS commit: src/sys/dev

2022-03-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 20 19:26:27 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_aselect.c src/sys/dev/usb: umass.c Log Message: s/initialiase/initialise/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src

2022-03-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 20 20:19:35 UTC 2022 Modified Files: src/share/misc: acronyms.comp src/sys/arch/hppa/hppa: lock_stubs.S src/sys/net: if_types.h Log Message: s/circut/circuit/ and s/circiut/circuit/ in comments and

CVS commit: src

2022-03-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 20 20:19:35 UTC 2022 Modified Files: src/share/misc: acronyms.comp src/sys/arch/hppa/hppa: lock_stubs.S src/sys/net: if_types.h Log Message: s/circut/circuit/ and s/circiut/circuit/ in comments and

CVS commit: src

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 18:19:58 UTC 2022 Modified Files: src/share/man/man4: rnd.4 src/share/man/man7: entropy.7 src/sys/kern: kern_entropy.c Log Message: entropy(9): Improve entropy warning messages and documentation. -

CVS commit: src

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Mar 20 18:19:58 UTC 2022 Modified Files: src/share/man/man4: rnd.4 src/share/man/man7: entropy.7 src/sys/kern: kern_entropy.c Log Message: entropy(9): Improve entropy warning messages and documentation. -

CVS commit: src/sys/dev

2022-03-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 20 19:26:27 UTC 2022 Modified Files: src/sys/dev/raidframe: rf_aselect.c src/sys/dev/usb: umass.c Log Message: s/initialiase/initialise/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS import: src/external/public-domain/tz/dist

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:00:00 UTC 2022 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv21813 Log Message: Import tzdata2022agtz not from ftp://ftp.iana.org/tz/releases/tzdata2022agtz.tar.gz

CVS import: src/external/public-domain/tz/dist

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:00:00 UTC 2022 Update of /cvsroot/src/external/public-domain/tz/dist In directory ivanova.netbsd.org:/tmp/cvs-serv21813 Log Message: Import tzdata2022agtz not from ftp://ftp.iana.org/tz/releases/tzdata2022agtz.tar.gz

CVS commit: src/doc

2022-03-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 20 18:04:52 UTC 2022 Modified Files: src/doc: 3RDPARTY CHANGES Log Message: Note tzdata 2022a (using tzdata2022agtz upstream fork) To generate a diff of this commit: cvs rdiff -u -r1.1845 -r1.1846 src/doc/3RDPARTY cvs

CVS commit: src/doc

2022-03-20 Thread Robert Elz
at would lockup the FS. [reinoud 20220309] OpenSSL: Imported 1.1.1n. [christos 20220315] + tzdata: updated to 2022a (using the 2022agtz fork to restore data + from previously merged zones) [kre 20220320] +

CVS commit: src/sys/net

2022-03-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 20 20:37:59 UTC 2022 Modified Files: src/sys/net: if_types.h Log Message: s/Multilik/Multilink/ To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/net/if_types.h Please note that diffs are not public

CVS commit: src/sys/net

2022-03-20 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sun Mar 20 20:37:59 UTC 2022 Modified Files: src/sys/net: if_types.h Log Message: s/Multilik/Multilink/ To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/net/if_types.h Please note that diffs are not public

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 21 00:25:04 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Make rnd_lock_sources work while cold. x86 uses entropy_extract verry early. Fixes mistake in previous that did not

CVS commit: src/sys/kern

2022-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Mar 21 00:25:04 UTC 2022 Modified Files: src/sys/kern: kern_entropy.c Log Message: entropy(9): Make rnd_lock_sources work while cold. x86 uses entropy_extract verry early. Fixes mistake in previous that did not