svn commit: r338623 - head/sys/compat/x86bios

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:04:00 2018 New Revision: 338623 URL: https://svnweb.freebsd.org/changeset/base/338623 Log: x86bios: use M_NOWAIT with mallocs Or else it triggers the following bug: APIC: CPU 6 has ACPI ID 6 APIC: CPU 7 has ACPI ID 7 panic: vm_wait in early boot

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

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:05:51 2018 New Revision: 338624 URL: https://svnweb.freebsd.org/changeset/base/338624 Log: msi: remove the check that interrupt sources have been added When running as a specific type of Xen guest the hypervisor won't provide any emulated IO-APICs or leg

svn commit: r338625 - head/sys/x86/xen

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:07:13 2018 New Revision: 338625 URL: https://svnweb.freebsd.org/changeset/base/338625 Log: xen: fix PV IPI setup So that it's done when the vcpu_id has been set. For the BSP the vcpu_id is set at SUB_INTR, while for the APs it's done in init_secondary_

svn commit: r338626 - head/sys/x86/xen

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:08:31 2018 New Revision: 338626 URL: https://svnweb.freebsd.org/changeset/base/338626 Log: xen: remove xenpv_set_ids The vcpu_id for legacy PVH mode can be set from the output of cpuid, so there's no need to have a special function to set it. Also

svn commit: r338627 - head/sys/x86/xen

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:09:41 2018 New Revision: 338627 URL: https://svnweb.freebsd.org/changeset/base/338627 Log: xen: fix initial kenv setup for legacy PVH When adding support for the new PVH mode the kenv handling was switched to use a boot time allocated scratch space, howe

svn commit: r338628 - head/sys/x86/xen

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:11:11 2018 New Revision: 338628 URL: https://svnweb.freebsd.org/changeset/base/338628 Log: xen: limit the usage of PIRQs to a legacy PVH Dom0 That's the only mode in FreeBSD that requires the usage of PIRQs, so there's no need to attach the PIRQ PIC when

svn commit: r338629 - head/sys/x86/xen

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:12:16 2018 New Revision: 338629 URL: https://svnweb.freebsd.org/changeset/base/338629 Log: xen: fix setting legacy PVH vcpu id The recommended way to obtain the vcpu id is using the cpuid instruction with a specific leaf value. This leaf value must be

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

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:13:13 2018 New Revision: 338630 URL: https://svnweb.freebsd.org/changeset/base/338630 Log: lapic: skip setting intrcnt if lapic is not present Instead of panicking. Legacy PVH mode doesn't provide a lapic, and since native_lapic_intrcnt is called uncondi

svn commit: r338631 - in head/sys: x86/xen xen

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:14:11 2018 New Revision: 338631 URL: https://svnweb.freebsd.org/changeset/base/338631 Log: xen: legacy PVH fixes for the new interrupt count Register interrupts using the PIC pic_register_sources method instead of doing it in apic_setup_io. This is now r

svn commit: r338632 - head/sys/dev/xen/privcmd

2018-09-13 Thread Roger Pau Monné
Author: royger Date: Thu Sep 13 07:15:02 2018 New Revision: 338632 URL: https://svnweb.freebsd.org/changeset/base/338632 Log: xen: temporary disable SMAP when forwarding hypercalls from user-space The Xen page-table walker used to resolve the virtual addresses in the hypercalls will refus

svn commit: r338633 - head/lib/libpam/pam.d

2018-09-13 Thread Brad Davis
Author: brd Date: Thu Sep 13 07:48:49 2018 New Revision: 338633 URL: https://svnweb.freebsd.org/changeset/base/338633 Log: Fix build after r338621 by avoiding LINKS and installing the link manually. Approved by: re (rgrimes), will (mentor) Modified: head/lib/libpam/pam.d/Makefile Modif

Re: svn commit: r338633 - head/lib/libpam/pam.d

2018-09-13 Thread Jean-Sébastien Pédron
On 9/13/18 9:48 AM, Brad Davis wrote: > Author: brd > Date: Thu Sep 13 07:48:49 2018 > New Revision: 338633 > URL: https://svnweb.freebsd.org/changeset/base/338633 > > Log: > Fix build after r338621 by avoiding LINKS and installing the link manually. Hi! I still hit a failure in `make package`

svn commit: r338639 - head/sbin/umount

2018-09-13 Thread Mateusz Guzik
Author: mjg Date: Thu Sep 13 13:57:42 2018 New Revision: 338639 URL: https://svnweb.freebsd.org/changeset/base/338639 Log: umount: remove sync(2) call when used with -f It completely unnecessarily iterates over all filesystems and happens to be executed a lot e.g. by synth. Reviewed

svn commit: r338640 - head/sbin/geom/core

2018-09-13 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 13 14:06:01 2018 New Revision: 338640 URL: https://svnweb.freebsd.org/changeset/base/338640 Log: Add new option to the geom(8) utility, "-p". It makes it easy to look up the GEOM class instance from the provider name. Reviewed by: oshogbo, 0mp Approved by:

svn commit: r338641 - head/sys/conf

2018-09-13 Thread Emmanuel Vadot
Author: manu Date: Thu Sep 13 14:08:10 2018 New Revision: 338641 URL: https://svnweb.freebsd.org/changeset/base/338641 Log: arm64: Make aw_sid and aw_thermal depend on nvmem Both drivers use this interface so add a dependancy on it. Since awg uses aw_sid for generating the MAC address, ma

svn commit: r338642 - head/share/mk

2018-09-13 Thread Ed Maste
Author: emaste Date: Thu Sep 13 14:26:53 2018 New Revision: 338642 URL: https://svnweb.freebsd.org/changeset/base/338642 Log: Enable reproducible builds in advance of 12.0-REL We want to build the 12.0 release artifacts with reproducible builds mode enabled. Switch it on in HEAD now to en

svn commit: r338643 - head/sys/conf

2018-09-13 Thread Ed Maste
Author: emaste Date: Thu Sep 13 14:52:59 2018 New Revision: 338643 URL: https://svnweb.freebsd.org/changeset/base/338643 Log: Enable reproducible builds in advance of 12.0-REL r338642 toggled the REPRODUCIBLE_BUILD knob but missed the corresponding kern.opts.mk change. We want to bui

svn commit: r338644 - head/tools/build/options

2018-09-13 Thread Ed Maste
Author: emaste Date: Thu Sep 13 14:53:42 2018 New Revision: 338644 URL: https://svnweb.freebsd.org/changeset/base/338644 Log: Add WITHOUT_REPRODUCIBLE_BUILD description Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Added: head/tools/build/options/WITHOUT_REPRODUCIBLE_BUIL

svn commit: r338646 - head/bin/dd

2018-09-13 Thread Kyle Evans
Author: kevans Date: Thu Sep 13 14:54:46 2018 New Revision: 338646 URL: https://svnweb.freebsd.org/changeset/base/338646 Log: dd(1): Correct padding in status=progress Output padding is specified via outlen, which is set using the return value of fprintf. Because it's printing that paddin

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

2018-09-13 Thread Ed Maste
Author: emaste Date: Thu Sep 13 14:54:52 2018 New Revision: 338647 URL: https://svnweb.freebsd.org/changeset/base/338647 Log: regenerate src.conf.5 after r338642 and r338643 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Modified: head/share/man/man5/src.conf.5 Modified:

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

2018-09-13 Thread Mateusz Guzik
Author: mjg Date: Thu Sep 13 14:53:51 2018 New Revision: 338645 URL: https://svnweb.freebsd.org/changeset/base/338645 Log: amd64: implement ERMS-based memmove, memcpy and memset Reviewed by: kib Approved by: re (gjb) Differential Revision:https://reviews.freebsd.org/D17124 Mo

svn commit: r338648 - head

2018-09-13 Thread Ian Lepore
Author: ian Date: Thu Sep 13 15:16:05 2018 New Revision: 338648 URL: https://svnweb.freebsd.org/changeset/base/338648 Log: If a user skips the pre-world mergemaster, an installworld check notices the missing ntpd user and refers to UPDATING. This change makes it more clear which aspect of UP

Re: svn commit: r338633 - head/lib/libpam/pam.d

2018-09-13 Thread Ian Lepore
On Thu, 2018-09-13 at 07:48 +, Brad Davis wrote: > Author: brd > Date: Thu Sep 13 07:48:49 2018 > New Revision: 338633 > URL: https://svnweb.freebsd.org/changeset/base/338633 > > Log: >   Fix build after r338621 by avoiding LINKS and installing the link > manually. >    >   Approved by:

Re: svn commit: r338633 - head/lib/libpam/pam.d

2018-09-13 Thread Brad Davis
On Thu, Sep 13, 2018, at 10:07 AM, Ian Lepore wrote: > On Thu, 2018-09-13 at 07:48 +, Brad Davis wrote: > > Author: brd > > Date: Thu Sep 13 07:48:49 2018 > > New Revision: 338633 > > URL: https://svnweb.freebsd.org/changeset/base/338633 > > > > Log: > >   Fix build after r338621 by avoiding L

Re: svn commit: r338633 - head/lib/libpam/pam.d

2018-09-13 Thread Jean-Sébastien Pédron
On 9/13/18 6:08 PM, Brad Davis wrote: >>> + ${INSTALL_LINK} ${TAG_ARGS} ${CONFDIR}/ftpd ${CONFDIR}/ftp >> >> I think this line should probably be ${DESTDIR}/${CONFDIR} for both >> source and dest. > > Yep.. Too late at night and missed that and it didn't show up in my > packages build, but doe

svn commit: r338651 - head/lib/libpam/pam.d

2018-09-13 Thread Brad Davis
Author: brd Date: Thu Sep 13 16:14:33 2018 New Revision: 338651 URL: https://svnweb.freebsd.org/changeset/base/338651 Log: Really fix pam install. Don't commit late at night or you make simple mistakes. Reported by: dumbbell Approved by: re (gjb), will (mentor) Modified: head/lib/l

Re: svn commit: r338633 - head/lib/libpam/pam.d

2018-09-13 Thread Brad Davis
On Thu, Sep 13, 2018, at 10:09 AM, Jean-Sébastien Pédron wrote: > > On 9/13/18 6:08 PM, Brad Davis wrote: > >>> + ${INSTALL_LINK} ${TAG_ARGS} ${CONFDIR}/ftpd ${CONFDIR}/ftp > >> > >> I think this line should probably be ${DESTDIR}/${CONFDIR} for both > >> source and dest. > > > > Yep.. Too late a

svn commit: r338652 - head/sys/dev/cxgbe/iw_cxgbe

2018-09-13 Thread Navdeep Parhar
Author: np Date: Thu Sep 13 16:27:21 2018 New Revision: 338652 URL: https://svnweb.freebsd.org/changeset/base/338652 Log: cxgbe/iw_cxgbe: Fix reported build breakage when the kernel configuration has "device cxgbe' but no VIMAGE. Reported by: mav@ Approved by: re@ (kib@) Modified:

svn commit: r338653 - head/contrib/ofed/infiniband-diags/src

2018-09-13 Thread Glen Barber
Author: gjb Date: Thu Sep 13 16:41:15 2018 New Revision: 338653 URL: https://svnweb.freebsd.org/changeset/base/338653 Log: Remove __DATE__ and __TIME__ from ibdiag_common.c, replacing with the hard-coded string "not available" to ensure reproducible builds. Discussed with: emaste

Re: svn commit: r338653 - head/contrib/ofed/infiniband-diags/src

2018-09-13 Thread Rodney W. Grimes
> Author: gjb > Date: Thu Sep 13 16:41:15 2018 > New Revision: 338653 > URL: https://svnweb.freebsd.org/changeset/base/338653 > > Log: > Remove __DATE__ and __TIME__ from ibdiag_common.c, replacing with > the hard-coded string "not available" to ensure reproducible builds. Remove the "replaci

Re: svn commit: r338653 - head/contrib/ofed/infiniband-diags/src

2018-09-13 Thread Glen Barber
On Thu, Sep 13, 2018 at 04:41:15PM +, Glen Barber wrote: > Author: gjb > Date: Thu Sep 13 16:41:15 2018 > New Revision: 338653 > URL: https://svnweb.freebsd.org/changeset/base/338653 > > Log: > Remove __DATE__ and __TIME__ from ibdiag_common.c, replacing with > the hard-coded string "not a

svn commit: r338654 - head/sys/dev/ichiic

2018-09-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Sep 13 17:36:55 2018 New Revision: 338654 URL: https://svnweb.freebsd.org/changeset/base/338654 Log: [ig4] Add PCI IDs for I2C controller on Intel Kaby Lake systems PR: 221777 Approved by: re (kib) Submitted by: marc.priggeme...@gmail.com Modified: head/sys

svn commit: r338655 - head/share/man/man4

2018-09-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Sep 13 17:39:08 2018 New Revision: 338655 URL: https://svnweb.freebsd.org/changeset/base/338655 Log: [ig4] Update list of supported hardware Reflect the fact that ig4(4) is not an Intel-specific device but a driver for Synopsys DesignWare I2C controller that now sh

svn commit: r338656 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-09-13 Thread Eric van Gyzen
Author: vangyzen Date: Thu Sep 13 17:56:48 2018 New Revision: 338656 URL: https://svnweb.freebsd.org/changeset/base/338656 Log: Set zfs_arc_meta_strategy to metadata only The previous default of "balanced" appears to have caused pathological behavior, including very poor performance and 1

svn commit: r338666 - head/sys/arm/conf

2018-09-13 Thread Ed Maste
Author: emaste Date: Thu Sep 13 21:00:17 2018 New Revision: 338666 URL: https://svnweb.freebsd.org/changeset/base/338666 Log: Enable Capsicum on armv6/armv7 We ought to be consistent across our Tier-1 and nearly-Tier-1 architectures, so enable Capsicum for 32-bit armv6/armv7 by default.

svn commit: r338669 - head/sys/dev/cxgbe

2018-09-13 Thread Navdeep Parhar
Author: np Date: Thu Sep 13 22:58:13 2018 New Revision: 338669 URL: https://svnweb.freebsd.org/changeset/base/338669 Log: cxgbe(4): Use the correct number of parameters when querying the tid range for hashfilters. Approved by: re@ (gjb@) Modified: head/sys/dev/cxgbe/t4_main.c Modifie

svn commit: r338675 - head/sys/conf

2018-09-13 Thread Glen Barber
Author: gjb Date: Thu Sep 13 23:59:59 2018 New Revision: 338675 URL: https://svnweb.freebsd.org/changeset/base/338675 Log: Update head from ALPHA5 to ALPHA6 as part of the 12.0-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/new

svn commit: r338676 - in head: lib lib/libpmc usr.sbin

2018-09-13 Thread Matt Macy
Author: mmacy Date: Fri Sep 14 01:11:10 2018 New Revision: 338676 URL: https://svnweb.freebsd.org/changeset/base/338676 Log: re-enable pmcstat, pmccontrol, and pmcannotate for gcc4 builds I had disabled building of the aforementioned targets due to warnings breaking tinderbox. This silenc

svn commit: r338677 - in head: lib/libpmc sys/dev/hwpmc

2018-09-13 Thread Matt Macy
Author: mmacy Date: Fri Sep 14 01:30:05 2018 New Revision: 338677 URL: https://svnweb.freebsd.org/changeset/base/338677 Log: hwpmc: set default rate if event description lacks one / filter rate against misuse Not all event descriptions have a sample rate (such as inst_retired.any) this w