Re: svn commit: r335632 - in head/sys: dev/vt/hw/vga x86/include x86/isa x86/x86

2018-06-25 Thread Andriy Gapon
On 25/06/2018 14:01, Konstantin Belousov wrote: > Modified: head/sys/x86/x86/cpu_machdep.c > == > --- head/sys/x86/x86/cpu_machdep.cMon Jun 25 10:52:41 2018 > (r335631) > +++ head/sys/x86/x86/cpu_machdep.c

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

2018-06-25 Thread Konstantin Belousov
Author: kib Date: Mon Jun 25 11:24:26 2018 New Revision: 335634 URL: https://svnweb.freebsd.org/changeset/base/335634 Log: Do not access ISA timer if BIOS reports that there is no legacy devices present. On at least one machine where it would matter since the ISA timer is power gated

Re: svn commit: r335579 - head/sys/vm

2018-06-25 Thread Slawa Olhovchenkov
On Sat, Jun 23, 2018 at 08:10:10AM +, Jeff Roberson wrote: > Author: jeff > Date: Sat Jun 23 08:10:09 2018 > New Revision: 335579 > URL: https://svnweb.freebsd.org/changeset/base/335579 > > Log: > Sort uma_zone fields according to 64 byte cache line with adjacent line > prefetch on 64bit

Re: svn commit: r333590 - head/share/man/man9

2018-06-25 Thread Matthew Macy
On Mon, Jun 25, 2018 at 01:30 Andriy Gapon wrote: > On 25/06/2018 10:25, Ed Schouten wrote: > > Hi Andriy, Matthew, > > > > 2018-06-24 23:36 GMT+02:00 Andriy Gapon : > >> Perhaps a little application of google can help. > >> [keywords: epoch based reclamation] > > > > Based on the man page, it

svn commit: r335630 - stable/11/contrib/elftoolchain/libdwarf

2018-06-25 Thread Mark Johnston
Author: markj Date: Mon Jun 25 10:37:21 2018 New Revision: 335630 URL: https://svnweb.freebsd.org/changeset/base/335630 Log: MFC r334881: Add DW_LANG_* definitions from DWARF 4 and 5. Modified: stable/11/contrib/elftoolchain/libdwarf/dwarf.h

svn commit: r335633 - head/sys/dev/vt/hw/vga

2018-06-25 Thread Konstantin Belousov
Author: kib Date: Mon Jun 25 11:12:21 2018 New Revision: 335633 URL: https://svnweb.freebsd.org/changeset/base/335633 Log: Fix compilation. Pointy hat to:me Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/dev/vt/hw/vga/vt_vga.c Modified:

svn commit: r335631 - head/sys/dev/vt/hw/vga

2018-06-25 Thread Konstantin Belousov
Author: kib Date: Mon Jun 25 10:52:41 2018 New Revision: 335631 URL: https://svnweb.freebsd.org/changeset/base/335631 Log: Always initialize the ignore local variable. Reviewed by: royger Sponsored by: The FreeBSD Foundation Differential revision:

svn commit: r335632 - in head/sys: dev/vt/hw/vga x86/include x86/isa x86/x86

2018-06-25 Thread Konstantin Belousov
Author: kib Date: Mon Jun 25 11:01:12 2018 New Revision: 335632 URL: https://svnweb.freebsd.org/changeset/base/335632 Log: Provide a helper function acpi_get_fadt_bootflags() to fetch the FADT x86 boot flags. Reviewed by: royger Sponsored by: The FreeBSD Foundation Differential

Re: svn commit: r335171 - head/sys/vm

2018-06-25 Thread Konstantin Belousov
On Mon, Jun 25, 2018 at 06:30:20AM -0400, Mark Johnston wrote: > On Fri, Jun 15, 2018 at 02:03:03PM +0300, Konstantin Belousov wrote: > > On Fri, Jun 15, 2018 at 11:03:06AM +0100, Steven Hartland wrote: > > > On 15/06/2018 00:07, Alan Cox wrote: > > > > > > > >> On Jun 14, 2018, at 5:54 PM, Steven

svn commit: r335638 - head/usr.bin/rusers

2018-06-25 Thread Eitan Adler
Author: eadler Date: Mon Jun 25 11:44:56 2018 New Revision: 335638 URL: https://svnweb.freebsd.org/changeset/base/335638 Log: rusers: modernize a bit Modified: head/usr.bin/rusers/rusers.c Modified: head/usr.bin/rusers/rusers.c

svn commit: r335637 - head/usr.bin/rup

2018-06-25 Thread Eitan Adler
Author: eadler Date: Mon Jun 25 11:44:53 2018 New Revision: 335637 URL: https://svnweb.freebsd.org/changeset/base/335637 Log: rup: compile with WARNS=6 Modified: head/usr.bin/rup/Makefile head/usr.bin/rup/rup.c Modified: head/usr.bin/rup/Makefile

svn commit: r335639 - head/sys/arm64/linux

2018-06-25 Thread Ed Maste
Author: emaste Date: Mon Jun 25 14:12:33 2018 New Revision: 335639 URL: https://svnweb.freebsd.org/changeset/base/335639 Log: Initial arm64 linuxulator linux_sysvec This is sufficient to run Linux arm64 'hello world' and other simple binaries. Reviewed by: andrew Sponsored by:

Re: svn commit: r335632 - in head/sys: dev/vt/hw/vga x86/include x86/isa x86/x86

2018-06-25 Thread Konstantin Belousov
On Mon, Jun 25, 2018 at 02:22:30PM +0300, Andriy Gapon wrote: > On 25/06/2018 14:01, Konstantin Belousov wrote: > > Modified: head/sys/x86/x86/cpu_machdep.c > > == > > --- head/sys/x86/x86/cpu_machdep.c Mon Jun 25

svn commit: r335636 - in head: lib/libcasper/libcasper usr.bin/users

2018-06-25 Thread Eitan Adler
Author: eadler Date: Mon Jun 25 11:44:41 2018 New Revision: 335636 URL: https://svnweb.freebsd.org/changeset/base/335636 Log: users(1): Use capsicum helpers for users In doing so also fix the libcasper.h header to work in C++. Modified: head/lib/libcasper/libcasper/libcasper.h

svn commit: r335635 - head/sys/amd64/include

2018-06-25 Thread Konstantin Belousov
Author: kib Date: Mon Jun 25 11:29:04 2018 New Revision: 335635 URL: https://svnweb.freebsd.org/changeset/base/335635 Log: Do not leave stray qword on top of stack for interrupts and exceptions without error code. Doing so it mis-aligned the stack. Since the only consumer of the SSE

svn commit: r335641 - head/contrib/smbfs/lib/smb

2018-06-25 Thread Brooks Davis
Author: brooks Date: Mon Jun 25 16:42:49 2018 New Revision: 335641 URL: https://svnweb.freebsd.org/changeset/base/335641 Log: Fix a stack overflow in mount_smbfs when hostname is too long. The local hostname was blindly copied into the to the nn_name array. When the hostname exceeded 16

svn commit: r335642 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Mon Jun 25 17:17:47 2018 New Revision: 335642 URL: https://svnweb.freebsd.org/changeset/base/335642 Log: config(8): Add `envvar` support envvar allows adding individual environment variables to the kernel's static environment without the overhead of pulling in a full

Re: svn commit: r334329 - head/sys/arm64/arm64

2018-06-25 Thread Patryk Duda
Any updates? 2018-06-21 14:41 GMT+02:00 Patryk Duda : > Hi, > > I'm trying to boot kernel on ThunderX2 but I've got following error: > > panic: efi_init: PA out of range, PA: 0xfafd0018 > > This error comes from PHYS_TO_DMAP macro. > I can workaround this issue by disabling EFI Runtime Services

Re: svn commit: r335629 - in head: share/man/man4 sys/dev/vt/hw/vga

2018-06-25 Thread Rodney W. Grimes
> Author: royger > Date: Mon Jun 25 09:39:16 2018 > New Revision: 335629 > URL: https://svnweb.freebsd.org/changeset/base/335629 > > Log: > vt: add option to ignore NO_VGA flag in ACPI > > To workaround buggy firmware that sets this flag when there's actually > a VGA present. > >

Re: svn commit: r334329 - head/sys/arm64/arm64

2018-06-25 Thread Andrew Turner
I’ve not seen this on the ThunderX2 I have access to with the latest firmware. You’ll need to find out why the kernel is trying to access the memory, and where it is in the EFI memory map. Andrew > On 21 Jun 2018, at 13:41, Patryk Duda wrote: > > Hi, > > I'm trying to boot kernel on

svn commit: r335640 - in stable/11: contrib/libpcap contrib/libpcap/ChmodBPF contrib/libpcap/Win32 contrib/libpcap/Win32/Prj contrib/libpcap/cmake contrib/libpcap/cmake/Modules contrib/libpcap/lbl ...

2018-06-25 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jun 25 15:09:55 2018 New Revision: 335640 URL: https://svnweb.freebsd.org/changeset/base/335640 Log: MFC r334277, r334376, r334378 and r334418: MFV r333789: libpcap 1.9.0 (pre-release) - Update local copy of dlt.h with new DLT types. Sponsored by:

Re: svn commit: r335612 - head/sbin/dhclient

2018-06-25 Thread Xin LI
On Sun, Jun 24, 2018 at 6:30 PM Eitan Adler wrote: > > Author: eadler > Date: Mon Jun 25 01:29:54 2018 > New Revision: 335612 > URL: https://svnweb.freebsd.org/changeset/base/335612 > > Log: > dhclient: recorrect __progname to getprogname() > > A more correct way to modernize code that uses

svn commit: r335643 - stable/11/share/mk

2018-06-25 Thread Bryan Drewery
Author: bdrewery Date: Mon Jun 25 18:53:06 2018 New Revision: 335643 URL: https://svnweb.freebsd.org/changeset/base/335643 Log: MFC r321427,r321445: r321427: PROGS: Fix ESTALE errors on NFS while cleaning in directories with PROGS. r321445: cleandir: Fix ESTALE errors

Re: svn commit: r335647 - head/lib/geom

2018-06-25 Thread Brooks Davis
On Mon, Jun 25, 2018 at 09:54:39PM +, Brad Davis wrote: > Author: brd > Date: Mon Jun 25 21:54:39 2018 > New Revision: 335647 > URL: https://svnweb.freebsd.org/changeset/base/335647 > > Log: > Add a file missed in r335645. > > Approved by:brooks, allanjude (mentor) >

svn commit: r335651 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 26 02:05:45 2018 New Revision: 335651 URL: https://svnweb.freebsd.org/changeset/base/335651 Log: config(8): Set envmode if we accept an envvar X-MFC-With: r335642 Modified: head/usr.sbin/config/config.y Modified: head/usr.sbin/config/config.y

svn commit: r335650 - head/sys/ufs/ffs

2018-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 26 00:39:38 2018 New Revision: 335650 URL: https://svnweb.freebsd.org/changeset/base/335650 Log: Use buf + strategy rather than bypassing geom_vfs layer The reference counting that's done in the geom_vfs layer to prevent delivery of requests to defunct devices

svn commit: r335649 - in head/sys/arm64: arm64 linux

2018-06-25 Thread Andrew Turner
Author: andrew Date: Mon Jun 25 22:36:25 2018 New Revision: 335649 URL: https://svnweb.freebsd.org/changeset/base/335649 Log: Make cpu_set_syscall_retval common between the existing FreeBSD ABI and the Linuxulator. We need to translate error values onto Linux errno values and return them to

svn commit: r335646 - head/sys/modules/linux64

2018-06-25 Thread Ed Maste
Author: emaste Date: Mon Jun 25 20:33:04 2018 New Revision: 335646 URL: https://svnweb.freebsd.org/changeset/base/335646 Log: linux64: add arm64 linuxulator build details The arm64 linuxulator needs different arguments for the objcopy invocation used to build the linux VDSO. These

svn commit: r335644 - head/sys/compat/linux

2018-06-25 Thread Ed Maste
Author: emaste Date: Mon Jun 25 19:24:50 2018 New Revision: 335644 URL: https://svnweb.freebsd.org/changeset/base/335644 Log: Quiet unused fn warning for linuxulator w/o legacy syscalls Sponsored by: Turing Robotic Industries Modified: head/sys/compat/linux/linux_sysctl.c Modified:

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

2018-06-25 Thread Justin Hibbits
Author: jhibbits Date: Mon Jun 25 22:05:33 2018 New Revision: 335648 URL: https://svnweb.freebsd.org/changeset/base/335648 Log: Expose stopped cpu contexts to ddb on PowerPC Summary: In r220638, stoppcbs started being tracked. This never got exposed to ddb though, so kdb_thr_ctx() didn't

svn commit: r335645 - in head: . etc/mtree lib lib/geom sbin/geom sbin/geom/class sbin/geom/core targets/pseudo/userland targets/pseudo/userland/lib

2018-06-25 Thread Brooks Davis
Author: brooks Date: Mon Jun 25 19:55:15 2018 New Revision: 335645 URL: https://svnweb.freebsd.org/changeset/base/335645 Log: Normalize the g(eom,cache,part,...) build. Rather then combining hardlink creation for the geom(8) binary with shared library build, move libraries to

svn commit: r335647 - head/lib/geom

2018-06-25 Thread Brad Davis
Author: brd Date: Mon Jun 25 21:54:39 2018 New Revision: 335647 URL: https://svnweb.freebsd.org/changeset/base/335647 Log: Add a file missed in r335645. Approved by: brooks, allanjude (mentor) Differential Revision:https://reviews.freebsd.org/D15360 Added:

svn commit: r335652 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 26 03:56:10 2018 New Revision: 335652 URL: https://svnweb.freebsd.org/changeset/base/335652 Log: config(8): Make 'env' files consistent with other file-accepting options Previously, only one 'env' file could be specified. Later 'env' directives would

svn commit: r335654 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 26 04:06:49 2018 New Revision: 335654 URL: https://svnweb.freebsd.org/changeset/base/335654 Log: config(8): part of patch disappeared, don't close ifp at the end Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c

Re: svn commit: r335629 - in head: share/man/man4 sys/dev/vt/hw/vga

2018-06-25 Thread Alexey Dokuchaev
On Mon, Jun 25, 2018 at 08:43:51AM -0700, Rodney W. Grimes wrote: > > New Revision: 335629 > > URL: https://svnweb.freebsd.org/changeset/base/335629 > > > > Log: > > vt: add option to ignore NO_VGA flag in ACPI > > > > To workaround buggy firmware that sets this flag when there's actually

svn commit: r335653 - head/usr.sbin/config

2018-06-25 Thread Kyle Evans
Author: kevans Date: Tue Jun 26 04:02:25 2018 New Revision: 335653 URL: https://svnweb.freebsd.org/changeset/base/335653 Log: config(8): Flip the order of concatenation for `hints` and `env` As previously noted, kernel's processing of these means that the first appearance of a

Re: svn commit: r335171 - head/sys/vm

2018-06-25 Thread Mark Johnston
On Fri, Jun 15, 2018 at 02:03:03PM +0300, Konstantin Belousov wrote: > On Fri, Jun 15, 2018 at 11:03:06AM +0100, Steven Hartland wrote: > > On 15/06/2018 00:07, Alan Cox wrote: > > > > > >> On Jun 14, 2018, at 5:54 PM, Steven Hartland > > >> > >> > wrote:

Re: svn commit: r333590 - head/share/man/man9

2018-06-25 Thread Andriy Gapon
On 25/06/2018 10:25, Ed Schouten wrote: > Hi Andriy, Matthew, > > 2018-06-24 23:36 GMT+02:00 Andriy Gapon : >> Perhaps a little application of google can help. >> [keywords: epoch based reclamation] > > Based on the man page, it wasn't clear that this refers to a generally > accepted construct

svn commit: r335617 - stable/10/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:47:54 2018 New Revision: 335617 URL: https://svnweb.freebsd.org/changeset/base/335617 Log: MFC r333997: uchcom: report detected product based on USB product ID Modified: stable/10/sys/dev/usb/serial/uchcom.c Directory Properties: stable/10/ (props changed)

svn commit: r335616 - stable/11/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:47:07 2018 New Revision: 335616 URL: https://svnweb.freebsd.org/changeset/base/335616 Log: MFC r333997: uchcom: report detected product based on USB product ID Modified: stable/11/sys/dev/usb/serial/uchcom.c Directory Properties: stable/11/ (props changed)

svn commit: r335620 - stable/11/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:50:06 2018 New Revision: 335620 URL: https://svnweb.freebsd.org/changeset/base/335620 Log: MFC r333999: uchcom: add a hardware configuration tweak seen in Linux code Modified: stable/11/sys/dev/usb/serial/uchcom.c Directory Properties: stable/11/ (props

svn commit: r335618 - stable/11/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:48:39 2018 New Revision: 335618 URL: https://svnweb.freebsd.org/changeset/base/335618 Log: MFC r333998: uchcom: add DPRINTF-s to aid debugging of the driver Modified: stable/11/sys/dev/usb/serial/uchcom.c Directory Properties: stable/11/ (props changed)

svn commit: r335619 - stable/10/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:49:13 2018 New Revision: 335619 URL: https://svnweb.freebsd.org/changeset/base/335619 Log: MFC r333998: uchcom: add DPRINTF-s to aid debugging of the driver Modified: stable/10/sys/dev/usb/serial/uchcom.c Directory Properties: stable/10/ (props changed)

svn commit: r335621 - stable/10/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:50:46 2018 New Revision: 335621 URL: https://svnweb.freebsd.org/changeset/base/335621 Log: MFC r333999: uchcom: add a hardware configuration tweak seen in Linux code Modified: stable/10/sys/dev/usb/serial/uchcom.c Directory Properties: stable/10/ (props

svn commit: r335622 - stable/11/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:52:48 2018 New Revision: 335622 URL: https://svnweb.freebsd.org/changeset/base/335622 Log: MFC r334000: uchcom: reject parity and double stop bits as unsupported Modified: stable/11/sys/dev/usb/serial/uchcom.c Directory Properties: stable/11/ (props

svn commit: r335624 - stable/11/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:54:46 2018 New Revision: 335624 URL: https://svnweb.freebsd.org/changeset/base/335624 Log: MFC r334001: uchcom: remove UCHCOM_REG_BREAK2 alias of UCHCOM_REG_LCR1 Modified: stable/11/sys/dev/usb/serial/uchcom.c Directory Properties: stable/11/ (props

svn commit: r335623 - stable/10/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:53:30 2018 New Revision: 335623 URL: https://svnweb.freebsd.org/changeset/base/335623 Log: MFC r334000: uchcom: reject parity and double stop bits as unsupported Modified: stable/10/sys/dev/usb/serial/uchcom.c Directory Properties: stable/10/ (props

svn commit: r335625 - stable/10/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:55:19 2018 New Revision: 335625 URL: https://svnweb.freebsd.org/changeset/base/335625 Log: MFC r334001: uchcom: remove UCHCOM_REG_BREAK2 alias of UCHCOM_REG_LCR1 Modified: stable/10/sys/dev/usb/serial/uchcom.c Directory Properties: stable/10/ (props

svn commit: r335626 - stable/11/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:56:30 2018 New Revision: 335626 URL: https://svnweb.freebsd.org/changeset/base/335626 Log: MFC r334002: uchcom: extend hardware support to version 0x30 Modified: stable/11/sys/dev/usb/serial/uchcom.c Directory Properties: stable/11/ (props changed)

svn commit: r335627 - stable/10/sys/dev/usb/serial

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 08:57:03 2018 New Revision: 335627 URL: https://svnweb.freebsd.org/changeset/base/335627 Log: MFC r334002: uchcom: extend hardware support to version 0x30 Modified: stable/10/sys/dev/usb/serial/uchcom.c Directory Properties: stable/10/ (props changed)

svn commit: r335613 - head/share/man/man9

2018-06-25 Thread Ed Schouten
Author: ed Date: Mon Jun 25 06:57:10 2018 New Revision: 335613 URL: https://svnweb.freebsd.org/changeset/base/335613 Log: Fix spelling of "reclamation". Modified: head/share/man/man9/epoch.9 Modified: head/share/man/man9/epoch.9

Re: svn commit: r333590 - head/share/man/man9

2018-06-25 Thread Ed Schouten
Hi Andriy, Matthew, 2018-06-24 23:36 GMT+02:00 Andriy Gapon : > Perhaps a little application of google can help. > [keywords: epoch based reclamation] Based on the man page, it wasn't clear that this refers to a generally accepted construct or something that is specific to FreeBSD. Any

svn commit: r335614 - stable/11/contrib/ofed/librdmacm/examples

2018-06-25 Thread Slava Shwartsman
Author: slavash Date: Mon Jun 25 07:25:41 2018 New Revision: 335614 URL: https://svnweb.freebsd.org/changeset/base/335614 Log: MFC r335282: Fix false positive on failure When running mckey, errors may happen in the init/connect stage. When leaving multicast groups, we override this

svn commit: r335628 - stable/11/sys/x86/x86

2018-06-25 Thread Andriy Gapon
Author: avg Date: Mon Jun 25 09:19:50 2018 New Revision: 335628 URL: https://svnweb.freebsd.org/changeset/base/335628 Log: MFC r333638: calibrate lapic timer in native_lapic_setup Modified: stable/11/sys/x86/x86/local_apic.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r335629 - in head: share/man/man4 sys/dev/vt/hw/vga

2018-06-25 Thread Roger Pau Monné
Author: royger Date: Mon Jun 25 09:39:16 2018 New Revision: 335629 URL: https://svnweb.freebsd.org/changeset/base/335629 Log: vt: add option to ignore NO_VGA flag in ACPI To workaround buggy firmware that sets this flag when there's actually a VGA present. Reported and tested by: