svn commit: r342275 - head/sys/dev/ow

2018-12-19 Thread Warner Losh
Author: imp Date: Thu Dec 20 05:46:56 2018 New Revision: 342275 URL: https://svnweb.freebsd.org/changeset/base/342275 Log: Fix panic message when we can't create thread for one wire temperature reading. Modified: head/sys/dev/ow/ow_temp.c Modified: head/sys/dev/ow/ow_temp.c ===

svn commit: r342272 - head/sys/dev/cxgbe/iw_cxgbe

2018-12-19 Thread Navdeep Parhar
Author: np Date: Thu Dec 20 01:35:45 2018 New Revision: 342272 URL: https://svnweb.freebsd.org/changeset/base/342272 Log: cxgbe/iw_cxgbe: Use -ve errno when interfacing with linuxkpi/OFED. Submitted by: Krishnamraju Eraparaju @ Chelsio Sponsored by: Chelsio Communications Modified: hea

svn commit: r342271 - head/sys/dev/tpm

2018-12-19 Thread Marcin Wojtas
Author: mw Date: Thu Dec 20 01:05:09 2018 New Revision: 342271 URL: https://svnweb.freebsd.org/changeset/base/342271 Log: Fix obtaining RSP address in TPM CRB for non-amd64 platforms On amd64 the RSP address can be read in single 8-byte transaction, which is obviously not possible on 32-b

svn commit: r342270 - head/sys/dev/cxgbe/iw_cxgbe

2018-12-19 Thread Navdeep Parhar
Author: np Date: Thu Dec 20 01:00:21 2018 New Revision: 342270 URL: https://svnweb.freebsd.org/changeset/base/342270 Log: cxgbe/iw_cxgbe: Add a knob for testing that lets iWARP connections cycle through 4-tuples quickly. Submitted by: Krishnamraju Eraparaju @ Chelsio Sponsored by: Chels

svn commit: r342266 - in head/sys/dev/cxgbe: . iw_cxgbe

2018-12-19 Thread Navdeep Parhar
Author: np Date: Wed Dec 19 23:29:01 2018 New Revision: 342266 URL: https://svnweb.freebsd.org/changeset/base/342266 Log: cxgbe/iw_cxgbe: Use DSGLs to write to card's memory when appropriate. Submitted by: Krishnamraju Eraparaju @ Chelsio Sponsored by: Chelsio Communications Modified:

svn commit: r342265 - head/lib/libc/regex

2018-12-19 Thread Yuri Pankov
Author: yuripv Date: Wed Dec 19 23:28:56 2018 New Revision: 342265 URL: https://svnweb.freebsd.org/changeset/base/342265 Log: regcomp: revert part of r341838 which turned out to be unrelated and caused issues with search in less. PR: 234066 Reviewed by: pfg Differential rev

svn commit: r342264 - head/sys/kern

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 23:28:29 2018 New Revision: 342264 URL: https://svnweb.freebsd.org/changeset/base/342264 Log: Check for probes enabled in priv_check_cred before evaluting the error. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_priv.c Modified: head/sys/

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

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 23:22:14 2018 New Revision: 342263 URL: https://svnweb.freebsd.org/changeset/base/342263 Log: Add note to 32-bit mips smp config files documenting the status Modified: head/sys/mips/conf/CI20 head/sys/mips/conf/JZ4780 Modified: head/sys/mips/conf/CI20 =

svn commit: r342262 - head/sys/sys

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 23:19:05 2018 New Revision: 342262 URL: https://svnweb.freebsd.org/changeset/base/342262 Log: Provide SDT_PROBES_ENABLED for kernels without KDTRACE. Sponsored by: The FreeBSD Foundation Modified: head/sys/sys/sdt.h Modified: head/sys/sys/sdt.h =

svn commit: r342261 - head/sys/mips/ingenic

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 23:15:49 2018 New Revision: 342261 URL: https://svnweb.freebsd.org/changeset/base/342261 Log: 32-bit mips SMP is unsupported Per discussions on mips@, 32-bit mips SMP is now unsupported. The files in the tree will compile for a while longer, but when the ato

svn commit: r342260 - in head/lib/libc: stdlib tests/stdlib

2018-12-19 Thread Conrad Meyer
Author: cem Date: Wed Dec 19 22:57:47 2018 New Revision: 342260 URL: https://svnweb.freebsd.org/changeset/base/342260 Log: Allow multi-byte thousands separators in strfmon(3) PR: 234010 Reported by: Jon Tejnung Reviewed by: yuripv Differential Revision:https://reviews.fre

svn commit: r342255 - in head: . sys/mips/conf sys/mips/mips sys/mips/sibyte

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:54:03 2018 New Revision: 342255 URL: https://svnweb.freebsd.org/changeset/base/342255 Log: Remove support for the now very old SiByte MIPS platform. It's not relevant and is unused. It's also getting in the way of progress in some admittedly minor ways. Better

svn commit: r342259 - head

2018-12-19 Thread Warner Losh
Wed Dec 19 22:56:31 2018(r342259) @@ -31,16 +31,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) -20181215: +20181219: The

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

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:54:34 2018 New Revision: 342258 URL: https://svnweb.freebsd.org/changeset/base/342258 Log: Remove old config file for SENTRY5 This is an older broadcom part that implements the mips32 ISA. 32-bit FreeBSD/mips now requires mips32r2, so retire this config. Mo

svn commit: r342256 - in head/sys/mips: conf gxemul

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:54:23 2018 New Revision: 342256 URL: https://svnweb.freebsd.org/changeset/base/342256 Log: Remove the GXEMUL support. gxemul was a nice stop-gap while qemu support for mips was firmed up. Now MALTA* + qemu is the platform of choice retire gxemul support.

svn commit: r342257 - in head: . sys/mips/conf

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:54:29 2018 New Revision: 342257 URL: https://svnweb.freebsd.org/changeset/base/342257 Log: Remove support for running 32-bit kernels on 64-bit hardware. This was useful in bring up. However, it causes more issues than the support is worth (64-bit atomics be

svn commit: r342253 - head/usr.sbin/uefisign

2018-12-19 Thread Marcin Wojtas
Author: mw Date: Wed Dec 19 22:47:37 2018 New Revision: 342253 URL: https://svnweb.freebsd.org/changeset/base/342253 Log: Fix alignment issue in uefisign The pe_certificate structure has to be aligned to 8 bytes. [1] Since this is now checked in edk2, any binaries signed with older vers

svn commit: r342251 - head/sys/modules/tpm

2018-12-19 Thread Marcin Wojtas
Author: mw Date: Wed Dec 19 22:43:10 2018 New Revision: 342251 URL: https://svnweb.freebsd.org/changeset/base/342251 Log: Include the new TPM 2.0 driver in the TPM module. Update the appropriate Makefile to build the new driver together with the old one. Submitted by: Kornel Duleba

svn commit: r342247 - head/sys/security/mac

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 22:30:26 2018 New Revision: 342247 URL: https://svnweb.freebsd.org/changeset/base/342247 Log: mac: reduce pessimization of sdt probe handling Prior to the change the code would branch on return value and then check if probes are enabled. Since vast majority of

Re: svn commit: r341578 - head/sys/dev/mlx5/mlx5_en

2018-12-19 Thread Bruce Evans
On Wed, 19 Dec 2018, Bruce Evans wrote: On Wed, 19 Dec 2018, Bruce Evans wrote: On Mon, 17 Dec 2018, Andrew Gallatin wrote: On 12/17/18 2:08 PM, Bruce Evans wrote: * ... iflib uses queuing techniques to significantly pessimize em NICs with 1 hardware queue.?? On fast machines, it attempts

svn commit: r342245 - head

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 22:08:51 2018 New Revision: 342245 URL: https://svnweb.freebsd.org/changeset/base/342245 Log: Remove iBCS2: plug a wart missed in r342242 Sponsored by: The FreeBSD Foundation Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

svn commit: r342244 - in head/sys: i386/ibcs2 modules modules/coff modules/ibcs2

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 22:02:49 2018 New Revision: 342244 URL: https://svnweb.freebsd.org/changeset/base/342244 Log: Remove iBCS2, part3: the implementation Reviewed by: kib (previous version) Sponsored by: The FreeBSD Foundation Deleted: head/sys/i386/ibcs2/ head/sys/modules/

svn commit: r342243 - in head/sys: amd64/amd64 amd64/conf amd64/ia32 amd64/linux amd64/linux32 arm/arm arm64/arm64 arm64/linux compat/ia32 conf i386 i386/conf i386/i386 i386/linux kern mips/mips po...

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 21:57:58 2018 New Revision: 342243 URL: https://svnweb.freebsd.org/changeset/base/342243 Log: Remove iBCS2, part2: general kernel Reviewed by: kib (previous version) Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/amd64/elf_machdep.c head/s

svn commit: r342242 - in head: . etc/mtree libexec/rc libexec/rc/rc.d share/examples share/examples/ibcs2 share/man/man4 share/man/man5 usr.sbin/bsdconfig/startup usr.sbin/bsdconfig/startup/include

2018-12-19 Thread Mateusz Guzik
/ObsoleteFiles.inc Wed Dec 19 21:56:54 2018(r342242) @@ -38,6 +38,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20181219: ibcs removal +OLD_FILES+=usr/share/examples/ibcs2/hello.uu +OLD_FILES+=usr/share/examples/ibcs2/README +OLD_DIRS+=usr/share/examples/ibcs2 # 20181215: Migration of CTM

svn commit: r342237 - head/sys/kern

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 20:29:52 2018 New Revision: 342237 URL: https://svnweb.freebsd.org/changeset/base/342237 Log: Microoptimize corner case of ID bitmap handling. Prior to the change we would avoidably test more possibly used IDs. While here update the comment: there is no pid

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

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 20:27:26 2018 New Revision: 342236 URL: https://svnweb.freebsd.org/changeset/base/342236 Log: Deinline vfork handling out of the syscall return path. vfork is rarely called (comparatively to other syscalls) and it avoidably pollutes the fast path. Sponsor

svn commit: r342235 - head/share/man/man9

2018-12-19 Thread Mateusz Guzik
Author: mjg Date: Wed Dec 19 20:25:58 2018 New Revision: 342235 URL: https://svnweb.freebsd.org/changeset/base/342235 Log: Update priv(9) after r341827 Reported by: trasz Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/priv.9 Modified: head/share/man/man9/priv.9 ==

svn commit: r342234 - head/sys/dev/cxgbe

2018-12-19 Thread Navdeep Parhar
Author: np Date: Wed Dec 19 19:21:29 2018 New Revision: 342234 URL: https://svnweb.freebsd.org/changeset/base/342234 Log: cxgbe(4): Do not issue mbox commands after t4_fw_bye. Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_clip.c Modified: head/sys/dev/cxgbe/t4_cli

svn commit: r342227 - head/libexec/bootpd

2018-12-19 Thread Ed Maste
Author: emaste Date: Wed Dec 19 18:16:29 2018 New Revision: 342227 URL: https://svnweb.freebsd.org/changeset/base/342227 Log: bootpd: validate hardware type Due to insufficient validation of network-provided data it may have been possible for a malicious actor to craft a bootp packet whic

svn commit: r342223 - in head/sys/riscv: include riscv

2018-12-19 Thread Mark Johnston
Author: markj Date: Wed Dec 19 17:52:09 2018 New Revision: 342223 URL: https://svnweb.freebsd.org/changeset/base/342223 Log: Replace uses of sbadaddr with stval. The sbadaddr register was renamed in version 1.10 of the privileged architecture specification. No functional change intended.

svn commit: r342221 - head/sys/riscv/riscv

2018-12-19 Thread Mark Johnston
Author: markj Date: Wed Dec 19 17:45:16 2018 New Revision: 342221 URL: https://svnweb.freebsd.org/changeset/base/342221 Log: Implement cpu_halt() for RISC-V. Submitted by: Mitchell Horne MFC after:1 week Differential Revision:https://reviews.freebsd.org/D18595 Modified:

svn commit: r342218 - head/sys/dev/asmc

2018-12-19 Thread David Bright
Author: dab Date: Wed Dec 19 16:45:37 2018 New Revision: 342218 URL: https://svnweb.freebsd.org/changeset/base/342218 Log: asmc: Add support for MacPro1,1 PR: 203431 Submitted by: j...@alisa.org & holin...@saunalahti.fi Reported by: j...@alisa.org MFC after:1 week Modi