svn commit: r347646 - head/sys/ddb

2019-05-15 Thread Ryan Libby
Author: rlibby Date: Thu May 16 05:29:54 2019 New Revision: 347646 URL: https://svnweb.freebsd.org/changeset/base/347646 Log: db show thread: avoid overflow in tick conversion The previous calculations for displaying the time since last switch easily overflowed, after less than 36 min for

svn commit: r347645 - head/sys/x86/iommu

2019-05-15 Thread Ryan Libby
Author: rlibby Date: Thu May 16 04:24:08 2019 New Revision: 347645 URL: https://svnweb.freebsd.org/changeset/base/347645 Log: iommu static analysis cleanup A static analyzer complained about a couple instances of checking a variable against NULL after already having dereferenced it. -

svn commit: r347644 - stable/11/lib/libc/gen

2019-05-15 Thread Alan Somers
Author: asomers Date: Thu May 16 03:30:36 2019 New Revision: 347644 URL: https://svnweb.freebsd.org/changeset/base/347644 Log: MFC r347032 (except for the part about d_off): directory.3: add a STANDARDS section Reviewed by: jilles, ngie Sponsored by: The FreeBSD Foundation Differe

svn commit: r347643 - stable/11/tools/regression/fsx

2019-05-15 Thread Alan Somers
Author: asomers Date: Thu May 16 03:24:08 2019 New Revision: 347643 URL: https://svnweb.freebsd.org/changeset/base/347643 Log: MFC r346847: fsx: seed more randomly with the -S0 option When using -S0, seed the PRNG with the current time in nanoseconds, not seconds, so consecutive runs

svn commit: r347642 - head/contrib/wpa/wpa_supplicant

2019-05-15 Thread Cy Schubert
Author: cy Date: Thu May 16 02:41:25 2019 New Revision: 347642 URL: https://svnweb.freebsd.org/changeset/base/347642 Log: The driver list prints "(null)" for the NDIS driver when -h (help) or an unknown switch is passed outputting the command usage. This is because the NDIS driver is uniniti

svn commit: r347641 - head/tests/sys/netipsec/tunnel

2019-05-15 Thread Kristof Provost
Author: kp Date: Thu May 16 02:18:57 2019 New Revision: 347641 URL: https://svnweb.freebsd.org/changeset/base/347641 Log: ipsec tests: Skip if ipsec.ko is not loaded As of r347410 IPSec is no longer built into GENERIC. The ipsec.ko module must be loaded before we can execute the IPSec tes

svn commit: r347640 - head/lib/libbe

2019-05-15 Thread Kyle Evans
Author: kevans Date: Thu May 16 02:11:33 2019 New Revision: 347640 URL: https://svnweb.freebsd.org/changeset/base/347640 Log: libbe(3): Descend into children of datasets w/ mountpoint=none These datasets will generally be canmount=noauto,mountpoint=none (e.g. zroot/var) but have children

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

2019-05-15 Thread Conrad Meyer
Author: cem Date: Thu May 16 01:32:54 2019 New Revision: 347639 URL: https://svnweb.freebsd.org/changeset/base/347639 Log: x86: Correctly identify bhyve hypervisor Spotted after a similar report by Olivier Cochard-Labbé. Sponsored by: Dell EMC Isilon Modified: head/sys/x86/x86/ident

svn commit: r347638 - in head: . etc lib/libc/gen

2019-05-15 Thread Brad Davis
Author: brd Date: Thu May 16 01:09:13 2019 New Revision: 347638 URL: https://svnweb.freebsd.org/changeset/base/347638 Log: Move master.passwd and group to lib/libc/gen/ libc was picked as the destination location for these because of the syscalls that use these files as the lowest level p

svn commit: r347637 - stable/11/sys/kern

2019-05-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu May 16 00:53:54 2019 New Revision: 347637 URL: https://svnweb.freebsd.org/changeset/base/347637 Log: MFC r345550: Change default value of kern.bootfile to reflect reality In most cases kernel.bootfile is populated from the information provided by loader(8). Th

svn commit: r347636 - stable/11/sys/dev/acpi_support

2019-05-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu May 16 00:51:30 2019 New Revision: 347636 URL: https://svnweb.freebsd.org/changeset/base/347636 Log: MFC r346647: [acpi_ibm] Add support for newer Thinkpad models Add support for newer Thinkpad models with id LEN0268. Was tested on Thinkpad T480 and ThinkPad X

Re: svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-15 Thread Rick Macklem
Konstantin Belousov wrote: [lots of stuff snipped] >On Wed, May 15, 2019 at 08:31:23PM +0300, Dmitry Chagin wrote: >> >> yes, you are right. thank you! but in the best tradition of the project, >> the system does not built, >> I got ar error when building static llvm library: >> ar: fatal: Symbol t

svn commit: r347634 - stable/12/sys/dev/acpi_support

2019-05-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed May 15 21:52:43 2019 New Revision: 347634 URL: https://svnweb.freebsd.org/changeset/base/347634 Log: MFC r346647: [acpi_ibm] Add support for newer Thinkpad models Add support for newer Thinkpad models with id LEN0268. Was tested on Thinkpad T480 and ThinkPad X

svn commit: r347633 - in releng/12.0: . sys/conf

2019-05-15 Thread Gordon Tetlow
the tip of head, and then rebuild without this option. The bootstrap process from older version of current across the gcc/clang cutover is a bit fragile. +20190515 p5 FreeBSD-EN-19:07.mds [revised] + + Fixed error in patch causing panic on i386 architecture. [SA-19:07.mds

svn commit: r347632 - releng/12.0/sys/i386/i386

2019-05-15 Thread Konstantin Belousov
Author: kib Date: Wed May 15 20:44:27 2019 New Revision: 347632 URL: https://svnweb.freebsd.org/changeset/base/347632 Log: Fix mismerge. Pointy hat to:kib Tested by: so (emaste, gtetlow) Approved by: so (emaste, gtetlow) Modified: releng/12.0/sys/i386/i386/initcpu.c Modified

svn commit: r347629 - stable/12/sys/kern

2019-05-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed May 15 18:56:42 2019 New Revision: 347629 URL: https://svnweb.freebsd.org/changeset/base/347629 Log: MFC r345550: Change default value of kern.bootfile to reflect reality In most cases kernel.bootfile is populated from the information provided by loader(8). Th

Re: svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-15 Thread Konstantin Belousov
On Wed, May 15, 2019 at 08:31:23PM +0300, Dmitry Chagin wrote: > ср, 15 мая 2019 г. в 11:10, Konstantin Belousov : > > > On Wed, May 15, 2019 at 08:54:04AM +0300, Dmitry Chagin wrote: > > > вт, 14 мая 2019 г. в 20:02, Konstantin Belousov : > > > > > > > Author: kib > > > > Date: Tue May 14 17:02:2

svn commit: r347628 - in head/sys: amd64/amd64 i386/i386

2019-05-15 Thread Ryan Libby
Author: rlibby Date: Wed May 15 18:13:43 2019 New Revision: 347628 URL: https://svnweb.freebsd.org/changeset/base/347628 Log: x86: spell vpxor %zmm0 as vpxord Fix gcc/gas amd64 & i386 build after r347566. Reviewed by: kib Sponsored by: Dell EMC Isilon Differential Revision:

Re: svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-15 Thread Dmitry Chagin
ср, 15 мая 2019 г. в 11:10, Konstantin Belousov : > On Wed, May 15, 2019 at 08:54:04AM +0300, Dmitry Chagin wrote: > > вт, 14 мая 2019 г. в 20:02, Konstantin Belousov : > > > > > Author: kib > > > Date: Tue May 14 17:02:20 2019 > > > New Revision: 347566 > > > URL: https://svnweb.freebsd.org/chang

svn commit: r347627 - stable/11/sys/dev/dcons

2019-05-15 Thread Ian Lepore
Author: ian Date: Wed May 15 17:58:08 2019 New Revision: 347627 URL: https://svnweb.freebsd.org/changeset/base/347627 Log: MFC r347422: Allow dcons(4) to be unloaded when loaded as a module. When the module is unloaded, the tty devices are destroyed. That requires implementing the t

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

2019-05-15 Thread Konstantin Belousov
Author: kib Date: Wed May 15 17:55:41 2019 New Revision: 347625 URL: https://svnweb.freebsd.org/changeset/base/347625 Log: Properly announce MD_CLEAR. Submitted by: Petr Lampa MFC after:3 days Modified: head/sys/x86/x86/identcpu.c Modified: head/sys/x86/x86/identcpu.c ===

svn commit: r347626 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:57:06 2019 New Revision: 347626 URL: https://svnweb.freebsd.org/changeset/base/347626 Log: LinuxKPI: Add helper macros IS_ALIGNED and DIV_ROUND_DOWN_ULL. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:

svn commit: r347624 - stable/12/sys/dev/dcons

2019-05-15 Thread Ian Lepore
Author: ian Date: Wed May 15 17:50:17 2019 New Revision: 347624 URL: https://svnweb.freebsd.org/changeset/base/347624 Log: MFC r347422: Allow dcons(4) to be unloaded when loaded as a module. When the module is unloaded, the tty devices are destroyed. That requires implementing the t

svn commit: r347623 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:48:11 2019 New Revision: 347623 URL: https://svnweb.freebsd.org/changeset/base/347623 Log: LinuxKPI: Move {lower|upper}_32_bits macros from port to base. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:

svn commit: r347622 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:44:25 2019 New Revision: 347622 URL: https://svnweb.freebsd.org/changeset/base/347622 Log: LinuxKPI: Include asm/atomic-long.h from atomic.h. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:1 week Mod

svn commit: r347621 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:32:00 2019 New Revision: 347621 URL: https://svnweb.freebsd.org/changeset/base/347621 Log: LinuxKPI: Add get_random_u32 function. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:1 week Modified: hea

svn commit: r347620 - head/sys/compat/linuxkpi/common/include/asm

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:04:12 2019 New Revision: 347620 URL: https://svnweb.freebsd.org/changeset/base/347620 Log: LinuxKPI: Update user_access_begin for Linux v5.0. Check the new LINUXKPI_VERSION macro for backwards compatibility. This patch is part of D19565 Reviewed by

svn commit: r347619 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 16:59:04 2019 New Revision: 347619 URL: https://svnweb.freebsd.org/changeset/base/347619 Log: LinuxKPI: Expand ktime functionality. Also, make ktime_get_raw call getnanouptime instead of getnanotime to match (the correct) ktime_get_raw_ns. This patch is

svn commit: r347618 - head/sys/mips/atheros

2019-05-15 Thread Adrian Chadd
Author: adrian Date: Wed May 15 16:51:08 2019 New Revision: 347618 URL: https://svnweb.freebsd.org/changeset/base/347618 Log: [ar71xx_gpio] Add AR9341/AR9342 to the list of chips for programming function/output enable. This is reqired to use the gpiofunc behaviour for configuring GPIO pi

svn commit: r347617 - head/lib/libc/stdlib

2019-05-15 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Wed May 15 15:54:27 2019 New Revision: 347617 URL: https://svnweb.freebsd.org/changeset/base/347617 Log: Add small EXAMPLE section to bsearch.3. Submitted by: fernape (via Phabricator) Reviewed by: bcr, jilles, dab Approved by:

svn commit: r347616 - in stable/11/sys: amd64/amd64 i386/i386

2019-05-15 Thread Mark Johnston
Author: markj Date: Wed May 15 15:49:29 2019 New Revision: 347616 URL: https://svnweb.freebsd.org/changeset/base/347616 Log: MFC r339046, r339073: Count bootstrap data as resident in the kernel pmap. Modified: stable/11/sys/amd64/amd64/pmap.c stable/11/sys/i386/i386/pmap.c Directory Prope

svn commit: r347615 - head

2019-05-15 Thread Antoine Brodin
Author: antoine Date: Wed May 15 15:11:49 2019 New Revision: 347615 URL: https://svnweb.freebsd.org/changeset/base/347615 Log: Add more obsolete files. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==

svn commit: r347614 - stable/11/release/doc/share/xml

2019-05-15 Thread Glen Barber
Author: gjb Date: Wed May 15 15:03:55 2019 New Revision: 347614 URL: https://svnweb.freebsd.org/changeset/base/347614 Log: Document EN-19:08 through EN-19:10, SA-19:03 through SA-19:07. Sponsored by: The FreeBSD Foundation Modified: stable/11/release/doc/share/xml/errata.xml stable/11/

Guest post request

2019-05-15 Thread ali luffman
Good day, I hope that this mail finds you well. The reason for this mail is to inquire if you are interested in hosting a sponsored or guest blog post on your unique website? Currently, we are searching for clients that are willing be get paid to host these relevant blog posts. Our content i

svn commit: r347613 - stable/11/sys/netinet6

2019-05-15 Thread Michael Tuexen
Author: tuexen Date: Wed May 15 08:39:16 2019 New Revision: 347613 URL: https://svnweb.freebsd.org/changeset/base/347613 Log: MFC r337738: Use a macro to set the assoc state. Modified: stable/11/sys/netinet6/sctp6_usrreq.c Directory Properties: stable/11/ (props changed) Modified: stab

svn commit: r347612 - stable/12/sys/dev/cpuctl

2019-05-15 Thread Konstantin Belousov
Author: kib Date: Wed May 15 08:15:44 2019 New Revision: 347612 URL: https://svnweb.freebsd.org/changeset/base/347612 Log: MFC r347368: x86: Put other CPUs into tight loop when updating Intel microcode from loaded OS. Modified: stable/12/sys/dev/cpuctl/cpuctl.c Directory Properties: sta

Re: svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-15 Thread Konstantin Belousov
On Wed, May 15, 2019 at 08:54:04AM +0300, Dmitry Chagin wrote: > вт, 14 мая 2019 г. в 20:02, Konstantin Belousov : > > > Author: kib > > Date: Tue May 14 17:02:20 2019 > > New Revision: 347566 > > URL: https://svnweb.freebsd.org/changeset/base/347566 > > > > Log: > > Mitigations for Microarchite

svn commit: r347610 - in stable/11/usr.sbin/lpr: common_source lpc

2019-05-15 Thread Enji Cooper
Author: ngie Date: Wed May 15 07:51:30 2019 New Revision: 347610 URL: https://svnweb.freebsd.org/changeset/base/347610 Log: MFC r320009,r347075: r320009 (by sbruno): Quiesce clang warning while building lpc. usr.sbin/lpr/lpc/lpc.c Warning passing 'char *[20]' to paramete

svn commit: r347611 - stable/12/usr.sbin/lpr/common_source

2019-05-15 Thread Enji Cooper
Author: ngie Date: Wed May 15 07:51:35 2019 New Revision: 347611 URL: https://svnweb.freebsd.org/changeset/base/347611 Log: MFC r347075: Fix `clang -Wcast-qual` issues Remove unnecessary `char*` casting for arguments passed to `cget*(3)`, and deconst `_PATH_PRINTCAP` before passing i