Re: svn commit: r366169 - head/sys/mips/include

2020-09-25 Thread Warner Losh
On Fri, Sep 25, 2020 at 5:05 PM Jessica Clarke wrote: > On 26 Sep 2020, at 00:01, Alexander Richardson > wrote: > > > > > > On Fri, 25 Sep 2020, 20:04 Justin Hibbits, wrote: > > Author: jhibbits > > Date: Fri Sep 25 19:04:03 2020 > > New Revision: 366169 > > URL:

svn commit: r366181 - head

2020-09-25 Thread Warner Losh
Author: imp Date: Sat Sep 26 04:06:16 2020 New Revision: 366181 URL: https://svnweb.freebsd.org/changeset/base/366181 Log: fix typo imorted -> imported. Noticed by: Maigurs Stalidzans Modified: head/UPDATING Modified: head/UPDATING

svn commit: r366180 - stable/12/cddl/contrib/opensolaris/lib/libzfs/common

2020-09-25 Thread Alan Somers
Author: asomers Date: Sat Sep 26 02:50:28 2020 New Revision: 366180 URL: https://svnweb.freebsd.org/changeset/base/366180 Log: zfs: Fix resuming receive stream to dataset with mounted clone My fix for bug 248606 (zfs receive: Input/output error accessing dataset after resuming

svn commit: r366179 - in stable/12/sys: cam cam/nvme dev/nvme

2020-09-25 Thread Colin Percival
Author: cperciva Date: Sat Sep 26 00:58:27 2020 New Revision: 366179 URL: https://svnweb.freebsd.org/changeset/base/366179 Log: MFC r360483,360484: Make nvmecontrol work with nda like it does with nvd, and associated bits. This commit changes the size of 'struct

svn commit: r366178 - stable/12/usr.sbin/freebsd-update

2020-09-25 Thread Colin Percival
Author: cperciva Date: Sat Sep 26 00:40:56 2020 New Revision: 366178 URL: https://svnweb.freebsd.org/changeset/base/366178 Log: MFC r365898: Move finalize_components_config from get_params to cmd_*. This eliminates spurious emails from `freebsd-update cron` when the src component is

Re: svn commit: r366169 - head/sys/mips/include

2020-09-25 Thread Jessica Clarke
On 26 Sep 2020, at 00:01, Alexander Richardson wrote: > > > On Fri, 25 Sep 2020, 20:04 Justin Hibbits, wrote: > Author: jhibbits > Date: Fri Sep 25 19:04:03 2020 > New Revision: 366169 > URL: https://svnweb.freebsd.org/changeset/base/366169 > > Log: > mips: Fix compat32 library builds from

Re: svn commit: r366169 - head/sys/mips/include

2020-09-25 Thread Alexander Richardson
On Fri, 25 Sep 2020, 20:04 Justin Hibbits, wrote: > Author: jhibbits > Date: Fri Sep 25 19:04:03 2020 > New Revision: 366169 > URL: https://svnweb.freebsd.org/changeset/base/366169 > > Log: > mips: Fix compat32 library builds from r366162 > > Re-add the a_ptr and a_fcn fields to

svn commit: r366177 - in releng/12.2: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/aes crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/b...

2020-09-25 Thread Jung-uk Kim
Author: jkim Date: Fri Sep 25 22:43:14 2020 New Revision: 366177 URL: https://svnweb.freebsd.org/changeset/base/366177 Log: MFS: r366176 Merge OpenSSL 1.1.1h. Approved by: re (gjb) Deleted: releng/12.2/crypto/openssl/crypto/ec/asm/ecp_nistz256-avx2.pl Modified:

Re: svn commit: r365643 - head/bin/cp

2020-09-25 Thread Mateusz Guzik
Perhaps this is a leftover from the installer (or some version of it anyway), i.e. this might have been happening in the past but likely does not now. fwiw I just exported / over nfs in a vm, /dev is empty On 9/25/20, Ian Lepore wrote: > On Fri, 2020-09-25 at 20:48 +0100, Edward Tomasz

svn commit: r366176 - in stable/12: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/aes crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn ...

2020-09-25 Thread Jung-uk Kim
Author: jkim Date: Fri Sep 25 21:58:43 2020 New Revision: 366176 URL: https://svnweb.freebsd.org/changeset/base/366176 Log: MFC: r366004 Merge OpenSSL 1.1.1h. Deleted: stable/12/crypto/openssl/crypto/ec/asm/ecp_nistz256-avx2.pl Modified: stable/12/crypto/openssl/CHANGES

Re: svn commit: r365643 - head/bin/cp

2020-09-25 Thread Ian Lepore
On Fri, 2020-09-25 at 20:48 +0100, Edward Tomasz Napierała wrote: > > On 25 Sep 2020, at 19:12, Ian Lepore wrote: > > [..] > > > (A question that occurs to me: could it be that the files you've > > seen > > got created at shutdown after devfs was unmounted, rather than at > > startup? I don't

svn commit: r366175 - head/sys/cam/scsi

2020-09-25 Thread John Baldwin
Author: jhb Date: Fri Sep 25 21:19:56 2020 New Revision: 366175 URL: https://svnweb.freebsd.org/changeset/base/366175 Log: Revert most of r360179. I had failed to notice that sgsendccb() was using cam_periph_mapmem() and thus was not passing down user pointers directly to drivers. In

svn commit: r366174 - stable/12/share/mk

2020-09-25 Thread John Baldwin
Author: jhb Date: Fri Sep 25 21:18:43 2020 New Revision: 366174 URL: https://svnweb.freebsd.org/changeset/base/366174 Log: MFC 365013: Suppress -Wempty-body warnings in GCC 6.x and later. libc++ in LLVM 11 uses an empty else clause in include/c++/v1/__thread_support which triggers this

svn commit: r366173 - head/sys/sys

2020-09-25 Thread Warner Losh
Author: imp Date: Fri Sep 25 20:51:07 2020 New Revision: 366173 URL: https://svnweb.freebsd.org/changeset/base/366173 Log: Adjustments to includes for openzfs in _STANDALONE Allow the necessary parts of systm.h to be visible in the _STANDALONE environnment. Limit the reset to only being

svn commit: r366171 - head/sys/mips/mips

2020-09-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Sep 25 20:27:36 2020 New Revision: 366171 URL: https://svnweb.freebsd.org/changeset/base/366171 Log: Fix mips64 build Original patch was against FreeBSD 12, and a test compile wasn't run against head. md_tls_tcb_offset field was moved from mdthread to mdproc

Re: svn commit: r365643 - head/bin/cp

2020-09-25 Thread Edward Tomasz Napierała
> On 25 Sep 2020, at 19:12, Ian Lepore wrote: [..] > (A question that occurs to me: could it be that the files you've seen > got created at shutdown after devfs was unmounted, rather than at > startup? I don't know enough about the shutdown sequence to know > whether that's possible.) Thing

svn commit: r366170 - stable/11/sys/netgraph

2020-09-25 Thread Mark Johnston
Author: markj Date: Fri Sep 25 19:11:21 2020 New Revision: 366170 URL: https://svnweb.freebsd.org/changeset/base/366170 Log: MFC r353027 (by glebius): Protect access to seq->xwin[] with the seq mutex. Modified: stable/11/sys/netgraph/ng_l2tp.c Directory Properties: stable/11/ (props

svn commit: r366169 - head/sys/mips/include

2020-09-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Sep 25 19:04:03 2020 New Revision: 366169 URL: https://svnweb.freebsd.org/changeset/base/366169 Log: mips: Fix compat32 library builds from r366162 Re-add the a_ptr and a_fcn fields to Elf32_Auxinfo. MFC after:1 week Sponsored by: Juniper Networks,

svn commit: r366168 - head/sys/sys

2020-09-25 Thread Warner Losh
Author: imp Date: Fri Sep 25 19:02:49 2020 New Revision: 366168 URL: https://svnweb.freebsd.org/changeset/base/366168 Log: Dont let kernel and standalone both be defined at the same time _KERNEL and _STANDALONE are different things. They cannot both be true at the same time. If things

svn commit: r366167 - head/sys/netgraph

2020-09-25 Thread Mark Johnston
Author: markj Date: Fri Sep 25 18:55:50 2020 New Revision: 366167 URL: https://svnweb.freebsd.org/changeset/base/366167 Log: ng_l2tp: Fix callout synchronization in the rexmit timeout handler A received control packet may cause the transmit queue to be flushed, in which case

svn commit: r366166 - stable/12

2020-09-25 Thread Glen Barber
Author: gjb Date: Fri Sep 25 18:21:50 2020 New Revision: 366166 URL: https://svnweb.freebsd.org/changeset/base/366166 Log: Record missing svn:mergeinfo for r366163. Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: Directory Properties: stable/12/ (props changed)

svn commit: r366164 - head/usr.sbin/efivar

2020-09-25 Thread Warner Losh
Author: imp Date: Fri Sep 25 18:20:41 2020 New Revision: 366164 URL: https://svnweb.freebsd.org/changeset/base/366164 Log: Tweak output of the loader variable When the DEVICE_PATH is <= 4 that means it's effectively empty. I have a laptop that has a BIOS that likes to generate these:

svn commit: r366165 - head/usr.sbin/efivar

2020-09-25 Thread Warner Losh
Author: imp Date: Fri Sep 25 18:20:45 2020 New Revision: 366165 URL: https://svnweb.freebsd.org/changeset/base/366165 Log: Comment out bogus command line entry Linux implements -d to mean --print-decimal. We don't implement that and use -d for --device-path. Note that. Modified:

Re: svn commit: r365643 - head/bin/cp

2020-09-25 Thread Ian Lepore
On Fri, 2020-09-25 at 10:55 -0700, Rodney W. Grimes wrote: > > I was under the impression from previous reading and kib's response > > that this is a complete non-issue, there's no way you can go > > multi-user without a mounted /dev and we go to somewhat great > > lengths to make sure we're good.

Re: svn commit: r365643 - head/bin/cp

2020-09-25 Thread Rodney W. Grimes
> On Thu, Sep 24, 2020 at 3:08 AM Stefan Esser wrote: > > > > Am 24.09.20 um 08:54 schrieb Warner Losh: > > > > > > > > > On Thu, Sep 24, 2020 at 12:41 AM Stefan Esser > > > wrote: > > > > > > Am 23.09.20 um 19:23 schrieb Warner Losh> But for this issue, we're > > >

Re: svn commit: r365643 - head/bin/cp

2020-09-25 Thread Rodney W. Grimes
> Am 24.09.20 um 08:54 schrieb Warner Losh: > > > > > > On Thu, Sep 24, 2020 at 12:41 AM Stefan Esser > > wrote: > > > > Am 23.09.20 um 19:23 schrieb Warner Losh> But for this issue, we're not > > mounting devfs early enough.? We should > > > fix that.

Re: svn commit: r365643 - head/bin/cp

2020-09-25 Thread Rodney W. Grimes
> On Thu, Sep 24, 2020 at 12:41 AM Stefan Esser wrote: > > > Am 23.09.20 um 19:23 schrieb Warner Losh> But for this issue, we're not > > mounting devfs early enough. We should > > > fix that. Removing /dev/null from the boot process likely is never going > > > to happen because we use it all

Re: svn commit: r365643 - head/bin/cp

2020-09-25 Thread Rodney W. Grimes
> On Wed, Sep 23, 2020 at 11:23:51AM -0600, Warner Losh wrote: > > On Wed, Sep 23, 2020, 10:56 AM Rodney W. Grimes > > wrote: > > > > > > cp is already fixed, people are still feeling the fallout of being > > > > within those revisions and needing to bootstrap their own cp. We can > > > > reduce

svn commit: r366163 - stable/12/sbin/growfs

2020-09-25 Thread Kirk McKusick
Author: mckusick Date: Fri Sep 25 17:14:35 2020 New Revision: 366163 URL: https://svnweb.freebsd.org/changeset/base/366163 Log: MFC of 365992 Update check-hash when doing large filesystem expansions. Sponsored by: Netflix Modified: stable/12/sbin/growfs/growfs.c Modified:

svn commit: r366162 - in head/sys/mips: include mips

2020-09-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Sep 25 17:13:45 2020 New Revision: 366162 URL: https://svnweb.freebsd.org/changeset/base/366162 Log: Fix compat32 on mips64 Summary: Two bugs: * Elf32_Auxinfo is broken, using pointers in the union, which are 64-bits not 32. * freebsd32_sysarch()

svn commit: r366161 - head/sys/dev/extres/syscon

2020-09-25 Thread Michal Meloun
Author: mmel Date: Fri Sep 25 16:44:01 2020 New Revision: 366161 URL: https://svnweb.freebsd.org/changeset/base/366161 Log: Refine locking inside of syscon driver. In some cases, the syscon driver may be used by consumer requiring better control about locking (ie. it may be used as registe

svn commit: r366160 - releng/12.2/sys/fs/udf

2020-09-25 Thread Mark Johnston
Author: markj Date: Fri Sep 25 16:34:42 2020 New Revision: 366160 URL: https://svnweb.freebsd.org/changeset/base/366160 Log: MFS r366154: MFC r366005: udf: Validate the full file entry length PR: 248613 Approved by: re (gjb) Modified: releng/12.2/sys/fs/udf/udf_vfsops.c

svn commit: r366159 - head/tests/sys/netinet

2020-09-25 Thread Olivier Cochard
Author: olivier (ports committer) Date: Fri Sep 25 16:02:13 2020 New Revision: 366159 URL: https://svnweb.freebsd.org/changeset/base/366159 Log: Enable SO_LINGER to the so_reuseport_lb_test regression tests, preventing many sockets in TIME_WAIT state at the end of the test. PR:

svn commit: r366158 - stable/12/sys/arm64/arm64

2020-09-25 Thread Mark Johnston
Author: markj Date: Fri Sep 25 13:59:50 2020 New Revision: 366158 URL: https://svnweb.freebsd.org/changeset/base/366158 Log: MFC r365879, r365976: Assert we are not traversing through superpages in the arm64 pmap. Modified: stable/12/sys/arm64/arm64/pmap.c Directory Properties:

svn commit: r366157 - stable/12/share/mk

2020-09-25 Thread Mark Johnston
Author: markj Date: Fri Sep 25 13:53:32 2020 New Revision: 366157 URL: https://svnweb.freebsd.org/changeset/base/366157 Log: MFC r365889: Install library symlinks atomically. PR: 233769 Modified: stable/12/share/mk/bsd.lib.mk Directory Properties: stable/12/ (props changed)

svn commit: r366156 - in head/sys/dev: extres/syscon fdt

2020-09-25 Thread Michal Meloun
Author: mmel Date: Fri Sep 25 13:52:31 2020 New Revision: 366156 URL: https://svnweb.freebsd.org/changeset/base/366156 Log: Correctly handle nodes compatible with "syscon", "simple-bus". Syscon can also have child nodes that share a registration file with it. To do this correctly, follow

svn commit: r366155 - stable/11/sys/fs/udf

2020-09-25 Thread Mark Johnston
Author: markj Date: Fri Sep 25 13:28:57 2020 New Revision: 366155 URL: https://svnweb.freebsd.org/changeset/base/366155 Log: MFC r366005: udf: Validate the full file entry length PR: 248613 Modified: stable/11/sys/fs/udf/udf_vfsops.c Directory Properties: stable/11/ (props

svn commit: r366154 - stable/12/sys/fs/udf

2020-09-25 Thread Mark Johnston
Author: markj Date: Fri Sep 25 13:24:29 2020 New Revision: 366154 URL: https://svnweb.freebsd.org/changeset/base/366154 Log: MFC r366005: udf: Validate the full file entry length PR: 248613 Modified: stable/12/sys/fs/udf/udf_vfsops.c Directory Properties: stable/12/ (props

svn commit: r366153 - stable/12/usr.bin/procstat

2020-09-25 Thread Konstantin Belousov
Author: kib Date: Fri Sep 25 12:54:42 2020 New Revision: 366153 URL: https://svnweb.freebsd.org/changeset/base/366153 Log: MFC r365880: Add pargs, penv, pwdx commands and aliases to procstat(1). Added: stable/12/usr.bin/procstat/procstat_penv.c - copied unchanged from r365880,

svn commit: r366152 - stable/12/sbin/ping6

2020-09-25 Thread Richard Scheffenegger
Author: rscheff Date: Fri Sep 25 10:57:11 2020 New Revision: 366152 URL: https://svnweb.freebsd.org/changeset/base/366152 Log: MFC r365547: Add -z "TOS" option to ping6, to test DSCP/ECN values ping has the option to add the (deprecated) TOS byte using the -z option. Adding the same

svn commit: r366151 - stable/12/sys/netinet/cc

2020-09-25 Thread Richard Scheffenegger
Author: rscheff Date: Fri Sep 25 10:49:26 2020 New Revision: 366151 URL: https://svnweb.freebsd.org/changeset/base/366151 Log: MFC r365546: cc_mod: remove unused CCF_DELACK definition During the DCTCP improvements, use of CCF_DELACK was removed. This change is just to rename the unused

svn commit: r366150 - head/sys/netinet

2020-09-25 Thread Richard Scheffenegger
Author: rscheff Date: Fri Sep 25 10:38:19 2020 New Revision: 366150 URL: https://svnweb.freebsd.org/changeset/base/366150 Log: TCP: send full initial window when timestamps are in use The fastpath in tcp_output tries to send out full segments, and avoid sending partial segments by

svn commit: r366149 - head/sys/netinet/cc

2020-09-25 Thread Richard Scheffenegger
Author: rscheff Date: Fri Sep 25 10:23:14 2020 New Revision: 366149 URL: https://svnweb.freebsd.org/changeset/base/366149 Log: TCP newreno: improve after_idle ssthresh Adjust ssthresh in after_idle to the maximum of the prior ssthresh, or 3/4 of the prior cwnd. See RFC2861 section 2

svn commit: r366148 - head/contrib/nvi/man

2020-09-25 Thread Fernando Apesteguía
Author: fernape (ports committer) Date: Fri Sep 25 10:20:12 2020 New Revision: 366148 URL: https://svnweb.freebsd.org/changeset/base/366148 Log: vi(1): Add URL to the vi/ex reference manual in the man page Reported in PR 241985 The manual page references the "vi/ex reference manual"

svn commit: r366147 - in head/sys: amd64/linux amd64/linux32 arm/linux arm64/linux compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/linux kern sys

2020-09-25 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Sep 25 10:05:38 2020 New Revision: 366147 URL: https://svnweb.freebsd.org/changeset/base/366147 Log: Regen after r366145. Sponsored by: DARPA Modified: head/sys/amd64/linux/linux_proto.h head/sys/amd64/linux/linux_sysent.c

svn commit: r366146 - head/sys/dev/fdt

2020-09-25 Thread Michal Meloun
Author: mmel Date: Fri Sep 25 09:56:50 2020 New Revision: 366146 URL: https://svnweb.freebsd.org/changeset/base/366146 Log: Make simplebus friendlier for subclassing. MFC after:1 week Modified: head/sys/dev/fdt/simplebus.c head/sys/dev/fdt/simplebus.h Modified:

svn commit: r366145 - head/sys/tools

2020-09-25 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Sep 25 09:34:00 2020 New Revision: 366145 URL: https://svnweb.freebsd.org/changeset/base/366145 Log: Make makesyscalls.lua initialize 'struct sysent' entries using c99 designated initializers. This makes it easier to modify 'struct sysent' layout. Reviewed by:

svn commit: r366144 - head/usr.sbin/pwm

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:55:08 2020 New Revision: 366144 URL: https://svnweb.freebsd.org/changeset/base/366144 Log: pwm(8): fix potential duty overflow, use unsigneds for period and duty For a long period value and the duty specified as a percentage, there could be an overflow.

svn commit: r366143 - head/usr.sbin/pwm

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:54:38 2020 New Revision: 366143 URL: https://svnweb.freebsd.org/changeset/base/366143 Log: pwm(8): do not exit with failure after successfully reading configuration MFC after:1 week Modified: head/usr.sbin/pwm/pwm.c Modified: head/usr.sbin/pwm/pwm.c

Re: svn commit: r366142 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
On 25/09/2020 10:41, Andriy Gapon wrote: > [*] At the same time I must note that the KPI provides for maximum > period of about 4 seconds (2^32 nanoseconds). Also, the KPI does not provide a way to invert active level of which some controllers are capable. -- Andriy Gapon

svn commit: r366141 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:40:56 2020 New Revision: 366141 URL: https://svnweb.freebsd.org/changeset/base/366141 Log: aw_pwm: ensure sane configuration, just in case Make sure that the hardware is configured to cycle mode and that the bypass is disabled. MFC after:2 weeks

svn commit: r366142 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:41:51 2020 New Revision: 366142 URL: https://svnweb.freebsd.org/changeset/base/366142 Log: aw_pwm: add a check and some comments related to long periods The hardware supports periods as long as 196 seconds[*] when using the maximal prescaling of 72000 and

svn commit: r366139 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:40:02 2020 New Revision: 366139 URL: https://svnweb.freebsd.org/changeset/base/366139 Log: aw_pwm: fix selection of the prescaler Prescaling divides the frequency, not multiplies it. MFC after:2 weeks Modified: head/sys/arm/allwinner/aw_pwm.c

svn commit: r366140 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:40:26 2020 New Revision: 366140 URL: https://svnweb.freebsd.org/changeset/base/366140 Log: aw_pwm: fix programming of the period The programmed value is biased by one: 0 means 1 cycle, 1 means 2 cycles, etc. MFC after:3 weeks Modified:

svn commit: r366137 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:39:14 2020 New Revision: 366137 URL: https://svnweb.freebsd.org/changeset/base/366137 Log: aw_pwm: trivially add H3 support MFC after:2 weeks Modified: head/sys/arm/allwinner/aw_pwm.c Modified: head/sys/arm/allwinner/aw_pwm.c

svn commit: r366138 - head/sys/arm/allwinner

2020-09-25 Thread Andriy Gapon
Author: avg Date: Fri Sep 25 07:39:41 2020 New Revision: 366138 URL: https://svnweb.freebsd.org/changeset/base/366138 Log: aw_pwm: remove the busy bit check The bit seems to always be set on my hardware, H3. However, programming the hardware seems to work just fine. MFC after:3