svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_c...

2018-12-08 Thread Cy Schubert
Author: cy Date: Sun Dec 9 06:45:49 2018 New Revision: 341759 URL: https://svnweb.freebsd.org/changeset/base/341759 Log: MFV r341618: Update wpa 2.6 --> 2.7. Added: head/contrib/wpa/src/ap/dpp_hostapd.c - copied unchanged from r341619, vendor/wpa/dist/src/ap/dpp_hostapd.c head/co

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/e

2018-12-08 Thread Cy Schubert
In message <201812090645.wb96jnso066...@repo.freebsd.org>, Cy Schubert writes: > Author: cy > Date: Sun Dec 9 06:45:49 2018 > New Revision: 341759 > URL: https://svnweb.freebsd.org/changeset/base/341759 > > Log: > MFV r341618: > > Update wpa 2.6 --> 2.7. Relnotes: yes -- Cheers, Cy Sch

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/e

2018-12-08 Thread Cy Schubert
In message <201812090645.wb96jnso066...@repo.freebsd.org>, Cy Schubert writes: > Author: cy > Date: Sun Dec 9 06:45:49 2018 > New Revision: 341759 > URL: https://svnweb.freebsd.org/changeset/base/341759 > > Log: > MFV r341618: > > Update wpa 2.6 --> 2.7. In order to build this cleanly, ar

svn commit: r341760 - stable/12/sys/arm/arm

2018-12-08 Thread Michal Meloun
Author: mmel Date: Sun Dec 9 06:46:53 2018 New Revision: 341760 URL: https://svnweb.freebsd.org/changeset/base/341760 Log: MFC r341393: Return computed real memory size, not a value from similarly named global variable. Modified: stable/12/sys/arm/arm/physmem.c Directory Propertie

svn commit: r341757 - stable/12/usr.sbin/bhyve

2018-12-08 Thread Marcelo Araujo
Author: araujo Date: Sun Dec 9 06:41:57 2018 New Revision: 341757 URL: https://svnweb.freebsd.org/changeset/base/341757 Log: MFC r340046, r340050 r340046: Add support ps/2 scancodes for NumLock, ScrollLock and numerical keypad keys. PR: 213835 Submitted by: Vasily Post

svn commit: r341758 - stable/11/usr.sbin/bhyve

2018-12-08 Thread Marcelo Araujo
Author: araujo Date: Sun Dec 9 06:42:06 2018 New Revision: 341758 URL: https://svnweb.freebsd.org/changeset/base/341758 Log: MFC r340046, r340050 r340046: Add support ps/2 scancodes for NumLock, ScrollLock and numerical keypad keys. PR: 213835 Submitted by: Vasily Post

svn commit: r341762 - head/sys/modules

2018-12-08 Thread Scott Long
Author: scottl Date: Sun Dec 9 06:52:25 2018 New Revision: 341762 URL: https://svnweb.freebsd.org/changeset/base/341762 Log: I missed powerpcspe in the previous commit for excluding mps and mpr. I also learned that 'mips' is overly broad and covers 64bit architectures too. However, it's no

svn commit: r341761 - stable/12/usr.sbin/bhyve

2018-12-08 Thread Marcelo Araujo
Author: araujo Date: Sun Dec 9 06:48:44 2018 New Revision: 341761 URL: https://svnweb.freebsd.org/changeset/base/341761 Log: MFC r340211: Comestic change to try to inline the memset with SSE/AVX instructions. Also switch from int to size_t to keep portability. Reviewed by: brooks

svn commit: r341754 - in head/sys: modules powerpc/conf

2018-12-08 Thread Scott Long
Author: scottl Date: Sun Dec 9 06:06:06 2018 New Revision: 341754 URL: https://svnweb.freebsd.org/changeset/base/341754 Log: Remove the mps driver from powerpc 32bit GENERIC, and don't build it and mpr as a module for powerpc or mips. An upcoming commit will cause these drivers to rely on

svn commit: r341755 - in head/sys/dev: mpr mps

2018-12-08 Thread Scott Long
Author: scottl Date: Sun Dec 9 06:10:11 2018 New Revision: 341755 URL: https://svnweb.freebsd.org/changeset/base/341755 Log: Copy and clear the reply descriptor atomically. This prevents concurrency in the interrupt handlers (usually due to timeout/error recovery) from seeing and processin

svn commit: r341756 - head/sys/cam

2018-12-08 Thread Scott Long
Author: scottl Date: Sun Dec 9 06:16:54 2018 New Revision: 341756 URL: https://svnweb.freebsd.org/changeset/base/341756 Log: Don't allocate the config_intrhook separately from the softc, it's small enough that it costs more code to handle the malloc/free than it saves. Modified: head/sys/c

svn commit: r341753 - stable/11/lib/lib80211

2018-12-08 Thread Andriy Voskoboinyk
Author: avos Date: Sun Dec 9 05:35:22 2018 New Revision: 341753 URL: https://svnweb.freebsd.org/changeset/base/341753 Log: MFC r316939: [lib80211] fix a missing cleanup path. PR: lib/218655 Reported by: Modified: stable/11/lib/lib80211/lib80211_regdomain.c Directory Prop

svn commit: r341752 - head/sys/powerpc/booke

2018-12-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 9 04:54:55 2018 New Revision: 341752 URL: https://svnweb.freebsd.org/changeset/base/341752 Log: powerpc/SPE: Copy lower part of source register to target for efdabs/efdnabs/efdneg MFC after:1 week MFC With: r341751 Modified: head/sys/powerpc/boo

svn commit: r341751 - head/sys/powerpc/booke

2018-12-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 9 04:13:14 2018 New Revision: 341751 URL: https://svnweb.freebsd.org/changeset/base/341751 Log: powerpc/SPE: Reload vector registers after efdabs/efdnabs/efdneg While here, also style(9)-adjust indents around this code. Modified: head/sys/powerpc/booke/spe

Re: svn commit: r341682 - head/sys/sys

2018-12-08 Thread Warner Losh
On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling On Sat, Dec 8, 2018 at 12:09 AM Mateusz Guzik wrote: > > > > > Fully satisfying solution would be that all architectures get 64-bit > > ops, even if in the worst case they end up taking a lock. Then > > subsystems would not have to ifdef on anything. How

Re: svn commit: r341682 - head/sys/sys

2018-12-08 Thread Kevin Bowling
On Sat, Dec 8, 2018 at 12:09 AM Mateusz Guzik wrote: > > Fully satisfying solution would be that all architectures get 64-bit > ops, even if in the worst case they end up taking a lock. Then > subsystems would not have to ifdef on anything. However, there > was some opposition to this proposal an

svn commit: r341750 - stable/11/contrib/elftoolchain/readelf

2018-12-08 Thread Maxim Sobolev
Author: sobomax Date: Sun Dec 9 03:07:45 2018 New Revision: 341750 URL: https://svnweb.freebsd.org/changeset/base/341750 Log: MFC: r340745, fix CU: output of the --debug-dump=decodedline. Differential Revision:https://reviews.freebsd.org/D18290 Modified: stable/11/contrib/elftoo

svn commit: r341749 - in head: share/man/man4 sys/modules/netgraph

2018-12-08 Thread Maxim Sobolev
Author: sobomax Date: Sun Dec 9 02:58:53 2018 New Revision: 341749 URL: https://svnweb.freebsd.org/changeset/base/341749 Log: Hook up ng_checksum(4) module and appropriate manpage to the build. The module was added back in 2016, but has never been connected. MFC after:1 week Modifie

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

2018-12-08 Thread Konstantin Belousov
Author: kib Date: Sun Dec 9 00:42:56 2018 New Revision: 341748 URL: https://svnweb.freebsd.org/changeset/base/341748 Log: MFC r341397: Correct accuracy of the barrier writes accounting. Modified: stable/11/sys/kern/vfs_bio.c Directory Properties: stable/11/ (props changed) Modified: s

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

2018-12-08 Thread Konstantin Belousov
Author: kib Date: Sun Dec 9 00:41:46 2018 New Revision: 341747 URL: https://svnweb.freebsd.org/changeset/base/341747 Log: MFC r341397: Correct accuracy of the barrier writes accounting. Modified: stable/12/sys/kern/vfs_bio.c Directory Properties: stable/12/ (props changed) Modified: s

svn commit: r341746 - head/sys/i386/i386

2018-12-08 Thread Konstantin Belousov
Author: kib Date: Sat Dec 8 22:12:57 2018 New Revision: 341746 URL: https://svnweb.freebsd.org/changeset/base/341746 Log: Fix PAE boot. With the introduction of M_EXEC support for kmem_malloc(), some kernel mappings start having NX bit set in the paging structures early, for PAE kernel

svn commit: r341745 - in stable/12/lib/libc: regex tests/regex

2018-12-08 Thread Yuri Pankov
Author: yuripv Date: Sat Dec 8 19:45:05 2018 New Revision: 341745 URL: https://svnweb.freebsd.org/changeset/base/341745 Log: MFC r340835: regexec: fix processing multibyte strings. Matcher function incorrectly assumed that moffset that we get from findmust is in bytes. Fix this by intr

svn commit: r341744 - in head/sys/arm64: acpica arm64

2018-12-08 Thread Jayachandran C.
Author: jchandra Date: Sat Dec 8 19:42:01 2018 New Revision: 341744 URL: https://svnweb.freebsd.org/changeset/base/341744 Log: arm64: add ACPI based NUMA support Use the newly defined SRAT/SLIT parsing APIs in arm64 to support ACPI based NUMA. Reviewed by: markj Differential Revi

Re: svn commit: r341682 - head/sys/sys

2018-12-08 Thread Rodney W. Grimes
> On 12/7/18, Ian Lepore wrote: > > On Fri, 2018-12-07 at 12:05 +, Mateusz Guzik wrote: > >> Author: mjg > >> Date: Fri Dec 7 12:05:11 2018 > >> New Revision: 341682 > >> URL: https://svnweb.freebsd.org/changeset/base/341682 > >> > >> Log: > >> unr64: use locked variant if not __LP64__ > >>

svn commit: r341743 - in head/sys: conf dev/acpica

2018-12-08 Thread Jayachandran C.
Author: jchandra Date: Sat Dec 8 19:32:23 2018 New Revision: 341743 URL: https://svnweb.freebsd.org/changeset/base/341743 Log: acpica: support parsing of arm64 affinity in acpi_pxm.c ACPI SRAT table on arm64 uses GICC entries to provide CPU locality information. These entries use an Acpi

svn commit: r341742 - in head/sys: conf dev/acpica x86/acpica

2018-12-08 Thread Jayachandran C.
Author: jchandra Date: Sat Dec 8 19:10:58 2018 New Revision: 341742 URL: https://svnweb.freebsd.org/changeset/base/341742 Log: acpica : move SRAT/SLIT parsing to sys/dev/acpica This moves the architecture independent parts of sys/x86/acpica/srat.c to sys/dev/acpica/acpi_pxm.c, to be used

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

2018-12-08 Thread Jayachandran C.
Author: jchandra Date: Sat Dec 8 18:34:05 2018 New Revision: 341741 URL: https://svnweb.freebsd.org/changeset/base/341741 Log: x86/acpica/srat.c: Add API for parsing proximity tables The SLIT and SRAT ACPI tables needs to be parsed on arm64 as well, on systems that use UEFI/ACPI firmware

svn commit: r341740 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2018-12-08 Thread Cy Schubert
Author: cy Date: Sat Dec 8 17:50:00 2018 New Revision: 341740 URL: https://svnweb.freebsd.org/changeset/base/341740 Log: MFC r341377, r341388 (fixup): Restore handling of PMTU discovery, removed through an unifdef(1) following the MFV of r254219 into r255332. In addition the 'FreeBSD'

svn commit: r341740 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2018-12-08 Thread Cy Schubert
Author: cy Date: Sat Dec 8 17:50:00 2018 New Revision: 341740 URL: https://svnweb.freebsd.org/changeset/base/341740 Log: MFC r341377, r341388 (fixup): Restore handling of PMTU discovery, removed through an unifdef(1) following the MFV of r254219 into r255332. In addition the 'FreeBSD'

svn commit: r341740 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2018-12-08 Thread Cy Schubert
Author: cy Date: Sat Dec 8 17:50:00 2018 New Revision: 341740 URL: https://svnweb.freebsd.org/changeset/base/341740 Log: MFC r341377, r341388 (fixup): Restore handling of PMTU discovery, removed through an unifdef(1) following the MFV of r254219 into r255332. In addition the 'FreeBSD'

svn commit: r341739 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2018-12-08 Thread Cy Schubert
Author: cy Date: Sat Dec 8 17:28:52 2018 New Revision: 341739 URL: https://svnweb.freebsd.org/changeset/base/341739 Log: MFC r341384: Remove IFF_DRVRLOCK as it is used in IRIX only (and we all know IRIX is dead). This includes collaterally removing code shared by HP/UX, SGI, and Linux,

svn commit: r341739 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2018-12-08 Thread Cy Schubert
Author: cy Date: Sat Dec 8 17:28:52 2018 New Revision: 341739 URL: https://svnweb.freebsd.org/changeset/base/341739 Log: MFC r341384: Remove IFF_DRVRLOCK as it is used in IRIX only (and we all know IRIX is dead). This includes collaterally removing code shared by HP/UX, SGI, and Linux,

svn commit: r341739 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2018-12-08 Thread Cy Schubert
Author: cy Date: Sat Dec 8 17:28:52 2018 New Revision: 341739 URL: https://svnweb.freebsd.org/changeset/base/341739 Log: MFC r341384: Remove IFF_DRVRLOCK as it is used in IRIX only (and we all know IRIX is dead). This includes collaterally removing code shared by HP/UX, SGI, and Linux,

svn commit: r341738 - head/libexec/rtld-elf/aarch64

2018-12-08 Thread Michal Meloun
Author: mmel Date: Sat Dec 8 14:58:17 2018 New Revision: 341738 URL: https://svnweb.freebsd.org/changeset/base/341738 Log: Implement R_AARCH64_TLS_DTPMOD64 and A_AARCH64_TLS_DTPREL64 relocations. Although these are slightly obsolete in favor of R_AARCH64_TLSDESC, gcc -mtls-dialect=trad stil

svn commit: r341737 - stable/12/sys/net/altq

2018-12-08 Thread Mike Karels
Author: karels Date: Sat Dec 8 14:54:33 2018 New Revision: 341737 URL: https://svnweb.freebsd.org/changeset/base/341737 Log: MFC r340474: Fix flags collision causing inability to enable CBQ in ALTQ The CBQ BORROW flag conflicts with the RMCF_CODEL flag; the two sets of definitions actu

svn commit: r341730 - in vendor/clang/dist-release_70: include/clang/AST include/clang/Basic lib/AST lib/CodeGen lib/Driver/ToolChains lib/StaticAnalyzer/Core test/Analysis test/CodeGen test/CodeGe...

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:31:58 2018 New Revision: 341730 URL: https://svnweb.freebsd.org/changeset/base/341730 Log: Vendor import of clang release_70 branch r348686: https://llvm.org/svn/llvm-project/cfe/branches/release_70@348686 Added: vendor/clang/dist-release_70/test/CodeGenCXX/a

svn commit: r341733 - in vendor/libc++/dist-release_70: cmake/Modules src/filesystem

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:32:10 2018 New Revision: 341733 URL: https://svnweb.freebsd.org/changeset/base/341733 Log: Vendor import of libc++ release_70 branch r348686: https://llvm.org/svn/llvm-project/libcxx/branches/release_70@348686 Modified: vendor/libc++/dist-release_70/cmake/Mod

svn commit: r341729 - vendor/llvm/llvm-release_70-r348686

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:31:55 2018 New Revision: 341729 URL: https://svnweb.freebsd.org/changeset/base/341729 Log: Tag llvm release_70 branch r348686. Added: vendor/llvm/llvm-release_70-r348686/ - copied from r341728, vendor/llvm/dist-release_70/ _

svn commit: r341735 - vendor/lld/lld-release_70-r348686

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:32:16 2018 New Revision: 341735 URL: https://svnweb.freebsd.org/changeset/base/341735 Log: Tag lld release_70 branch r348686. Added: vendor/lld/lld-release_70-r348686/ - copied from r341734, vendor/lld/dist-release_70/ _

svn commit: r341732 - vendor/compiler-rt/compiler-rt-release_70-r348686

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:32:07 2018 New Revision: 341732 URL: https://svnweb.freebsd.org/changeset/base/341732 Log: Tag compiler-rt release_70 branch r348686. Added: vendor/compiler-rt/compiler-rt-release_70-r348686/ - copied from r341731, vendor/compiler-rt/dist-release_70/ _

svn commit: r341728 - in vendor/llvm/dist-release_70: include/llvm/DebugInfo/PDB/Native include/llvm/ExecutionEngine/Orc include/llvm/ProfileData/Coverage lib/Analysis lib/ExecutionEngine/RuntimeDy...

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:31:49 2018 New Revision: 341728 URL: https://svnweb.freebsd.org/changeset/base/341728 Log: Vendor import of llvm release_70 branch r348686: https://llvm.org/svn/llvm-project/llvm/branches/release_70@348686 Modified: vendor/llvm/dist-release_70/include/llvm/De

svn commit: r341734 - vendor/libc++/libc++-release_70-r348686

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:32:13 2018 New Revision: 341734 URL: https://svnweb.freebsd.org/changeset/base/341734 Log: Tag libc++ release_70 branch r348686. Added: vendor/libc++/libc++-release_70-r348686/ - copied from r341733, vendor/libc++/dist-release_70/ _

svn commit: r341731 - vendor/clang/clang-release_70-r348686

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:32:04 2018 New Revision: 341731 URL: https://svnweb.freebsd.org/changeset/base/341731 Log: Tag clang release_70 branch r348686. Added: vendor/clang/clang-release_70-r348686/ - copied from r341730, vendor/clang/dist-release_70/ _

svn commit: r341736 - vendor/lldb/lldb-release_70-r348686

2018-12-08 Thread Dimitry Andric
Author: dim Date: Sat Dec 8 14:32:19 2018 New Revision: 341736 URL: https://svnweb.freebsd.org/changeset/base/341736 Log: Tag lldb release_70 branch r348686. Added: vendor/lldb/lldb-release_70-r348686/ - copied from r341735, vendor/lldb/dist-release_70/ _

svn commit: r341727 - head/sys/kern

2018-12-08 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 8 14:04:57 2018 New Revision: 341727 URL: https://svnweb.freebsd.org/changeset/base/341727 Log: umtx: avoid umtxshm locking on object termination if possible Sample build world result on tmpfs: kern.ipc.umtx_terminate_notempty: 0 kern.ipc.umtx_terminate_empty:

svn commit: r341725 - head/bin/sh

2018-12-08 Thread Jilles Tjoelker
Author: jilles Date: Sat Dec 8 12:49:19 2018 New Revision: 341725 URL: https://svnweb.freebsd.org/changeset/base/341725 Log: sh(1): Remove -c string from set builtin documentation Altering the -c string at run time does not make sense and is not possible. MFC after:1 week Modifie

svn commit: r341726 - head/tools/tools/netmap

2018-12-08 Thread Vincenzo Maffione
Author: vmaffione Date: Sat Dec 8 12:52:09 2018 New Revision: 341726 URL: https://svnweb.freebsd.org/changeset/base/341726 Log: tools: netmap: pkt-gen: check packet length against interface MTU Validate the value of the -l argument (packet length) against the MTU of the netmap port. In

svn commit: r341724 - head/sys/kern

2018-12-08 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 8 11:38:39 2018 New Revision: 341724 URL: https://svnweb.freebsd.org/changeset/base/341724 Log: Remove proctree acquire from note_procstat_proc It is not needed since r340482 ("proc: always store parent pid in p_oppid") Sponsored by: The FreeBSD Foundation M

svn commit: r341723 - head/sys/kern

2018-12-08 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 8 10:22:12 2018 New Revision: 341723 URL: https://svnweb.freebsd.org/changeset/base/341723 Log: Fix a corner case in ID bitmap management. If all IDs from trypid to pid_max were used as pids, the code would enter a loop which would be infinite if none of the IDs

svn commit: r341721 - head/sys/kern

2018-12-08 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 8 06:31:43 2018 New Revision: 341721 URL: https://svnweb.freebsd.org/changeset/base/341721 Log: proc: handle sdt exit probe before taking the proc lock Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_exit.c Modified: head/sys/kern/kern_exit.c

svn commit: r341720 - in head/sys: kern sys

2018-12-08 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 8 06:30:41 2018 New Revision: 341720 URL: https://svnweb.freebsd.org/changeset/base/341720 Log: Provide SDT_PROBES_ENABLED macro. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_synch.c head/sys/sys/sdt.h Modified: head/sys/kern/kern_synch.

svn commit: r341722 - head/sys/kern

2018-12-08 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 8 06:34:12 2018 New Revision: 341722 URL: https://svnweb.freebsd.org/changeset/base/341722 Log: proc: postpone proc unlock until after reporting with kqueue kqueue would always relock immediately afterwards. While here drop the NULL check for list itself. The

svn commit: r341719 - head/sys/amd64/amd64

2018-12-08 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 8 04:53:08 2018 New Revision: 341719 URL: https://svnweb.freebsd.org/changeset/base/341719 Log: amd64: stop re-reading curpc on subyte/suword Originally read value is still safely kept. Re-reading code was there for previous iterations which were partially share