svn commit: r356863 - head/sys/net

2020-01-17 Thread Eugene Grosbein
Author: eugen Date: Sat Jan 18 04:48:05 2020 New Revision: 356863 URL: https://svnweb.freebsd.org/changeset/base/356863 Log: ifa_maintain_loopback_route: adjust debugging output Correction after r333476: - write this as LOG_DEBUG again instead of LOG_INFO; - get back function name

svn commit: r356862 - in head/sys/powerpc: aim include

2020-01-17 Thread Brandon Bergren
Author: bdragon Date: Sat Jan 18 04:12:41 2020 New Revision: 356862 URL: https://svnweb.freebsd.org/changeset/base/356862 Log: D23057: [PowerPC] Fix offset calculations in bridge mode In rS354701, I replaced text relocations with offsets from Unfortunately, the magic variable I was

svn commit: r356861 - head/sys/geom/label

2020-01-17 Thread Conrad Meyer
Author: cem Date: Sat Jan 18 03:33:44 2020 New Revision: 356861 URL: https://svnweb.freebsd.org/changeset/base/356861 Log: GEOM label: strip leading/trailing space synthesizing devfs names %20%20%20 is ugly and doesn't really help make human-readable devfs names. PR: 243318

svn commit: r356860 - in head/sys: powerpc/aim powerpc/powerpc tools

2020-01-17 Thread Justin Hibbits
Author: jhibbits Date: Sat Jan 18 02:39:38 2020 New Revision: 356860 URL: https://svnweb.freebsd.org/changeset/base/356860 Log: Add a 'SINGLETON' directive to kobj interface definition Summary: This makes the interface described in the definition file act like a pseudo-IFUNC service,

svn commit: r356859 - head/sys/kern

2020-01-17 Thread Mateusz Guzik
Author: mjg Date: Sat Jan 18 01:29:02 2020 New Revision: 356859 URL: https://svnweb.freebsd.org/changeset/base/356859 Log: vfs: distribute freevnodes counter per-cpu It gets rolled up to the global when deferred requeueing is performed. A dedicated read routine makes sure to return a

svn commit: r356858 - in head/sys/powerpc: include ofw powernv powerpc

2020-01-17 Thread Justin Hibbits
Author: jhibbits Date: Sat Jan 18 01:26:54 2020 New Revision: 356858 URL: https://svnweb.freebsd.org/changeset/base/356858 Log: powerpc: Fix the NUMA domain list on powernv Summary: Consolidate the NUMA associativity handling into a platform function. Non-NUMA platforms will just fall

svn commit: r356857 - head/sys/powerpc/booke

2020-01-17 Thread Brandon Bergren
Author: bdragon Date: Sat Jan 18 01:22:54 2020 New Revision: 356857 URL: https://svnweb.freebsd.org/changeset/base/356857 Log: [PowerPC] Fix Book-E direct map for >=16G ram on e5500 It turns out the maximum TLB1 page size on e5500 is 4G, despite the format being defined for up to 1TB.

svn commit: r356856 - head/sys/powerpc/powerpc

2020-01-17 Thread Brandon Bergren
Author: bdragon Date: Fri Jan 17 23:41:35 2020 New Revision: 356856 URL: https://svnweb.freebsd.org/changeset/base/356856 Log: [PowerPC] Save a dword in the powerpc64 signal trampoline In r291668, an instruction was added to sigcode64.S without the nop pad at the end being taken out.

svn commit: r356855 - head/usr.sbin/bsdinstall/partedit

2020-01-17 Thread Ben Woods
Author: woodsb02 (ports committer) Date: Fri Jan 17 22:26:41 2020 New Revision: 356855 URL: https://svnweb.freebsd.org/changeset/base/356855 Log: Fix regression in bsdinstall post r356740 - partedit errno(2) 21 EISDIR This resulted in the partitioning step failing if either of the "Auto

svn commit: r356854 - stable/12/sys/cddl/dev/dtrace/arm

2020-01-17 Thread Ian Lepore
Author: ian Date: Fri Jan 17 22:24:56 2020 New Revision: 356854 URL: https://svnweb.freebsd.org/changeset/base/356854 Log: MFC r356574: Remove scary-looking printf output that happens when you kldload dtrace on arm. Replace it with a comment block explaining why the function is empty

svn commit: r356853 - stable/12/sys/arm/conf

2020-01-17 Thread Ian Lepore
Author: ian Date: Fri Jan 17 22:21:38 2020 New Revision: 356853 URL: https://svnweb.freebsd.org/changeset/base/356853 Log: MFC r356295: Add the xdma framework and pl330 dma drivers to arm lint build. Modified: stable/12/sys/arm/conf/NOTES Directory Properties: stable/12/ (props

svn commit: r356852 - head/sys/net80211

2020-01-17 Thread Conrad Meyer
Author: cem Date: Fri Jan 17 22:04:11 2020 New Revision: 356852 URL: https://svnweb.freebsd.org/changeset/base/356852 Log: net80211: Move rate printing in amrr_node_stats() to a separate method This makes amrr_node_stats() cleaner and allows the rate printing to be reusable.

svn commit: r356851 - stable/12

2020-01-17 Thread John Baldwin
Author: jhb Date: Fri Jan 17 22:02:35 2020 New Revision: 356851 URL: https://svnweb.freebsd.org/changeset/base/356851 Log: MFC 353932: Strip "sf" suffix when generating a target triple. This fixes the target triple used when compiling riscv64sf with clang. Sponsored by: DARPA

svn commit: r356850 - stable/12/sys/riscv/include

2020-01-17 Thread John Baldwin
Author: jhb Date: Fri Jan 17 21:57:05 2020 New Revision: 356850 URL: https://svnweb.freebsd.org/changeset/base/356850 Log: MFC 353931: Fix atomic_*cmpset32 on riscv64 with clang. The lr.w instruction used to read the value from memory sign-extends the value read from memory. GCC

svn commit: r356849 - head/sys/arm/broadcom/bcm2835

2020-01-17 Thread Kyle Evans
Author: kevans Date: Fri Jan 17 21:39:28 2020 New Revision: 356849 URL: https://svnweb.freebsd.org/changeset/base/356849 Log: bcm2835_vcbus: unifdef all platform definitions Raspberry Pi are all over the board, and the reality is that there's no harm in including all of the definitions

svn commit: r356847 - vendor/llvm-project/llvmorg-10-init-17468-gc4a134a5107

2020-01-17 Thread Dimitry Andric
Author: dim Date: Fri Jan 17 21:22:11 2020 New Revision: 356847 URL: https://svnweb.freebsd.org/changeset/base/356847 Log: Tag llvm-project release/10.x c4a134a51. Added: vendor/llvm-project/llvmorg-10-init-17468-gc4a134a5107/ - copied from r356846, vendor/llvm-project/release-10.x/

svn commit: r356846 - in vendor/llvm-project/release-10.x/clang: include/clang/Driver lib/Driver tools/driver

2020-01-17 Thread Dimitry Andric
Author: dim Date: Fri Jan 17 21:20:15 2020 New Revision: 356846 URL: https://svnweb.freebsd.org/changeset/base/356846 Log: Vendor import of llvm-project release/10.x c4a134a51. Modified: vendor/llvm-project/release-10.x/clang/include/clang/Driver/Options.td

svn commit: r356845 - vendor/llvm-project/release-10.x

2020-01-17 Thread Dimitry Andric
Author: dim Date: Fri Jan 17 20:50:00 2020 New Revision: 356845 URL: https://svnweb.freebsd.org/changeset/base/356845 Log: Branch vendor/llvm-project/master to vendor/llvm-project/release-10.x, to allow for independent merges of the upstream master and release-10.x branches. Added:

svn commit: r356844 - vendor/llvm-project/llvmorg-10-init-17466-ge26a78e7085

2020-01-17 Thread Dimitry Andric
Author: dim Date: Fri Jan 17 20:46:33 2020 New Revision: 356844 URL: https://svnweb.freebsd.org/changeset/base/356844 Log: Tag llvm-project master e26a78e70, the last commit before the llvmorg-11-init tag, from which release/10.x was branched. Added:

svn commit: r356842 - in vendor/llvm-project/release-9.x: libcxx/src lld lld/COFF lld/Common lld/ELF lld/docs lld/lib lld/lib/Core lld/lib/Driver lld/lib/ReaderWriter lld/lib/ReaderWriter/MachO lld...

2020-01-17 Thread Dimitry Andric
Author: dim Date: Fri Jan 17 20:30:08 2020 New Revision: 356842 URL: https://svnweb.freebsd.org/changeset/base/356842 Log: Remove files from vendor/llvm-project/release-9.x which are unused, and never merged to contrib. Deleted: vendor/llvm-project/release-9.x/libcxx/src/CMakeLists.txt

svn commit: r356841 - in vendor/llvm-project/master: clang/lib/Tooling/Transformer clang/tools/clang-offload-wrapper compiler-rt/lib/gwp_asan/scripts compiler-rt/tools libcxx/src lld lld/COFF lld/C...

2020-01-17 Thread Dimitry Andric
Author: dim Date: Fri Jan 17 20:27:24 2020 New Revision: 356841 URL: https://svnweb.freebsd.org/changeset/base/356841 Log: Remove files from vendor/llvm-project/master which are unused, and never merged to contrib. Deleted:

Re: svn commit: r356832 - head/lib/libc/gen

2020-01-17 Thread Warner Losh
On Fri, Jan 17, 2020 at 11:55 AM Dimitry Andric wrote: > On 17 Jan 2020, at 16:45, Mateusz Guzik wrote: > > > > Author: mjg > > Date: Fri Jan 17 15:45:39 2020 > > New Revision: 356832 > > URL: https://svnweb.freebsd.org/changeset/base/356832 > > > > Log: > > libc: fix build after r356830 > > >

Re: svn commit: r356832 - head/lib/libc/gen

2020-01-17 Thread Mateusz Guzik
On 1/17/20, Dimitry Andric wrote: > On 17 Jan 2020, at 16:45, Mateusz Guzik wrote: >> >> Author: mjg >> Date: Fri Jan 17 15:45:39 2020 >> New Revision: 356832 >> URL: https://svnweb.freebsd.org/changeset/base/356832 >> >> Log: >> libc: fix build after r356830 >> >> Apparently building with 'cd

svn commit: r356840 - head/sys/riscv/riscv

2020-01-17 Thread John Baldwin
Author: jhb Date: Fri Jan 17 19:13:49 2020 New Revision: 356840 URL: https://svnweb.freebsd.org/changeset/base/356840 Log: Check for invalid sstatus values in set_mcontext(). Previously, this check was only in sys_sigreturn() which meant that user applications could write invalid values

svn commit: r356839 - in head/sys: arm64/arm64 riscv/riscv

2020-01-17 Thread John Baldwin
Author: jhb Date: Fri Jan 17 19:01:59 2020 New Revision: 356839 URL: https://svnweb.freebsd.org/changeset/base/356839 Log: Save and restore floating point registers in get/set_mcontext(). arm64 and riscv were only saving and restoring floating point registers for sendsig() and

Re: svn commit: r356832 - head/lib/libc/gen

2020-01-17 Thread Dimitry Andric
On 17 Jan 2020, at 16:45, Mateusz Guzik wrote: > > Author: mjg > Date: Fri Jan 17 15:45:39 2020 > New Revision: 356832 > URL: https://svnweb.freebsd.org/changeset/base/356832 > > Log: > libc: fix build after r356830 > > Apparently building with 'cd lib/libc; make all install' is not the same

svn commit: r356838 - in stable/12: share/man/man4 sys/conf sys/dev/flash sys/dev/iicbus sys/dev/iicbus/mux sys/modules/i2c sys/modules/i2c/mux

2020-01-17 Thread Ian Lepore
Author: ian Date: Fri Jan 17 17:57:34 2020 New Revision: 356838 URL: https://svnweb.freebsd.org/changeset/base/356838 Log: MFC r356086, r356278, r356294, r356519, r356521-r356522, r356525-r356526 r356086: Add comments to a couple i2c device lines in NOTES. r356278: Add support for

svn commit: r356837 - head/share/man/man5

2020-01-17 Thread Ed Maste
Author: emaste Date: Fri Jan 17 17:56:31 2020 New Revision: 356837 URL: https://svnweb.freebsd.org/changeset/base/356837 Log: src.conf.5: regen after r356836, DMAGENT dependency on OPENSSL Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r356836 - head/share/mk

2020-01-17 Thread Ed Maste
Author: emaste Date: Fri Jan 17 17:53:13 2020 New Revision: 356836 URL: https://svnweb.freebsd.org/changeset/base/356836 Log: src.opts.mk: force DMAGENT off under WITHOUT_OPENSSL dma(8) depends on OpenSSL unconditionally. Reported by: Michael Dexter's Build Options Survey run MFC

Re: svn commit: r356831 - head/sys/powerpc/include

2020-01-17 Thread John Baldwin
On 1/17/20 6:43 AM, Leandro Lupori wrote: > Author: luporl > Date: Fri Jan 17 14:43:58 2020 > New Revision: 356831 > URL: https://svnweb.freebsd.org/changeset/base/356831 > > Log: > [PPC] Fix wrong comment > > pcb_context[20] holds r12-r31 and not r14-r31, as the comment said. Thanks,

svn commit: r356835 - head/sys/riscv/riscv

2020-01-17 Thread Mitchell Horne
Author: mhorne Date: Fri Jan 17 17:03:25 2020 New Revision: 356835 URL: https://svnweb.freebsd.org/changeset/base/356835 Log: RISC-V: fix global pointer assignment at boot As part of the RISC-V ABI, the gp register is expected to initialized with the address of __global_pointer$ as early

svn commit: r356834 - head/sys/riscv/riscv

2020-01-17 Thread Ruslan Bukin
Author: br Date: Fri Jan 17 16:48:20 2020 New Revision: 356834 URL: https://svnweb.freebsd.org/changeset/base/356834 Log: Use unsigned loads in fubyte, fuword16, generic_bs_r_1, generic_bs_r_2 as these functions should do zero-extend. Discovered by running pci_read_cap(), and by hint

svn commit: r356833 - in stable/12/sys: arm/arm arm/conf arm/include conf kern sys

2020-01-17 Thread Ian Lepore
Author: ian Date: Fri Jan 17 15:55:14 2020 New Revision: 356833 URL: https://svnweb.freebsd.org/changeset/base/356833 Log: MFC r354709-r354710, r355069, r355439, r355780, r356273, r356472 r354709: Rewrite arm/stack_machdep.c for EABI; add stack(9) support to arm kernels. The old

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

2020-01-17 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 17 15:45:39 2020 New Revision: 356832 URL: https://svnweb.freebsd.org/changeset/base/356832 Log: libc: fix build after r356830 Apparently building with 'cd lib/libc; make all install' is not the same as buildworld. Reported by: Michael Butler Modified:

Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

2020-01-17 Thread Eugene Grosbein
17.01.2020 21:08, Slawa Olhovchenkov wrote: > I am cleary understund you provide expirence from satble/10 to > current/13? > w/ different clang, kernel, etc? No, I'm talking about production and recent stable/11. ___ svn-src-all@freebsd.org mailing

svn commit: r356831 - head/sys/powerpc/include

2020-01-17 Thread Leandro Lupori
Author: luporl Date: Fri Jan 17 14:43:58 2020 New Revision: 356831 URL: https://svnweb.freebsd.org/changeset/base/356831 Log: [PPC] Fix wrong comment pcb_context[20] holds r12-r31 and not r14-r31, as the comment said. Modified: head/sys/powerpc/include/pcb.h Modified:

svn commit: r356830 - in head: lib/libc/gen lib/libc/sys sys/fs/unionfs sys/kern sys/sys

2020-01-17 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 17 14:42:25 2020 New Revision: 356830 URL: https://svnweb.freebsd.org/changeset/base/356830 Log: vfs: provide F_ISUNIONSTACK as a kludge for libc Prior to introduction of this op libc's readdir would call fstatfs(2), in effect unnecessarily copying kilobytes of

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

2020-01-17 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 17 14:40:09 2020 New Revision: 356829 URL: https://svnweb.freebsd.org/changeset/base/356829 Log: libc: assume no union stack if fstatfs fails in readdir The failure is not really expected, but should it happen it's better to get some data. Suggested by: kib

svn commit: r356828 - head/sys/kern

2020-01-17 Thread Mateusz Guzik
Author: mjg Date: Fri Jan 17 14:39:00 2020 New Revision: 356828 URL: https://svnweb.freebsd.org/changeset/base/356828 Log: vfs: shorten lock hold time in vdbatch_process Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

svn commit: r356827 - head/share/mk

2020-01-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 17 14:29:27 2020 New Revision: 356827 URL: https://svnweb.freebsd.org/changeset/base/356827 Log: META_MODE: Allow 'make all install' to work with filemon. Filemon will add the ability to ignore the cookie if the installed file is missing. Without filemon

Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

2020-01-17 Thread Slawa Olhovchenkov
On Fri, Jan 17, 2020 at 08:17:11PM +0700, Eugene Grosbein wrote: > Considering /usr/ports, /usr/src and /usr/obj and amount of RAM > needed to keep metadata in ZFS ARC > >>> > >>> /usr/ports, /usr/src and /usr/obj don't need be exist on low-RAM > >>> install -- use poudriere and release

Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

2020-01-17 Thread Eugene Grosbein
17.01.2020 19:58, Slawa Olhovchenkov wrote: Considering /usr/ports, /usr/src and /usr/obj and amount of RAM needed to keep metadata in ZFS ARC >>> >>> /usr/ports, /usr/src and /usr/obj don't need be exist on low-RAM >>> install -- use poudriere and release build on dedicated build host

Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

2020-01-17 Thread Slawa Olhovchenkov
On Fri, Jan 17, 2020 at 07:35:02PM +0700, Eugene Grosbein wrote: > 17.01.2020 18:21, Slawa Olhovchenkov wrote: > > >> Considering /usr/ports, /usr/src and /usr/obj and amount of RAM > >> needed to keep metadata in ZFS ARC > > > > /usr/ports, /usr/src and /usr/obj don't need be exist on low-RAM

Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

2020-01-17 Thread Eugene Grosbein
17.01.2020 18:21, Slawa Olhovchenkov wrote: >> Considering /usr/ports, /usr/src and /usr/obj and amount of RAM >> needed to keep metadata in ZFS ARC > > /usr/ports, /usr/src and /usr/obj don't need be exist on low-RAM > install -- use poudriere and release build on dedicated build host and >

Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

2020-01-17 Thread Slawa Olhovchenkov
On Thu, Jan 16, 2020 at 04:19:52PM -0800, Devin Teske wrote: > > > > On Jan 16, 2020, at 16:03, Slawa Olhovchenkov wrote: > > > > On Thu, Jan 16, 2020 at 02:43:37PM +0700, Eugene Grosbein wrote: > > > >> 16.01.2020 4:41, Ed Maste wrote: > >> > >>> On Wed, 15 Jan 2020 at 16:10, Eugene

Re: svn commit: r356758 - in head/usr.sbin/bsdinstall: . scripts

2020-01-17 Thread Slawa Olhovchenkov
On Fri, Jan 17, 2020 at 12:12:22PM +0700, Eugene Grosbein wrote: > 17.01.2020 7:03, Slawa Olhovchenkov write: > > There are multiple scenarios there ZFS may be sub-optimal at least: > small i386 virtual guests > or 32-bit only hardware like AMD Geode, or big amd64 SSD-only