svn commit: r361570 - head/sys/powerpc/powerpc

2020-05-27 Thread Justin Hibbits
Author: jhibbits Date: Thu May 28 03:08:50 2020 New Revision: 361570 URL: https://svnweb.freebsd.org/changeset/base/361570 Log: powerpc/pmap: Remove some debug from r361544 Modified: head/sys/powerpc/powerpc/pmap_dispatch.c Modified: head/sys/powerpc/powerpc/pmap_dispatch.c

Re: svn commit: r361568 - head/sys/powerpc/aim

2020-05-27 Thread Justin Hibbits
On Thu, 28 May 2020 00:49:03 + (UTC) Brandon Bergren wrote: > Author: bdragon > Date: Thu May 28 00:49:02 2020 > New Revision: 361568 > URL: https://svnweb.freebsd.org/changeset/base/361568 > > Log: > [PowerPC] Fix radix crash when passing -1 from userspace > > Found by running libc

svn commit: r361569 - in stable/12: include lib/libc/gen

2020-05-27 Thread Konstantin Belousov
Author: kib Date: Thu May 28 01:53:35 2020 New Revision: 361569 URL: https://svnweb.freebsd.org/changeset/base/361569 Log: MFC r361060: Add memalign(3). Added: stable/12/lib/libc/gen/memalign.c - copied unchanged from r361060, head/lib/libc/gen/memalign.c Modified:

svn commit: r361568 - head/sys/powerpc/aim

2020-05-27 Thread Brandon Bergren
Author: bdragon Date: Thu May 28 00:49:02 2020 New Revision: 361568 URL: https://svnweb.freebsd.org/changeset/base/361568 Log: [PowerPC] Fix radix crash when passing -1 from userspace Found by running libc tests with radix enabled. Detect unsigned integer wrapping with a

svn commit: r361567 - head/sys/kern

2020-05-27 Thread Rick Macklem
Author: rmacklem Date: Wed May 27 23:20:35 2020 New Revision: 361567 URL: https://svnweb.freebsd.org/changeset/base/361567 Log: Fix sosend() for the case where mbufs are passed in while doing ktls. For kernel tls, sosend() needs to call ktls_frame() on the mbuf list to be sent. Without

svn commit: r361566 - head/sys/dev/ath/ath_rate/sample

2020-05-27 Thread Adrian Chadd
Author: adrian Date: Wed May 27 22:48:34 2020 New Revision: 361566 URL: https://svnweb.freebsd.org/changeset/base/361566 Log: [ath] Update ath_rate_sample to use the same base type as ticks. Until net80211 grows a specific ticks type that matches the system, manually use the same type as

svn commit: r361565 - releng/11.4/sys/netinet

2020-05-27 Thread Richard Scheffenegger
Author: rscheff Date: Wed May 27 22:34:46 2020 New Revision: 361565 URL: https://svnweb.freebsd.org/changeset/base/361565 Log: MFS r361436: MFC r361347: With RFC3168 ECN, CWR SHOULD only be sent with new data. Overly conservative data receivers may ignore the CWR flag on other packets,

svn commit: r361564 - in stable/12: cddl/contrib/opensolaris/lib/libdtrace/common lib/libc/gen libexec/rtld-elf sys/sys

2020-05-27 Thread Konstantin Belousov
Author: kib Date: Wed May 27 21:56:45 2020 New Revision: 361564 URL: https://svnweb.freebsd.org/changeset/base/361564 Log: MFC r361303, r361349, r361394, r361398, r361537: Change link_map::l_addr to mean load offset in ABI-compatible way. Add link_map::l_refname. Add rtld feature

svn commit: r361563 - head/sys/vm

2020-05-27 Thread Konstantin Belousov
Author: kib Date: Wed May 27 21:44:26 2020 New Revision: 361563 URL: https://svnweb.freebsd.org/changeset/base/361563 Log: Simplify the condition to enable superpage mappings in vm_fault_soft_fast(). The list of arches list there matches the list of arches where default VM_NRESERVLEVEL >

svn commit: r361562 - head/sys/geom/eli

2020-05-27 Thread Alan Somers
Author: asomers Date: Wed May 27 19:13:26 2020 New Revision: 361562 URL: https://svnweb.freebsd.org/changeset/base/361562 Log: geli: fix a livelock during panic During any kind of shutdown, kern_reboot calls geli's pre_sync event hook, which tries to destroy all unused geli devices. But

svn commit: r361561 - in stable/11/sys: amd64/amd64 i386/i386 x86/include x86/x86

2020-05-27 Thread Konstantin Belousov
Author: kib Date: Wed May 27 18:55:24 2020 New Revision: 361561 URL: https://svnweb.freebsd.org/changeset/base/361561 Log: MFC r361302: amd64: Add a knob to flush RSB on context switches if machine has SMEP. Modified: stable/11/sys/amd64/amd64/cpu_switch.S

svn commit: r361560 - head/sys/net80211

2020-05-27 Thread Adrian Chadd
Author: adrian Date: Wed May 27 18:32:12 2020 New Revision: 361560 URL: https://svnweb.freebsd.org/changeset/base/361560 Log: [net80211] Fix interrupted scan logic and ticks comparison The scan task refactoring stuff circa 2014-2016 broke the blocking task into a taskqueue with some

svn commit: r361559 - head/lib/libifconfig

2020-05-27 Thread Eric van Gyzen
Author: vangyzen Date: Wed May 27 18:26:10 2020 New Revision: 361559 URL: https://svnweb.freebsd.org/changeset/base/361559 Log: libifconfig: remove redundant NULL check Submitted by: puneeth_kumar.jotha...@emc.com Reported by: Coverity Sponsored by: Dell EMC Isilon Modified:

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

2020-05-27 Thread Konstantin Belousov
Author: kib Date: Wed May 27 18:24:50 2020 New Revision: 361558 URL: https://svnweb.freebsd.org/changeset/base/361558 Log: MFC r361299: Do not consider CAP_RDCL_NO as an indicator for all MDS vulnerabilities handled by hardware. Modified: stable/11/sys/x86/x86/cpu_machdep.c Directory

svn commit: r361557 - in stable/12/sys: amd64/amd64 i386/i386 x86/include x86/x86

2020-05-27 Thread Konstantin Belousov
Author: kib Date: Wed May 27 18:23:14 2020 New Revision: 361557 URL: https://svnweb.freebsd.org/changeset/base/361557 Log: MFC r361302: amd64: Add a knob to flush RSB on context switches if machine has SMEP. Modified: stable/12/sys/amd64/amd64/cpu_switch.S

svn commit: r361556 - stable/12/sys/x86/x86

2020-05-27 Thread Konstantin Belousov
Author: kib Date: Wed May 27 18:17:40 2020 New Revision: 361556 URL: https://svnweb.freebsd.org/changeset/base/361556 Log: MFC r361299: Do not consider CAP_RDCL_NO as an indicator for all MDS vulnerabilities handled by hardware. Modified: stable/12/sys/x86/x86/cpu_machdep.c Directory

svn commit: r361555 - in stable: 11/contrib/wpa/src/drivers 12/contrib/wpa/src/drivers

2020-05-27 Thread Cy Schubert
Author: cy Date: Wed May 27 17:49:32 2020 New Revision: 361555 URL: https://svnweb.freebsd.org/changeset/base/361555 Log: MFC r361272: Silence the once per second CTRL-EVENT-SCAN-FAILED errors when the WiFi radio is disabled through the communication device toggle key (also known as

svn commit: r361555 - in stable: 11/contrib/wpa/src/drivers 12/contrib/wpa/src/drivers

2020-05-27 Thread Cy Schubert
Author: cy Date: Wed May 27 17:49:32 2020 New Revision: 361555 URL: https://svnweb.freebsd.org/changeset/base/361555 Log: MFC r361272: Silence the once per second CTRL-EVENT-SCAN-FAILED errors when the WiFi radio is disabled through the communication device toggle key (also known as

svn commit: r361554 - releng/11.4/stand/common

2020-05-27 Thread Kyle Evans
Author: kevans Date: Wed May 27 16:34:47 2020 New Revision: 361554 URL: https://svnweb.freebsd.org/changeset/base/361554 Log: MFS r361538: loader: fix userboot's ability to detect a guest's interpreter Some time after r338418, I believe with -Os/-Oz -ffunction-sections -fdata-sections,

svn commit: r361553 - in head/tests/sys: netinet netinet6

2020-05-27 Thread Shteryana Shopova
Author: syrinx Date: Wed May 27 16:33:00 2020 New Revision: 361553 URL: https://svnweb.freebsd.org/changeset/base/361553 Log: Proper check if divert(4) module is present by the relevant tests Fix the netinet/netinet6 divert tests falsely reporting 'ipdivert module is not loaded' when the

svn commit: r361552 - in stable/12/tests/sys: fifo kern/pipe

2020-05-27 Thread Mark Johnston
Author: markj Date: Wed May 27 15:06:03 2020 New Revision: 361552 URL: https://svnweb.freebsd.org/changeset/base/361552 Log: MFC r361286: Avoid hard-coding pipe buffer sizes in the pipe and fifo kqueue tests. Modified: stable/12/tests/sys/fifo/fifo_kqueue.c

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

2020-05-27 Thread Emmanuel Vadot
Author: manu Date: Wed May 27 11:42:09 2020 New Revision: 361551 URL: https://svnweb.freebsd.org/changeset/base/361551 Log: linuxkpi: Add kstrtou16 This function convert a char * to a u16. Simply use strtoul and cast to compare for ERANGE Sponsored-by: The FreeBSD Foundation

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

2020-05-27 Thread Emmanuel Vadot
Author: manu Date: Wed May 27 10:01:30 2020 New Revision: 361550 URL: https://svnweb.freebsd.org/changeset/base/361550 Log: linuxkpi: Add rcu_swap_protected This macros swap an rcu pointer with a normal pointer. The condition only seems to be used for debug/warning under linux, ignore

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

2020-05-27 Thread Emmanuel Vadot
Author: manu Date: Wed May 27 09:31:50 2020 New Revision: 361549 URL: https://svnweb.freebsd.org/changeset/base/361549 Log: linuxkpi: Add overflow.h Only add check_add_overflow and check_mul_overflow as those are the only two needed function by DRM v5.3. Both gcc and clang have builtin

svn commit: r361548 - head/sbin/ifconfig

2020-05-27 Thread Eugene Grosbein
Author: eugen Date: Wed May 27 08:16:17 2020 New Revision: 361548 URL: https://svnweb.freebsd.org/changeset/base/361548 Log: ifconfig(8): spell "groupname" consistently with SYNOPSYS. MFC after:1 week Modified: head/sbin/ifconfig/ifconfig.8 Modified: head/sbin/ifconfig/ifconfig.8

svn commit: r361547 - in head/sys/arm64: arm64 include

2020-05-27 Thread Andrew Turner
Author: andrew Date: Wed May 27 08:00:38 2020 New Revision: 361547 URL: https://svnweb.freebsd.org/changeset/base/361547 Log: Support creating and using arm64 pmap at stage 2 Add minimal support for creating stage 2 IPA -> PA mappings. For this we need to: - Create a new vmid set