svn commit: r355439 - in head/sys/arm: arm include

2019-12-05 Thread Ian Lepore
Author: ian Date: Fri Dec 6 03:48:35 2019 New Revision: 355439 URL: https://svnweb.freebsd.org/changeset/base/355439 Log: Declare the global kernel symbols created by ldscript.arm in arm's machdep.h, and remove a couple scattered local declarations. Most of these aren't referenced in C c

svn commit: r355438 - head/sys/geom

2019-12-05 Thread Alexander Motin
Author: mav Date: Fri Dec 6 03:46:38 2019 New Revision: 355438 URL: https://svnweb.freebsd.org/changeset/base/355438 Log: Block ioctls for dying GEOM_DEV instances. For normal I/Os consumer and provider statuses are checked by g_io_check(). But ioctl calls often do not go through it, bei

svn commit: r355437 - head/sys/geom

2019-12-05 Thread Alexander Motin
Author: mav Date: Fri Dec 6 03:18:37 2019 New Revision: 355437 URL: https://svnweb.freebsd.org/changeset/base/355437 Log: Make GEOM_DEV code slightly more compact. Should be no functional change. MFC after:2 weeks Modified: head/sys/geom/geom_dev.c Modified: head/sys/geom/geom

svn commit: r355436 - in head/sys: amd64/amd64 x86/x86

2019-12-05 Thread Scott Long
Author: scottl Date: Fri Dec 6 02:43:05 2019 New Revision: 355436 URL: https://svnweb.freebsd.org/changeset/base/355436 Log: Move the mds, irbs, and ssb mitigation knobs into machdep.mitigations. They're in both the old and new places in HEAD for the moment for discussion and transition. T

svn commit: r355435 - head/sys/fs/nfs

2019-12-05 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 6 01:53:02 2019 New Revision: 355435 URL: https://svnweb.freebsd.org/changeset/base/355435 Log: Add some definitions for NFSv4.2 which will be used by subsequent commits. This is a preliminary commit of NFSv4.2 definitions that will be used by subsequent co

svn commit: r355434 - stable/12/sys/conf

2019-12-05 Thread Alan Somers
Author: asomers Date: Fri Dec 6 00:29:16 2019 New Revision: 355434 URL: https://svnweb.freebsd.org/changeset/base/355434 Log: MFC r354779: Actually hook CAM_IO_STATS up to the build It's still disabled by default, but now it can be enabled with config(5) and it will be build in LINT

svn commit: r355433 - stable/12/share/man/man4

2019-12-05 Thread Alan Somers
Author: asomers Date: Fri Dec 6 00:27:16 2019 New Revision: 355433 URL: https://svnweb.freebsd.org/changeset/base/355433 Log: MFC r354812: Update the ses(4) man page This driver was largely rewritten in 2015 (svn r235911) but the man page was never updated to match. Reviewed by

svn commit: r355432 - stable/12/usr.sbin/sesutil

2019-12-05 Thread Alan Somers
Author: asomers Date: Fri Dec 6 00:24:31 2019 New Revision: 355432 URL: https://svnweb.freebsd.org/changeset/base/355432 Log: MFC r354664-r354666 r354664: sesutil: fix an out-of-bounds array access sesutil would allow the user to toggle an LED that was one past the maximum element

svn commit: r355431 - in head: etc/mtree sys/geom sys/geom/multipath tests/sys/geom/class tests/sys/geom/class/multipath

2019-12-05 Thread Alan Somers
Author: asomers Date: Fri Dec 6 00:12:14 2019 New Revision: 355431 URL: https://svnweb.freebsd.org/changeset/base/355431 Log: gmultipath: add ATF tests Add ATF tests for most gmultipath operations. Add some dtrace probes too, primarily for configuration changes that happen in response to

svn commit: r355430 - head/sys/cam/scsi

2019-12-05 Thread Alan Somers
Author: asomers Date: Fri Dec 6 00:06:05 2019 New Revision: 355430 URL: https://svnweb.freebsd.org/changeset/base/355430 Log: ses: sanitize illegal strings in SES element descriptors The SES4r3 standard requires that element descriptors may only contain ASCII characters in the range 0x20

svn commit: r355429 - head/sys/dev/sound/pci/hda

2019-12-05 Thread Scott Long
Author: scottl Date: Thu Dec 5 19:39:51 2019 New Revision: 355429 URL: https://svnweb.freebsd.org/changeset/base/355429 Log: Add support for new sound HDA hardware Sponsored by: Intel Modified: head/sys/dev/sound/pci/hda/hdac.c head/sys/dev/sound/pci/hda/hdac.h head/sys/dev/sound/pc

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-05 Thread Rodney W. Grimes
> On Thu, 2019-12-05 at 11:21 -0800, Rodney W. Grimes wrote: > > > On 12/4/19 9:35 PM, Rodney W. Grimes wrote: > > > > > I see, thanks for the pointers. > > > > > It looks like cfmakeraw() and tcsetattr() were what I was > > > > > looking for. > > > > > A bhyve-specific printf wrapper looks the rig

svn commit: r355428 - in head: share/mk sys/conf

2019-12-05 Thread John Baldwin
Author: jhb Date: Thu Dec 5 19:37:30 2019 New Revision: 355428 URL: https://svnweb.freebsd.org/changeset/base/355428 Log: Add a new "riscv-relaxations" linker feature. When the linker doesn't have this feature, add -mno-relax to CFLAGS on RISC-V. Define the feature for ld.bfd, but n

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-05 Thread Ian Lepore
On Thu, 2019-12-05 at 11:21 -0800, Rodney W. Grimes wrote: > > On 12/4/19 9:35 PM, Rodney W. Grimes wrote: > > > > I see, thanks for the pointers. > > > > It looks like cfmakeraw() and tcsetattr() were what I was > > > > looking for. > > > > A bhyve-specific printf wrapper looks the right solution

svn commit: r355427 - head/sys/arm64/arm64

2019-12-05 Thread Alan Cox
Author: alc Date: Thu Dec 5 19:25:49 2019 New Revision: 355427 URL: https://svnweb.freebsd.org/changeset/base/355427 Log: On a context switch, handle the possibility that the old thread was preempted after an "ic" or "tlbi" instruction but before it performed a "dsb" instruction. The "ic"

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-05 Thread Rodney W. Grimes
> On 12/4/19 9:35 PM, Rodney W. Grimes wrote: > >> I see, thanks for the pointers. > >> It looks like cfmakeraw() and tcsetattr() were what I was looking for. > >> A bhyve-specific printf wrapper looks the right solution to me. > >> I can try to sketch a patch for you guys to review, if that's usef

svn commit: r355426 - in head/sys: dev/ahci dev/ata dev/mvs dev/siis net/altq powerpc/mpc85xx

2019-12-05 Thread John Baldwin
Author: jhb Date: Thu Dec 5 18:47:29 2019 New Revision: 355426 URL: https://svnweb.freebsd.org/changeset/base/355426 Log: Use a void * argument to callout handlers instead of timeout_t casts. Reviewed by: kib Differential Revision:https://reviews.freebsd.org/D22684 Modified:

Re: svn commit: r355407 - head/sys/fs/tmpfs

2019-12-05 Thread Ian Lepore
On Thu, 2019-12-05 at 10:05 -0800, Enji Cooper wrote: > > On Dec 5, 2019, at 05:36, Konstantin Belousov > > wrote: > > ... > > > > Could you elaborate on the why/rationale? > > > > > > Is there memory wastage/duplication, bug(s), performance or > > > development/maintenance benefit? > > > > E

Re: svn commit: r355407 - head/sys/fs/tmpfs

2019-12-05 Thread Enji Cooper
> On Dec 5, 2019, at 05:36, Konstantin Belousov wrote: ... >> Could you elaborate on the why/rationale? >> >> Is there memory wastage/duplication, bug(s), performance or >> development/maintenance benefit? > Each mount/unmount of tmpfs created and destroyed two zones, as it is > easy to see f

svn commit: r355425 - head/sys/netinet6

2019-12-05 Thread Kristof Provost
Author: kp Date: Thu Dec 5 16:50:54 2019 New Revision: 355425 URL: https://svnweb.freebsd.org/changeset/base/355425 Log: Remove useless NULL check Coverity points out that we've already dereferenced m by the time we check, so there's no reason to keep the check. Moreover, it's safe to pa

Re: svn commit: r354754 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-12-05 Thread John Baldwin
On 12/5/19 5:28 AM, Mateusz Guzik wrote: > On 11/16/19, John Baldwin wrote: >> Author: jhb >> Date: Fri Nov 15 23:01:43 2019 >> New Revision: 354754 >> URL: https://svnweb.freebsd.org/changeset/base/354754 >> >> Log: >> Use a sv_copyout_auxargs hook in the Linux ELF ABIs. >> > > This makes Linu

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-05 Thread John Baldwin
On 12/4/19 9:35 PM, Rodney W. Grimes wrote: >> I see, thanks for the pointers. >> It looks like cfmakeraw() and tcsetattr() were what I was looking for. >> A bhyve-specific printf wrapper looks the right solution to me. >> I can try to sketch a patch for you guys to review, if that's useful. >> >>

svn commit: r355424 - in head/release: arm arm64

2019-12-05 Thread Kyle Evans
Author: kevans Date: Thu Dec 5 16:17:56 2019 New Revision: 355424 URL: https://svnweb.freebsd.org/changeset/base/355424 Log: release: chase ports r519089 (rpi-firmware update) The recent rpi-firmware update renamed "0" to "zero" in the RPi0 DTB filename It also included the componen

Re: svn commit: r355423 - head

2019-12-05 Thread Kyle Evans
5 15:32:33 2019(r355423) > @@ -26,6 +26,16 @@ 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".) > > +20191205: > + The ro

svn commit: r355423 - head

2019-12-05 Thread Kyle Evans
ality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20191205: + The root certificates of the Mozilla CA Certificate Store have been + imported into the base system and can be managed with the certctl(8) + utility. If you have installed the

svn commit: r355422 - in head/sys/dev/mlx5: . mlx5_core mlx5_en

2019-12-05 Thread Konstantin Belousov
Author: kib Date: Thu Dec 5 15:21:13 2019 New Revision: 355422 URL: https://svnweb.freebsd.org/changeset/base/355422 Log: mlx5: Do not poke hardware for statistic after teardown is started. Sponsored by: Mellanox Technologies MFC after:1 week Modified: head/sys/dev/mlx5/driver.h

svn commit: r355421 - in head/sys: conf dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5

2019-12-05 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 5 15:16:19 2019 New Revision: 355421 URL: https://svnweb.freebsd.org/changeset/base/355421 Log: Add basic support for TCP/IP based hardware TLS offload to mlx5core. The hardware offload is primarily targeted for TLS v1.2 and v1.3, using AES 128/256 bit pre-

svn commit: r355420 - in head/sys/geom: . mirror part

2019-12-05 Thread Alexander Motin
Author: mav Date: Thu Dec 5 15:07:32 2019 New Revision: 355420 URL: https://svnweb.freebsd.org/changeset/base/355420 Log: Remove duplicate g_debugflags declaration. While there, define G_F_FOOTSHOOTING instead of numeric constants. MFC after:13 days X-MFX-with: r355412 Modifi

svn commit: r355419 - stable/10/sys/kern

2019-12-05 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 5 14:53:46 2019 New Revision: 355419 URL: https://svnweb.freebsd.org/changeset/base/355419 Log: MFC r355108 and r355170: Fix panic when loading kernel modules before root file system is mounted. Make sure the rootvnode is always NULL checked. Differential

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

2019-12-05 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 5 14:52:06 2019 New Revision: 355418 URL: https://svnweb.freebsd.org/changeset/base/355418 Log: MFC r355108 and r355170: Fix panic when loading kernel modules before root file system is mounted. Make sure the rootvnode is always NULL checked. Differential

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

2019-12-05 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 5 14:50:46 2019 New Revision: 355417 URL: https://svnweb.freebsd.org/changeset/base/355417 Log: MFC r355108 and r355170: Fix panic when loading kernel modules before root file system is mounted. Make sure the rootvnode is always NULL checked. Differential

svn commit: r355416 - head/sys/kern

2019-12-05 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 5 13:43:44 2019 New Revision: 355416 URL: https://svnweb.freebsd.org/changeset/base/355416 Log: sx: check for SX_LOCK_SHARED | SX_LOCK_WRITE_SPINNER when exclusive-locking First, this removes a spurious difference compared to rw locks. More importantly though th

svn commit: r355415 - head/sys/fs/nullfs

2019-12-05 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 5 13:41:22 2019 New Revision: 355415 URL: https://svnweb.freebsd.org/changeset/base/355415 Log: nullfs: locklessly check for entries in null_hashget During random sampling over poudriere -j 104 over 10% of calls returned NULL. Modified: head/sys/fs/nullfs/null_

svn commit: r355414 - head/sys/kern

2019-12-05 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 5 13:40:10 2019 New Revision: 355414 URL: https://svnweb.freebsd.org/changeset/base/355414 Log: vfs: remove 'active' variable from _vdrop No functional changes. Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c =

Re: svn commit: r355407 - head/sys/fs/tmpfs

2019-12-05 Thread Konstantin Belousov
On Thu, Dec 05, 2019 at 02:38:07PM +1100, Kubilay Kocak wrote: > On 5/12/2019 11:03 am, Konstantin Belousov wrote: > > Author: kib > > Date: Thu Dec 5 00:03:17 2019 > > New Revision: 355407 > > URL: https://svnweb.freebsd.org/changeset/base/355407 > > Could you elaborate on the why/rationale? >

Re: svn commit: r354754 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-12-05 Thread Mateusz Guzik
On 11/16/19, John Baldwin wrote: > Author: jhb > Date: Fri Nov 15 23:01:43 2019 > New Revision: 354754 > URL: https://svnweb.freebsd.org/changeset/base/354754 > > Log: > Use a sv_copyout_auxargs hook in the Linux ELF ABIs. > This makes Linux binaries instantly segfault for me on amd64. You che

svn commit: r355413 - in head: contrib/elftoolchain contrib/elftoolchain/addr2line contrib/elftoolchain/common contrib/elftoolchain/elfcopy contrib/elftoolchain/elfdump contrib/elftoolchain/libdwar...

2019-12-05 Thread Ed Maste
Author: emaste Date: Thu Dec 5 13:20:15 2019 New Revision: 355413 URL: https://svnweb.freebsd.org/changeset/base/355413 Log: Update ELF Tool Chain to upstream r3769 This contains many small bugfixes and documentation improvements. Sponsored by: The FreeBSD Foundation Added: head/co