svn commit: r328873 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 07:05:28 2018 New Revision: 328873 URL: https://svnweb.freebsd.org/changeset/base/328873 Log: [arswitch] Enable ATU dump support for the AR9340. This indeed uses the same registers as the AR8216 and later chips. There seems to be an issue with ARP reques

svn commit: r328872 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 07:03:45 2018 New Revision: 328872 URL: https://svnweb.freebsd.org/changeset/base/328872 Log: [arswitch] fix mac address field definition. Whilst here, add some further fields for future experimenting. Tested: * AR9340 switch * AR9330 switch * A

svn commit: r328871 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 05:51:37 2018 New Revision: 328871 URL: https://svnweb.freebsd.org/changeset/base/328871 Log: [arswitch] Break out of the loop upon any error, not just -1. This fixes the AR9340 "unimplemented" thingy for now. Modified: head/sys/dev/etherswitch/arswitch/ar

svn commit: r328870 - stable/11

2018-02-04 Thread Kyle Evans
Author: kevans Date: Mon Feb 5 05:02:01 2018 New Revision: 328870 URL: https://svnweb.freebsd.org/changeset/base/328870 Log: Record r303039 in mergeinfo r303039 was MFC'd in r30 Modified: Directory Properties: stable/11/ (props changed)

svn commit: r328869 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:48:41 2018 New Revision: 328869 URL: https://svnweb.freebsd.org/changeset/base/328869 Log: [ar71xx] Fix DB120 AHB device hints in the new world order. This allows the on-chip (AHB bus) device to attach correctly as a module. Tested: * DB120, AR93

svn commit: r328868 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:47:13 2018 New Revision: 328868 URL: https://svnweb.freebsd.org/changeset/base/328868 Log: [ar71xx] AR934x is a MIPS74k board - use the right hwpmc module Modified: head/sys/mips/conf/std.AR934X Modified: head/sys/mips/conf/std.AR934X ==

svn commit: r328867 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:46:36 2018 New Revision: 328867 URL: https://svnweb.freebsd.org/changeset/base/328867 Log: [ar71xx] New world order - don't reference ath_pci here, it's a module now Modified: head/sys/mips/conf/DB120 Modified: head/sys/mips/conf/DB120 =

svn commit: r328866 - in stable/11/sys: boot/efi/boot1 boot/efi/loader boot/i386/boot2 boot/i386/gptboot boot/i386/gptzfsboot boot/i386/zfsboot boot/userboot/ficl boot/userboot/userboot boot/userbo...

2018-02-04 Thread Kyle Evans
Author: kevans Date: Mon Feb 5 04:00:59 2018 New Revision: 328866 URL: https://svnweb.freebsd.org/changeset/base/328866 Log: MFC r304321,304753,304754,306751,316077,316110: SHA512, skein, large block support for loader zfs MFC r304321: Add SHA512, skein, large blocks support for loader z

svn commit: r328865 - head/tools/boot

2018-02-04 Thread Marius Strobl
Author: marius Date: Mon Feb 5 00:18:21 2018 New Revision: 328865 URL: https://svnweb.freebsd.org/changeset/base/328865 Log: Flesh out the creation of sparc64 UFS images. This has only been verified to yield working images in a native build as rootgen.sh generally doesn't support cross-test

svn commit: r328864 - head/sys/dev/atkbdc

2018-02-04 Thread Vladimir Kondratyev
Author: wulf Date: Sun Feb 4 23:01:48 2018 New Revision: 328864 URL: https://svnweb.freebsd.org/changeset/base/328864 Log: psm(4): Fix panic occuring soon after PS/2 packet has been rejected by synaptics or elantech sanity checker. After packet has been rejected contents of packet buffer

Re: svn commit: r327495 - head/usr.sbin/rpcbind

2018-02-04 Thread Konstantin Belousov
On Mon, Feb 05, 2018 at 07:53:03AM +1100, Bruce Evans wrote: > On Sun, 4 Feb 2018, Konstantin Belousov wrote: > > > On Sun, Feb 04, 2018 at 04:15:16PM +1100, Bruce Evans wrote: > >> sig_atomic_t is no better than plain int. This behaviour now makes > >> complete > >> sense. It is just like the

Re: svn commit: r327495 - head/usr.sbin/rpcbind

2018-02-04 Thread Bruce Evans
On Sun, 4 Feb 2018, Konstantin Belousov wrote: On Sun, Feb 04, 2018 at 04:15:16PM +1100, Bruce Evans wrote: sig_atomic_t is no better than plain int. This behaviour now makes complete sense. It is just like the undefined behaviour with the ctype functions, except since we own terminate_wfd we

svn commit: r328863 - head/lib/clang

2018-02-04 Thread Dimitry Andric
Author: dim Date: Sun Feb 4 20:33:47 2018 New Revision: 328863 URL: https://svnweb.freebsd.org/changeset/base/328863 Log: Bump clang's __FreeBSD_cc_version, to cope with r328816, which removed -Wno-error=tautological-constant-compare again (this flag is now out of -Wextra after upstream htt

svn commit: r328862 - head/sys/powerpc/mpc85xx

2018-02-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 4 20:07:08 2018 New Revision: 328862 URL: https://svnweb.freebsd.org/changeset/base/328862 Log: Only look for L2 cache controllers for mpc85xx_cache The L3 cache controller (Corenet Platform Cache) is listed with one of its compatible strings as "cache", wh

svn commit: r328861 - head/contrib/blacklist/libexec

2018-02-04 Thread Kurt Lidl
Author: lidl Date: Sun Feb 4 19:43:51 2018 New Revision: 328861 URL: https://svnweb.freebsd.org/changeset/base/328861 Log: Update blacklist-helper to not emit messages from pf during operation. Use 'pfctl -k' when blocking a site to kill active tcp connections from the blocked address.

svn commit: r328859 - stable/11

2018-02-04 Thread Kyle Evans
Author: kevans Date: Sun Feb 4 19:12:03 2018 New Revision: 328859 URL: https://svnweb.freebsd.org/changeset/base/328859 Log: Record svn:mergeinfo from r326934 r326934 effectively MFC'd r326752 and r326754 with a direct commit to stable/11 due to path restructuring in HEAD. Modified: Dir

svn commit: r328858 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 19:05:13 2018 New Revision: 328858 URL: https://svnweb.freebsd.org/changeset/base/328858 Log: Sprinkle static; avoid nested externs. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/getty/extern.h head/libexec/getty/main

svn commit: r328857 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 18:40:36 2018 New Revision: 328857 URL: https://svnweb.freebsd.org/changeset/base/328857 Log: Add missing initializer. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/getty/subr.c Modified: head/libexec/getty/subr.c

svn commit: r328856 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 18:39:58 2018 New Revision: 328856 URL: https://svnweb.freebsd.org/changeset/base/328856 Log: Rename getty's getline() to get_line(), to avoid clash with getline(3). Obtained from:DragonFlyBSD MFC after:2 weeks Sponsored by: The FreeBSD Foundat

svn commit: r328855 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 18:36:24 2018 New Revision: 328855 URL: https://svnweb.freebsd.org/changeset/base/328855 Log: Don't cast away the const, it's not been needed since r92925. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/getty/subr.c Mod

Re: svn commit: r328489 - head/sys/conf

2018-02-04 Thread Jason Harmening
On 02/04/18 04:33, O. Hartmann wrote: Am Mon, 29 Jan 2018 05:00:22 -0800 David Wolfskill schrieb: On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote: This happens now if PORTS_MODULE=x11/nvidia-driver is defined in /etc/src.conf: [...] --- kernel-install --- mkdir -p /boot/ke

svn commit: r328854 - stable/11

2018-02-04 Thread Kyle Evans
Author: kevans Date: Sun Feb 4 17:38:45 2018 New Revision: 328854 URL: https://svnweb.freebsd.org/changeset/base/328854 Log: Record svn:mergeinfo for r328853 r328853 was actually a forward-port of r328836 (emaste) from stable/11. Record mergeinfo so it doesn't pop back up during MFC effo

svn commit: r328853 - head/stand/efi/fdt

2018-02-04 Thread Kyle Evans
Author: kevans Date: Sun Feb 4 17:31:50 2018 New Revision: 328853 URL: https://svnweb.freebsd.org/changeset/base/328853 Log: Remove now-unused variable after r328809 Fixed already in stable/11 by r328836 (emaste); remove now-unused variable. Modified: head/stand/efi/fdt/efi_fdt.c Modif

svn commit: r328850 - head/sys/dev/mpr

2018-02-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 4 15:37:58 2018 New Revision: 328850 URL: https://svnweb.freebsd.org/changeset/base/328850 Log: Minimal changes for MPR to build on architectures with physical addresses larger than virtual Summary: Some architectures use large (36-bit) physical addresses,

svn commit: r328849 - in head: sbin/geom/class/cache sbin/geom/class/concat sbin/geom/class/journal sbin/geom/class/label sbin/geom/class/mirror sbin/geom/class/raid3 sbin/geom/class/shsec sbin/geo...

2018-02-04 Thread Alan Somers
Author: asomers Date: Sun Feb 4 14:49:55 2018 New Revision: 328849 URL: https://svnweb.freebsd.org/changeset/base/328849 Log: geom: don't write stack garbage in disk labels Most consumers of g_metadata_store were passing in partially unallocated memory, resulting in stack garbage being w

svn commit: r328844 - stable/11/sys/dev/amdsbwd

2018-02-04 Thread Andriy Gapon
Author: avg Date: Sun Feb 4 13:57:15 2018 New Revision: 328844 URL: https://svnweb.freebsd.org/changeset/base/328844 Log: MFC r327775: amdsbwd: fix handling of timeout values beyond the supported range Modified: stable/11/sys/dev/amdsbwd/amdsbwd.c Directory Properties: stable/11/ (props

svn commit: r328843 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 13:55:20 2018 New Revision: 328843 URL: https://svnweb.freebsd.org/changeset/base/328843 Log: Reduce code duplication; no functional changes. Obtained from:NetBSD MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/

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

2018-02-04 Thread Andriy Gapon
Author: avg Date: Sun Feb 4 14:00:38 2018 New Revision: 328847 URL: https://svnweb.freebsd.org/changeset/base/328847 Log: MFC r328126: correct read-ahead calculations in vfs_bio_getpages Modified: stable/11/sys/kern/vfs_bio.c Directory Properties: stable/11/ (props changed) Modified: st

Re: svn commit: r328489 - head/sys/conf

2018-02-04 Thread David Wolfskill
On Sun, Feb 04, 2018 at 01:33:10PM +0100, O. Hartmann wrote: > Am Mon, 29 Jan 2018 05:00:22 -0800 > David Wolfskill schrieb: > > On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote: > > > > This happens now if PORTS_MODULE=x11/nvidia-driver is defined in > > > > /etc/src.conf: > > > >

svn commit: r328852 - head/sys/powerpc/conf

2018-02-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 4 15:40:48 2018 New Revision: 328852 URL: https://svnweb.freebsd.org/changeset/base/328852 Log: Start building modules for MPC85XX and MPC85XXSPE These kernels aren't restricted to development boards anymore, they are closer in behavior to GENERIC, so build

svn commit: r328840 - stable/11/sys/amd64/vmm/amd

2018-02-04 Thread Andriy Gapon
Author: avg Date: Sun Feb 4 13:53:45 2018 New Revision: 328840 URL: https://svnweb.freebsd.org/changeset/base/328840 Log: MFC r327726: vmm/svm: contigmalloc of the whole svm_softc is excessive Modified: stable/11/sys/amd64/vmm/amd/svm.c stable/11/sys/amd64/vmm/amd/svm_softc.h Directory Pro

svn commit: r328851 - head/sys/powerpc/conf

2018-02-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 4 15:39:15 2018 New Revision: 328851 URL: https://svnweb.freebsd.org/changeset/base/328851 Log: Add sdhci to MPC85XX build Modified: head/sys/powerpc/conf/MPC85XX Modified: head/sys/powerpc/conf/MPC85XX =

svn commit: r328848 - head/sys/powerpc/conf

2018-02-04 Thread Steve Wills
Author: swills (ports committer) Date: Sun Feb 4 14:27:12 2018 New Revision: 328848 URL: https://svnweb.freebsd.org/changeset/base/328848 Log: Create GENERIC64-NODEBUG for powerpc64 Approved by: jhibbits Differential Revision:https://reviews.freebsd.org/D14192 Added: head/sys

svn commit: r328845 - stable/10/sys/dev/amdsbwd

2018-02-04 Thread Andriy Gapon
Author: avg Date: Sun Feb 4 13:58:29 2018 New Revision: 328845 URL: https://svnweb.freebsd.org/changeset/base/328845 Log: MFC r327775: amdsbwd: fix handling of timeout values beyond the supported range Modified: stable/10/sys/dev/amdsbwd/amdsbwd.c Directory Properties: stable/10/ (props

svn commit: r328842 - stable/10/sys/amd64/vmm/amd

2018-02-04 Thread Andriy Gapon
Author: avg Date: Sun Feb 4 13:54:43 2018 New Revision: 328842 URL: https://svnweb.freebsd.org/changeset/base/328842 Log: MFC r327726: vmm/svm: contigmalloc of the whole svm_softc is excessive Modified: stable/10/sys/amd64/vmm/amd/svm.c stable/10/sys/amd64/vmm/amd/svm_softc.h Directory Pro

svn commit: r328841 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 13:54:05 2018 New Revision: 328841 URL: https://svnweb.freebsd.org/changeset/base/328841 Log: Remove unused variable. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/getty/extern.h Modified: head/libexec/getty/extern.h =

svn commit: r328846 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 13:58:31 2018 New Revision: 328846 URL: https://svnweb.freebsd.org/changeset/base/328846 Log: Initialize all the fields. This is one of the steps required to bump WARNS. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/ge

Re: svn commit: r328489 - head/sys/conf

2018-02-04 Thread O. Hartmann
Am Mon, 29 Jan 2018 05:00:22 -0800 David Wolfskill schrieb: > On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote: > > > > > > This happens now if PORTS_MODULE=x11/nvidia-driver is defined in > > > /etc/src.conf: > > > > > > [...] > > > --- kernel-install --- > > > mkdir -p /boot/k

svn commit: r328839 - head/usr.sbin/bsdinstall/scripts

2018-02-04 Thread Allan Jude
Author: allanjude Date: Sun Feb 4 12:16:36 2018 New Revision: 328839 URL: https://svnweb.freebsd.org/changeset/base/328839 Log: Add the ThinkPad X1 (sandybridge) to the bsdinstall blacklist MFC after:2 weeks Sponsored by: FOSDEM IllumOS Table Modified: head/usr.sbin/bsdinstall/scr

Re: svn commit: r327495 - head/usr.sbin/rpcbind

2018-02-04 Thread Bruce Evans
On Sat, 3 Feb 2018, Conrad Meyer wrote: On Sat, Feb 3, 2018 at 6:46 AM, Bruce Evans wrote: On Tue, 2 Jan 2018, Conrad Meyer wrote: ... Today I learned from the POSIX list that the pselect() function is designed to avoid this bug. It takes a signal mask arg (like msleep() in the kernel). I

Re: svn commit: r327495 - head/usr.sbin/rpcbind

2018-02-04 Thread Konstantin Belousov
On Sun, Feb 04, 2018 at 04:15:16PM +1100, Bruce Evans wrote: > sig_atomic_t is no better than plain int. This behaviour now makes complete > sense. It is just like the undefined behaviour with the ctype functions, > except since we own terminate_wfd we can guarantee that it doesn't change > while

svn commit: r328838 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Sun Feb 4 08:22:11 2018 New Revision: 328838 URL: https://svnweb.freebsd.org/changeset/base/328838 Log: [arswitch] fix up issues on the AR8327. This correctly dumps the ethernet bridge contents on an AR8327 switch. Tested: * AP135 - QCA9550 + AR8327 ethernet

svn commit: r328836 - stable/11/sys/boot/efi/fdt

2018-02-04 Thread Ed Maste
Author: emaste Date: Sun Feb 4 02:58:12 2018 New Revision: 328836 URL: https://svnweb.freebsd.org/changeset/base/328836 Log: Remove now-unused variable after r328809 Modified: stable/11/sys/boot/efi/fdt/efi_fdt.c Modified: stable/11/sys/boot/efi/fdt/efi_fdt.c ===