Re: svn commit: r356797 - head/share/mk

2020-01-16 Thread Brooks Davis
On Thu, Jan 16, 2020 at 02:18:14PM -0500, Ed Maste wrote: > On Thu, 16 Jan 2020 at 12:34, John Baldwin wrote: > > > > I would support having MK_PROFILE default to off for 13. > > I agree. I'd suggest we got further and turn them off in 13 and announce that we will remove support after the

svn commit: r356826 - in head/sys: kern net sys

2020-01-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 17 06:10:24 2020 New Revision: 356826 URL: https://svnweb.freebsd.org/changeset/base/356826 Log: Change argument order of epoch_call() to more natural, first function, then its argument. Reviewed by: imp, cem, jhb Modified: head/sys/kern/subr_epoch.c

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

2020-01-16 Thread Eugene Grosbein
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 systems with bhyve and multiple guests that need lots of memory and

svn commit: r356822 - head/sys/vm

2020-01-16 Thread Jeff Roberson
Author: jeff Date: Fri Jan 17 03:44:04 2020 New Revision: 356822 URL: https://svnweb.freebsd.org/changeset/base/356822 Log: Fix a long standing bug that was made worse in r355765. When we are cowing a page that was previously mapped read-only it exists in pmap until pmap_enter() returns.

svn commit: r356821 - in head/sbin: init shutdown

2020-01-16 Thread Warner Losh
Author: imp Date: Fri Jan 17 01:20:48 2020 New Revision: 356821 URL: https://svnweb.freebsd.org/changeset/base/356821 Log: Small tweak to the default behavior of shutdown -c 'shutdown -c' is supposed to power cycle the system rather than doing a normal reboot. However, when that fails,

svn commit: r356819 - in head/sys: geom ufs/ffs

2020-01-16 Thread Warner Losh
Author: imp Date: Fri Jan 17 01:16:19 2020 New Revision: 356819 URL: https://svnweb.freebsd.org/changeset/base/356819 Log: Use buf to send speedup It turns out there's a problem with using g_io to send the speedup. It leads to a race when there's a resource shortage when a disk fails.

svn commit: r356820 - head/sys/ufs/ffs

2020-01-16 Thread Warner Losh
Author: imp Date: Fri Jan 17 01:16:23 2020 New Revision: 356820 URL: https://svnweb.freebsd.org/changeset/base/356820 Log: We only want to send the speedup to the lower layers when there's a shortage. Only send a speedup when there's a shortage. While this is a little racy, lost races

svn commit: r356818 - in head/sys/geom: . concat eli gate journal linux_lvm mirror nop part raid raid3 shsec stripe

2020-01-16 Thread Warner Losh
Author: imp Date: Fri Jan 17 01:15:55 2020 New Revision: 356818 URL: https://svnweb.freebsd.org/changeset/base/356818 Log: Pass BIO_SPEEDUP through all the geom layers While some geom layers pass unknown commands down, not all do. For the ones that don't, pass BIO_SPEEDUP down to the

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

2020-01-16 Thread Slawa Olhovchenkov
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 Grosbein wrote: > >> > >> There are multiple scenarios there ZFS may be sub-optimal at least: small > >> i386 virtual guests > >> or 32-bit only

svn commit: r356817 - head/sys/fs/unionfs

2020-01-16 Thread Mateusz Guzik
Author: mjg Date: Thu Jan 16 22:45:08 2020 New Revision: 356817 URL: https://svnweb.freebsd.org/changeset/base/356817 Log: unionfs: use MNTK_NOMSYNC Modified: head/sys/fs/unionfs/union_vfsops.c Modified: head/sys/fs/unionfs/union_vfsops.c

svn commit: r356816 - head/usr.sbin/periodic/etc/security

2020-01-16 Thread Kristof Provost
Author: kp Date: Thu Jan 16 22:08:05 2020 New Revision: 356816 URL: https://svnweb.freebsd.org/changeset/base/356816 Log: Fix pfdenied not returning any results When _a is empty we end up with an invalid invocation of pfctl, and no output. We must add quotes to make it clear to pfctl

svn commit: r356813 - head/sys/dev/mmc/host

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 21:50:53 2020 New Revision: 356813 URL: https://svnweb.freebsd.org/changeset/base/356813 Log: dwmmc: Remove max_hz from the softc We never use it so directly set the value to the mmc host structure. Modified: head/sys/dev/mmc/host/dwmmc.c

svn commit: r356812 - head/sys/kern

2020-01-16 Thread Mateusz Guzik
Author: mjg Date: Thu Jan 16 21:45:21 2020 New Revision: 356812 URL: https://svnweb.freebsd.org/changeset/base/356812 Log: vfs: increment numvnodes without the vnode list lock unless under pressure The vnode list lock is only needed to reclaim free vnodes or kick the vnlru thread (or to

svn commit: r356811 - head/sys/kern

2020-01-16 Thread Mateusz Guzik
Author: mjg Date: Thu Jan 16 21:43:13 2020 New Revision: 356811 URL: https://svnweb.freebsd.org/changeset/base/356811 Log: vfs: refcator vnode allocation Semantics are almost identical. Some code is deduplicated and there are fewer memory accesses. Reviewed by: kib, jeff

svn commit: r356810 - head/usr.bin/random

2020-01-16 Thread Conrad Meyer
Author: cem Date: Thu Jan 16 21:38:44 2020 New Revision: 356810 URL: https://svnweb.freebsd.org/changeset/base/356810 Log: random(6): Fix off-by-one After r355693, random(6) -f sometimes fail to output all the lines of the input file. This is because the range from which random indices

svn commit: r356809 - head/usr.sbin/extattr

2020-01-16 Thread Alan Somers
Author: asomers Date: Thu Jan 16 21:31:56 2020 New Revision: 356809 URL: https://svnweb.freebsd.org/changeset/base/356809 Log: setextattr: Increase stdin buffer size to 4096 Extended attribute values can potentially be quite large. One test for ZFS is supposed to set a 200MB xattr.

svn commit: r356808 - in head/sys: arm64/conf arm64/rockchip arm64/rockchip/clk conf

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 21:25:13 2020 New Revision: 356808 URL: https://svnweb.freebsd.org/changeset/base/356808 Log: arm64: rockchip: Add RK3399 PWM driver Add a driver for the pwm controller in the RK3399 SoC Submitted by: bdragon (original version) Reviewed by: ganbold

svn commit: r356807 - head/sys/arm64/rockchip

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 21:21:20 2020 New Revision: 356807 URL: https://svnweb.freebsd.org/changeset/base/356807 Log: arm64: rockchip: Add new interface for rk_pinctrl The gpio controller in rockchips SoC in a child of the pinctrl driver and cannot control pullups and pulldowns.

svn commit: r356806 - in head: share/man/man9 sys/dev/fdt

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 21:19:27 2020 New Revision: 356806 URL: https://svnweb.freebsd.org/changeset/base/356806 Log: fdt_pinctrl: Add new methods for gpios Most of the gpio controller cannot configure or get the configuration of the pin muxing as it's usually handled in the

svn commit: r356803 - head/sys/dev/extres/regulator

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 20:52:26 2020 New Revision: 356803 URL: https://svnweb.freebsd.org/changeset/base/356803 Log: regulator_fixed: Add a get_voltage method Some consumer cannot know the voltage of the regulator without it. While here, refuse to attach is min_voltage !=

Re: svn commit: r356755 - in head/sys: net netinet netinet6 netpfil/ipfw/nat64 sys

2020-01-16 Thread Gleb Smirnoff
On Thu, Jan 16, 2020 at 12:06:17PM -0800, Cy Schubert wrote: C> On January 15, 2020 2:38:05 PM PST, Gleb Smirnoff wrote: C> >On Wed, Jan 15, 2020 at 09:44:53AM -1000, Jeff Roberson wrote: C> >J> On Wed, 15 Jan 2020, Gleb Smirnoff wrote: C> >J> C> >J> > Author: glebius C> >J> > Date: Wed Jan 15

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 20:19:20 2020 New Revision: 356802 URL: https://svnweb.freebsd.org/changeset/base/356802 Log: arm: allwinner: ahci: target-supply is optional The target-supply regulator is optional so don't fail if it's not present. While here disable the clock on detach.

Re: svn commit: r356801 - head/sys/netgraph

2020-01-16 Thread Kyle Evans
On Thu, Jan 16, 2020 at 2:12 PM Kirill Ponomarev wrote: > > Author: krion (ports committer) > Date: Thu Jan 16 20:12:15 2020 > New Revision: 356801 > URL: https://svnweb.freebsd.org/changeset/base/356801 > > Log: > Generate MAC address from the FreeBSD OUI range. > > Submitted by:

svn commit: r356801 - head/sys/netgraph

2020-01-16 Thread Kirill Ponomarev
Author: krion (ports committer) Date: Thu Jan 16 20:12:15 2020 New Revision: 356801 URL: https://svnweb.freebsd.org/changeset/base/356801 Log: Generate MAC address from the FreeBSD OUI range. Submitted by: aleksandr.fedorov_vstack_com Approved by: kevans Differential Revision:

Re: svn commit: r356755 - in head/sys: net netinet netinet6 netpfil/ipfw/nat64 sys

2020-01-16 Thread Cy Schubert
On January 15, 2020 2:38:05 PM PST, Gleb Smirnoff wrote: >On Wed, Jan 15, 2020 at 09:44:53AM -1000, Jeff Roberson wrote: >J> On Wed, 15 Jan 2020, Gleb Smirnoff wrote: >J> >J> > Author: glebius >J> > Date: Wed Jan 15 06:05:20 2020 >J> > New Revision: 356755 >J> > URL:

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 20:02:41 2020 New Revision: 356800 URL: https://svnweb.freebsd.org/changeset/base/356800 Log: arm: allwinner: Add support for bank supply Each GPIO bank is powered by a different pin and so can be powered at different voltage from different regulators.

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 19:59:00 2020 New Revision: 356799 URL: https://svnweb.freebsd.org/changeset/base/356799 Log: axp8xx: Add a regnode_init method This method will set the desired voltaged based on values in the DTS. It will not enable the regulator, this is the job of either

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

2020-01-16 Thread Emmanuel Vadot
Author: manu Date: Thu Jan 16 19:57:38 2020 New Revision: 356798 URL: https://svnweb.freebsd.org/changeset/base/356798 Log: axp8xx: Add missing voltage regulators offset This lead to writing the desired voltage value to the wrong register. MFC after:2 weeks Modified:

Re: svn commit: r356797 - head/share/mk

2020-01-16 Thread Warner Losh
On Thu, Jan 16, 2020, 12:18 PM Ed Maste wrote: > On Thu, 16 Jan 2020 at 12:34, John Baldwin wrote: > > > > I would support having MK_PROFILE default to off for 13. > > I agree. > > > Do we know if any other systems still > > ship -pg libraries as an option? Also, is anyone still using them? >

Re: svn commit: r356797 - head/share/mk

2020-01-16 Thread Ed Maste
On Thu, 16 Jan 2020 at 12:34, John Baldwin wrote: > > I would support having MK_PROFILE default to off for 13. I agree. > Do we know if any other systems still > ship -pg libraries as an option? Also, is anyone still using them? I'll try to check some representative Linux distributions, and

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

2020-01-16 Thread Devin Teske
> On Jan 16, 2020, at 01:01, Kubilay Kocak wrote: > > On 16/01/2020 7:27 pm, Colin Percival wrote: >> On 2020-01-15 21:07, Philip Paeps wrote: >>> On 2020-01-16 04:57:28 (+1000), Oliver Pinter wrote: On Wednesday, January 15, 2020, Ben Woods wrote: > bsdinstall: Change "default"

Re: svn commit: r356797 - head/share/mk

2020-01-16 Thread John Baldwin
On 1/16/20 9:27 AM, Ed Maste wrote: > Author: emaste > Date: Thu Jan 16 17:27:08 2020 > New Revision: 356797 > URL: https://svnweb.freebsd.org/changeset/base/356797 > > Log: > pkgbase: move profiling _p.a libs into -development packages > > Profiling library archives are part of the

Re: svn commit: r356755 - in head/sys: net netinet netinet6 netpfil/ipfw/nat64 sys

2020-01-16 Thread John Baldwin
On 1/15/20 2:38 PM, Gleb Smirnoff wrote: > On Wed, Jan 15, 2020 at 09:44:53AM -1000, Jeff Roberson wrote: > J> On Wed, 15 Jan 2020, Gleb Smirnoff wrote: > J> > J> > Author: glebius > J> > Date: Wed Jan 15 06:05:20 2020 > J> > New Revision: 356755 > J> > URL:

svn commit: r356797 - head/share/mk

2020-01-16 Thread Ed Maste
Author: emaste Date: Thu Jan 16 17:27:08 2020 New Revision: 356797 URL: https://svnweb.freebsd.org/changeset/base/356797 Log: pkgbase: move profiling _p.a libs into -development packages Profiling library archives are part of the development environment; they don't need to be in separate

svn commit: r356796 - head/sys/netinet

2020-01-16 Thread Michael Tuexen
Author: tuexen Date: Thu Jan 16 17:15:06 2020 New Revision: 356796 URL: https://svnweb.freebsd.org/changeset/base/356796 Log: Remove debug code not needed anymore. Submitted by: Richard Scheffenegger Reviewed by: tuexen@ MFC after:1 week Differential

svn commit: r356792 - head/share/man/man7

2020-01-16 Thread Glen Barber
Author: gjb Date: Thu Jan 16 15:07:52 2020 New Revision: 356792 URL: https://svnweb.freebsd.org/changeset/base/356792 Log: Update release(7) to note OSRELEASE is only relevant when the 'install' target is invoked. While here, bump the sample output version name, and explicitly add the

svn commit: r356789 - in head/contrib/llvm-project/llvm/lib: MC Object Target/Mips

2020-01-16 Thread Alex Richardson
Author: arichardson Date: Thu Jan 16 14:14:50 2020 New Revision: 356789 URL: https://svnweb.freebsd.org/changeset/base/356789 Log: Merge commit 894f742acb from llvm git (by me): [MIPS][ELF] Use PC-relative relocations in .eh_frame when possible When compiling position-independent

svn commit: r356790 - head/usr.bin/mkimg

2020-01-16 Thread Alex Richardson
Author: arichardson Date: Thu Jan 16 14:14:55 2020 New Revision: 356790 URL: https://svnweb.freebsd.org/changeset/base/356790 Log: Allow bootstrapping mkimg on macOS/Linux On these systems the (u)int64_t typedefs will not be implicitly defined by the previous includes, so include in the

svn commit: r356791 - head/bin/cat

2020-01-16 Thread Alex Richardson
Author: arichardson Date: Thu Jan 16 14:15:00 2020 New Revision: 356791 URL: https://svnweb.freebsd.org/changeset/base/356791 Log: Allow building bin/cat on non-FreeBSD systems `cat -l` is needed during the installworld phase and other system's cat don't support that flag. To avoid

svn commit: r356788 - in head: share/man/man4 sys/modules sys/powerpc/conf

2020-01-16 Thread Leandro Lupori
Author: luporl Date: Thu Jan 16 11:33:15 2020 New Revision: 356788 URL: https://svnweb.freebsd.org/changeset/base/356788 Log: [PowerPC64] Enable virtio drivers This enables virtio modules on PowerPC* target. On PowerPC64, drivers are also kernel builtin. QEMU currently needs to be

svn commit: r356786 - head/sys/kern

2020-01-16 Thread Mateusz Guzik
Author: mjg Date: Thu Jan 16 10:44:02 2020 New Revision: 356786 URL: https://svnweb.freebsd.org/changeset/base/356786 Log: vfs: reimplement vlrureclaim to actually use LRU Take advantage of global ordering introduced in r356672. Reviewed by: mckusick (previous version) Differential

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

2020-01-16 Thread Kubilay Kocak
On 16/01/2020 7:27 pm, Colin Percival wrote: On 2020-01-15 21:07, Philip Paeps wrote: On 2020-01-16 04:57:28 (+1000), Oliver Pinter wrote: On Wednesday, January 15, 2020, Ben Woods wrote:   bsdinstall: Change "default" (first) Partitioning method to ZFS Plus I miss from here the relontes

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

2020-01-16 Thread Colin Percival
On 2020-01-15 21:07, Philip Paeps wrote: > On 2020-01-16 04:57:28 (+1000), Oliver Pinter wrote: >> On Wednesday, January 15, 2020, Ben Woods wrote: >>>   bsdinstall: Change "default" (first) Partitioning method to ZFS > >> Plus I miss from here the relontes tag. > > I'm not sure if this merits