svn commit: r362043 - head/sys/dev/mlx5/mlx5_en

2020-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 11 09:36:37 2020 New Revision: 362043 URL: https://svnweb.freebsd.org/changeset/base/362043 Log: Use const keyword when parsing the TCP/IP header in the fast path in mlx5en(4). When parsing the TCP/IP header in the fast path, make it clear by using the cons

svn commit: r362044 - head/sys/dev/mlx5/mlx5_en

2020-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 11 09:38:51 2020 New Revision: 362044 URL: https://svnweb.freebsd.org/changeset/base/362044 Log: Extend use of unlikely() in the fast path, in mlx5en(4). Typically the TCP/IP headers fit within the first mbuf and should not trigger any of the error cases. Us

svn commit: r362045 - head/sys/dev/mlx5/mlx5_en

2020-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 11 09:41:54 2020 New Revision: 362045 URL: https://svnweb.freebsd.org/changeset/base/362045 Log: Make sure packets generated by raw IP code is let through by mlx5en(4). Allow the TCP header to reside in the mbuf following the IP header. Else such packets wil

svn commit: r362047 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2020-06-11 Thread Andriy Gapon
Author: avg Date: Thu Jun 11 10:41:31 2020 New Revision: 362047 URL: https://svnweb.freebsd.org/changeset/base/362047 Log: rework how ZVOLs are updated in response to DSL operations With this change all ZVOL updates are initiated from the SPA sync context instead of a mix of the sync and

svn commit: r362048 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-06-11 Thread Andriy Gapon
Author: avg Date: Thu Jun 11 11:35:30 2020 New Revision: 362048 URL: https://svnweb.freebsd.org/changeset/base/362048 Log: fix up r362047: a call to zvol_*_minors() was not hidden from userland Reported by: CI/FreeBSD-head-powerpc64-build MFC after:5 weeks X-MFC with: r362047 Mo

svn commit: r362051 - head/sys/compat/linux

2020-06-11 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 11 12:25:49 2020 New Revision: 362051 URL: https://svnweb.freebsd.org/changeset/base/362051 Log: Make linux(4) handle SO_REUSEPORT. Reviewed by: emaste MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews

svn commit: r362052 - head/sys/compat/linux

2020-06-11 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 11 12:35:00 2020 New Revision: 362052 URL: https://svnweb.freebsd.org/changeset/base/362052 Log: Improve the warnings. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/compat/linux/linux_futex.c Modified: head/sys/compat/linux/l

svn commit: r362053 - head/sys/arm/nvidia

2020-06-11 Thread Michal Meloun
Author: mmel Date: Thu Jun 11 12:53:22 2020 New Revision: 362053 URL: https://svnweb.freebsd.org/changeset/base/362053 Log: Fix grabbing of tegra uart. An attempt to write to FCR register may corrupt transmit FIFO, so we should wait for the FIFO to be empty before we can modify it. MFC

svn commit: r362054 - head/sys/netinet

2020-06-11 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 11 13:34:09 2020 New Revision: 362054 URL: https://svnweb.freebsd.org/changeset/base/362054 Log: Non-functional changes due to upstream cleanup. MFC after:1 week Modified: head/sys/netinet/sctp_asconf.c head/sys/netinet/sctp_auth.c head/sys/ne

Re: svn commit: r362029 - head/sys/dev/hdmi

2020-06-11 Thread Rodney W. Grimes
> Author: gonzo > Date: Wed Jun 10 21:38:35 2020 > New Revision: 362029 > URL: https://svnweb.freebsd.org/changeset/base/362029 > > Log: > Fix reading EDID on TVs/monitors without E-DCC support > > Writing segment id to I2C device 0x30 only required if the segment is > non-zero. On the de

svn commit: r362055 - head/sys/compat/linux

2020-06-11 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 11 14:09:43 2020 New Revision: 362055 URL: https://svnweb.freebsd.org/changeset/base/362055 Log: Replace LINUX_FASYNC with LINUX_O_ASYNC; no functional changes. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:https://r

Re: svn commit: r362017 - in head/usr.bin/sed: . tests

2020-06-11 Thread Steffen Nurpmeso
Hello. Mateusz Piotrowski wrote in <995726df-cb28-c294-09ca-6cca302b2...@freebsd.org>: |On 6/11/20 12:06 AM, Steffen Nurpmeso wrote: |> Yuri Pankov wrote in |> : |>|Mateusz Piotrowski wrote: |>|> Author: 0mp (doc,ports committer) |>|> Date: Wed Jun 10 19:23:58 2020 |>|> New Revision: 362017

svn commit: r362056 - head/sys/dev/usb/net

2020-06-11 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 11 14:31:51 2020 New Revision: 362056 URL: https://svnweb.freebsd.org/changeset/base/362056 Log: Add missing range checks when receiving USB ethernet packets. Found by: Ilja Van Sprundel, IOActive MFC after:3 days Sponsored by: Mellanox Technologie

svn commit: r362059 - head/sys/compat/linux

2020-06-11 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 11 14:57:30 2020 New Revision: 362059 URL: https://svnweb.freebsd.org/changeset/base/362059 Log: Don't use newlines with linux_msg(). No functional changes. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/compat/linux/linux.c

svn commit: r362060 - head/usr.bin/xargs

2020-06-11 Thread Fernando ApesteguĂ­a
Author: fernape (ports committer) Date: Thu Jun 11 15:14:39 2020 New Revision: 362060 URL: https://svnweb.freebsd.org/changeset/base/362060 Log: xargs(1): Add EXAMPLES to man page Add EXAMPLES covering options I, J, L, n, P. While here, fix warning (STYLE: no blank before trailing deli

svn commit: r362063 - head/sys/dev/e1000

2020-06-11 Thread Eric Joyner
Author: erj Date: Thu Jun 11 15:59:49 2020 New Revision: 362063 URL: https://svnweb.freebsd.org/changeset/base/362063 Log: em(4): Always reinit interface when adding/removing VLAN This partially reverts r361053 since there have been reports by users that this breaks some functionality for

Re: svn commit: r362017 - in head/usr.bin/sed: . tests

2020-06-11 Thread Ian Lepore
On Thu, 2020-06-11 at 16:29 +0200, Steffen Nurpmeso wrote: > Hello. > > Mateusz Piotrowski wrote in > <995726df-cb28-c294-09ca-6cca302b2...@freebsd.org>: > |On 6/11/20 12:06 AM, Steffen Nurpmeso wrote: > |> Yuri Pankov wrote in > |> : > |>|Mateusz Piotrowski wrote: > |>|> Author: 0mp (doc,por

svn commit: r362065 - head/sys/x86/x86

2020-06-11 Thread Konstantin Belousov
Author: kib Date: Thu Jun 11 17:25:20 2020 New Revision: 362065 URL: https://svnweb.freebsd.org/changeset/base/362065 Log: Restore TLB invalidations done before smp started. In particular, invalidation of the preloaded modules text to allow execution from it was broken after D25188/r36203

Re: svn commit: r362017 - in head/usr.bin/sed: . tests

2020-06-11 Thread Steffen Nurpmeso
Hey. Ian Lepore wrote in : |On Thu, 2020-06-11 at 16:29 +0200, Steffen Nurpmeso wrote: |> Hello. |> |> Mateusz Piotrowski wrote in |> <995726df-cb28-c294-09ca-6cca302b2...@freebsd.org>: |>|On 6/11/20 12:06 AM, Steffen Nurpmeso wrote: |>|> Yuri Pankov wrote in |>|> : |>|>|Mateusz Piotrows

Re: svn commit: r362029 - head/sys/dev/hdmi

2020-06-11 Thread Oleksandr Tymoshenko
Rodney W. Grimes (free...@gndrsh.dnsmgr.net) wrote: > > Author: gonzo > > Date: Wed Jun 10 21:38:35 2020 > > New Revision: 362029 > > URL: https://svnweb.freebsd.org/changeset/base/362029 > > > > Log: > > Fix reading EDID on TVs/monitors without E-DCC support > > > > Writing segment id to I

svn commit: r362071 - head/usr.bin/sed/tests

2020-06-11 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Thu Jun 11 18:14:34 2020 New Revision: 362071 URL: https://svnweb.freebsd.org/changeset/base/362071 Log: Remove some more duplicate test cases I accidentally committed Reported by: markj, yuripv MFC after:2 weeks X-MFC-With: 362017 Modifie

svn commit: r362072 - head/tests/sys/net

2020-06-11 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Jun 11 18:59:57 2020 New Revision: 362072 URL: https://svnweb.freebsd.org/changeset/base/362072 Log: Skip sys.net.if_lagg_test.lacp_linkstate_destroy_stress in CI because of panic PR: 244168 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys

svn commit: r362075 - head/sys/x86/x86

2020-06-11 Thread Konstantin Belousov
Author: kib Date: Thu Jun 11 20:26:39 2020 New Revision: 362075 URL: https://svnweb.freebsd.org/changeset/base/362075 Log: Correct comment (this should have been committed with r362065). Sponsored by: The FreeBSD Foundation MFC after:13 days Modified: head/sys/x86/x86/mp_x86.c Mod

svn commit: r362076 - in head/sys/dev: netmap virtio/network

2020-06-11 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Jun 11 20:35:28 2020 New Revision: 362076 URL: https://svnweb.freebsd.org/changeset/base/362076 Log: netmap: introduce netmap_kring_on() This function returns NULL if the ring identified by queue id and direction is in netmap mode. Otherwise return the corres

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Justin Hibbits
On Wed, 10 Jun 2020 18:56:57 -0700 Mark Millard wrote: > On 2020-May-13, at 08:56, Justin Hibbits wrote: > > > Hi Mark, > > Hello Justin. Hi Mark, > > > On Wed, 13 May 2020 01:43:23 -0700 > > Mark Millard wrote: > > > >> [I'm adding a reference to an old arm64/aarch64 bug that had >

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Mark Millard via svn-src-head
On 2020-Jun-11, at 13:55, Justin Hibbits wrote: > On Wed, 10 Jun 2020 18:56:57 -0700 > Mark Millard wrote: > >> On 2020-May-13, at 08:56, Justin Hibbits wrote: >> >>> Hi Mark, >> >> Hello Justin. > > Hi Mark, Hello again, Justin. >> >>> On Wed, 13 May 2020 01:43:23 -0700 >>> Mark Mi

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Brandon Bergren
An update from my end: I now have the ability to test dual processor G4 as well, now that mine is up and running. On Thu, Jun 11, 2020, at 4:36 PM, Mark Millard wrote: > > How did you test? > > In my context it was far easier to see the problem > with builds that did not use MALLOC_PRODUCTION.

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Justin Hibbits
On Thu, 11 Jun 2020 14:36:37 -0700 Mark Millard wrote: > On 2020-Jun-11, at 13:55, Justin Hibbits > wrote: > > > On Wed, 10 Jun 2020 18:56:57 -0700 > > Mark Millard wrote: > > > >> On 2020-May-13, at 08:56, Justin Hibbits > >> wrote: > >>> Hi Mark, > >> > >> Hello Justin. > > > >

svn commit: r362077 - in head/sys: arm64/coresight conf

2020-06-11 Thread Ruslan Bukin
Author: br Date: Thu Jun 11 21:52:06 2020 New Revision: 362077 URL: https://svnweb.freebsd.org/changeset/base/362077 Log: Shorten the filename of the coresight replicator driver. Sponsored by: DARPA, AFRL Added: head/sys/arm64/coresight/coresight_replicator.c - copied unchanged from

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Mark Millard via svn-src-head
On 2020-Jun-11, at 14:41, Brandon Bergren wrote: > An update from my end: I now have the ability to test dual processor G4 as > well, now that mine is up and running. Cool. FYI: Dual processors are not required for the problem to happen: the stress based testing showed the problem just as

svn commit: r362078 - in head: sbin/ifconfig sys/net

2020-06-11 Thread Ravi Pokala
Author: rpokala Date: Thu Jun 11 22:46:08 2020 New Revision: 362078 URL: https://svnweb.freebsd.org/changeset/base/362078 Log: Decode the "LACP Fast Timeout" LAGG option flag r286700 added the "lacp_fast_timeout" option to `ifconfig', but we forgot to include the new option in the string

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Mark Millard via svn-src-head
On 2020-Jun-11, at 14:42, Justin Hibbits wrote: On Thu, 11 Jun 2020 14:36:37 -0700 Mark Millard wrote: > On 2020-Jun-11, at 13:55, Justin Hibbits > wrote: > >> On Wed, 10 Jun 2020 18:56:57 -0700 >> Mark Millard wrote: . . . > > >> That said, the attached patch effectively copies >> what's

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Mark Millard via svn-src-head
On 2020-Jun-11, at 16:49, Mark Millard wrote: > On 2020-Jun-11, at 14:42, Justin Hibbits wrote: > > On Thu, 11 Jun 2020 14:36:37 -0700 > Mark Millard wrote: > >> On 2020-Jun-11, at 13:55, Justin Hibbits >> wrote: >> >>> On Wed, 10 Jun 2020 18:56:57 -0700 >>> Mark Millard wrote: > . . . >>

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Justin Hibbits
On Thu, 11 Jun 2020 17:30:24 -0700 Mark Millard wrote: > On 2020-Jun-11, at 16:49, Mark Millard wrote: > > > On 2020-Jun-11, at 14:42, Justin Hibbits > > wrote: > > > > On Thu, 11 Jun 2020 14:36:37 -0700 > > Mark Millard wrote: > > > >> On 2020-Jun-11, at 13:55, Justin Hibbits > >> wrote

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Mark Millard via svn-src-head
On 2020-Jun-11, at 19:25, Justin Hibbits wrote: > On Thu, 11 Jun 2020 17:30:24 -0700 > Mark Millard wrote: > >> On 2020-Jun-11, at 16:49, Mark Millard wrote: >> >>> On 2020-Jun-11, at 14:42, Justin Hibbits >>> wrote: >>> >>> On Thu, 11 Jun 2020 14:36:37 -0700 >>> Mark Millard wrote: >>>

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Mark Millard via svn-src-head
[Just a better panic backtrace text copy.] On 2020-Jun-11, at 20:29, Mark Millard wrote: > On 2020-Jun-11, at 19:25, Justin Hibbits wrote: > >> On Thu, 11 Jun 2020 17:30:24 -0700 >> Mark Millard wrote: >> >>> On 2020-Jun-11, at 16:49, Mark Millard wrote: >>> On 2020-Jun-11, at 14:42,

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Mark Millard via svn-src-head
There is another oddity in the code structure, in that if pt was ever NULL the code would misuse the NULL before the test for non-NULL is made: pt = moea_pvo_to_pte(pvo, -1); . . . old_pte = *pt; /* * If the PVO is in the page table

svn commit: r362084 - head/sys/net80211

2020-06-11 Thread Adrian Chadd
Author: adrian Date: Fri Jun 12 04:19:03 2020 New Revision: 362084 URL: https://svnweb.freebsd.org/changeset/base/362084 Log: [net80211] First part of A-MSDU offload handling - don't bump A-MPDU reordering seqno When doing A-MSDU offload handling the driver is required to mark A-MSDUs fr

Re: svn commit: r360233 - in head: contrib/jemalloc . . . : This partially breaks a 2-socket 32-bit powerpc (old PowerMac G4) based on head -r360311

2020-06-11 Thread Mark Millard via svn-src-head
[Yet another oddity.] On 2020-Jun-11, at 21:05, Mark Millard wrote: > > There is another oddity in the code structure, in > that if pt was ever NULL the code would misuse the > NULL before the test for non-NULL is made: > >pt = moea_pvo_to_pte(pvo, -1); > . . . >

svn commit: r362085 - head/tools/tools/net80211/wlanstats

2020-06-11 Thread Adrian Chadd
Author: adrian Date: Fri Jun 12 06:10:27 2020 New Revision: 362085 URL: https://svnweb.freebsd.org/changeset/base/362085 Log: [wlanstats] Add the per-node amsdu hardware decap'ed receive stats. This is useful for tracking hardware provided AMSDU frames to see when we're (a) seeing them, a