svn commit: r351205 - head/sbin/fsck_msdosfs

2019-08-18 Thread Xin LI
Author: delphij Date: Mon Aug 19 05:24:42 2019 New Revision: 351205 URL: https://svnweb.freebsd.org/changeset/base/351205 Log: Use calloc(). MFC after:2 weeks Modified: head/sbin/fsck_msdosfs/fat.c Modified: head/sbin/fsck_msdosfs/fat.c ==

Re: svn commit: r351193 - head/sys/kern

2019-08-18 Thread Mateusz Guzik
Sorry, cannot test right now. Does this fix it for you? diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 6a1547854c9d..0cde451e5890 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -466,18 +466,12 @@ kern_getfsstat(struct thread *td, struct statfs **buf, si

svn commit: r351204 - head/sbin/fsck_msdosfs

2019-08-18 Thread Xin LI
Author: delphij Date: Mon Aug 19 04:28:12 2019 New Revision: 351204 URL: https://svnweb.freebsd.org/changeset/base/351204 Log: Remove redundant check and wrong fix: fat.c checks already take care about cluster chains. Obtained from:OpenBSD MFC after:2 weeks Modified: head

Re: svn commit: r351193 - head/sys/kern

2019-08-18 Thread Cy Schubert
In message <201908181840.x7iiecal055...@repo.freebsd.org>, Mateusz Guzik writes : > Author: mjg > Date: Sun Aug 18 18:40:12 2019 > New Revision: 351193 > URL: https://svnweb.freebsd.org/changeset/base/351193 > > Log: > vfs: stop always overwriting ->mnt_stat in VFS_STATFS > > The struct is

svn commit: r351203 - head/usr.sbin/periodic

2019-08-18 Thread Alan Somers
Author: asomers Date: Mon Aug 19 01:14:11 2019 New Revision: 351203 URL: https://svnweb.freebsd.org/changeset/base/351203 Log: periodic: replace "tty" with "test -t 0" Apparently using tty for this purpose has been deprecated since 4.4 Lite. Reviewed by: cy MFC after:1 month D

svn commit: r351202 - head

2019-08-18 Thread Rick Macklem
Author: rmacklem Date: Mon Aug 19 00:46:31 2019 New Revision: 351202 URL: https://svnweb.freebsd.org/changeset/base/351202 Log: Add an entry to RELNOTES for r351201. Modified: head/RELNOTES Modified: head/RELNOTES ==

svn commit: r351201 - head/sys/kern

2019-08-18 Thread Rick Macklem
Author: rmacklem Date: Mon Aug 19 00:29:05 2019 New Revision: 351201 URL: https://svnweb.freebsd.org/changeset/base/351201 Log: Add a vop_stdioctl() that performs a trivial FIOSEEKDATA/FIOSEEKHOLE. Without this patch, when an application performed lseek(SEEK_DATA/SEEK_HOLE) on a file in a

svn commit: r351200 - in head/sys: amd64/amd64 dev/acpica

2019-08-18 Thread Jeff Roberson
Author: jeff Date: Sun Aug 18 23:44:23 2019 New Revision: 351200 URL: https://svnweb.freebsd.org/changeset/base/351200 Log: Allocate all per-cpu datastructures in domain correct memory. Reviewed by: kib, gallatin (some objections) Tested by:pho Sponsored by: Netflix Differential

svn commit: r351199 - head/usr.sbin/bluetooth/iwmbtfw

2019-08-18 Thread Vladimir Kondratyev
Author: wulf Date: Sun Aug 18 23:10:07 2019 New Revision: 351199 URL: https://svnweb.freebsd.org/changeset/base/351199 Log: iwmbtfw(8): Fix compilation on platforms using gcc. X-MFC with: r351197 Modified: head/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c Modified: head/usr.sbin/bluetooth/iw

svn commit: r351198 - in head/sys: amd64/amd64 amd64/include vm

2019-08-18 Thread Jeff Roberson
Author: jeff Date: Sun Aug 18 23:07:56 2019 New Revision: 351198 URL: https://svnweb.freebsd.org/changeset/base/351198 Log: Allocate amd64's page array using pages and page directory pages from the NUMA domain that the pages describe. Patch original from gallatin. Reviewed by: kib Tes

svn commit: r351197 - in head: targets/pseudo/userland tools/build/mk usr.sbin/bluetooth usr.sbin/bluetooth/iwmbtfw

2019-08-18 Thread Vladimir Kondratyev
Author: wulf Date: Sun Aug 18 22:20:28 2019 New Revision: 351197 URL: https://svnweb.freebsd.org/changeset/base/351197 Log: iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices Currently supported models are: 8260, 8265, 9560, 9260 and 22161. Firmware files can be

svn commit: r351196 - in head/sys: conf modules/netgraph/bluetooth/ubt netgraph/bluetooth/drivers/ubt

2019-08-18 Thread Vladimir Kondratyev
Author: wulf Date: Sun Aug 18 22:11:42 2019 New Revision: 351196 URL: https://svnweb.freebsd.org/changeset/base/351196 Log: ng_ubt(4): do not attach Intel Wireless 8260/8265 in bootloader mode. Add helper function for synchronous execution of HCI commands at probe stage and use this funct

svn commit: r351195 - in head/sys: fs/tmpfs kern sys

2019-08-18 Thread Konstantin Belousov
Author: kib Date: Sun Aug 18 20:36:11 2019 New Revision: 351195 URL: https://svnweb.freebsd.org/changeset/base/351195 Log: Fix an issue with executing tmpfs binary. Suppose that a binary was executed from tmpfs mount, and the text vnode was reclaimed while the binary was still running. I

svn commit: r351194 - in head/sys: compat/linux kern vm

2019-08-18 Thread Konstantin Belousov
Author: kib Date: Sun Aug 18 20:24:52 2019 New Revision: 351194 URL: https://svnweb.freebsd.org/changeset/base/351194 Log: Change locking requirements for VOP_UNSET_TEXT(). Require the vnode to be locked for the VOP_UNSET_TEXT() call. This will be used by the following bug fix for a tmpf

svn commit: r351193 - head/sys/kern

2019-08-18 Thread Mateusz Guzik
Author: mjg Date: Sun Aug 18 18:40:12 2019 New Revision: 351193 URL: https://svnweb.freebsd.org/changeset/base/351193 Log: vfs: stop always overwriting ->mnt_stat in VFS_STATFS The struct is already populated on each mount (and remount). Fields are either constant or not used by filesyste

svn commit: r351192 - head/usr.sbin/periodic

2019-08-18 Thread Alan Somers
Author: asomers Date: Sun Aug 18 17:12:06 2019 New Revision: 351192 URL: https://svnweb.freebsd.org/changeset/base/351192 Log: periodic: fix anticongestion for scripts run after security Revision 316342, which introduced the anticongestion feature, failed to consider that the periodic scr

svn commit: r351191 - head/sys/dev/random

2019-08-18 Thread Conrad Meyer
Author: cem Date: Sun Aug 18 16:04:01 2019 New Revision: 351191 URL: https://svnweb.freebsd.org/changeset/base/351191 Log: random(4): Reorder configuration of random source modules Move fast entropy source registration to the earlier SI_SUB_RANDOM:SI_ORDER_FOURTH and move random_harvestq_

svn commit: r351190 - in head: share/man/man9 sys/i386/include

2019-08-18 Thread Konstantin Belousov
Author: kib Date: Sun Aug 18 15:58:44 2019 New Revision: 351190 URL: https://svnweb.freebsd.org/changeset/base/351190 Log: i386: Implement atomic_load_64(9) and atomic_store_64(9). Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/share/man/man9/atomic.9 head/s

svn commit: r351189 - head/sys/dev/fdt

2019-08-18 Thread Michal Meloun
Author: mmel Date: Sun Aug 18 15:37:19 2019 New Revision: 351189 URL: https://svnweb.freebsd.org/changeset/base/351189 Log: Fix bug introduced by r351184. We should check the returned handle, not the pointer to it. Noticed by: ian X-MFC with: r351184 MFC after:1 week Modified

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

2019-08-18 Thread Jeff Roberson
Author: jeff Date: Sun Aug 18 11:43:58 2019 New Revision: 351188 URL: https://svnweb.freebsd.org/changeset/base/351188 Log: Add a blocking wait bit to refcount. This allows refs to be used as a simple barrier. Reviewed by: markj, kib Discussed with: jhb Sponsored by: Netflix

svn commit: r351187 - head/sys/arm64/rockchip

2019-08-18 Thread Michal Meloun
Author: mmel Date: Sun Aug 18 09:19:33 2019 New Revision: 351187 URL: https://svnweb.freebsd.org/changeset/base/351187 Log: Improve rk_pinctrl driver: - add support for 'output-low', 'output-high', 'output-low' and 'output-enable' properties. These are use in RK3288 DT files - add suppor

svn commit: r351186 - head/sys/arm64/rockchip

2019-08-18 Thread Michal Meloun
Author: mmel Date: Sun Aug 18 09:11:43 2019 New Revision: 351186 URL: https://svnweb.freebsd.org/changeset/base/351186 Log: Improve rk_i2c driver: - Properly handle IIC_M_NOSTOP and IIC_M_NOSTART flags. - add polling mode, so driver can be used even if interrupts are not enabled (this is

svn commit: r351185 - head/sys/dev/mmc/host

2019-08-18 Thread Michal Meloun
Author: mmel Date: Sun Aug 18 08:54:10 2019 New Revision: 351185 URL: https://svnweb.freebsd.org/changeset/base/351185 Log: Enhance support of extres in dwmmc driver. Handle all clocks, regulators and resets defined by dwmmc bindings. MFC after:2 weeks Modified: head/sys/dev/mmc/ho

Re: svn commit: r351183 - head/sys/vm

2019-08-18 Thread Jeff Roberson
On Sun, 18 Aug 2019, Jeff Roberson wrote: Author: jeff Date: Sun Aug 18 08:07:31 2019 New Revision: 351183 URL: https://svnweb.freebsd.org/changeset/base/351183 Log: Remove unnecessary debugging from r351181 that caused powerpc build to fail. I'm not sure how I made such a mess of this. I h

svn commit: r351184 - in head/sys/dev: extres/syscon fdt

2019-08-18 Thread Michal Meloun
Author: mmel Date: Sun Aug 18 08:08:56 2019 New Revision: 351184 URL: https://svnweb.freebsd.org/changeset/base/351184 Log: Add method for getting of syscon handle from parent device. If simple multifuction device also provides syscon interface, its childern should be able to consume it.

svn commit: r351183 - head/sys/vm

2019-08-18 Thread Jeff Roberson
Author: jeff Date: Sun Aug 18 08:07:31 2019 New Revision: 351183 URL: https://svnweb.freebsd.org/changeset/base/351183 Log: Remove unnecessary debugging from r351181 that caused powerpc build to fail. Tested by:make universe TARGETS=powerpc Modified: head/sys/vm/vm_phys.c Modified:

svn commit: r351182 - head/sys/vm

2019-08-18 Thread Jeff Roberson
Author: jeff Date: Sun Aug 18 07:43:15 2019 New Revision: 351182 URL: https://svnweb.freebsd.org/changeset/base/351182 Log: vm_phys_avail_find is only used on NUMA kernels. Fix a build error. Modified: head/sys/vm/vm_phys.c Modified: head/sys/vm/vm_phys.c ===

svn commit: r351181 - head/sys/vm

2019-08-18 Thread Jeff Roberson
Author: jeff Date: Sun Aug 18 07:06:31 2019 New Revision: 351181 URL: https://svnweb.freebsd.org/changeset/base/351181 Log: Encapsulate phys_avail manipulation in a set of simple routines. Add a NUMA aware boot time memory allocator that will be used to allocate early domain correct structu