svn commit: r360004 - head/sys/i386/i386

2020-04-15 Thread Scott Long
Author: scottl Date: Thu Apr 16 05:27:13 2020 New Revision: 360004 URL: https://svnweb.freebsd.org/changeset/base/360004 Log: Fix ps_strings type change for i386 Modified: head/sys/i386/i386/machdep.c Modified: head/sys/i386/i386/machdep.c

svn commit: r360003 - head/usr.sbin/mpsutil

2020-04-15 Thread Scott Long
Author: scottl Date: Thu Apr 16 04:17:06 2020 New Revision: 360003 URL: https://svnweb.freebsd.org/changeset/base/360003 Log: Add support for some IOCFacts fields that are available with mpr (12Gb) controllers. It's ugly due to the single codebase for mpr and mps and not being able to

svn commit: r360002 - head/usr.sbin/mpsutil

2020-04-15 Thread Scott Long
Author: scottl Date: Thu Apr 16 03:33:46 2020 New Revision: 360002 URL: https://svnweb.freebsd.org/changeset/base/360002 Log: Don't keep a private copy of mpr_ioctl.h and mps_ioctl.h, since they easily get out of sync with the real files from the driver. Deleted:

svn commit: r360001 - in head/sys/dev: mpr mps

2020-04-15 Thread Scott Long
Author: scottl Date: Thu Apr 16 03:28:28 2020 New Revision: 360001 URL: https://svnweb.freebsd.org/changeset/base/360001 Log: Add a small hack to the ioctl header files so that both mpr and mps can be included. This isn't a great solution, but fixing it correctly is a bigger task and this

svn commit: r360000 - head/usr.sbin/mailwrapper

2020-04-15 Thread Xin LI
Author: delphij Date: Thu Apr 16 03:23:19 2020 New Revision: 36 URL: https://svnweb.freebsd.org/changeset/base/36 Log: Sync with NetBSD/OpenBSD. Modified: head/usr.sbin/mailwrapper/mailwrapper.8 Modified: head/usr.sbin/mailwrapper/mailwrapper.8

Re: svn commit: r359985 - stable/12/sys/dev/atkbdc

2020-04-15 Thread Warner Losh
On Wed, Apr 15, 2020, 6:51 PM Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] > > Author: zeising (doc,ports committer) > > Date: Wed Apr 15 19:47:19 2020 > > New Revision: 359985 > > URL: https://svnweb.freebsd.org/changeset/base/359985 > > > > Log: > > MFC r348873:

svn commit: r359999 - in head: stand/defaults sys/kern

2020-04-15 Thread Kyle Evans
Author: kevans Date: Thu Apr 16 00:54:06 2020 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: Preload hostuuid for early-boot use prison0's hostuuid will get set by the hostid rc script, either after generating it and saving it to /etc/hostid or by simply

Re: svn commit: r359985 - stable/12/sys/dev/atkbdc

2020-04-15 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: zeising (doc,ports committer) > Date: Wed Apr 15 19:47:19 2020 > New Revision: 359985 > URL: https://svnweb.freebsd.org/changeset/base/359985 > > Log: > MFC r348873: Enable touch and trackpads by default > > Enable synaptics and

Re: svn commit: r359987 - in head/sys: amd64/ia32 amd64/linux32 compat/freebsd32 kern sys

2020-04-15 Thread Kyle Evans
On Wed, Apr 15, 2020 at 3:21 PM Brooks Davis wrote: > > Author: brooks > Date: Wed Apr 15 20:21:30 2020 > New Revision: 359987 > URL: https://svnweb.freebsd.org/changeset/base/359987 > > Log: > Make ps_strings in struct image_params into a pointer. > > This is a prepratory commit for D24407.

svn commit: r359997 - head/sys/x86/x86

2020-04-15 Thread Konstantin Belousov
Author: kib Date: Wed Apr 15 22:28:51 2020 New Revision: 359997 URL: https://svnweb.freebsd.org/changeset/base/359997 Log: Improve TSC calibration logic. Stop attempting to use FADT legacy hardware flag, it is almost always a lie. Instead, unless user explicitly disabled the

svn commit: r359995 - in head/sys/fs: nfsclient nfsserver

2020-04-15 Thread Rick Macklem
Author: rmacklem Date: Wed Apr 15 21:27:52 2020 New Revision: 359995 URL: https://svnweb.freebsd.org/changeset/base/359995 Log: Fix the NFSv4.2 extended attribute support for remove extended attrbute. I missed the "atomic" field of the RemoveExtendedAttribute operation's reply when I

Re: svn commit: r359981 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-15 Thread Dimitry Andric
On 15 Apr 2020, at 21:10, Cy Schubert wrote: > > In message <202004151843.03fihi1w031...@repo.freebsd.org>, Dimitry Andric > writes: >> Author: dim >> Date: Wed Apr 15 18:43:44 2020 >> New Revision: 359981 >> URL: https://svnweb.freebsd.org/changeset/base/359981 >> >> Log: >> Revert commit

svn commit: r359994 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-15 Thread Dimitry Andric
Author: dim Date: Wed Apr 15 21:06:38 2020 New Revision: 359994 URL: https://svnweb.freebsd.org/changeset/base/359994 Log: Revert commit b6cf400aa fro llvm git (by Nemanja Ivanovic): Fix bots after a9ad65a2b34f In the last commit, I neglected to initialize the new subtarget

svn commit: r359993 - head/sys/crypto/via

2020-04-15 Thread John Baldwin
Author: jhb Date: Wed Apr 15 21:05:38 2020 New Revision: 359993 URL: https://svnweb.freebsd.org/changeset/base/359993 Log: Use crypto_contiguous_subsegment(). This driver used a home-rolled version that predated the function and didn't support mbufs. Modified:

svn commit: r359992 - head/sys/powerpc/aim

2020-04-15 Thread Alfredo Dal'Ava Junior
Author: alfredo Date: Wed Apr 15 20:33:09 2020 New Revision: 359992 URL: https://svnweb.freebsd.org/changeset/base/359992 Log: powerpc: autosize bpvo based on physical memory Default moea64_bpvo_pool_size 327680 was insufficient for initial memory mapping at boot time on systems with,

svn commit: r359991 - head/lib/libc/gen

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:28:20 2020 New Revision: 359991 URL: https://svnweb.freebsd.org/changeset/base/359991 Log: Attempt to use AT_PS_STRINGS to get the ps_strings pointer. This saves a system call and avoids one of the (relatively rare) cases of the kernel exporting

svn commit: r359990 - head/lib/libc/gen

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:26:41 2020 New Revision: 359990 URL: https://svnweb.freebsd.org/changeset/base/359990 Log: Support AT_PS_STRINGS in _elf_aux_info(). This will be used by setproctitle(). Reviewed by: kib Obtained from:CheriBSD Sponsored by: DARPA

svn commit: r359989 - head/usr.bin/procstat

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:25:38 2020 New Revision: 359989 URL: https://svnweb.freebsd.org/changeset/base/359989 Log: Add procstat support for AT_ flags added in r359988. This includes argc, argv, envc, envv, and ps_strings. Reviewed by: kib Obtained from:CheriBSD

svn commit: r359988 - in head/sys: compat/freebsd32 kern sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:23:55 2020 New Revision: 359988 URL: https://svnweb.freebsd.org/changeset/base/359988 Log: Export argc, argv, envc, envv, and ps_strings in auxargs. This simplifies discovery of these values, potentially with reducing the number of syscalls we need to

svn commit: r359987 - in head/sys: amd64/ia32 amd64/linux32 compat/freebsd32 kern sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:21:30 2020 New Revision: 359987 URL: https://svnweb.freebsd.org/changeset/base/359987 Log: Make ps_strings in struct image_params into a pointer. This is a prepratory commit for D24407. Reviewed by: kib Obtained from:CheriBSD Sponsored

svn commit: r359986 - head/sys/sys

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 20:19:59 2020 New Revision: 359986 URL: https://svnweb.freebsd.org/changeset/base/359986 Log: Introduce an AUXARGS_ENTRY_PTR() macro. As the name implys, it uses the a_ptr member of the auxarg entry (except in compat32 where it uses a_val). This is more

svn commit: r359985 - stable/12/sys/dev/atkbdc

2020-04-15 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Wed Apr 15 19:47:19 2020 New Revision: 359985 URL: https://svnweb.freebsd.org/changeset/base/359985 Log: MFC r348873: Enable touch and trackpads by default Enable synaptics and elantech touchpads, as well as IBM/Lenovo TrackPoints by default,

svn commit: r359984 - head

2020-04-15 Thread John Baldwin
Author: jhb Date: Wed Apr 15 19:33:42 2020 New Revision: 359984 URL: https://svnweb.freebsd.org/changeset/base/359984 Log: Document removal of deprecated algorithms from geli(4). Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r359983 - head/sys/dev/cxgbe/tom

2020-04-15 Thread John Baldwin
Author: jhb Date: Wed Apr 15 19:28:51 2020 New Revision: 359983 URL: https://svnweb.freebsd.org/changeset/base/359983 Log: Set inp_flowid's for TOE connections. KTLS uses the flowid to distribute software encryption tasks among its pool of worker threads. Without this change, all

svn commit: r359982 - head/sys/dev/cxgbe/tom

2020-04-15 Thread John Baldwin
Author: jhb Date: Wed Apr 15 19:23:53 2020 New Revision: 359982 URL: https://svnweb.freebsd.org/changeset/base/359982 Log: Clear CPL_GET_TCB_RPL handler on module unload. This fixes a panic when unloading and reloading t4_tom.ko since the old pointer is still stored when t4_tom_load

Re: svn commit: r359981 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-15 Thread Cy Schubert
In message <202004151843.03fihi1w031...@repo.freebsd.org>, Dimitry Andric write s: > Author: dim > Date: Wed Apr 15 18:43:44 2020 > New Revision: 359981 > URL: https://svnweb.freebsd.org/changeset/base/359981 > > Log: > Revert commit a9ad65a2b from llvm git (by Nemanja Ivanovic): > >

svn commit: r359981 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2020-04-15 Thread Dimitry Andric
Author: dim Date: Wed Apr 15 18:43:44 2020 New Revision: 359981 URL: https://svnweb.freebsd.org/changeset/base/359981 Log: Revert commit a9ad65a2b from llvm git (by Nemanja Ivanovic): [PowerPC] Change default for unaligned FP access for older subtargets This is a fix for

svn commit: r359980 - in head/sys: kern sys

2020-04-15 Thread Kyle Evans
Author: kevans Date: Wed Apr 15 18:39:12 2020 New Revision: 359980 URL: https://svnweb.freebsd.org/changeset/base/359980 Log: validate_uuid: absorb the rest of parse_uuid with a flags arg This makes the naming annoyance (validate_uuid vs. parse_uuid) less of an issue and centralizes all

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-15 Thread Kyle Evans
On Wed, Apr 15, 2020 at 1:24 PM John Baldwin wrote: > > On 4/15/20 10:55 AM, Kyle Evans wrote: > > On Tue, Apr 14, 2020 at 7:15 PM John Baldwin wrote: > >> > >> Author: jhb > >> Date: Wed Apr 15 00:14:50 2020 > >> New Revision: 359945 > >> URL: https://svnweb.freebsd.org/changeset/base/359945 >

svn commit: r359979 - head/sys/geom/eli

2020-04-15 Thread John Baldwin
Author: jhb Date: Wed Apr 15 18:27:28 2020 New Revision: 359979 URL: https://svnweb.freebsd.org/changeset/base/359979 Log: Mark eli_metadata_crypto_supported inline. This quiets warnings about it not being always used. Reported by: kevans Modified: head/sys/geom/eli/g_eli.h

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-15 Thread John Baldwin
On 4/15/20 10:55 AM, Kyle Evans wrote: > On Tue, Apr 14, 2020 at 7:15 PM John Baldwin wrote: >> >> Author: jhb >> Date: Wed Apr 15 00:14:50 2020 >> New Revision: 359945 >> URL: https://svnweb.freebsd.org/changeset/base/359945 >> >> Log: >> Remove support for geli(4) algorithms deprecated in

svn commit: r359978 - in head: lib/libc/gen lib/libc/net lib/libc/rpc sys/dev/ocs_fc sys/net80211

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 18:15:58 2020 New Revision: 359978 URL: https://svnweb.freebsd.org/changeset/base/359978 Log: Fix -Wvoid-pointer-to-enum-cast warnings. This pattern is used in callbacks with void * data arguments and seems both relatively uncommon and relatively harmless.

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-15 Thread Kyle Evans
On Tue, Apr 14, 2020 at 7:15 PM John Baldwin wrote: > > Author: jhb > Date: Wed Apr 15 00:14:50 2020 > New Revision: 359945 > URL: https://svnweb.freebsd.org/changeset/base/359945 > > Log: > Remove support for geli(4) algorithms deprecated in r348206. > > This removes support for reading and

svn commit: r359977 - head/usr.sbin/nologin

2020-04-15 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Apr 15 17:11:44 2020 New Revision: 359977 URL: https://svnweb.freebsd.org/changeset/base/359977 Log: Fix a typo Reported by: rgrimes MFC with: 359967 Modified: head/usr.sbin/nologin/nologin.8 Modified: head/usr.sbin/nologin/nologin.8

Re: svn commit: r359967 - head/usr.sbin/nologin

2020-04-15 Thread Mateusz Piotrowski
Hi, On 4/15/20 7:00 PM, Rodney W. Grimes wrote: Author: 0mp (doc,ports committer) Date: Wed Apr 15 13:13:46 2020 New Revision: 359967 URL: https://svnweb.freebsd.org/changeset/base/359967 Log: Document the exit status and the stdout message of nologin(8) Reviewed by: debdrup (earlier

Re: svn commit: r359967 - head/usr.sbin/nologin

2020-04-15 Thread Rodney W. Grimes
> Author: 0mp (doc,ports committer) > Date: Wed Apr 15 13:13:46 2020 > New Revision: 359967 > URL: https://svnweb.freebsd.org/changeset/base/359967 > > Log: > Document the exit status and the stdout message of nologin(8) > > Reviewed by:debdrup (earlier version) > MFC after: 2

svn commit: r359976 - head/sys/kern

2020-04-15 Thread Pawel Biernacki
Author: kaktus Date: Wed Apr 15 16:55:38 2020 New Revision: 359976 URL: https://svnweb.freebsd.org/changeset/base/359976 Log: sysctl_handle_string: Put logical or in parentheses. Reported by: rdivacky Approved by: kib (mentor) Pointy-hat to:kaktus Modified:

Re: svn commit: r359949 - head/usr.sbin/bhyve

2020-04-15 Thread Ian Lepore
On Wed, 2020-04-15 at 08:30 -0400, Shawn Webb wrote: > On Wed, Apr 15, 2020 at 01:58:51AM +, Conrad Meyer wrote: > > Author: cem > > Date: Wed Apr 15 01:58:51 2020 > > New Revision: 359949 > > URL: https://svnweb.freebsd.org/changeset/base/359949 > > > > Log: > > bhyve(8): Add bootrom

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

2020-04-15 Thread Brooks Davis
Author: brooks Date: Wed Apr 15 16:33:27 2020 New Revision: 359974 URL: https://svnweb.freebsd.org/changeset/base/359974 Log: Don't directly access userspace memory. Rather then using the racy useracc() followed by direct access to userspace memory, perform a copyin() and use the result

svn commit: r359975 - head/sys/kern

2020-04-15 Thread Pawel Biernacki
Author: kaktus Date: Wed Apr 15 16:33:55 2020 New Revision: 359975 URL: https://svnweb.freebsd.org/changeset/base/359975 Log: sysctl(9): fix handling string tunables. r357614 changed internals of handling string sysctls, and inadvertently broke setting string tunables. Take them into

Re: svn commit: r359949 - head/usr.sbin/bhyve

2020-04-15 Thread Conrad Meyer
No. On Wed, Apr 15, 2020 at 05:30 Shawn Webb wrote: > On Wed, Apr 15, 2020 at 01:58:51AM +, Conrad Meyer wrote: > > Author: cem > > Date: Wed Apr 15 01:58:51 2020 > > New Revision: 359949 > > URL: https://svnweb.freebsd.org/changeset/base/359949 > > > > Log: > > bhyve(8): Add bootrom

Re: svn commit: r359945 - in head: lib/geom/eli sys/geom/eli

2020-04-15 Thread John Baldwin
On 4/14/20 5:22 PM, Alan Somers wrote: > On Tue, Apr 14, 2020 at 6:15 PM John Baldwin wrote: > >> Author: jhb >> Date: Wed Apr 15 00:14:50 2020 >> New Revision: 359945 >> URL: https://svnweb.freebsd.org/changeset/base/359945 >> >> Log: >> Remove support for geli(4) algorithms deprecated in

svn commit: r359973 - head/libexec/rc/rc.d

2020-04-15 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Apr 15 14:07:33 2020 New Revision: 359973 URL: https://svnweb.freebsd.org/changeset/base/359973 Log: sshd: Warn about missing ssh-keygen only when necessary The sshd service is using ssh-keygen to generate missing SSH keys. If ssh-keygen is

svn commit: r359972 - stable/12/sys/dev/ahci

2020-04-15 Thread Alexander Motin
Author: mav Date: Wed Apr 15 13:59:51 2020 New Revision: 359972 URL: https://svnweb.freebsd.org/changeset/base/359972 Log: MFC r359499: Add ID for JMicron JMB582/JMB585 AHCI controller. JMB582 has 2 6Gbps SATA ports and PCIe 3.0 x1. JMB585 has 5 6Gbps SATA ports and PCIe 3.0 x2.

svn commit: r359971 - stable/11/sys/dev/ahci

2020-04-15 Thread Alexander Motin
Author: mav Date: Wed Apr 15 13:59:09 2020 New Revision: 359971 URL: https://svnweb.freebsd.org/changeset/base/359971 Log: MFC r359499: Add ID for JMicron JMB582/JMB585 AHCI controller. JMB582 has 2 6Gbps SATA ports and PCIe 3.0 x1. JMB585 has 5 6Gbps SATA ports and PCIe 3.0 x2.

svn commit: r359970 - stable/12/sys/dev/ahci

2020-04-15 Thread Alexander Motin
Author: mav Date: Wed Apr 15 13:58:42 2020 New Revision: 359970 URL: https://svnweb.freebsd.org/changeset/base/359970 Log: MFC r359499: Add ID for JMicron JMB582/JMB585 AHCI controller. JMB582 has 2 6Gbps SATA ports and PCIe 3.0 x1. JMB585 has 5 6Gbps SATA ports and PCIe 3.0 x2.

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

2020-04-15 Thread Emmanuel Vadot
Author: manu Date: Wed Apr 15 13:35:28 2020 New Revision: 359969 URL: https://svnweb.freebsd.org/changeset/base/359969 Log: arm: allwinner: aw_sid: Fix thermal calibration size for A64 This fixes the aw_thermal driver on A64 SoC. MFC after:1 month X-MFC-With: r359935

svn commit: r359968 - head/sys/kern

2020-04-15 Thread Hans Petter Selasky
Author: hselasky Date: Wed Apr 15 13:20:51 2020 New Revision: 359968 URL: https://svnweb.freebsd.org/changeset/base/359968 Log: Cast all ioctl command arguments through uint32_t internally. Hide debug print showing use of sign extended ioctl command argument under INVARIANTS. The print

svn commit: r359967 - head/usr.sbin/nologin

2020-04-15 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Apr 15 13:13:46 2020 New Revision: 359967 URL: https://svnweb.freebsd.org/changeset/base/359967 Log: Document the exit status and the stdout message of nologin(8) Reviewed by: debdrup (earlier version) MFC after:2 weeks Differential

svn commit: r359966 - head/sys/ofed/drivers/infiniband/core

2020-04-15 Thread Alexander V. Chernikov
Author: melifaro Date: Wed Apr 15 13:06:55 2020 New Revision: 359966 URL: https://svnweb.freebsd.org/changeset/base/359966 Log: Convert OFED rtable interactions to the new routing KPI. Reviewed by: hselasky Differential Revision:https://reviews.freebsd.org/D24387 Modified:

svn commit: r359965 - head/sys/dev/mmc

2020-04-15 Thread Emmanuel Vadot
Author: manu Date: Wed Apr 15 13:02:13 2020 New Revision: 359965 URL: https://svnweb.freebsd.org/changeset/base/359965 Log: mmc_fdt_helpers: Do not schedule a card detection is there is no cd gpio If the fdt node doesn't have a cd-gpios properties or if the node is set as non-removable

svn commit: r359964 - head/sys/netpfil/pf

2020-04-15 Thread Alexander V. Chernikov
Author: melifaro Date: Wed Apr 15 13:00:48 2020 New Revision: 359964 URL: https://svnweb.freebsd.org/changeset/base/359964 Log: Convert pf rtable checks to the new routing KPI. Switch uRPF to use specific fib(9)-provided uRPF. Switch MSS calculation to the latest fib(9) kpi.

svn commit: r359963 - head/sys/netinet6

2020-04-15 Thread Alexander V. Chernikov
Author: melifaro Date: Wed Apr 15 12:56:05 2020 New Revision: 359963 URL: https://svnweb.freebsd.org/changeset/base/359963 Log: Convert ip6_forward() to the new routing KPI. Update ip6_forward() internals to use deembedded IPv6 addresses to simplify calls to the new KPI and prepare for

Re: svn commit: r359949 - head/usr.sbin/bhyve

2020-04-15 Thread Shawn Webb
On Wed, Apr 15, 2020 at 01:58:51AM +, Conrad Meyer wrote: > Author: cem > Date: Wed Apr 15 01:58:51 2020 > New Revision: 359949 > URL: https://svnweb.freebsd.org/changeset/base/359949 > > Log: > bhyve(8): Add bootrom allocation abstraction > > To allow more general use of the bootrom

svn commit: r359962 - head/usr.bin/calendar/calendars

2020-04-15 Thread Hiroki Tagato
Author: tagattie (ports committer) Date: Wed Apr 15 10:20:18 2020 New Revision: 359962 URL: https://svnweb.freebsd.org/changeset/base/359962 Log: Add my birthday Approved by: ehaupt (mentor) Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r359961 - head

2020-04-15 Thread Jung-uk Kim
Author: jkim Date: Wed Apr 15 08:18:28 2020 New Revision: 359961 URL: https://svnweb.freebsd.org/changeset/base/359961 Log: Do not attempt to remove backward compatibility timezones. Since r359736, these timezones are unconditionally installed. Modified: head/ObsoleteFiles.inc

svn commit: r359960 - stable/12/lib/geom/eli

2020-04-15 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Wed Apr 15 08:11:19 2020 New Revision: 359960 URL: https://svnweb.freebsd.org/changeset/base/359960 Log: MFC 359125: Document geli(8) loader variables conventions The geli(8) manual page has an example for preloading keyfiles during boot.