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

2019-07-27 Thread Alan Somers
Author: asomers Date: Sun Jul 28 00:48:28 2019 New Revision: 350386 URL: https://svnweb.freebsd.org/changeset/base/350386 Log: Add v_inval_buf_range, like vtruncbuf but for a range of a file v_inval_buf_range invalidates all buffers within a certain LBA range of a file. It will be used by

svn commit: r350385 - stable/11/sys/fs/ext2fs

2019-07-27 Thread Fedor Uporov
Author: fsu Date: Sat Jul 27 19:29:28 2019 New Revision: 350385 URL: https://svnweb.freebsd.org/changeset/base/350385 Log: MFC r349800,r349801,r349802: Fix misc fs fuzzing issues. Reported by:Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraunhofer FKIE Reported

svn commit: r350384 - stable/12/sys/fs/ext2fs

2019-07-27 Thread Fedor Uporov
Author: fsu Date: Sat Jul 27 19:29:23 2019 New Revision: 350384 URL: https://svnweb.freebsd.org/changeset/base/350384 Log: MFC r349800,r349801: Fix misc fs fuzzing issues. Reported by:Christopher Krah, Thomas Barabosch, and Jan-Niclas Hilgert of Fraunhofer FKIE Reported as:F

svn commit: r350383 - head/sys/cam/ctl

2019-07-27 Thread Alexander Motin
Author: mav Date: Sat Jul 27 18:07:46 2019 New Revision: 350383 URL: https://svnweb.freebsd.org/changeset/base/350383 Log: Reenable UNMAP support on ramdisks by default. For some reason, I guess just mechanical editing, it was disable in r333446. MFC after:2 weeks Modified: head

svn commit: r350382 - in stable/12: sys/net usr.sbin/bhyve

2019-07-27 Thread Chuck Tuffli
Author: chuck Date: Sat Jul 27 17:59:30 2019 New Revision: 350382 URL: https://svnweb.freebsd.org/changeset/base/350382 Log: MFC r349969 bhyve: Create EUI64 for NVMe namespaces Accept an IEEE Extended Unique Identifier (EUI-64) from the command line for each NVMe namespace. If one is

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

2019-07-27 Thread Chuck Tuffli
Author: chuck Date: Sat Jul 27 17:52:45 2019 New Revision: 350381 URL: https://svnweb.freebsd.org/changeset/base/350381 Log: MFC r348781 bhyve: Add PCIe Integrated Endpoint capability Approved by: imp (mentor) Modified: stable/12/usr.sbin/bhyve/pci_emul.c stable/12/usr.sbin/bhyve

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

2019-07-27 Thread Chuck Tuffli
Author: chuck Date: Sat Jul 27 17:48:35 2019 New Revision: 350380 URL: https://svnweb.freebsd.org/changeset/base/350380 Log: MFC r345956 bhyve: Fix NVMe BAR size calculation The NVMe specification defines bits 13:4 of BAR0 as Reserved (i.e. 0x0). Most drivers do not enforce this, but

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

2019-07-27 Thread Chuck Tuffli
Author: chuck Date: Sat Jul 27 17:43:59 2019 New Revision: 350379 URL: https://svnweb.freebsd.org/changeset/base/350379 Log: MFC r345957 bhyve: Fix NVMe data structure copy to guest bhyve's NVMe emulation was transferring Identify data back to the guest incorrectly causing memory cor

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

2019-07-27 Thread Alexander Motin
Author: mav Date: Sat Jul 27 17:27:26 2019 New Revision: 350378 URL: https://svnweb.freebsd.org/changeset/base/350378 Log: Allow WRITE SAME handle more then 2^^32 blocks. If not limited by write_same_max_lba option, split operation into several 2^^31 blocks chunks in a loop. For large di

svn commit: r350377 - in head/sys: arm/arm arm/conf arm/mv/discovery arm/mv/orion arm/ralink conf

2019-07-27 Thread Warner Losh
Author: imp Date: Sat Jul 27 17:24:19 2019 New Revision: 350377 URL: https://svnweb.freebsd.org/changeset/base/350377 Log: Remove support for kernel.tramp and kernel.tramp.gz Nothing uses these anymore. They were for super small armv4 boards without uboot. We removed armv4 support before

svn commit: r350376 - stable/12/sys/vm

2019-07-27 Thread Mark Johnston
Author: markj Date: Sat Jul 27 16:34:07 2019 New Revision: 350376 URL: https://svnweb.freebsd.org/changeset/base/350376 Log: MFC r350182: Rename vm_page_{import,release}() to vm_page_zone_{import,release}(). Modified: stable/12/sys/vm/vm_page.c Directory Properties: stable/12/ (props ch

svn commit: r350374 - stable/12/sys/vm

2019-07-27 Thread Mark Johnston
Author: markj Date: Sat Jul 27 16:33:11 2019 New Revision: 350374 URL: https://svnweb.freebsd.org/changeset/base/350374 Log: MFC r349840: Add a per-CPU page cache per VM free pool. Modified: stable/12/sys/vm/vm_page.c stable/12/sys/vm/vm_page.h stable/12/sys/vm/vm_pagequeue.h Directory

svn commit: r350375 - stable/12/sys/vm

2019-07-27 Thread Mark Johnston
Author: markj Date: Sat Jul 27 16:33:34 2019 New Revision: 350375 URL: https://svnweb.freebsd.org/changeset/base/350375 Log: MFC r349841: Elide the vm_reserv_free_page() call when PG_PCPU_CACHE is set. Modified: stable/12/sys/vm/vm_page.c Directory Properties: stable/12/ (props changed)

svn commit: r350373 - in stable/12/sys: kern sys

2019-07-27 Thread Mark Johnston
Author: markj Date: Sat Jul 27 16:11:04 2019 New Revision: 350373 URL: https://svnweb.freebsd.org/changeset/base/350373 Log: MFC r350310: Fix the turnstile_lock() KPI. Modified: stable/12/sys/kern/subr_epoch.c stable/12/sys/kern/subr_turnstile.c stable/12/sys/sys/turnstile.h Directory P

svn commit: r350372 - head/sys/arm/conf

2019-07-27 Thread Emmanuel Vadot
Author: manu Date: Sat Jul 27 15:04:10 2019 New Revision: 350372 URL: https://svnweb.freebsd.org/changeset/base/350372 Log: arm: Fix TEGRA124 kernel Since r350162 device syscon is needed for sdhci driver. Add it to the config file. Reported by: dim Modified: head/sys/arm/conf/TEG

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

2019-07-27 Thread Konstantin Belousov
On Sat, Jul 27, 2019 at 01:35:06AM +, Rick Macklem wrote: > Konstantin Belousov wrote: > >On Thu, Jul 25, 2019 at 05:46:17AM +, Rick Macklem wrote: > >> Author: rmacklem > >> Date: Thu Jul 25 05:46:16 2019 > >> New Revision: 350315 > >> URL: https://svnweb.freebsd.org/changeset/base/350315

svn commit: r350370 - head/sys/dev/sfxge/common

2019-07-27 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jul 27 09:36:36 2019 New Revision: 350370 URL: https://svnweb.freebsd.org/changeset/base/350370 Log: sfxge(4): fix align to power of 2 when align has smaller type Substitute driver-defined P2ALIGN() with EFX_P2ALIGN() defined in libefx. Cast value and align

svn commit: r350371 - head/sys/dev/sfxge/common

2019-07-27 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jul 27 09:36:45 2019 New Revision: 350371 URL: https://svnweb.freebsd.org/changeset/base/350371 Log: sfxge(4): unify power of 2 alignment check macro Substitute driver-defined IS_P2ALIGNED() with EFX_IS_P2ALIGNED() defined in libefx. Add type argument and c

svn commit: r350369 - in head/sys/dev/sfxge: . common

2019-07-27 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jul 27 09:36:27 2019 New Revision: 350369 URL: https://svnweb.freebsd.org/changeset/base/350369 Log: sfxge(4): fix power of 2 round up when align has smaller type Substitute driver-defined P2ROUNDUP() h with EFX_P2ROUNDUP() defined in libefx. Cast value and