CVS commit: src/sys/arch/aarch64/aarch64

2021-10-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 21 06:06:16 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: fix gimplish To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/arch/aarch64/aarch64/locore.S Please note that d

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 21 06:06:16 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: fix gimplish To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/arch/aarch64/aarch64/locore.S Please note that d

CVS commit: src/sys/dev/pci

2021-10-20 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Oct 21 05:37:43 UTC 2021 Modified Files: src/sys/dev/pci: virtio.c virtio_pci.c virtiovar.h Log Message: virtio: reconfigure MSI-X vector on re-initialization This may fix a problem that some interrupts, for example link-s

CVS commit: src/sys/dev/pci

2021-10-20 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Oct 21 05:37:43 UTC 2021 Modified Files: src/sys/dev/pci: virtio.c virtio_pci.c virtiovar.h Log Message: virtio: reconfigure MSI-X vector on re-initialization This may fix a problem that some interrupts, for example link-s

CVS commit: src/sys/dev/pci

2021-10-20 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Oct 21 05:32:27 UTC 2021 Modified Files: src/sys/dev/pci: virtio.c virtio_pci.c virtiovar.h Log Message: divide setup routine of virtio interrupts into establishment and device configuration To generate a diff of this com

CVS commit: src/sys/dev/pci

2021-10-20 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Oct 21 05:32:27 UTC 2021 Modified Files: src/sys/dev/pci: virtio.c virtio_pci.c virtiovar.h Log Message: divide setup routine of virtio interrupts into establishment and device configuration To generate a diff of this com

CVS commit: src/share/man/man4

2021-10-20 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Thu Oct 21 04:51:11 UTC 2021 Modified Files: src/share/man/man4: pms.4 Log Message: Add documentation for the button_region_movement_enable variable. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/share/man/man

CVS commit: src/share/man/man4

2021-10-20 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Thu Oct 21 04:51:11 UTC 2021 Modified Files: src/share/man/man4: pms.4 Log Message: Add documentation for the button_region_movement_enable variable. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/share/man/man

CVS commit: src/sys/dev/pckbport

2021-10-20 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Thu Oct 21 04:49:28 UTC 2021 Modified Files: src/sys/dev/pckbport: synaptics.c synapticsvar.h Log Message: Significant update to the synaptics touchpad driver. * Accumulate packets for primary, secondary, finger count packets be

CVS commit: src/sys/dev/pckbport

2021-10-20 Thread Brett Lymn
Module Name:src Committed By: blymn Date: Thu Oct 21 04:49:28 UTC 2021 Modified Files: src/sys/dev/pckbport: synaptics.c synapticsvar.h Log Message: Significant update to the synaptics touchpad driver. * Accumulate packets for primary, secondary, finger count packets be

CVS commit: src/sys/arch/arm/cortex

2021-10-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 21 04:47:57 UTC 2021 Modified Files: src/sys/arch/arm/cortex: gic.c Log Message: Fix some conditionals to match gicv3 and add some comments to describe what's going on. Fixes PR port-evbarm/56420 To generate a diff of th

CVS commit: src/sys/arch/arm/cortex

2021-10-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 21 04:47:57 UTC 2021 Modified Files: src/sys/arch/arm/cortex: gic.c Log Message: Fix some conditionals to match gicv3 and add some comments to describe what's going on. Fixes PR port-evbarm/56420 To generate a diff of th

CVS commit: src/doc

2021-10-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Oct 21 02:47:17 UTC 2021 Modified Files: src/doc: CHANGES Log Message: doc: pktq_rps_hash() changes. To generate a diff of this commit: cvs rdiff -u -r1.2841 -r1.2842 src/doc/CHANGES Please note that diffs are not public

CVS commit: src/doc

2021-10-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Thu Oct 21 02:47:17 UTC 2021 Modified Files: src/doc: CHANGES Log Message: doc: pktq_rps_hash() changes. To generate a diff of this commit: cvs rdiff -u -r1.2841 -r1.2842 src/doc/CHANGES Please note that diffs are not public

CVS commit: src/sys

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 02:34:04 UTC 2021 Modified Files: src/sys/kern: kern_event.c src/sys/sys: event.h Log Message: Allow the f_touch() filter op to return an error, specifically in the EVENT_REGISTER case. To generate a diff of

CVS commit: src/sys

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 02:34:04 UTC 2021 Modified Files: src/sys/kern: kern_event.c src/sys/sys: event.h Log Message: Allow the f_touch() filter op to return an error, specifically in the EVENT_REGISTER case. To generate a diff of

CVS commit: src/sys/kern

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 01:11:21 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: Re-factor the code that computes the EVFILT_TIMER value into its own function. NFC. To generate a diff of this commit: cvs rdiff -u -r1.133 -

CVS commit: src/sys/kern

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 01:11:21 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: Re-factor the code that computes the EVFILT_TIMER value into its own function. NFC. To generate a diff of this commit: cvs rdiff -u -r1.133 -

CVS commit: src/sys/dev/acpi

2021-10-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 21 00:56:52 UTC 2021 Modified Files: src/sys/dev/acpi: com_acpi.c Log Message: acpi: com: Honour the reg-shift property To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/acpi/com_acpi.c Please

CVS commit: src/sys/dev/acpi

2021-10-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 21 00:56:52 UTC 2021 Modified Files: src/sys/dev/acpi: com_acpi.c Log Message: acpi: com: Honour the reg-shift property To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/acpi/com_acpi.c Please

CVS commit: src/sys/kern

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 00:54:15 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: - Don't use a separate kqueue_timer_lock; just protect those knotes with the kq->kq_lock. - Re-factor the guts of knote_activate() into knote_

CVS commit: src/sys/kern

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Oct 21 00:54:15 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: - Don't use a separate kqueue_timer_lock; just protect those knotes with the kq->kq_lock. - Re-factor the guts of knote_activate() into knote_

CVS commit: src/sys/arch/arm/acpi

2021-10-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 21 00:09:28 UTC 2021 Modified Files: src/sys/arch/arm/acpi: acpi_platform.c Log Message: baud_rate is signed now To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/acpi/acpi_platform.c Plea

CVS commit: src/sys/arch/arm/acpi

2021-10-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Oct 21 00:09:28 UTC 2021 Modified Files: src/sys/arch/arm/acpi: acpi_platform.c Log Message: baud_rate is signed now To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/acpi/acpi_platform.c Plea

CVS commit: src/distrib/notes/common

2021-10-20 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Oct 20 23:45:09 UTC 2021 Modified Files: src/distrib/notes/common: main Log Message: main: add .gz extension to .img references for consistency To generate a diff of this commit: cvs rdiff -u -r1.566 -r1.567 src/distrib/

CVS commit: src/distrib/notes/common

2021-10-20 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Oct 20 23:45:09 UTC 2021 Modified Files: src/distrib/notes/common: main Log Message: main: add .gz extension to .img references for consistency To generate a diff of this commit: cvs rdiff -u -r1.566 -r1.567 src/distrib/

CVS commit: src/distrib/notes/common

2021-10-20 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Oct 20 23:30:30 UTC 2021 Modified Files: src/distrib/notes/common: main Log Message: main: add note about amd64 now having a "bios" image, too To generate a diff of this commit: cvs rdiff -u -r1.565 -r1.566 src/distrib/n

CVS commit: src/distrib/notes/common

2021-10-20 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Oct 20 23:30:30 UTC 2021 Modified Files: src/distrib/notes/common: main Log Message: main: add note about amd64 now having a "bios" image, too To generate a diff of this commit: cvs rdiff -u -r1.565 -r1.566 src/distrib/n

CVS commit: src/distrib/notes/common

2021-10-20 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Oct 20 23:23:59 UTC 2021 Modified Files: src/distrib/notes/common: main Log Message: main: simplify conditional markup To generate a diff of this commit: cvs rdiff -u -r1.564 -r1.565 src/distrib/notes/common/main Please

CVS commit: src/distrib/notes/common

2021-10-20 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Oct 20 23:23:59 UTC 2021 Modified Files: src/distrib/notes/common: main Log Message: main: simplify conditional markup To generate a diff of this commit: cvs rdiff -u -r1.564 -r1.565 src/distrib/notes/common/main Please

CVS commit: src/sys/arch/arm/acpi

2021-10-20 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Oct 20 23:03:40 UTC 2021 Modified Files: src/sys/arch/arm/acpi: acpi_platform.c Log Message: SPCR_BAUD_DEFAULT maps better to -1 than 0 Suggested by jmcneill@ To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/arch/arm/acpi

2021-10-20 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Oct 20 23:03:40 UTC 2021 Modified Files: src/sys/arch/arm/acpi: acpi_platform.c Log Message: SPCR_BAUD_DEFAULT maps better to -1 than 0 Suggested by jmcneill@ To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 20:29:33 UTC 2021 Modified Files: src/lib/libcrypt: crypt.3 Log Message: crypt.3: add a reference for Argon2 To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/libcrypt/crypt.3 Please note that diffs

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 20:29:33 UTC 2021 Modified Files: src/lib/libcrypt: crypt.3 Log Message: crypt.3: add a reference for Argon2 To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/libcrypt/crypt.3 Please note that diffs

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 20:21:44 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c Log Message: Be a little bit more eager to let Argon2 use memory. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libcrypt/crypt-ar

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 20:21:44 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c Log Message: Be a little bit more eager to let Argon2 use memory. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libcrypt/crypt-ar

CVS commit: src/sys/dev/i2c

2021-10-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 20 17:52:44 UTC 2021 Modified Files: src/sys/dev/i2c: sgp40.c Log Message: - fix clang compilation: add "%s" to format string - comma is followed by space - KNF multi-line comments - fold long lines - early returns, fixe

CVS commit: src/sys/dev/i2c

2021-10-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 20 17:52:44 UTC 2021 Modified Files: src/sys/dev/i2c: sgp40.c Log Message: - fix clang compilation: add "%s" to format string - comma is followed by space - KNF multi-line comments - fold long lines - early returns, fixe

CVS commit: src/usr.bin/pwhash

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 17:30:29 UTC 2021 Modified Files: src/usr.bin/pwhash: pwhash.1 Log Message: Update remarks on default parameters for Argon2. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/pwhash/pwhash.1 Plea

CVS commit: src/usr.bin/pwhash

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 17:30:29 UTC 2021 Modified Files: src/usr.bin/pwhash: pwhash.1 Log Message: Update remarks on default parameters for Argon2. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.bin/pwhash/pwhash.1 Plea

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 16:46:34 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c Log Message: crypt(3): For argon2, default to time=3. Good enough for a 50MHz SPARC, a shark, and the spec. To generate a diff of this commit: cvs rdiff

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 16:46:34 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c Log Message: crypt(3): For argon2, default to time=3. Good enough for a 50MHz SPARC, a shark, and the spec. To generate a diff of this commit: cvs rdiff

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 15:35:42 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c Log Message: crypt(3): return 0 -> return NULL for function returning char * To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libcry

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 15:35:42 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c Log Message: crypt(3): return 0 -> return NULL for function returning char * To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/lib/libcry

CVS commit: src/tests/kernel/kqueue

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 14:33:14 UTC 2021 Modified Files: src/tests/kernel/kqueue: t_vnode.c Log Message: Add a test case for PR kern/56460. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/kernel/kqueue/t_vnode.c Plea

CVS commit: src/tests/kernel/kqueue

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 14:33:14 UTC 2021 Modified Files: src/tests/kernel/kqueue: t_vnode.c Log Message: Add a test case for PR kern/56460. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/kernel/kqueue/t_vnode.c Plea

CVS commit: src/sys/fs/tmpfs

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 14:28:21 UTC 2021 Modified Files: src/sys/fs/tmpfs: tmpfs_rename.c Log Message: Move a mis-placed KASSERT(). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/fs/tmpfs/tmpfs_rename.c Please note

CVS commit: src/sys/fs/tmpfs

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 14:28:21 UTC 2021 Modified Files: src/sys/fs/tmpfs: tmpfs_rename.c Log Message: Move a mis-placed KASSERT(). To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/fs/tmpfs/tmpfs_rename.c Please note

CVS commit: src/sys/miscfs/genfs

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 13:29:06 UTC 2021 Modified Files: src/sys/miscfs/genfs: genfs_rename.c Log Message: Don't use genfs_rename_knote() in the "rename foo over hard-link to itself" case, which simply results in removing the "from" name; th

CVS commit: src/sys/miscfs/genfs

2021-10-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Oct 20 13:29:06 UTC 2021 Modified Files: src/sys/miscfs/genfs: genfs_rename.c Log Message: Don't use genfs_rename_knote() in the "rename foo over hard-link to itself" case, which simply results in removing the "from" name; th

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 13:03:29 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c pw_gensalt.c Log Message: crypt(3): Adapt default Argon2 parameters to system performance If the parameters are unspecified: - Set the default memory con

CVS commit: src/lib/libcrypt

2021-10-20 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Oct 20 13:03:29 UTC 2021 Modified Files: src/lib/libcrypt: crypt-argon2.c pw_gensalt.c Log Message: crypt(3): Adapt default Argon2 parameters to system performance If the parameters are unspecified: - Set the default memory con

CVS commit: src/sys/dev/pci

2021-10-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 20 08:10:27 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Use wm_flush_desc_rings() more. - Use wm_flush_desc_rings() for newer than PCH_SPT, too. Same as other OSes. It seems that some devices has n

CVS commit: src/sys/dev/pci

2021-10-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 20 08:10:27 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Use wm_flush_desc_rings() more. - Use wm_flush_desc_rings() for newer than PCH_SPT, too. Same as other OSes. It seems that some devices has n

CVS commit: src/sys/dev/pci

2021-10-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 20 08:06:45 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Disable printf()s in wm_flush_desc_rings() because the code is verified. The problem was very rare, so I added those printf()s as we can see. La

CVS commit: src/sys/dev/pci

2021-10-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 20 08:06:45 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Disable printf()s in wm_flush_desc_rings() because the code is verified. The problem was very rare, so I added those printf()s as we can see. La

CVS commit: src/sys/dev/pci

2021-10-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 20 08:02:08 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Change DMA physical address in wm_flush_desc_rings() to match other OSes. - Even without this change, the workaround works with my machines. -

CVS commit: src/sys/dev/pci

2021-10-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 20 08:02:08 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Change DMA physical address in wm_flush_desc_rings() to match other OSes. - Even without this change, the workaround works with my machines. -

CVS commit: src/sys/dev/pci

2021-10-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 20 07:04:28 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix return value of interrupt handler, pointed out by msaitoh@n.o. Even if stopping flag is set (and handler do nothing), the interrupt itself

CVS commit: src/sys/dev/pci

2021-10-20 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Oct 20 07:04:28 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix return value of interrupt handler, pointed out by msaitoh@n.o. Even if stopping flag is set (and handler do nothing), the interrupt itself