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: r348676 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-06-04 Thread Alexander Motin
Author: mav Date: Wed Jun 5 00:51:51 2019 New Revision: 348676 URL: https://svnweb.freebsd.org/changeset/base/348676 Log: MFC r348117: Allocate buffers smaller then ABD chunk size as linear. This allows to reduce memory waste by letting UMA to put multiple small buffers into one memory

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: r348672 - in stable/12/sys/dev/cxgbe: common tom

2019-06-04 Thread Navdeep Parhar
Author: np Date: Tue Jun 4 21:06:34 2019 New Revision: 348672 URL: https://svnweb.freebsd.org/changeset/base/348672 Log: MFC r346570, r348440 r346570: cxgbe/t4_tom: Add a "TCB history" feature that samples hardware state for a tid and maintains a running history of some interesting

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: r348670 - in stable/12/sys/dev/cxgbe: cxgbei tom

2019-06-04 Thread Navdeep Parhar
Author: np Date: Tue Jun 4 20:37:00 2019 New Revision: 348670 URL: https://svnweb.freebsd.org/changeset/base/348670 Log: MFC r348491: cxgbe/t4_tom: adjust the hardware receive window to match changes to the receive sockbuf's high water mark. Calculate rx credits on the spot instead

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: 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: 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: 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

svn commit: r348651 - stable/12/sys/dev/vt/hw/efifb

2019-06-04 Thread Ed Maste
Author: emaste Date: Tue Jun 4 18:11:12 2019 New Revision: 348651 URL: https://svnweb.freebsd.org/changeset/base/348651 Log: MFC r348059: vt efifb: add suspend/resume calls Using the latest NVIDIA driver, upon resuming from suspend with X running the display remained blank.

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

svn commit: r348650 - stable/12/sys/dev/xdma

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 17:42:47 2019 New Revision: 348650 URL: https://svnweb.freebsd.org/changeset/base/348650 Log: MFC r348364: Don't copy the data from bounce buffer back to the mbuf if channel does not use bounce buffering. Sponsored by: DARPA, AFRL Modified:

svn commit: r348649 - in stable/12/sys/riscv: include riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 17:39:46 2019 New Revision: 348649 URL: https://svnweb.freebsd.org/changeset/base/348649 Log: MFC r347514: Add support for HiFive Unleashed -- the board with a multi-core RISC-V SoC from SiFive, Inc. The first core on this SoC (hart 0) is a 64-bit

svn commit: r348647 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:37:20 2019 New Revision: 348647 URL: https://svnweb.freebsd.org/changeset/base/348647 Log: MFC r340027 (by jhb): Don't allow debuggers to modify SSTATUS, only to read it. Modified: stable/12/sys/riscv/riscv/machdep.c Directory Properties: stable/12/

svn commit: r348648 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:37:50 2019 New Revision: 348648 URL: https://svnweb.freebsd.org/changeset/base/348648 Log: MFC r340028 (by jhb): SBI calls expect a pointer to a u_long rather than a pointer. Modified: stable/12/sys/riscv/riscv/intr_machdep.c

svn commit: r348646 - in stable/12/sys/riscv: include riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:31:59 2019 New Revision: 348646 URL: https://svnweb.freebsd.org/changeset/base/348646 Log: MFC r344108: Implement per-CPU pmap activation tracking for RISC-V. Modified: stable/12/sys/riscv/include/pcb.h stable/12/sys/riscv/include/pcpu.h

svn commit: r348645 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:31:29 2019 New Revision: 348645 URL: https://svnweb.freebsd.org/changeset/base/348645 Log: MFC r344107: Implement pmap_clear_modify() for RISC-V. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r348644 - in stable/12/sys: riscv/include riscv/riscv vm

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:31:05 2019 New Revision: 348644 URL: https://svnweb.freebsd.org/changeset/base/348644 Log: MFC r344106: Implement transparent 2MB superpage promotion for RISC-V. Modified: stable/12/sys/riscv/include/param.h stable/12/sys/riscv/include/pmap.h

svn commit: r348643 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:30:22 2019 New Revision: 348643 URL: https://svnweb.freebsd.org/changeset/base/348643 Log: MFC r342733: Set PTE_U on PTEs created by pmap_enter_quick(). Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed)

svn commit: r348642 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:29:47 2019 New Revision: 348642 URL: https://svnweb.freebsd.org/changeset/base/348642 Log: MFC r340159 (by jhb): Rework setting PTE_D for kernel mappings. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed)

svn commit: r348641 - in stable/12/sys/riscv: include riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:29:20 2019 New Revision: 348641 URL: https://svnweb.freebsd.org/changeset/base/348641 Log: MFC r340030 (by jhb): Restrict setting PTE execute permissions on RISC-V. Modified: stable/12/sys/riscv/include/pte.h stable/12/sys/riscv/riscv/locore.S

svn commit: r348640 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:28:49 2019 New Revision: 348640 URL: https://svnweb.freebsd.org/changeset/base/348640 Log: MFC r340029 (by jhb): Set PTE_A and PTE_D for user mappings in pmap_enter(). Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props

svn commit: r348639 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:25:45 2019 New Revision: 348639 URL: https://svnweb.freebsd.org/changeset/base/348639 Log: MFC r342765: Fix dirty bit handling in pmap_remove_write(). Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed)

svn commit: r348638 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:25:22 2019 New Revision: 348638 URL: https://svnweb.freebsd.org/changeset/base/348638 Log: MFC r342764: Clear PGA_WRITEABLE in pmap_remove_pages(). Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r348637 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:24:52 2019 New Revision: 348637 URL: https://svnweb.freebsd.org/changeset/base/348637 Log: MFC r342736: Fix a use-after-free in the riscv pmap_release() implementation. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props

svn commit: r348636 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:24:26 2019 New Revision: 348636 URL: https://svnweb.freebsd.org/changeset/base/348636 Log: MFC r342735: Synchronize access to the allpmaps list. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r348634 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:23:24 2019 New Revision: 348634 URL: https://svnweb.freebsd.org/changeset/base/348634 Log: MFC r343529: Remove a redundant test. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r348635 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:23:58 2019 New Revision: 348635 URL: https://svnweb.freebsd.org/changeset/base/348635 Log: MFC r342734: Fix some issues with the riscv pmap_protect() implementation. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props

svn commit: r348633 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:20:34 2019 New Revision: 348633 URL: https://svnweb.freebsd.org/changeset/base/348633 Log: MFC r342732: Use regular stores to update PTEs in the riscv pmap layer. Modified: stable/12/sys/riscv/riscv/pmap.c Directory Properties: stable/12/ (props

svn commit: r348632 - stable/12/sys/riscv/riscv

2019-06-04 Thread Mark Johnston
Author: markj Date: Tue Jun 4 17:19:16 2019 New Revision: 348632 URL: https://svnweb.freebsd.org/changeset/base/348632 Log: MFC r342766: Don't enable interrupts in init_secondary(). Modified: stable/12/sys/riscv/riscv/mp_machdep.c Directory Properties: stable/12/ (props changed)

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: r348626 - in stable/12/sys: conf riscv/conf

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:40:30 2019 New Revision: 348626 URL: https://svnweb.freebsd.org/changeset/base/348626 Log: MFC r347351: Connect Xilinx AXI drivers and Cadence Ethernet MAC to the RISC-V build. Sponsored by: DARPA, AFRL Modified: stable/12/sys/conf/files.riscv

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

svn commit: r348627 - stable/12/sys/riscv/riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:42:30 2019 New Revision: 348627 URL: https://svnweb.freebsd.org/changeset/base/348627 Log: MFC r347427: RISC-V ISA does not specify how to manage physical memory attributes (PMA). So do nothing in pmap_page_set_memattr() and don't panic. Sponsored by:

svn commit: r348625 - stable/12/sys/dev/xilinx

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:39:28 2019 New Revision: 348625 URL: https://svnweb.freebsd.org/changeset/base/348625 Log: MFC r347344: Add driver for the Xilinx AXI Direct Memory Access (AXI DMA) controller found in the U.S. Government Furnished Equipment (GFE) 64-bit RISC-V cores.

svn commit: r348624 - in stable/12/sys/dev: mii xilinx

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:37:36 2019 New Revision: 348624 URL: https://svnweb.freebsd.org/changeset/base/348624 Log: MFC r347342: Add driver for Xilinx AXI Ethernet tri-mode (10/100/1000 Mb/s) MAC found in the U.S. Government Furnished Equipment (GFE) 64-bit RISC-V cores.

svn commit: r348623 - stable/12/sys/dev/xdma

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:35:46 2019 New Revision: 348623 URL: https://svnweb.freebsd.org/changeset/base/348623 Log: MFC r347337: o Implement a bounce buffer based on device reserved memory. Grab device reserved physical memory regions from FDT using standard "memory-region"

svn commit: r348622 - stable/12/sys/riscv/riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:33:52 2019 New Revision: 348622 URL: https://svnweb.freebsd.org/changeset/base/348622 Log: MFC r347226: Disable interrupts first and then set spinlock_count to 1. Otherwise interrupt can be generated just after setting spinlock_count and before disabling

svn commit: r348621 - in stable/12/sys: conf riscv/include riscv/riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:32:56 2019 New Revision: 348621 URL: https://svnweb.freebsd.org/changeset/base/348621 Log: MFC r347225: Provide a template for busdma code for RISC-V. RISC-V ISA specifies no cache management instructions so leave cache operations in cpufunc.h as no-op

svn commit: r348620 - stable/12/sys/riscv/riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:30:46 2019 New Revision: 348620 URL: https://svnweb.freebsd.org/changeset/base/348620 Log: MFC r346994: Deactivate IRQ resource by calling to intr_deactivate_irq(). This is the part of INTRNG support that was missed. Sponsored by: DARPA, AFRL

svn commit: r348619 - in stable/12/sys/dev: altera/atse altera/softdma xdma

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:28:32 2019 New Revision: 348619 URL: https://svnweb.freebsd.org/changeset/base/348619 Log: MFC r346896: o Rewrite softdma_process_tx() of Altera SoftDMA engine driver so it does not require a bounce buffer. The only need for this was to align the

svn commit: r348617 - stable/12/sys/riscv/riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:25:03 2019 New Revision: 348617 URL: https://svnweb.freebsd.org/changeset/base/348617 Log: MFC r346633: Implement pic_pre_ithread(), pic_post_ithread(). Sponsored by: DARPA, AFRL Modified: stable/12/sys/riscv/riscv/plic.c Modified:

svn commit: r348618 - stable/12/sys/dev/cadence

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:26:02 2019 New Revision: 348618 URL: https://svnweb.freebsd.org/changeset/base/348618 Log: MFC r346634: Add support for Cadence network controller found in HiFive Unleashed board. Sponsored by: DARPA, AFRL Modified: stable/12/sys/dev/cadence/if_cgem.c

svn commit: r348616 - stable/12/sys/riscv/riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:18:41 2019 New Revision: 348616 URL: https://svnweb.freebsd.org/changeset/base/348616 Log: MFC r345796: o Grab the number of devices supported by PLIC from FDT. o Fix bug in PLIC_ENABLE macro when irq >= 32. Tested on the real hardware, which is HiFive

svn commit: r348615 - stable/12/sys/riscv/riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:15:37 2019 New Revision: 348615 URL: https://svnweb.freebsd.org/changeset/base/348615 Log: MFC r345581: Grab timer frequency from FDT. RISC-V timer has no dedicated DTS node and we have to get timer frequency from cpus node. Tested on Government

svn commit: r348614 - stable/12/sys/conf

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:13:48 2019 New Revision: 348614 URL: https://svnweb.freebsd.org/changeset/base/348614 Log: MFC r344252: Avoid orphan sections between __bss_start and .(s)bss. Ensure __bss_start is associated with the next section in case orphan sections are placed

svn commit: r348613 - stable/12/sys/riscv/riscv

2019-06-04 Thread Ruslan Bukin
Author: br Date: Tue Jun 4 15:11:14 2019 New Revision: 348613 URL: https://svnweb.freebsd.org/changeset/base/348613 Log: MFC 339774: o Add pmap lock around pmap_fault_fixup() to ensure other thread will not modify l3 pte after we loaded old value and before we stored new value. o

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: r348608 - in stable/10: contrib/libarchive contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar contrib/libarchive/tar/te...

2019-06-04 Thread Martin Matuska
Author: mm Date: Tue Jun 4 10:36:26 2019 New Revision: 348608 URL: https://svnweb.freebsd.org/changeset/base/348608 Log: MFC r347990: Sync libarchive with vendor. Relevant vendor changes: Issue #795: XAR - do not try to add xattrs without an allocated name PR #812: non-recursive

svn commit: r348607 - in stable/11: contrib/libarchive contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar contrib/libarchive/tar/te...

2019-06-04 Thread Martin Matuska
Author: mm Date: Tue Jun 4 10:35:54 2019 New Revision: 348607 URL: https://svnweb.freebsd.org/changeset/base/348607 Log: MFC r347990: Sync libarchive with vendor. Relevant vendor changes: Issue #795: XAR - do not try to add xattrs without an allocated name PR #812: non-recursive

svn commit: r348606 - stable/12/lib/libarchive/tests

2019-06-04 Thread Martin Matuska
Author: mm Date: Tue Jun 4 10:28:50 2019 New Revision: 348606 URL: https://svnweb.freebsd.org/changeset/base/348606 Log: MFC r347999: Install missing data file for lib.libarchive.functional_test.test_read_format_zip_utf8_paths Modified: stable/12/lib/libarchive/tests/Makefile

svn commit: r348605 - in stable/12: contrib/libarchive contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar contrib/libarchive/tar/te...

2019-06-04 Thread Martin Matuska
Author: mm Date: Tue Jun 4 10:20:56 2019 New Revision: 348605 URL: https://svnweb.freebsd.org/changeset/base/348605 Log: MFC r347990: Sync libarchive with vendor. Relevant vendor changes: Issue #795: XAR - do not try to add xattrs without an allocated name PR #812: non-recursive

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