svn commit: r348681 - head/sys/dev/pci

2019-06-04 Thread Colin Percival
Author: cperciva Date: Wed Jun 5 04:58:42 2019 New Revision: 348681 URL: https://svnweb.freebsd.org/changeset/base/348681 Log: Only respond to the PCIe Attention Button if a device is already plugged in. Prior to this commit, if PCIEM_SLOT_STA_ABP and PCIEM_SLOT_STA_PDC are asserted

svn commit: r348680 - in head: share/misc usr.bin/calendar/calendars

2019-06-04 Thread D Scott Phillips
Author: scottph Date: Wed Jun 5 04:01:31 2019 New Revision: 348680 URL: https://svnweb.freebsd.org/changeset/base/348680 Log: Add myself to committers-src.dot and calendar.freebsd Approved by: jhb (mentor) Modified: head/share/misc/committers-src.dot

svn commit: r348679 - head/usr.bin/calendar/calendars

2019-06-04 Thread Koichiro Iwao
Author: meta (ports committer) Date: Wed Jun 5 03:40:34 2019 New Revision: 348679 URL: https://svnweb.freebsd.org/changeset/base/348679 Log: Add self to calendar, per mckusick's request Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r348678 - in head/stand: i386/gptboot libsa

2019-06-04 Thread Warner Losh
Author: imp Date: Wed Jun 5 02:34:58 2019 New Revision: 348678 URL: https://svnweb.freebsd.org/changeset/base/348678 Log: Eliminate unused uuid parameters from gptread and gptread_table. We only need it for the gptfind() function, where it's used. Modified:

Re: svn commit: r348419 - in head: crypto/heimdal/lib/ipc share/man/man4 sys/compat/linux sys/kern sys/sys usr.sbin/mountd

2019-06-04 Thread Conrad Meyer
On Tue, Jun 4, 2019 at 6:31 PM Bruce Evans wrote: > On Tue, 4 Jun 2019, Gleb Smirnoff wrote: > > Why don't use C99 in 2019 instead of preprocessor define? Should be > > > > union { > > void*_cr_unused1; /* compatibility with old ucred */ > > pid_t cr_pid;

Re: svn commit: r348610 - in head: lib/clang/libllvm usr.bin/clang

2019-06-04 Thread Kyle Evans
On Tue, Jun 4, 2019 at 7:07 PM John Baldwin wrote: > > On 6/4/19 6:00 AM, Ed Maste wrote: > > Author: emaste > > Date: Tue Jun 4 13:00:49 2019 > > New Revision: 348610 > > URL: https://svnweb.freebsd.org/changeset/base/348610 > > > > Log: > > build llvm-ar and llvm-nm with Clang (promote out

Re: svn commit: r348419 - in head: crypto/heimdal/lib/ipc share/man/man4 sys/compat/linux sys/kern sys/sys usr.sbin/mountd

2019-06-04 Thread Bruce Evans
On Tue, 4 Jun 2019, Gleb Smirnoff wrote: On Thu, May 30, 2019 at 02:24:27PM +, Dmitry Chagin wrote: D> Author: dchagin D> ... D> Log: D> Complete LOCAL_PEERCRED support. Cache pid of the remote process in the D> struct xucred. Do not bump XUCRED_VERSION as struct layout is not changed.

svn commit: r348677 - head/tools/build/mk

2019-06-04 Thread Ed Maste
Author: emaste Date: Wed Jun 5 00:55:22 2019 New Revision: 348677 URL: https://svnweb.freebsd.org/changeset/base/348677 Log: move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc After r348610 `make delete-old` was still removing llvm-ar and llvm-nm (and

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

2019-06-04 Thread Warner Losh
Author: imp Date: Wed Jun 5 00:08:30 2019 New Revision: 348675 URL: https://svnweb.freebsd.org/changeset/base/348675 Log: ufs_module.c can't currently be compiled with -Wcast-align, but the code is safe enough. Turn off the warning for now until I can find the right construct to silence it

Re: svn commit: r348610 - in head: lib/clang/libllvm usr.bin/clang

2019-06-04 Thread John Baldwin
On 6/4/19 6:00 AM, Ed Maste wrote: > Author: emaste > Date: Tue Jun 4 13:00:49 2019 > New Revision: 348610 > URL: https://svnweb.freebsd.org/changeset/base/348610 > > Log: > build llvm-ar and llvm-nm with Clang (promote out of CLANG_EXTRAS) > > To facilitate experimentation with LTO we

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

2019-06-04 Thread Warner Losh
Author: imp Date: Wed Jun 5 00:04:21 2019 New Revision: 348674 URL: https://svnweb.freebsd.org/changeset/base/348674 Log: Don't shadow a global zfsmount variable. Modified: head/stand/efi/boot1/zfs_module.c Modified: head/stand/efi/boot1/zfs_module.c

Re: svn commit: r348419 - in head: crypto/heimdal/lib/ipc share/man/man4 sys/compat/linux sys/kern sys/sys usr.sbin/mountd

2019-06-04 Thread Gleb Smirnoff
Dmitry, On Thu, May 30, 2019 at 02:24:27PM +, Dmitry Chagin wrote: D> Author: dchagin D> Date: Thu May 30 14:24:26 2019 D> New Revision: 348419 D> URL: https://svnweb.freebsd.org/changeset/base/348419 D> D> Log: D> Complete LOCAL_PEERCRED support. Cache pid of the remote process in the

Re: svn commit: r348540 - head

2019-06-04 Thread Rodney W. Grimes
> > On Jun 3, 2019, at 12:06 PM, Rodney W. Grimes > > wrote: > > > >> Author: sobomax > >> Date: Mon Jun 3 15:34:00 2019 > >> New Revision: 348540 > >> URL: https://svnweb.freebsd.org/changeset/base/348540 > >> > >> Log: > >> Rollback the rest of the botched r348521. Re-work would be posted

svn commit: r348673 - head/usr.bin/calendar/calendars

2019-06-04 Thread Adriaan de Groot
Author: adridg (ports committer) Date: Tue Jun 4 21:54:34 2019 New Revision: 348673 URL: https://svnweb.freebsd.org/changeset/base/348673 Log: Add self to calendar, per Kirk's request Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified:

svn commit: r348671 - head/lib/libc/resolv

2019-06-04 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 4 20:53:35 2019 New Revision: 348671 URL: https://svnweb.freebsd.org/changeset/base/348671 Log: Rather than using the legacy IP struct fields in the union for the port number, properly access them by their IPv6 names. This will make it easier to slice up and

svn commit: r348669 - in head: share/misc usr.bin/calendar/calendars

2019-06-04 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Jun 4 19:59:43 2019 New Revision: 348669 URL: https://svnweb.freebsd.org/changeset/base/348669 Log: Add myself to committers-src.dot and calendar.freebsd Reviewed by: mckusick MFC after:1 week Differential Revision:

svn commit: r348668 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 19:39:06 2019 New Revision: 348668 URL: https://svnweb.freebsd.org/changeset/base/348668 Log: vtfontcvt: zero memory allocated by xmalloc PR: 205707 Submitted by: Dmitry Wagin Modified: head/usr.bin/vtfontcvt/vtfontcvt.c Modified:

svn commit: r348667 - head/sys/contrib/ipfilter/netinet

2019-06-04 Thread Cy Schubert
Author: cy Date: Tue Jun 4 19:37:51 2019 New Revision: 348667 URL: https://svnweb.freebsd.org/changeset/base/348667 Log: While working on a PR, more are discovered. Remove more #ifdefs missed in r343701. MFC after:1 week Modified:

svn commit: r348666 - head/sys/contrib/ipfilter/netinet

2019-06-04 Thread Cy Schubert
Author: cy Date: Tue Jun 4 19:25:32 2019 New Revision: 348666 URL: https://svnweb.freebsd.org/changeset/base/348666 Log: Clean up #ifdefs from old unsupported releases of FreeBSD. MFC after:1 week Modified: head/sys/contrib/ipfilter/netinet/fil.c

Re: svn commit: r348540 - head

2019-06-04 Thread Enji Cooper
> On Jun 3, 2019, at 12:06 PM, Rodney W. Grimes > wrote: > >> Author: sobomax >> Date: Mon Jun 3 15:34:00 2019 >> New Revision: 348540 >> URL: https://svnweb.freebsd.org/changeset/base/348540 >> >> Log: >> Rollback the rest of the botched r348521. Re-work would be posted to >> reviews.

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Enji Cooper
> On Jun 4, 2019, at 11:48 AM, Ed Maste wrote: > > On Tue, 4 Jun 2019 at 13:44, Enji Cooper wrote: >> >> This is awesome! One minor critique is that I would have mentioned that the >> sysctl is `kern.build_id`. > > You mean including the sysctl name in the commit message? Yup — it would

svn commit: r348665 - head/usr.bin/calendar/calendars

2019-06-04 Thread Doug Moore
Author: dougm Date: Tue Jun 4 19:16:05 2019 New Revision: 348665 URL: https://svnweb.freebsd.org/changeset/base/348665 Log: Add birthday entry. Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd

svn commit: r348664 - head/usr.bin/calendar/calendars

2019-06-04 Thread Sean Eric Fagan
Author: sef Date: Tue Jun 4 19:06:33 2019 New Revision: 348664 URL: https://svnweb.freebsd.org/changeset/base/348664 Log: Add my birthday entry, per Kirk's request Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd

svn commit: r348662 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:55:02 2019 New Revision: 348662 URL: https://svnweb.freebsd.org/changeset/base/348662 Log: vtfontcvt: include width and height in verbose info PR: 205707 Submitted by: Dmitry Wagin Modified: head/usr.bin/vtfontcvt/vtfontcvt.c Modified:

svn commit: r348661 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:49:49 2019 New Revision: 348661 URL: https://svnweb.freebsd.org/changeset/base/348661 Log: vtfontcvt: rework height/width setting Introduce VFNT_MAXDIMENSION to replace bare 128, add set_height, and consistently use set_height and set_width. PR:

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Ed Maste
On Tue, 4 Jun 2019 at 13:44, Enji Cooper wrote: > > This is awesome! One minor critique is that I would have mentioned that the > sysctl is `kern.build_id`. You mean including the sysctl name in the commit message? > How is this linked into uname(1) though? I don’t see any additional options

svn commit: r348660 - head/sys/vm

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:38:27 2019 New Revision: 348660 URL: https://svnweb.freebsd.org/changeset/base/348660 Log: Remove an outdated header comment for vm_page.c. The listed rules were incomplete and outdated. There is a much more comprehensive comment in vm_page.h.

svn commit: r348658 - in head/stand/efi: include libefi

2019-06-04 Thread Warner Losh
Author: imp Date: Tue Jun 4 18:36:07 2019 New Revision: 348658 URL: https://svnweb.freebsd.org/changeset/base/348658 Log: Introduce efi_devpath_same_disk This is like efi_devpath_match, but allows differing device media paths. Those just specify the partition information.

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

2019-06-04 Thread Warner Losh
Author: imp Date: Tue Jun 4 18:36:12 2019 New Revision: 348659 URL: https://svnweb.freebsd.org/changeset/base/348659 Log: Use newly minted efi_devpath_same_disk() instead of efi_devpath_match(). This fixes a regression in r347193. Reported by: Tomoaki AOKI Differential Revision:

svn commit: r348657 - head/contrib/elftoolchain/elfcopy

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:34:05 2019 New Revision: 348657 URL: https://svnweb.freebsd.org/changeset/base/348657 Log: elfcopy: Use libelftc's string table routines to build .shstrtab. This replaces some hand-rolled routines and is substantially faster since libelftc uses a hash

svn commit: r348656 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:31:52 2019 New Revision: 348656 URL: https://svnweb.freebsd.org/changeset/base/348656 Log: vtfontcvt: unwrap a line per style(9) PR: 205707 Submitted by: Dmitry Wagin Modified: head/usr.bin/vtfontcvt/vtfontcvt.c Modified:

svn commit: r348655 - head/contrib/elftoolchain/libelftc

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:31:08 2019 New Revision: 348655 URL: https://svnweb.freebsd.org/changeset/base/348655 Log: libelftc: Fix some minor style bugs. Reviewed by: emaste MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r348654 - head/contrib/elftoolchain/elfcopy

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:29:08 2019 New Revision: 348654 URL: https://svnweb.freebsd.org/changeset/base/348654 Log: elfcopy: Use elf_getscn() instead of iterating over all sections. When removing a section, we would loop over all sections looking for a corresponding relocation

svn commit: r348653 - head/usr.bin/vtfontcvt

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:26:42 2019 New Revision: 348653 URL: https://svnweb.freebsd.org/changeset/base/348653 Log: vtfontcvt: use VFNT_MAP_{NORMAL|BOL}_RH symbolic constants PR: 205707 Reported by: Dmitry Wagin MFC after:1 month Modified:

svn commit: r348652 - head/contrib/elftoolchain/libelf

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 18:26:29 2019 New Revision: 348652 URL: https://svnweb.freebsd.org/changeset/base/348652 Log: libelf: Use a red-black tree to manage the section list. The tree is indexed by section number. This speeds up elf_getscn() and its callers, which previously had

Re: svn commit: r348609 - head

2019-06-04 Thread Enji Cooper
> On Jun 4, 2019, at 5:56 AM, Ed Maste wrote: > > Author: emaste > Date: Tue Jun 4 12:56:20 2019 > New Revision: 348609 > URL: https://svnweb.freebsd.org/changeset/base/348609 > > Log: > Makefile.inc1: clean up stale dependency hacks > > Carrying on from r339607, remove ad-hoc dependency

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Enji Cooper
> On Jun 4, 2019, at 6:07 AM, Ed Maste wrote: > > Author: emaste > Date: Tue Jun 4 13:07:10 2019 > New Revision: 348611 > URL: https://svnweb.freebsd.org/changeset/base/348611 > > Log: > Expose the kernel's build-ID through sysctl > > After our migration (of certain architectures) to lld

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Ed Maste
On Tue, 4 Jun 2019 at 10:58, Ian Lepore wrote: > > On Tue, 2019-06-04 at 13:07 +, Ed Maste wrote: > > Author: emaste > > Date: Tue Jun 4 13:07:10 2019 > > New Revision: 348611 > > URL: https://svnweb.freebsd.org/changeset/base/348611 > > > > Log: > > Expose the kernel's build-ID through

svn commit: r348631 - head/sys/dev/usb

2019-06-04 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 4 16:40:18 2019 New Revision: 348631 URL: https://svnweb.freebsd.org/changeset/base/348631 Log: In usb(4) fix a lost completion event issue towards libusb(3). It may happen if a USB transfer is cancelled that we need to fake a completion event. Implement

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Conrad Meyer
On Tue, Jun 4, 2019 at 7:15 AM Shawn Webb wrote: > > On Tue, Jun 04, 2019 at 01:07:10PM +, Ed Maste wrote: > > Author: emaste > > Date: Tue Jun 4 13:07:10 2019 > > New Revision: 348611 > > URL: https://svnweb.freebsd.org/changeset/base/348611 > > > > Log: > > Expose the kernel's build-ID

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

2019-06-04 Thread Alan Cox
Author: alc Date: Tue Jun 4 16:21:14 2019 New Revision: 348630 URL: https://svnweb.freebsd.org/changeset/base/348630 Log: The changes to pmap_demote_pde_locked()'s control flow in r348476 resulted in the loss of a KASSERT that guarded against the invalidation a wired mapping. Restore this

svn commit: r348629 - head/usr.sbin/daemon

2019-06-04 Thread Conrad Meyer
Author: cem Date: Tue Jun 4 16:07:01 2019 New Revision: 348629 URL: https://svnweb.freebsd.org/changeset/base/348629 Log: daemon(8): Don't block SIGTERM during restart delay I believe this was introduced in the original '-r' commit, r231911 (2012). At the time, the scope was limited to

svn commit: r348628 - head/sys/sys

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 15:44:31 2019 New Revision: 348628 URL: https://svnweb.freebsd.org/changeset/base/348628 Log: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits To support Intel CET IBT/Shadow Stack. Reviewed by: markj MFC after:1 week Sponsored

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Ian Lepore
On Tue, 2019-06-04 at 13:07 +, Ed Maste wrote: > Author: emaste > Date: Tue Jun 4 13:07:10 2019 > New Revision: 348611 > URL: https://svnweb.freebsd.org/changeset/base/348611 > > Log: > Expose the kernel's build-ID through sysctl > > After our migration (of certain architectures) to

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Shawn Webb
On Tue, Jun 04, 2019 at 01:07:10PM +, Ed Maste wrote: > Author: emaste > Date: Tue Jun 4 13:07:10 2019 > New Revision: 348611 > URL: https://svnweb.freebsd.org/changeset/base/348611 > > Log: > Expose the kernel's build-ID through sysctl > > After our migration (of certain

svn commit: r348612 - head/sys/kern

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 13:45:30 2019 New Revision: 348612 URL: https://svnweb.freebsd.org/changeset/base/348612 Log: style(9) / tidying for r348611 MFC with: r348611 Event:Waterloo Hackathon 2019 Modified: head/sys/kern/kern_mib.c Modified:

svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 13:07:10 2019 New Revision: 348611 URL: https://svnweb.freebsd.org/changeset/base/348611 Log: Expose the kernel's build-ID through sysctl After our migration (of certain architectures) to lld the kernel is built with a unique build-ID. Make it available

svn commit: r348610 - in head: lib/clang/libllvm usr.bin/clang

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 13:00:49 2019 New Revision: 348610 URL: https://svnweb.freebsd.org/changeset/base/348610 Log: build llvm-ar and llvm-nm with Clang (promote out of CLANG_EXTRAS) To facilitate experimentation with LTO we require an ar that supports LLVM IR, and to a lesser

svn commit: r348609 - head

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 12:56:20 2019 New Revision: 348609 URL: https://svnweb.freebsd.org/changeset/base/348609 Log: Makefile.inc1: clean up stale dependency hacks Carrying on from r339607, remove ad-hoc dependency cleanup for changes prior to June 2018. Sponsored by: The

svn commit: r348604 - head/sys/dev/usb/controller

2019-06-04 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 4 09:01:02 2019 New Revision: 348604 URL: https://svnweb.freebsd.org/changeset/base/348604 Log: In xhci(4) there is no stream ID in the completion TRB. Instead iterate all the stream IDs in stream mode to find the matching USB transfer. MFC after:3

svn commit: r348603 - head/sys/dev/mlx5/mlx5_en

2019-06-04 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 4 08:06:51 2019 New Revision: 348603 URL: https://svnweb.freebsd.org/changeset/base/348603 Log: Make sure the DMA tags get freed in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_main.c

svn commit: r348602 - head/sbin/fsck_msdosfs

2019-06-04 Thread Xin LI
Author: delphij Date: Tue Jun 4 07:02:20 2019 New Revision: 348602 URL: https://svnweb.freebsd.org/changeset/base/348602 Log: Don't increment cl after increment. MFC after:3 days Modified: head/sbin/fsck_msdosfs/fat.c Modified: head/sbin/fsck_msdosfs/fat.c

svn commit: r348601 - head/sys/ofed/drivers/infiniband/core

2019-06-04 Thread Slava Shwartsman
Author: slavash Date: Tue Jun 4 06:21:31 2019 New Revision: 348601 URL: https://svnweb.freebsd.org/changeset/base/348601 Log: Fix prio vs. nonprio tagged traffic in RDMACM In current RDMACM implementation RDMACM server will not find a GID index when the request was prio-tagged and the