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

2019-05-03 Thread Justin Hibbits
Author: jhibbits Date: Sat May 4 02:45:24 2019 New Revision: 347079 URL: https://svnweb.freebsd.org/changeset/base/347079 Log: powerpc: Optimize padding in bus_dma_tag Avoid 8 bytes of padding (2 noncontiguous ints). Submitted by: Brandon Bergren Differential Revision:

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

2019-05-03 Thread Justin Hibbits
Author: jhibbits Date: Sat May 4 02:34:28 2019 New Revision: 347078 URL: https://svnweb.freebsd.org/changeset/base/347078 Log: powerpc: Merge all pmap struct definitions Summary: A few ports fail to build due to missing pmap-related definitions, which are specific per-pmap type. This

svn commit: r347075 - head/usr.sbin/lpr/common_source

2019-05-03 Thread Enji Cooper
Author: ngie Date: Sat May 4 02:09:30 2019 New Revision: 347075 URL: https://svnweb.freebsd.org/changeset/base/347075 Log: Fix `clang -Wcast-qual` issues Remove unnecessary `char*` casting for arguments passed to `cget*(3)`, and deconst `_PATH_PRINTCAP` before passing it to `cget*` via

svn commit: r347074 - in stable/11/sys/amd64: include vmm/intel

2019-05-03 Thread John Baldwin
Author: jhb Date: Sat May 4 00:59:11 2019 New Revision: 347074 URL: https://svnweb.freebsd.org/changeset/base/347074 Log: MFC 330615: Fix a lock recursion introduced in r327065. Modified: stable/11/sys/amd64/include/vmm.h stable/11/sys/amd64/vmm/intel/vmx.c Directory Properties:

svn commit: r347073 - stable/11/sys/amd64/vmm/intel

2019-05-03 Thread John Baldwin
Author: jhb Date: Sat May 4 00:56:47 2019 New Revision: 347073 URL: https://svnweb.freebsd.org/changeset/base/347073 Log: MFC 327065: Recognize a pending virtual interrupt while emulating the halt instruction. Modified: stable/11/sys/amd64/vmm/intel/vmx.c Directory Properties:

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

2019-05-03 Thread Peter Jeremy
Author: peterj Date: Fri May 3 23:06:35 2019 New Revision: 347071 URL: https://svnweb.freebsd.org/changeset/base/347071 Log: MFC: r346266 Specify correct Ethernet phy for RPI-B Approved by: grog, jhb (mentors) Modified: stable/12/sys/arm/conf/RPI-B Directory Properties: stable/12/

svn commit: r347072 - stable/11/sys/arm/conf

2019-05-03 Thread Peter Jeremy
Author: peterj Date: Fri May 3 23:07:07 2019 New Revision: 347072 URL: https://svnweb.freebsd.org/changeset/base/347072 Log: MFC: r346266 Specify correct Ethernet phy for RPI-B Approved by: grog, jhb (mentors) Modified: stable/11/sys/arm/conf/RPI-B Directory Properties: stable/11/

svn commit: r347069 - stable/12/sys/arm/broadcom/bcm2835

2019-05-03 Thread Peter Jeremy
Author: peterj Date: Fri May 3 23:02:15 2019 New Revision: 347069 URL: https://svnweb.freebsd.org/changeset/base/347069 Log: MFC: r346265 Fix cpufreq(4) on RPI-B Approved by: grog, jhb (mentors) Modified: stable/12/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c Directory Properties:

svn commit: r347070 - stable/11/sys/arm/broadcom/bcm2835

2019-05-03 Thread Peter Jeremy
Author: peterj Date: Fri May 3 23:02:55 2019 New Revision: 347070 URL: https://svnweb.freebsd.org/changeset/base/347070 Log: MFC: r346265 Fix cpufreq(4) on RPI-B Approved by: grog, jhb (mentors) Modified: stable/11/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c Directory Properties:

svn commit: r347068 - stable/11/lib/msun/src

2019-05-03 Thread Peter Jeremy
Author: peterj Date: Fri May 3 22:56:50 2019 New Revision: 347068 URL: https://svnweb.freebsd.org/changeset/base/347068 Log: MFC r343953: Replace calls to sin(x) and cos(x) with a single call to sincos(). Replace calls to sinf(x) and cosf(x) with a single call to sincosf(). Approved

svn commit: r347067 - stable/12/lib/msun/src

2019-05-03 Thread Peter Jeremy
Author: peterj Date: Fri May 3 22:54:56 2019 New Revision: 347067 URL: https://svnweb.freebsd.org/changeset/base/347067 Log: MFC r343953: Replace calls to sin(x) and cos(x) with a single call to sincos(). Replace calls to sinf(x) and cosf(x) with a single call to sincosf(). Approved

svn commit: r347066 - in head: sbin/fsck_ffs sys/ufs/ufs

2019-05-03 Thread Kirk McKusick
Author: mckusick Date: Fri May 3 21:54:14 2019 New Revision: 347066 URL: https://svnweb.freebsd.org/changeset/base/347066 Log: This update eliminates a kernel stack disclosure bug in UFS/FFS directory entries that is caused by uninitialized directory entry padding written to the disk. It

svn commit: r347064 - head/sys/ufs/ufs

2019-05-03 Thread Kirk McKusick
Author: mckusick Date: Fri May 3 21:46:25 2019 New Revision: 347064 URL: https://svnweb.freebsd.org/changeset/base/347064 Log: Simplify calculation of DIRECTSIZ. No functional change intended. Suggested by: kib MFC after:1 week Modified: head/sys/ufs/ufs/dir.h Modified:

svn commit: r347065 - head/sys/amd64/vmm

2019-05-03 Thread John Baldwin
Author: jhb Date: Fri May 3 21:48:42 2019 New Revision: 347065 URL: https://svnweb.freebsd.org/changeset/base/347065 Log: Emulate the "ADD reg, r/m" instruction (opcode 03H). OVMF's flash variable storage is using add instructions when indexing the variable store bootrom location.

svn commit: r347063 - head/sys/kern

2019-05-03 Thread Mark Johnston
Author: markj Date: Fri May 3 21:26:44 2019 New Revision: 347063 URL: https://svnweb.freebsd.org/changeset/base/347063 Log: Disallow excessively small times of day in clock_settime(2). Reported by: syzkaller Reviewed by: cem, kib MFC after:1 week Sponsored by: The FreeBSD

svn commit: r347061 - head/stand/efi/boot1

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:13:04 2019 New Revision: 347061 URL: https://svnweb.freebsd.org/changeset/base/347061 Log: Substitute boot1 with ${BOOT1} Allow for other names to be built, so parameterize this makefile to avoid hard coding boot1. Modified:

svn commit: r347062 - head/stand/efi/boot1

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:13:09 2019 New Revision: 347062 URL: https://svnweb.freebsd.org/changeset/base/347062 Log: Use SRC+= rather than SRC= To allow boot1/Makefile to be included, use SRC+= rathern than SRC= so the including Makefile can add additional sources to the build.

svn commit: r347060 - head/stand/efi/boot1

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:09:25 2019 New Revision: 347060 URL: https://svnweb.freebsd.org/changeset/base/347060 Log: When we can't get memory, trying again right away is going to fail. Rather than print N failure messages, bail on the first one. Modified: head/stand/efi/boot1/boot1.c

svn commit: r347059 - head/stand/efi/boot1

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:06:34 2019 New Revision: 347059 URL: https://svnweb.freebsd.org/changeset/base/347059 Log: Remove stray '*' We're storing an EFI_HANDLE, not an pointer to a handle. Since EFI_HANDLE is a void * anyway, this has little practical effect since the

svn commit: r347058 - head/sys/security/mac

2019-05-03 Thread Robert Watson
Author: rwatson Date: Fri May 3 20:38:43 2019 New Revision: 347058 URL: https://svnweb.freebsd.org/changeset/base/347058 Log: When MAC is enabled and a policy module is loaded, don't unconditionally lock mac_ifnet_mtx, which protects labels on struct ifnet, unless at least one policy is

svn commit: r347057 - head/sys/net

2019-05-03 Thread Matt Macy
Author: mmacy Date: Fri May 3 20:05:31 2019 New Revision: 347057 URL: https://svnweb.freebsd.org/changeset/base/347057 Log: Allow iflib drivers to pass a pointer to their own ifmedia structure. Tested by: emaste@ Differential Revision:https://reviews.freebsd.org/D19946

svn commit: r347056 - head/release/tools

2019-05-03 Thread Glen Barber
Author: gjb Date: Fri May 3 17:23:08 2019 New Revision: 347056 URL: https://svnweb.freebsd.org/changeset/base/347056 Log: Increase the default size of the GCE disk image from 3GB to 20GB, as 3GB is too small as discovered in this week's snapshot builds. MFC after:3 days Sponsored

Re: svn commit: r346217 - in head/sys: fs/nfs fs/nfsclient kern sys

2019-05-03 Thread Rick Macklem
Harry Schmalzbauer wrote: >Am 15.04.2019 um 03:27 schrieb Rick Macklem: >> Author: rmacklem >> Date: Mon Apr 15 01:27:15 2019 >> New Revision: 346217 >> URL: https://svnweb.freebsd.org/changeset/base/346217 >> >> Log: >>Fix the NFSv4 client to safely find processes. >> >>r340744 broke the

svn commit: r347055 - in head: sbin/ifconfig sys/net

2019-05-03 Thread Andrew Gallatin
Author: gallatin Date: Fri May 3 14:43:21 2019 New Revision: 347055 URL: https://svnweb.freebsd.org/changeset/base/347055 Log: Select lacp egress ports based on NUMA domain This change creates an array of port maps indexed by numa domain for lacp port selection. If we have lacp

svn commit: r347054 - head/lib/libvgl

2019-05-03 Thread Bruce Evans
Author: bde Date: Fri May 3 13:06:46 2019 New Revision: 347054 URL: https://svnweb.freebsd.org/changeset/base/347054 Log: Fix copying planar bitmaps when the horizontal start and end are both not multiples of 8. Then the misaligned pixels at the end were not copied. Clean up variable

Re: svn commit: r347012 - stable/12/sys/compat/linuxkpi/common/src

2019-05-03 Thread Hans Petter Selasky
On 2019-05-02 09:32, Hans Petter Selasky wrote: On 2019-05-02 04:26, Johannes Lundberg wrote: Author: johalun Date: Thu May  2 02:26:42 2019 New Revision: 347012 URL: https://svnweb.freebsd.org/changeset/base/347012 Log:    MFC r346712:    Don't call cdev_init where cdev_alloc is called.

svn commit: r347053 - stable/11/sys/compat/linuxkpi/common/src

2019-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 3 09:38:23 2019 New Revision: 347053 URL: https://svnweb.freebsd.org/changeset/base/347053 Log: MFC r346712: Don't call cdev_init where cdev_alloc is called. cdev_alloc already handles initialization. Modified:

Re: svn commit: r346217 - in head/sys: fs/nfs fs/nfsclient kern sys

2019-05-03 Thread Harry Schmalzbauer
Am 15.04.2019 um 03:27 schrieb Rick Macklem: Author: rmacklem Date: Mon Apr 15 01:27:15 2019 New Revision: 346217 URL: https://svnweb.freebsd.org/changeset/base/346217 Log: Fix the NFSv4 client to safely find processes. r340744 broke the NFSv4 client, because it replaced

svn commit: r347052 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-05-03 Thread Dmitry Chagin
Author: dchagin Date: Fri May 3 08:42:49 2019 New Revision: 347052 URL: https://svnweb.freebsd.org/changeset/base/347052 Log: In order to reduce duplication between MD parts of the Linuxulator move bits that are MI out into the headers in compat/linux. For that remove bogus _packed

svn commit: r347051 - head/sys/compat/linprocfs

2019-05-03 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 3 08:27:03 2019 New Revision: 347051 URL: https://svnweb.freebsd.org/changeset/base/347051 Log: Decode more CPU flags in cpuinfo. Reviewed by: dchagin MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r347050 - head/lib/libfetch

2019-05-03 Thread Adrian Chadd
Author: adrian Date: Fri May 3 06:06:39 2019 New Revision: 347050 URL: https://svnweb.freebsd.org/changeset/base/347050 Log: [libfetch] Fix compilation with WITHOUT_CRYPT. Modified: head/lib/libfetch/common.c Modified: head/lib/libfetch/common.c