svn commit: r348382 - stable/12/lib/libcrypt

2019-05-29 Thread Xin LI
Author: delphij Date: Thu May 30 04:09:45 2019 New Revision: 348382 URL: https://svnweb.freebsd.org/changeset/base/348382 Log: MFC r348302: Chase r261913: hardcoded default crypt(3) algorithm is SHA-512 when DES is not available. Submitted by: Ali Mashtizadeh Modified:

svn commit: r348381 - head/stand/libsa/zfs

2019-05-29 Thread Xin LI
Author: delphij Date: Thu May 30 02:23:57 2019 New Revision: 348381 URL: https://svnweb.freebsd.org/changeset/base/348381 Log: Unexpand be32dec(). MFC after:2 weeks Modified: head/stand/libsa/zfs/zfsimpl.c Modified: head/stand/libsa/zfs/zfsimpl.c

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

2019-05-29 Thread Jayachandran C.
Author: jchandra Date: Thu May 30 01:39:07 2019 New Revision: 348380 URL: https://svnweb.freebsd.org/changeset/base/348380 Log: arm64 gicv3_its: Fix a typo Fix 'Cavium' spelling in errata description. Reviewed by: andrew Differential Revision:

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

2019-05-29 Thread Jayachandran C.
Author: jchandra Date: Thu May 30 01:32:00 2019 New Revision: 348379 URL: https://svnweb.freebsd.org/changeset/base/348379 Log: gicv3_its: do LPI init only once per CPU The initialization required for LPIs (setting up pending tables etc.) has to be done just once per CPU, even in the

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

2019-05-29 Thread Jayachandran C.
Author: jchandra Date: Thu May 30 01:24:47 2019 New Revision: 348378 URL: https://svnweb.freebsd.org/changeset/base/348378 Log: gicv3_its: refactor LPI init into a new function Move the per-cpu LPI intialization to a separate function. This is in preparation for a commit that does LPI

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

2019-05-29 Thread Jayachandran C.
Author: jchandra Date: Thu May 30 01:21:08 2019 New Revision: 348377 URL: https://svnweb.freebsd.org/changeset/base/348377 Log: gic_v3: consolidate per-cpu redistributor information Update 'struct gic_redists' to consolidate all per-cpu redistributor information into a new 'struct

svn commit: r348376 - head/sys/sys

2019-05-29 Thread Ravi Pokala
Author: rpokala Date: Wed May 29 23:50:31 2019 New Revision: 348376 URL: https://svnweb.freebsd.org/changeset/base/348376 Log: Add bits related to SANITIZE, SED, and form-factor to (struct ata_params) Based on ATA-ACS-4, recognize several bit-fields related to the ATA SANITIZE

svn commit: r348375 - stable/11/usr.sbin/bhyve

2019-05-29 Thread John Baldwin
Author: jhb Date: Wed May 29 23:11:07 2019 New Revision: 348375 URL: https://svnweb.freebsd.org/changeset/base/348375 Log: MFC 347033: Increase the VirtIO segment count to support modern Windows guests. The Windows virtio driver ignores the advertized seg_max field and assumes the host

svn commit: r348374 - stable/12/usr.sbin/bhyve

2019-05-29 Thread John Baldwin
Author: jhb Date: Wed May 29 23:05:26 2019 New Revision: 348374 URL: https://svnweb.freebsd.org/changeset/base/348374 Log: MFC 347033: Increase the VirtIO segment count to support modern Windows guests. The Windows virtio driver ignores the advertized seg_max field and assumes the host

svn commit: r348373 - head/sys/vm

2019-05-29 Thread Gleb Smirnoff
Author: glebius Date: Wed May 29 22:33:37 2019 New Revision: 348373 URL: https://svnweb.freebsd.org/changeset/base/348373 Log: In r343857 the referred comment moved to uma_vm_zone_stats(). Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c

svn commit: r348372 - head/sys/net

2019-05-29 Thread Eric Joyner
Author: erj Date: Wed May 29 22:24:10 2019 New Revision: 348372 URL: https://svnweb.freebsd.org/changeset/base/348372 Log: iflib: provide probe wrapper for vendor drivers From Jake: Vendor drivers that exist out-of-tree generally should return BUS_PROBE_VENDOR from their device probe

Re: svn commit: r348303 - head/sys/net

2019-05-29 Thread Gleb Smirnoff
On Wed, May 29, 2019 at 08:56:23PM +0300, Andrey V. Elsukov wrote: A> On 29.05.2019 06:12, Gleb Smirnoff wrote: A> > A> bpf_mtap() is not the only consumer of bd_bif, some of them expect it A> > A> becomes NULL when descriptor is detached. A> > A> > May be then make a flag attached/detached? A>

Re: svn commit: r348355 - head/sys/dev/iicbus

2019-05-29 Thread Ian Lepore
On Wed, 2019-05-29 at 15:12 +0300, Andriy Gapon wrote: > On 29/05/2019 14:54, Niclas Zeising wrote: > > On 2019-05-29 11:08, Andriy Gapon wrote: > > > Author: avg > > > Date: Wed May 29 09:08:20 2019 > > > New Revision: 348355 > > > URL: https://svnweb.freebsd.org/changeset/base/348355 > > > > >

svn commit: r348371 - stable/11/usr.sbin/bhyve

2019-05-29 Thread John Baldwin
Author: jhb Date: Wed May 29 20:45:31 2019 New Revision: 348371 URL: https://svnweb.freebsd.org/changeset/base/348371 Log: MFC 345158: Fix uart emulation bug THRE is always asserted in LSR reads, so REG_IER writes that raise IER_ETXRDY must also set thre_int_pending. Approved by:

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

2019-05-29 Thread Allan Jude
Author: allanjude Date: Wed May 29 20:34:35 2019 New Revision: 348370 URL: https://svnweb.freebsd.org/changeset/base/348370 Log: Fix assertion in ZFS TRIM code Due to an attempt to check two conditions at once in a macro not designed as such, the assertion would always evaluate to true.

svn commit: r348369 - stable/11/contrib/wpa/wpa_supplicant

2019-05-29 Thread Cy Schubert
Author: cy Date: Wed May 29 19:11:09 2019 New Revision: 348369 URL: https://svnweb.freebsd.org/changeset/base/348369 Log: MFC r347642: The driver list prints "(null)" for the NDIS driver when -h (help) or an unknown switch is passed outputting the command usage. This is because the

svn commit: r348368 - stable/11/contrib/llvm/lib/CodeGen/SelectionDAG

2019-05-29 Thread Dimitry Andric
Author: dim Date: Wed May 29 18:32:43 2019 New Revision: 348368 URL: https://svnweb.freebsd.org/changeset/base/348368 Log: MFC r348288: Pull in r361696 from upstream llvm trunk (by Sanjay Patel): [SelectionDAG] soften assertion when legalizing narrow vector FP ops The test

svn commit: r348367 - stable/12/contrib/llvm/lib/CodeGen/SelectionDAG

2019-05-29 Thread Dimitry Andric
Author: dim Date: Wed May 29 18:23:18 2019 New Revision: 348367 URL: https://svnweb.freebsd.org/changeset/base/348367 Log: MFC r348288: Pull in r361696 from upstream llvm trunk (by Sanjay Patel): [SelectionDAG] soften assertion when legalizing narrow vector FP ops The test

svn commit: r348366 - head/sys/dev/ips

2019-05-29 Thread Li-Wen Hsu
Author: lwhsu Date: Wed May 29 18:11:17 2019 New Revision: 348366 URL: https://svnweb.freebsd.org/changeset/base/348366 Log: Add the likely missing braces in ips(4). This is found by gcc warning that the code is not guarded by the if clause and has misleading indentation. Approved by:

Re: svn commit: r348303 - head/sys/net

2019-05-29 Thread Andrey V. Elsukov
On 29.05.2019 06:12, Gleb Smirnoff wrote: > A> bpf_mtap() is not the only consumer of bd_bif, some of them expect it > A> becomes NULL when descriptor is detached. > > May be then make a flag attached/detached? Do you have benchmark results that show some benefits in performance? :) I prefer to

Re: svn commit: r348338 - head/sys/fs/pseudofs

2019-05-29 Thread John Baldwin
On 5/28/19 1:54 PM, Johannes Lundberg wrote: > Author: johalun > Date: Tue May 28 20:54:59 2019 > New Revision: 348338 > URL: https://svnweb.freebsd.org/changeset/base/348338 > > Log: > pseudofs: Ignore unsupported commands in vop_setattr. > > Users of pseudofs (e.g. lindebugfs), should be

svn commit: r348364 - head/sys/dev/xdma

2019-05-29 Thread Ruslan Bukin
Author: br Date: Wed May 29 16:01:34 2019 New Revision: 348364 URL: https://svnweb.freebsd.org/changeset/base/348364 Log: Don't copy the data from bounce buffer back to the mbuf if channel does not use bounce buffering. Sponsored by: DARPA, AFRL Modified: head/sys/dev/xdma/xdma_sg.c

svn commit: r348363 - head/sys/dev/pci

2019-05-29 Thread Ruslan Bukin
Author: br Date: Wed May 29 15:53:33 2019 New Revision: 348363 URL: https://svnweb.freebsd.org/changeset/base/348363 Log: Pass pci_base address instead of physical address to rman_manage_region(). This should had been part of r347930 ("pci: ecam: Correctly parse memory and IO region").

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

2019-05-29 Thread Konstantin Belousov
Author: kib Date: Wed May 29 14:28:13 2019 New Revision: 348362 URL: https://svnweb.freebsd.org/changeset/base/348362 Log: MFC r348075: Do not call hw_mds_recalculate() from initializecpu(). Approved by: re (gjb) Modified: stable/11/sys/amd64/amd64/initcpu.c

svn commit: r348361 - head/usr.bin/posixshmcontrol

2019-05-29 Thread Konstantin Belousov
Author: kib Date: Wed May 29 14:26:35 2019 New Revision: 348361 URL: https://svnweb.freebsd.org/changeset/base/348361 Log: Remove "All rights reserved." from FF copyright. Requested by: rgrimes Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r348360 - head/sys/kern

2019-05-29 Thread Konstantin Belousov
Author: kib Date: Wed May 29 14:05:27 2019 New Revision: 348360 URL: https://svnweb.freebsd.org/changeset/base/348360 Log: Do not go into sleep in sleepq_catch_signals() when SIGSTOP from PT_ATTACH was consumed. In particular, do not clear TDP_FSTP in ptracestop() if td_wchan is

Re: svn commit: r348359 - head/usr.bin/posixshmcontrol

2019-05-29 Thread Rodney W. Grimes
> Author: kib > Date: Wed May 29 13:51:18 2019 > New Revision: 348359 > URL: https://svnweb.freebsd.org/changeset/base/348359 > > Log: > Add posixshmcontrol(1) page. > > Reviewed by:emaste > With input by: danfe > Sponsored by: The FreeBSD Foundation (kib) > MFC

svn commit: r348359 - head/usr.bin/posixshmcontrol

2019-05-29 Thread Konstantin Belousov
Author: kib Date: Wed May 29 13:51:18 2019 New Revision: 348359 URL: https://svnweb.freebsd.org/changeset/base/348359 Log: Add posixshmcontrol(1) page. Reviewed by: emaste With input by:danfe Sponsored by: The FreeBSD Foundation (kib) MFC after:1 week Differential

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

2019-05-29 Thread Konstantin Belousov
Author: kib Date: Wed May 29 13:47:10 2019 New Revision: 348358 URL: https://svnweb.freebsd.org/changeset/base/348358 Log: MFC r348052: NDFREE(): Fix unlocking for LOCKPARENT|LOCKLEAF and ndp->ni_dvp == ndp->ni_vp. Modified: stable/12/sys/kern/vfs_lookup.c Directory Properties:

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

2019-05-29 Thread Konstantin Belousov
Author: kib Date: Wed May 29 13:33:29 2019 New Revision: 348357 URL: https://svnweb.freebsd.org/changeset/base/348357 Log: MFC r348075: Do not call hw_mds_recalculate() from initializecpu(). Modified: stable/12/sys/amd64/amd64/initcpu.c stable/12/sys/i386/i386/initcpu.c

svn commit: r348356 - stable/12/sys/cam/scsi

2019-05-29 Thread Alexander Motin
Author: mav Date: Wed May 29 13:17:58 2019 New Revision: 348356 URL: https://svnweb.freebsd.org/changeset/base/348356 Log: MFC r348111: Simplify math added in r310524. Should be no functional change. Modified: stable/12/sys/cam/scsi/scsi_all.c Directory Properties: stable/12/ (props

Re: svn commit: r348355 - head/sys/dev/iicbus

2019-05-29 Thread Andriy Gapon
On 29/05/2019 14:54, Niclas Zeising wrote: > On 2019-05-29 11:08, Andriy Gapon wrote: >> Author: avg >> Date: Wed May 29 09:08:20 2019 >> New Revision: 348355 >> URL: https://svnweb.freebsd.org/changeset/base/348355 >> >> Log: >>    revert r273728 and parts of r306589, iicbus no-stop by default

Re: svn commit: r348355 - head/sys/dev/iicbus

2019-05-29 Thread Niclas Zeising
On 2019-05-29 11:08, Andriy Gapon wrote: Author: avg Date: Wed May 29 09:08:20 2019 New Revision: 348355 URL: https://svnweb.freebsd.org/changeset/base/348355 Log: revert r273728 and parts of r306589, iicbus no-stop by default feature Since drm2 removal, there has not been any

svn commit: r348355 - head/sys/dev/iicbus

2019-05-29 Thread Andriy Gapon
Author: avg Date: Wed May 29 09:08:20 2019 New Revision: 348355 URL: https://svnweb.freebsd.org/changeset/base/348355 Log: revert r273728 and parts of r306589, iicbus no-stop by default feature Since drm2 removal, there has not been any consumer of the feature in the tree. I am also

svn commit: r348354 - head/stand/libsa/zfs

2019-05-29 Thread Toomas Soome
Author: tsoome Date: Wed May 29 07:33:51 2019 New Revision: 348354 URL: https://svnweb.freebsd.org/changeset/base/348354 Log: loader: malloc+memset is calloc in spa_create Replace malloc + memset pair with calloc. Modified: head/stand/libsa/zfs/zfsimpl.c Modified:

svn commit: r348353 - head/stand/efi/boot1

2019-05-29 Thread Toomas Soome
Author: tsoome Date: Wed May 29 07:32:43 2019 New Revision: 348353 URL: https://svnweb.freebsd.org/changeset/base/348353 Log: boot1.efi should also provide Calloc boot1.efi does provide Malloc and Free, we also need Calloc. Modified: head/stand/efi/boot1/boot1.c Modified:

svn commit: r348352 - head/stand/libsa/zfs

2019-05-29 Thread Toomas Soome
Author: tsoome Date: Wed May 29 07:24:10 2019 New Revision: 348352 URL: https://svnweb.freebsd.org/changeset/base/348352 Log: loader: zfs_alloc and zfs_free should use panic The zfs alloc and free code print out the error and get stuck in infinite loop; use panic() instead. Modified: