svn commit: r359189 - head/contrib/elftoolchain/readelf

2020-03-20 Thread Ed Maste
Author: emaste Date: Sat Mar 21 00:08:33 2020 New Revision: 359189 URL: https://svnweb.freebsd.org/changeset/base/359189 Log: readelf: simplify Xen string note printing Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D24

svn commit: r359188 - head/share/mk

2020-03-20 Thread Warner Losh
Author: imp Date: Sat Mar 21 00:01:06 2020 New Revision: 359188 URL: https://svnweb.freebsd.org/changeset/base/359188 Log: Redo r359164 now that it's baked : Eliminate misuse of $MACHINE for userland things. Use TARGET_ARCH and/or MACHINE_ARCH exclusively. Change all __TT uses to __T wit

Re: svn commit: r357614 - in head/sys: kern sys

2020-03-20 Thread John Baldwin
On 2/6/20 4:45 AM, Pawel Biernacki wrote: > Author: kaktus > Date: Thu Feb 6 12:45:58 2020 > New Revision: 357614 > URL: https://svnweb.freebsd.org/changeset/base/357614 > > Log: > sysctl(9): add CTLFLAG_NEEDGIANT flag > > Add CTLFLAG_NEEDGIANT flag (modelled after D_NEEDGIANT) that will b

svn commit: r359187 - head/usr.sbin/pciconf

2020-03-20 Thread Scott Long
Author: scottl Date: Fri Mar 20 23:26:37 2020 New Revision: 359187 URL: https://svnweb.freebsd.org/changeset/base/359187 Log: When printing out the contents of the VSEC, include the contents of the headers. Device documentation often times give offsets relative to the start of the entire VS

svn commit: r359185 - in head/sys: conf modules/cxgbe/iw_cxgbe modules/ibcore modules/ipoib modules/iser modules/lindebugfs modules/linuxkpi modules/mlx4 modules/mlx4en modules/mlx4ib modules/mlx5 ...

2020-03-20 Thread Konstantin Belousov
Author: kib Date: Fri Mar 20 21:06:58 2020 New Revision: 359185 URL: https://svnweb.freebsd.org/changeset/base/359185 Log: Introduce LINUXKPI_GENSRCS. Centralize the list of generated files required by linuxkpi consumers, into the common variable. This way, consumers that use the variabl

svn commit: r359184 - head/sys/kern

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 20:09:00 2020 New Revision: 359184 URL: https://svnweb.freebsd.org/changeset/base/359184 Log: Lock the socket in soo_stat(). Otherwise nothing synchronizes with a concurrent conversion of the socket to a listening socket. Only the PF_LOCAL protocols imp

svn commit: r359183 - head/lib/libc/locale

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 20:02:53 2020 New Revision: 359183 URL: https://svnweb.freebsd.org/changeset/base/359183 Log: Fix uselocale(3) to not leak a reference to the old locale. In a single-threaded program pthread_getspecific() always returns NULL, so the old locale would not end

svn commit: r359182 - head/sys/modules/cx

2020-03-20 Thread Ed Maste
Author: emaste Date: Fri Mar 20 19:38:14 2020 New Revision: 359182 URL: https://svnweb.freebsd.org/changeset/base/359182 Log: Remove cx module subdir, missed in r359178 Deleted: head/sys/modules/cx/ ___ svn-src-head@freebsd.org mailing list https://

svn commit: r359181 - in head/sys/dev: ce cp cx

2020-03-20 Thread Ed Maste
Author: emaste Date: Fri Mar 20 19:28:55 2020 New Revision: 359181 URL: https://svnweb.freebsd.org/changeset/base/359181 Log: Use a separate copy of machdep.h in cp and ce drivers Previously they included sys/dev/cx/machdep.h, but the cx driver was retired in r359178. These drivers haven

svn commit: r359180 - head/sys/modules/ctau

2020-03-20 Thread Ed Maste
Author: emaste Date: Fri Mar 20 19:23:55 2020 New Revision: 359180 URL: https://svnweb.freebsd.org/changeset/base/359180 Log: Remove ctau module subdir, missed in r359178 Deleted: head/sys/modules/ctau/ ___ svn-src-head@freebsd.org mailing list http

Re: svn commit: r359016 - head/sys/netinet

2020-03-20 Thread Gleb Smirnoff
Andrew, On Mon, Mar 16, 2020 at 02:03:27PM +, Andrew Gallatin wrote: A> Log: A> Avoid a cache miss accessing an mbuf ext_pgs pointer when doing SW kTLS. A> A> For a Netflix 90Gb/s 100% TLS software kTLS workload, this reduces A> the CPI of tcp_m_copym() from ~3.5 to ~2.5 as reported

svn commit: r359179 - head/share/misc

2020-03-20 Thread Nick O'Brien
Author: nick Date: Fri Mar 20 17:16:21 2020 New Revision: 359179 URL: https://svnweb.freebsd.org/changeset/base/359179 Log: Add myself (nick) as a src committer Reviewed by: philip (mentor) Approved by: philip (mentor), kp (mentor) Differential Revision:https://reviews.freebsd

svn commit: r359178 - in head: . share/man/man4/man4.i386 sys/conf sys/dev/ctau sys/dev/cx sys/i386/conf sys/modules

2020-03-20 Thread Ed Maste
== --- head/ObsoleteFiles.inc Fri Mar 20 16:25:06 2020(r359177) +++ head/ObsoleteFiles.inc Fri Mar 20 16:50:19 2020(r359178) @@ -36,6 +36,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20200320: cx

svn commit: r359172 - head/contrib/elftoolchain/libdwarf

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 16:24:06 2020 New Revision: 359172 URL: https://svnweb.freebsd.org/changeset/base/359172 Log: libdwarf: Make an out-pointer assignment unconditional. There is no reason for diep to ever be NULL, since in that case we would simply be leaking memory. CID:

svn commit: r359177 - head

2020-03-20 Thread Ed Maste
Author: emaste Date: Fri Mar 20 16:25:06 2020 New Revision: 359177 URL: https://svnweb.freebsd.org/changeset/base/359177 Log: ObsoleteFiles.inc: add blank line between some recent entries We recently switched to including a blank line between ObsoleteFiles.inc entries. I missed this when

svn commit: r359175 - head/contrib/elftoolchain/readelf

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 16:24:53 2020 New Revision: 359175 URL: https://svnweb.freebsd.org/changeset/base/359175 Log: readelf: Fix another instance of the leak mentioned in r357542. CID: 1292493 MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/

svn commit: r359176 - head/contrib/elftoolchain/libelftc

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 16:25:06 2020 New Revision: 359176 URL: https://svnweb.freebsd.org/changeset/base/359176 Log: libelftc: Fix a memory leak in cpp_demangle_read_type(). CID: 1305425 MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/contrib

svn commit: r359174 - head/contrib/elftoolchain/readelf

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 16:24:40 2020 New Revision: 359174 URL: https://svnweb.freebsd.org/changeset/base/359174 Log: readelf: Avoid leaking ELF descriptors for archive entries. CID: 1292494 MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/cont

svn commit: r359173 - head/contrib/elftoolchain/libpe

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 16:24:23 2020 New Revision: 359173 URL: https://svnweb.freebsd.org/changeset/base/359173 Log: libpe: Avoid a potential use-after-free in pe_update_symtab(). This function appears to be unused within FreeBSD and ELFToolChain. CID: 1418982 MFC af

svn commit: r359171 - head/sys/kern

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 16:18:54 2020 New Revision: 359171 URL: https://svnweb.freebsd.org/changeset/base/359171 Log: Simplify uipc_detach() slightly. Remove a goto and an unneeded local variable, and fix style. No functional change intended. Tested by:pho MFC after:

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

2020-03-20 Thread Mark Johnston
Author: markj Date: Fri Mar 20 16:17:54 2020 New Revision: 359170 URL: https://svnweb.freebsd.org/changeset/base/359170 Log: Remove UNP_NASCENT, reverting r303855. unp_connectat() no longer holds the link lock across calls to sonewconn(), so the recursion described in r303855 can no longe

svn commit: r359169 - in head/sys/cam: ctl scsi

2020-03-20 Thread Ed Maste
Author: emaste Date: Fri Mar 20 16:15:45 2020 New Revision: 359169 URL: https://svnweb.freebsd.org/changeset/base/359169 Log: sys/cam: remove doubled ;s Modified: head/sys/cam/ctl/ctl.c head/sys/cam/scsi/scsi_all.c head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/ctl/ctl.c

svn commit: r359168 - head

2020-03-20 Thread Ed Maste
Author: emaste Date: Fri Mar 20 16:02:45 2020 New Revision: 359168 URL: https://svnweb.freebsd.org/changeset/base/359168 Log: remove ancient pre-2000 ObsoleteFiles.inc entries We support 10.3 as the minimum version to install from, which was released in the mid-2010s. There's a lot of an

svn commit: r359167 - head/share/mk

2020-03-20 Thread Warner Losh
Author: imp Date: Fri Mar 20 16:00:26 2020 New Revision: 359167 URL: https://svnweb.freebsd.org/changeset/base/359167 Log: Revert r359164. This was in my staging tree by mistake when I pushed. Revert until it's ready. Modified: head/share/mk/src.opts.mk Modified: head/share/mk/src.opts.

svn commit: r359166 - head/contrib/elftoolchain/elfcopy

2020-03-20 Thread Ed Maste
Author: emaste Date: Fri Mar 20 15:50:37 2020 New Revision: 359166 URL: https://svnweb.freebsd.org/changeset/base/359166 Log: objcopy: add new sections also when there is no .shstrtab Previously objcopy (elfcopy) --add-sections inserted new sections before .shstrtab, but omitted them if t

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

2020-03-20 Thread Warner Losh
Author: imp Date: Fri Mar 20 15:07:25 2020 New Revision: 359165 URL: https://svnweb.freebsd.org/changeset/base/359165 Log: Implement a workaround for kms-drm modules pci_iov_if.h was added to pci.h, but none of the kms-drm branches have that. Rather than play whack a mole with the branche

Re: svn commit: r358989 - in head/stand/efi: libefi loader loader/arch/arm loader/arch/arm64

2020-03-20 Thread Ruslan Garipov
On 3/19/2020 5:55 PM, Toomas Soome via svn-src-head wrote: > > >> On 19. Mar 2020, at 14:33, Tomoaki AOKI wrote: >> >> On Thu, 19 Mar 2020 00:28:59 +0200 >> Toomas Soome mailto:tso...@me.com>> wrote: >> >>> >>> On 18. Mar 2020, at 20:41, Ruslan Garipov wrote: On 3/18/2020 10:29 P

svn commit: r359164 - head/share/mk

2020-03-20 Thread Warner Losh
Author: imp Date: Fri Mar 20 15:07:21 2020 New Revision: 359164 URL: https://svnweb.freebsd.org/changeset/base/359164 Log: Eliminate misuse of $MACHINE for userland things. Use TARGET_ARCH and/or MACHINE_ARCH exclusively. Change all __TT uses to __T with appropriate translations. MACHINE/

svn commit: r359163 - in head: lib/clang lib/clang/libllvm share/mk

2020-03-20 Thread Warner Losh
Author: imp Date: Fri Mar 20 15:07:15 2020 New Revision: 359163 URL: https://svnweb.freebsd.org/changeset/base/359163 Log: Remove sparc support from clang build infrastructure. Any remaining sparc files will be mopped up in future imports. Differential Revision: https://reviews.freebsd.o

svn commit: r359162 - head/sys/netinet

2020-03-20 Thread Michael Tuexen
Author: tuexen Date: Fri Mar 20 14:49:44 2020 New Revision: 359162 URL: https://svnweb.freebsd.org/changeset/base/359162 Log: Remove a set, but unused variable. MFC after:1 week Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_usrreq.c ===

Re: svn commit: r358989 - in head/stand/efi: libefi loader loader/arch/arm loader/arch/arm64

2020-03-20 Thread Toomas Soome via svn-src-head
> On 20. Mar 2020, at 13:29, Tomoaki AOKI wrote: > > > Maybe I got a hint... > COLUMNS and LINES (either `show` on loader prompt or `kenv` on running > system) only appears when I manually set any mode by ex. `mode 0` > on loader prompt. Just viewing current mode by `mode` doesn't affect. >

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

2020-03-20 Thread Alfredo Dal'Ava Junior
Author: alfredo Date: Fri Mar 20 11:51:08 2020 New Revision: 359160 URL: https://svnweb.freebsd.org/changeset/base/359160 Log: [PowerPC] fix panic reading /dev/kmem on !DMAP machines This fixes /dev/kmem causing panic on machines not using DMAP. Found when running libkvm Kyua test case

Re: svn commit: r358989 - in head/stand/efi: libefi loader loader/arch/arm loader/arch/arm64

2020-03-20 Thread Tomoaki AOKI
On Thu, 19 Mar 2020 14:55:19 +0200 Toomas Soome wrote: > > > > On 19. Mar 2020, at 14:33, Tomoaki AOKI wrote: > > > > On Thu, 19 Mar 2020 00:28:59 +0200 > > Toomas Soome mailto:tso...@me.com>> wrote: > > > >> > >> > >>> On 18. Mar 2020, at 20:41, Ruslan Garipov wrote: > >>> > >>> On 3/18