svn commit: r315390 - head/sys/dev/syscons

2017-03-16 Thread Bruce Evans
Author: bde Date: Thu Mar 16 07:40:33 2017 New Revision: 315390 URL: https://svnweb.freebsd.org/changeset/base/315390 Log: The previous fix didn't ifdef out enough for sparc64 to actually work. Fix this by using more dynamic initialization with simpler ifdefs for the machine dependencies.

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

2017-03-16 Thread Tomoaki AOKI
> Author: delphij > Date: Thu Mar 16 05:44:16 2017 > New Revision: 315370 > URL: https://svnweb.freebsd.org/changeset/base/315370 > > Log: > The adj_free and max_free values of new_entry will be calculated and > assigned by subsequent vm_map_entry_link(), therefore, remove the > pointless co

svn commit: r315402 - head/sys/x86/acpica

2017-03-16 Thread Roger Pau Monné
Author: royger Date: Thu Mar 16 09:33:36 2017 New Revision: 315402 URL: https://svnweb.freebsd.org/changeset/base/315402 Log: x86/srat: fix parsing of APIC IDs > MAX_APIC_ID Ignore them like it's done in the MADT parser. This allows booting on a box with SRAT and APIC IDs > 255. Repo

svn commit: r315404 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src ofed/drivers/infiniband/core

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 09:59:35 2017 New Revision: 315404 URL: https://svnweb.freebsd.org/changeset/base/315404 Log: Add basic support for VIMAGE to the LinuxKPI and ibcore. Support is implemented by mapping Linux's "struct net" into FreeBSD's "struct vnet". Currently only vnet

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

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 10:02:45 2017 New Revision: 315405 URL: https://svnweb.freebsd.org/changeset/base/315405 Log: Add helper function similar to ip_dev_find() to the LinuxKPI to lookup a network device by its IPv6 address in the given VNET. MFC after:1 week Spo

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

2017-03-16 Thread Andrey V. Elsukov
On 16.03.2017 13:02, Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Mar 16 10:02:45 2017 > New Revision: 315405 > URL: https://svnweb.freebsd.org/changeset/base/315405 > > Log: > Add helper function similar to ip_dev_find() to the LinuxKPI to lookup > a network device by its IPv6 ad

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

2017-03-16 Thread Andrey V. Elsukov
On 16.03.2017 13:12, Andrey V. Elsukov wrote: > On 16.03.2017 13:02, Hans Petter Selasky wrote: >> Author: hselasky >> Date: Thu Mar 16 10:02:45 2017 >> New Revision: 315405 >> URL: https://svnweb.freebsd.org/changeset/base/315405 >> >> Log: >> Add helper function similar to ip_dev_find() to the

svn commit: r315406 - head/share/misc

2017-03-16 Thread Maxim Konovalov
Author: maxim Date: Thu Mar 16 10:28:13 2017 New Revision: 315406 URL: https://svnweb.freebsd.org/changeset/base/315406 Log: NetBSD 7.1 release added. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree =

svn commit: r315407 - head/share/misc

2017-03-16 Thread Maxim Konovalov
Author: maxim Date: Thu Mar 16 10:30:40 2017 New Revision: 315407 URL: https://svnweb.freebsd.org/changeset/base/315407 Log: Indentation for the DragonFlyBSD trunk fixed, EoL whitespace removed. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree =

svn commit: r315408 - in head/sys/boot: common efi/libefi i386/libi386 mips/beri/loader uboot/lib usb/storage userboot/userboot

2017-03-16 Thread Toomas Soome
Author: tsoome Date: Thu Mar 16 12:04:43 2017 New Revision: 315408 URL: https://svnweb.freebsd.org/changeset/base/315408 Log: loader: remove open_disk cache As we provide the disk size verification and correction via disk_ioctl and disk state provided by disk_open(), we can not share the

svn commit: r315409 - head/lib/libc/sys

2017-03-16 Thread Maxim Konovalov
Author: maxim Date: Thu Mar 16 12:16:23 2017 New Revision: 315409 URL: https://svnweb.freebsd.org/changeset/base/315409 Log: Spell kern.trap_enotcap. PR: 217836 Submitted by: tobik Modified: head/lib/libc/sys/cap_enter.2 Modified: head/lib/libc/sys/cap_enter.2 ==

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

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 12:33:34 2017 New Revision: 315410 URL: https://svnweb.freebsd.org/changeset/base/315410 Log: Define some more LinuxKPI task related macros. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r315411 - head/contrib/traceroute

2017-03-16 Thread Michal Meloun
Author: mmel Date: Thu Mar 16 13:01:23 2017 New Revision: 315411 URL: https://svnweb.freebsd.org/changeset/base/315411 Log: Unbreak traceroute on system built without CAPSICUM Modified: head/contrib/traceroute/traceroute.c Modified: head/contrib/traceroute/traceroute.c ==

svn commit: r315412 - in head: sys/kern tests/sys/kern

2017-03-16 Thread Eric Badger
Author: badger Date: Thu Mar 16 13:03:31 2017 New Revision: 315412 URL: https://svnweb.freebsd.org/changeset/base/315412 Log: Don't clear p_ptevents on normal SIGKILL delivery The ptrace() user has the option of discarding the signal. In such a case, p_ptevents should not be modified. If

svn commit: r315413 - head/lib/libc/sys

2017-03-16 Thread Maxim Konovalov
Author: maxim Date: Thu Mar 16 13:19:38 2017 New Revision: 315413 URL: https://svnweb.freebsd.org/changeset/base/315413 Log: More trap_enotcap spelling fixes. PR: 217839 Submitted by: tobik Modified: head/lib/libc/sys/procctl.2 Modified: head/lib/libc/sys/procctl.2 =

svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
Author: bde Date: Thu Mar 16 16:40:54 2017 New Revision: 315418 URL: https://svnweb.freebsd.org/changeset/base/315418 Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table

svn commit: r315419 - in head/sys/compat/linuxkpi/common: include/linux src

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 16:49:27 2017 New Revision: 315419 URL: https://svnweb.freebsd.org/changeset/base/315419 Log: Implement more userspace memory access functions in the LinuxKPI. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mell

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

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 16:53:22 2017 New Revision: 315420 URL: https://svnweb.freebsd.org/changeset/base/315420 Log: The LinuxKPI pagefault disable and enable functions can only be used pairwise to support the FreeBSD way of pushing and popping the page fault flags. Ensure this by

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
On Thu, 16 Mar 2017, Bruce Evans wrote: Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table instead of calculations. The ... A shell script for printing some text color

svn commit: r315421 - in head/sys: arm64/cavium dev/pci

2017-03-16 Thread Andrew Turner
Author: andrew Date: Thu Mar 16 17:49:37 2017 New Revision: 315421 URL: https://svnweb.freebsd.org/changeset/base/315421 Log: If ofw_bus_msimap fails don't try to use the invalid MSI/MSI-X parent node. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/cavium/thunder_pcie_pem_fdt.c

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Oliver Pinter
On 3/16/17, Bruce Evans wrote: > On Thu, 16 Mar 2017, Bruce Evans wrote: > >> Log: >> Add teken_256to16() to convert xterm-256 256-color codes to xterm >> 16-color >> codes. This will be used to fix bright colors. >> >> Improve teken_256to8(). Use a lookup table instead of calculations. >> Th

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Bruce Evans
On Thu, 16 Mar 2017, Oliver Pinter wrote: On 3/16/17, Bruce Evans wrote: On Thu, 16 Mar 2017, Bruce Evans wrote: Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bright colors. Improve teken_256to8(). Use a lookup table ins

Re: svn commit: r315418 - in head/sys/teken: . libteken

2017-03-16 Thread Oliver Pinter
On 3/16/17, Bruce Evans wrote: > On Thu, 16 Mar 2017, Oliver Pinter wrote: > >> On 3/16/17, Bruce Evans wrote: >>> On Thu, 16 Mar 2017, Bruce Evans wrote: >>> Log: Add teken_256to16() to convert xterm-256 256-color codes to xterm 16-color codes. This will be used to fix bri

svn commit: r315422 - head/sys/compat/linuxkpi/common/src

2017-03-16 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 16 20:39:31 2017 New Revision: 315422 URL: https://svnweb.freebsd.org/changeset/base/315422 Log: Use __LP64__ to detect presence of suword64() to fix linking and loading of the LinuxKPI on 32-bit platforms. Reported by: lwhsu @ MFC after:

svn commit: r315423 - head/lib/libsysdecode

2017-03-16 Thread Steven Hartland
Author: smh Date: Thu Mar 16 20:55:00 2017 New Revision: 315423 URL: https://svnweb.freebsd.org/changeset/base/315423 Log: Fix libsysdecode vmprot flag decoding Fix the regex used to find vmprot table entries and add the missing include. This fixes kdumps output of PFLT arguments which

svn commit: r315424 - in head/lib: libc/mips libc/mips/gen msun/mips

2017-03-16 Thread Brooks Davis
Author: brooks Date: Thu Mar 16 21:05:21 2017 New Revision: 315424 URL: https://svnweb.freebsd.org/changeset/base/315424 Log: Replace SOFTFLOAT with __mips_soft_float, which gcc/clang define for us. D8376 extended softfloat/hardfloat support, but used a macro that never actually gets set

svn commit: r315426 - head/contrib/one-true-awk

2017-03-16 Thread Pedro F. Giffuni
Author: pfg Date: Thu Mar 16 21:32:05 2017 New Revision: 315426 URL: https://svnweb.freebsd.org/changeset/base/315426 Log: MFV r315425: one-true-awk: have calloc(3) do the multiplication. MFC after:3 days Modified: head/contrib/one-true-awk/b.c Directory Properties: head/contrib/

svn commit: r315427 - head/sys/boot/i386/libi386

2017-03-16 Thread Toomas Soome
Author: tsoome Date: Thu Mar 16 21:34:14 2017 New Revision: 315427 URL: https://svnweb.freebsd.org/changeset/base/315427 Log: loader: biosdisk should report IO error from INT13 We should be more verbose about read errors from biosdisk, except filter out the floppy controller errors, which

svn commit: r315428 - head/bin/sh

2017-03-16 Thread Jilles Tjoelker
Author: jilles Date: Thu Mar 16 21:53:55 2017 New Revision: 315428 URL: https://svnweb.freebsd.org/changeset/base/315428 Log: sh: Get rid of global variable argbackq. Modified: head/bin/sh/expand.c Modified: head/bin/sh/expand.c ===

svn commit: r315429 - head/libexec/rtld-elf

2017-03-16 Thread Jilles Tjoelker
Author: jilles Date: Thu Mar 16 22:15:43 2017 New Revision: 315429 URL: https://svnweb.freebsd.org/changeset/base/315429 Log: rtld(1): Document that LD_BIND_NOT is unset for setugid processes. MFC after:2 weeks Modified: head/libexec/rtld-elf/rtld.1 Modified: head/libexec/rtld-elf/r

svn commit: r315430 - in head: . etc/mtree include sys/arm/ti sys/conf sys/dev/mmc sys/dev/sdhci sys/modules/mmc sys/modules/mmcsd sys/sys

2017-03-16 Thread Marius Strobl
NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 ** SPECIAL WARNING: ** +20170316: + The mmcsd.ko module now additionally depends on geom_flashmap.ko. + Also, mmc.ko and mmcsd.ko need to be a matching pair built from the + same source (previous

svn commit: r315431 - head/sys/dev/sdhci

2017-03-16 Thread Marius Strobl
Author: marius Date: Thu Mar 16 22:42:17 2017 New Revision: 315431 URL: https://svnweb.freebsd.org/changeset/base/315431 Log: - Adds macros for the content of SDHCI_ADMA_ERR and SDHCI_HOST_CONTROL2 registers. - Add slot type capability bits. These bits should allow recognizing removabl

svn commit: r315435 - in head: contrib/top usr.bin/top

2017-03-16 Thread Allan Jude
Author: allanjude Date: Fri Mar 17 00:46:50 2017 New Revision: 315435 URL: https://svnweb.freebsd.org/changeset/base/315435 Log: Add ZFS compressed ARC stats to top(1) Provides: amount of compressed data logical size of compressed data (how much it would have taken uncompressed) compr

svn commit: r315438 - head/share/man/man4/man4.powerpc

2017-03-16 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 17 03:14:15 2017 New Revision: 315438 URL: https://svnweb.freebsd.org/changeset/base/315438 Log: Update dtsec man page with correct config requirements. Modified: head/share/man/man4/man4.powerpc/dtsec.4 Modified: head/share/man/man4/man4.powerpc/dtsec.4 ==

svn commit: r315439 - head/libexec/rpc.rstatd

2017-03-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 17 04:16:14 2017 New Revision: 315439 URL: https://svnweb.freebsd.org/changeset/base/315439 Log: Remove unused vmmeter. Modified: head/libexec/rpc.rstatd/rstat_proc.c Modified: head/libexec/rpc.rstatd/rstat_proc.c