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

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

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

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

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

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

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

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

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

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

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

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:

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:

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:

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

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