Re: svn commit: r349589 - in head: sbin/mount sys/sys sys/ufs/ffs

2019-07-01 Thread Conrad Meyer
Hi, Maybe the sense of the flag should be reversed? Ie, add a “trusted” flag and default to untrusted. I have two reasons in mind. The first is that a new default-off option is easy to forget, and a missed security feature may be worse than a missed mount-time performance enhancement. The second

svn commit: r349594 - in head/sys: amd64/conf conf dev/ntb dev/ntb/ntb_hw i386/conf modules/ntb modules/ntb/ntb_hw_amd

2019-07-01 Thread Alexander Motin
Author: mav Date: Tue Jul 2 05:25:18 2019 New Revision: 349594 URL: https://svnweb.freebsd.org/changeset/base/349594 Log: Add driver for NTB in AMD SoC. This patch is the driver for NTB hardware in AMD SoCs (ported from Linux) and enables the NTB infrastructure like Doorbells, Scratchpad

svn commit: r349592 - head/contrib/tzdata

2019-07-01 Thread Philip Paeps via svn-src-head
Author: philip Date: Tue Jul 2 01:12:23 2019 New Revision: 349592 URL: https://svnweb.freebsd.org/changeset/base/349592 Log: Import tzdata 2019b Changes: https://github.com/eggert/tz/blob/2019b/NEWS MFC after:1 day Modified: head/contrib/tzdata/Makefile head/contrib/tzdata/NE

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

2019-07-01 Thread Ryan Libby via svn-src-head
Author: rlibby Date: Mon Jul 1 22:06:16 2019 New Revision: 349586 URL: https://svnweb.freebsd.org/changeset/base/349586 Log: g_eli_create: only dec g_access acw if we inc'd it Reviewed by: cem, markj Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd.o

svn commit: r349589 - in head: sbin/mount sys/sys sys/ufs/ffs

2019-07-01 Thread Kirk McKusick via svn-src-head
Author: mckusick Date: Mon Jul 1 23:22:26 2019 New Revision: 349589 URL: https://svnweb.freebsd.org/changeset/base/349589 Log: Add a new "untrusted" option to the mount command. Its purpose is to notify the kernel that the file system is untrusted and it should use more extensive checks on

svn commit: r349587 - head/sys/geom/mirror

2019-07-01 Thread Ryan Libby via svn-src-head
Author: rlibby Date: Mon Jul 1 22:06:36 2019 New Revision: 349587 URL: https://svnweb.freebsd.org/changeset/base/349587 Log: g_mirror_taste: avoid deadlock, always clear tasting flag If g_mirror_taste encountered an error at g_mirror_add_disk, it might try to g_mirror_destroy the device

svn commit: r349588 - head/sys/arm64/arm64

2019-07-01 Thread Emmanuel Vadot via svn-src-head
Author: manu Date: Mon Jul 1 22:11:56 2019 New Revision: 349588 URL: https://svnweb.freebsd.org/changeset/base/349588 Log: arm64: efi: Map memory IO region as device Reviewed by: andrew Sponsored by: Ampere Computing, LLC Modified: head/sys/arm64/arm64/efirt_machdep.c Modified: head

svn commit: r349593 - head/sys/dev/bwn

2019-07-01 Thread Landon J. Fuller
Author: landonf Date: Tue Jul 2 02:52:05 2019 New Revision: 349593 URL: https://svnweb.freebsd.org/changeset/base/349593 Log: bwn(4): Include SROM revision when printing device identification. Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c ==

svn commit: r349585 - head/sys/amd64/amd64

2019-07-01 Thread Alan Cox
Author: alc Date: Mon Jul 1 22:00:42 2019 New Revision: 349585 URL: https://svnweb.freebsd.org/changeset/base/349585 Log: Tidy up pmap_copy(). Notably, deindent the innermost loop by making a simple change to the control flow. Replace an unnecessary test by a KASSERT. Add a comment expla

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

2019-07-01 Thread Emmanuel Vadot
Author: manu Date: Mon Jul 1 21:50:53 2019 New Revision: 349584 URL: https://svnweb.freebsd.org/changeset/base/349584 Log: Since r349571 we need all the accessor to be present for set or get otherwise we panic. dwmmc don't handle VCCQ (voltage for the IO line of the SD/eMMC) or TIMING.

svn commit: r349583 - in head/contrib/llvm: include/llvm/Analysis lib/Analysis lib/Transforms/Scalar

2019-07-01 Thread Dimitry Andric
Author: dim Date: Mon Jul 1 21:06:10 2019 New Revision: 349583 URL: https://svnweb.freebsd.org/changeset/base/349583 Log: Pull in r360968 from upstream llvm trunk (by Philip Reames): Clarify comments on helpers used by LFTR [NFC] I'm slowly wrapping my head around this code, and a

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

2019-07-01 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 1 20:41:43 2019 New Revision: 349582 URL: https://svnweb.freebsd.org/changeset/base/349582 Log: Factor out the code that does a VOP_SETATTR(size) from vn_truncate(). This patch factors the code in vn_truncate() that does the actual VOP_SETATTR() of size int

svn commit: r349581 - head/sys/dev/netmap

2019-07-01 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Jul 1 20:37:35 2019 New Revision: 349581 URL: https://svnweb.freebsd.org/changeset/base/349581 Log: netmap: fix two panics with emulated adapter This patch fixes 2 panics. The first one is due to the current VNET not being set in the emulated adapter transmiss

svn commit: r349580 - in head/sys: amd64/conf conf dev/superio i386/conf modules modules/superio

2019-07-01 Thread Andriy Gapon
Author: avg Date: Mon Jul 1 17:05:41 2019 New Revision: 349580 URL: https://svnweb.freebsd.org/changeset/base/349580 Log: add superio driver The goal of this driver is consolidate information about SuperIO chips and to provide for peaceful coexistence of drivers that need to access Sup

svn commit: r349579 - head/sys/dev/nctgpio

2019-07-01 Thread Andriy Gapon
Author: avg Date: Mon Jul 1 15:43:48 2019 New Revision: 349579 URL: https://svnweb.freebsd.org/changeset/base/349579 Log: nctgpio: change default pin names to those used by the datasheet(s) That is, instead of the current GPIO00 - GPIO15 the names will be GPIO00 - GPIO07, GPIO10 - GPIO17

svn commit: r349578 - head/sys/dev/etherswitch/e6000sw

2019-07-01 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jul 1 13:41:37 2019 New Revision: 349578 URL: https://svnweb.freebsd.org/changeset/base/349578 Log: Add support for the Marvell 88E6190 11 ports switch. With more ports, some of the registers are shifted a bit to accommodate. This switch also adds two high speed

svn commit: r349577 - in head: contrib/elftoolchain/common contrib/elftoolchain/libelftc lib/libelf

2019-07-01 Thread Alex Richardson
Author: arichardson Date: Mon Jul 1 11:52:54 2019 New Revision: 349577 URL: https://svnweb.freebsd.org/changeset/base/349577 Log: Allow bootstrapping elftoolchain on MacOS and Linux This is required in order to build on non-FreeBSD systems without setting all the XAR/XSTRINGS/etc. variab

svn commit: r349576 - head/kerberos5/usr.bin/krb5-config

2019-07-01 Thread Alex Richardson
Author: arichardson Date: Mon Jul 1 11:47:45 2019 New Revision: 349576 URL: https://svnweb.freebsd.org/changeset/base/349576 Log: Fix generation of krb5-config with LC_CTYPE=*.UTF-8 When building on MacOS with a UTF-8 locale sed will fail when reading krb-config.in due to invalid charact