Re: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Warner Losh
On Wed, Feb 26, 2020, 9:36 PM Pedro Giffuni wrote: > > On 26/02/2020 18:09, Warner Losh wrote: > > > > On Wed, Feb 26, 2020 at 3:47 PM Warner Losh wrote: > >> >> >> On Wed, Feb 26, 2020 at 12:10 PM Bjoern A. Zeeb < >> bzeeb-li...@lists.zabbadoz.net> wrote: >> >>> On 26 Feb 2020, at 18:55,

svn commit: r358366 - head/sys/cam/ata

2020-02-26 Thread Scott Long
Author: scottl Date: Thu Feb 27 05:00:21 2020 New Revision: 358366 URL: https://svnweb.freebsd.org/changeset/base/358366 Log: Add a quirk for the WDC Green series of SSDs to disable NCQ TRIM, as this avoids silent data corruption. PR: 225666 Submitted by: anders lundgren

svn commit: r358365 - in head: lib/libc/sparc64 lib/msun/sparc64 stand/ficl/sparc64 stand/libsa/sparc64 stand/sparc64

2020-02-26 Thread Warner Losh
Author: imp Date: Thu Feb 27 04:47:12 2020 New Revision: 358365 URL: https://svnweb.freebsd.org/changeset/base/358365 Log: Remove now empty sparc64 directories (oh, and stand/sparc64 files) Deleted: head/lib/libc/sparc64/ head/lib/msun/sparc64/ head/stand/ficl/sparc64/

svn commit: r358364 - in head: lib/csu/sparc64 lib/libthr/arch/sparc64 lib/libthread_db/arch/sparc64 tools/test/testfloat/sparc64

2020-02-26 Thread Warner Losh
Author: imp Date: Thu Feb 27 04:44:58 2020 New Revision: 358364 URL: https://svnweb.freebsd.org/changeset/base/358364 Log: Remove libthr, csu, libthread_db and testfloat sparc64 specific directories. Submitted by: kib@ (libthr) Deleted: head/lib/csu/sparc64/

Re: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Pedro Giffuni
On 26/02/2020 18:09, Warner Losh wrote: On Wed, Feb 26, 2020 at 3:47 PM Warner Losh > wrote: On Wed, Feb 26, 2020 at 12:10 PM Bjoern A. Zeeb mailto:bzeeb-li...@lists.zabbadoz.net>> wrote: On 26 Feb 2020, at 18:55, Warner Losh wrote: >

svn commit: r358363 - head/sys/vm

2020-02-26 Thread Jeff Roberson
Author: jeff Date: Thu Feb 27 02:37:27 2020 New Revision: 358363 URL: https://svnweb.freebsd.org/changeset/base/358363 Log: Add unlocked grab* function variants that use lockless radix code to lookup pages. These variants will fall back to their locked counterparts if the page is not

svn commit: r358362 - stable/11/usr.sbin/pciconf

2020-02-26 Thread Konstantin Belousov
Author: kib Date: Thu Feb 27 00:57:36 2020 New Revision: 358362 URL: https://svnweb.freebsd.org/changeset/base/358362 Log: MFC r358175: Print out some newly added PCIe extended capabilities and subclasses. Modified: stable/11/usr.sbin/pciconf/cap.c stable/11/usr.sbin/pciconf/pciconf.c

svn commit: r358361 - stable/11/sys/dev/pci

2020-02-26 Thread Konstantin Belousov
Author: kib Date: Thu Feb 27 00:57:02 2020 New Revision: 358361 URL: https://svnweb.freebsd.org/changeset/base/358361 Log: MFC r358174: Add more values for PCI capabilities, PCIe extended capabilities, and subclasses. Modified: stable/11/sys/dev/pci/pcireg.h Directory Properties:

svn commit: r358360 - stable/12/usr.sbin/pciconf

2020-02-26 Thread Konstantin Belousov
Author: kib Date: Thu Feb 27 00:55:31 2020 New Revision: 358360 URL: https://svnweb.freebsd.org/changeset/base/358360 Log: MFC r358175: Print out some newly added PCIe extended capabilities and subclasses. Modified: stable/12/usr.sbin/pciconf/cap.c stable/12/usr.sbin/pciconf/pciconf.c

svn commit: r358359 - stable/12/sys/dev/pci

2020-02-26 Thread Konstantin Belousov
Author: kib Date: Thu Feb 27 00:51:30 2020 New Revision: 358359 URL: https://svnweb.freebsd.org/changeset/base/358359 Log: MFC r358174: Add more values for PCI capabilities, PCIe extended capabilities, and subclasses. Modified: stable/12/sys/dev/pci/pcireg.h Directory Properties:

svn commit: r358358 - head/libexec/rtld-elf/sparc64

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 23:17:16 2020 New Revision: 358358 URL: https://svnweb.freebsd.org/changeset/base/358358 Log: Remove sparc64 source files from rtld-elf These were missed in the prior sweep. Submitted by: jhb@ Deleted: head/libexec/rtld-elf/sparc64/

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

2020-02-26 Thread Ravi Pokala
-Original Message- From: Gleb Smirnoff Date: 2020-02-26, Wednesday at 13:55 To: Ravi Pokala Cc: , , Subject: Re: svn commit: r358317 - head/sys/kern On Tue, Feb 25, 2020 at 12:02:29PM -0800, Ravi Pokala wrote: R> When sendfile_swapin() sweeps through pages in search for

Re: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Warner Losh
On Wed, Feb 26, 2020 at 3:47 PM Warner Losh wrote: > > > On Wed, Feb 26, 2020 at 12:10 PM Bjoern A. Zeeb < > bzeeb-li...@lists.zabbadoz.net> wrote: > >> On 26 Feb 2020, at 18:55, Warner Losh wrote: >> >> > Author: imp >> > Date: Wed Feb 26 18:55:09 2020 >> > New Revision: 358348 >> > URL:

Re: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Warner Losh
On Wed, Feb 26, 2020 at 12:10 PM Bjoern A. Zeeb < bzeeb-li...@lists.zabbadoz.net> wrote: > On 26 Feb 2020, at 18:55, Warner Losh wrote: > > > Author: imp > > Date: Wed Feb 26 18:55:09 2020 > > New Revision: 358348 > > URL: https://svnweb.freebsd.org/changeset/base/358348 > > > > Log: > > Remove

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

2020-02-26 Thread Gleb Smirnoff
On Tue, Feb 25, 2020 at 12:02:29PM -0800, Ravi Pokala wrote: R> When sendfile_swapin() sweeps through pages in search for a bogus page R> skip first and last pages. This is a micro optimisation. R> R> Yes, but *why* skip the first and last pages? We may have inserted bogus pages in

Re: svn commit: r358346 - in head/libexec/rtld-elf: . rtld-libc

2020-02-26 Thread John Baldwin
On 2/26/20 10:49 AM, Warner Losh wrote: > Author: imp > Date: Wed Feb 26 18:49:25 2020 > New Revision: 358346 > URL: https://svnweb.freebsd.org/changeset/base/358346 > > Log: > Remove sparc64 specific parts of rtld-elf. > > Modified: > head/libexec/rtld-elf/rtld-libc/Makefile.inc >

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

2020-02-26 Thread Alexander Motin
Author: mav Date: Wed Feb 26 20:38:48 2020 New Revision: 358357 URL: https://svnweb.freebsd.org/changeset/base/358357 Log: MFZoL: Relax restriction on zfs_ioc_next_obj() iteration Per the documentation for dnode_next_offset in dnode.c, the "txg" parameter specifies a lower bound on which

svn commit: r358356 - head/sys/contrib/ipfilter/netinet

2020-02-26 Thread Cy Schubert
Author: cy Date: Wed Feb 26 20:18:38 2020 New Revision: 358356 URL: https://svnweb.freebsd.org/changeset/base/358356 Log: With the planned removal of GIANT (sysctl uses GIANT), make future-proof ipfilter by making it sysctl locking mpsafe. Reviewed by: kaktus Differential Revision:

svn commit: r358355 - in head: lib/libc/sys sys/vm

2020-02-26 Thread Ed Maste
Author: emaste Date: Wed Feb 26 20:03:43 2020 New Revision: 358355 URL: https://svnweb.freebsd.org/changeset/base/358355 Log: Return ENOTSUP for mmap/mprotect if prot not subset of prot_max From POSIX, [ENOTSUP] The implementation does not support the combination of accesses

svn commit: r358353 - head/sys/dev/agp

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 19:39:52 2020 New Revision: 358353 URL: https://svnweb.freebsd.org/changeset/base/358353 Log: Remove support for FreeBSD 4.x and earlier from agp driver Compile tested only, but do we still need this driver? Modified: head/sys/dev/agp/agp_nvidia.c Modified:

svn commit: r358354 - head/sys/dev/aic7xxx

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 19:39:59 2020 New Revision: 358354 URL: https://svnweb.freebsd.org/changeset/base/358354 Log: Remove support for FreeBSD 4-7. It's doubtful this driver would still work unchanged there. Compile tested only because I no longer have ahc/ahd devices. Modified:

svn commit: r358352 - head/share/man/man3

2020-02-26 Thread Sergio Carlavilla Delgado
Author: carlavilla (doc committer) Date: Wed Feb 26 19:16:23 2020 New Revision: 358352 URL: https://svnweb.freebsd.org/changeset/base/358352 Log: Add HISTORY sections to tree(3), stdarg(3) and sigevent(3) Submitted by: gbergling_gmail.com Approved by: bcr@(mentor) MFC after:1 week

svn commit: r358351 - in head/sys/dev: mpr mps

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 19:15:08 2020 New Revision: 358351 URL: https://svnweb.freebsd.org/changeset/base/358351 Log: Remove support for all pre FreeBSD 11.0 versions from mpr and mps. Remove a number of workarounds for older versions of FreeBSD. FreeBSD stable/10 was branched over

svn commit: r358350 - head/share/man/man5

2020-02-26 Thread Ed Maste
Author: emaste Date: Wed Feb 26 19:12:36 2020 New Revision: 358350 URL: https://svnweb.freebsd.org/changeset/base/358350 Log: src.conf.5: regen after sparc64 removal Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

Re: svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Bjoern A. Zeeb
On 26 Feb 2020, at 18:55, Warner Losh wrote: Author: imp Date: Wed Feb 26 18:55:09 2020 New Revision: 358348 URL: https://svnweb.freebsd.org/changeset/base/358348 Log: Remove sparc64 specific parts of libc. I have a silly question for which it’s long been too late, but for the next time

svn commit: r358349 - head/share/mk

2020-02-26 Thread Ed Maste
Author: emaste Date: Wed Feb 26 19:08:23 2020 New Revision: 358349 URL: https://svnweb.freebsd.org/changeset/base/358349 Log: src.opts.mk: drop MIPS special case for disabling BINUTILS_BOOTSTRAP Binutils has already been reduced to installing ld only on powerpc32 and as only on amd64.

svn commit: r358348 - in head/lib/libc: . gdtoa gen sparc64 sparc64/fpu sparc64/gen sparc64/sys sys

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 18:55:09 2020 New Revision: 358348 URL: https://svnweb.freebsd.org/changeset/base/358348 Log: Remove sparc64 specific parts of libc. Also update comments for which architectures use 128 bit long doubles, as appropriate. The softfloat specialization

svn commit: r358347 - in head/lib/msun: ld128 sparc64

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 18:55:03 2020 New Revision: 358347 URL: https://svnweb.freebsd.org/changeset/base/358347 Log: Remove sparc64 specific parts of libm and fix comments Once upon a time, sparc64 was the only ld128 architecture. However, both aarch64 and riscv are now such

svn commit: r358346 - in head/libexec/rtld-elf: . rtld-libc

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 18:49:25 2020 New Revision: 358346 URL: https://svnweb.freebsd.org/changeset/base/358346 Log: Remove sparc64 specific parts of rtld-elf. Modified: head/libexec/rtld-elf/rtld-libc/Makefile.inc head/libexec/rtld-elf/rtld.c head/libexec/rtld-elf/rtld_tls.h

svn commit: r358345 - head/share/mk

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 18:49:20 2020 New Revision: 358345 URL: https://svnweb.freebsd.org/changeset/base/358345 Log: Remove sparc64 specific buid-system hacks Remove all the sparc64 hacks and tweaks to the build system. We don't need them anymore. Modified:

svn commit: r358344 - head/lib/libc/sys

2020-02-26 Thread Ed Maste
Author: emaste Date: Wed Feb 26 18:46:41 2020 New Revision: 358344 URL: https://svnweb.freebsd.org/changeset/base/358344 Log: mprotect.2: sort errors alphabetically Reported by: brooks MFC after:3 days Modified: head/lib/libc/sys/mprotect.2 Modified: head/lib/libc/sys/mprotect.2

svn commit: r358343 - in head: stand/libsa/zfs sys/cddl/boot/zfs

2020-02-26 Thread Toomas Soome
Author: tsoome Date: Wed Feb 26 18:12:12 2020 New Revision: 358343 URL: https://svnweb.freebsd.org/changeset/base/358343 Log: loader: replace zfs_alloc/zfs_free with malloc/free Use common memory management. Modified: head/stand/libsa/zfs/zfs.c head/stand/libsa/zfs/zfsimpl.c

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

2020-02-26 Thread Alexander Motin
Author: mav Date: Wed Feb 26 16:51:45 2020 New Revision: 358342 URL: https://svnweb.freebsd.org/changeset/base/358342 Log: MFZoL: Fix resilver writes in vdev_indirect_io_start This patch addresses an issue found in ztest where resilver write zios that were passed to an indirect vdev

svn commit: r358341 - head/sys/kern

2020-02-26 Thread Warner Losh
Author: imp Date: Wed Feb 26 16:22:28 2020 New Revision: 358341 URL: https://svnweb.freebsd.org/changeset/base/358341 Log: Remove trailing white space. Modified: head/sys/kern/bus_if.m Modified: head/sys/kern/bus_if.m

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

2020-02-26 Thread Alexander Motin
Author: mav Date: Wed Feb 26 16:04:24 2020 New Revision: 358340 URL: https://svnweb.freebsd.org/changeset/base/358340 Log: Fix patch mismerge in r358336. MFC after:1 week Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c Modified:

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

2020-02-26 Thread Alexander Motin
Author: mav Date: Wed Feb 26 15:59:46 2020 New Revision: 358339 URL: https://svnweb.freebsd.org/changeset/base/358339 Log: MFZoL: Fix issue with scanning dedup blocks as scan ends This patch fixes an issue discovered by ztest where dsl_scan_ddt_entry() could add I/Os to the dsl scan

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

2020-02-26 Thread Andrew Turner
Author: andrew Date: Wed Feb 26 15:56:07 2020 New Revision: 358338 URL: https://svnweb.freebsd.org/changeset/base/358338 Log: Fix the cache type identification DIC and IDC are supported when the field bits are set. Sponsored by: Innovate UK Modified: head/sys/arm64/arm64/identcpu.c

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

2020-02-26 Thread Alexander Motin
Author: mav Date: Wed Feb 26 15:47:40 2020 New Revision: 358337 URL: https://svnweb.freebsd.org/changeset/base/358337 Log: MFZoL: Fix 2 small bugs with cached dsl_scan_phys_t This patch corrects 2 small bugs where scn->scn_phys_cached was not properly updated to match the primary copy

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

2020-02-26 Thread Alexander Motin
Author: mav Date: Wed Feb 26 15:45:04 2020 New Revision: 358336 URL: https://svnweb.freebsd.org/changeset/base/358336 Log: MFZoL: Fix txg_sync_thread hang in scan_exec_io() When scn->scn_maxinflight_bytes has not been initialized it's possible to hang on the condition variable in

Re: svn commit: r358334 - head/sys/sys

2020-02-26 Thread Paweł Biernacki
Approved by: kib (mentor, blanket) > On 26 Feb 2020, at 16:12, Pawel Biernacki wrote: > > Author: kaktus > Date: Wed Feb 26 15:12:38 2020 > New Revision: 358334 > URL: https://svnweb.freebsd.org/changeset/base/358334 > > Log: > Move the SYSCTL_ENFORCE_FLAGS to SYSCTL_NODE_WITH_LABEL where

svn commit: r358335 - head/tests/sys/netinet

2020-02-26 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Feb 26 15:15:55 2020 New Revision: 358335 URL: https://svnweb.freebsd.org/changeset/base/358335 Log: Skip the right test case PR: 244172 Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/netinet/fibs_test.sh Modified:

svn commit: r358334 - head/sys/sys

2020-02-26 Thread Pawel Biernacki
Author: kaktus Date: Wed Feb 26 15:12:38 2020 New Revision: 358334 URL: https://svnweb.freebsd.org/changeset/base/358334 Log: Move the SYSCTL_ENFORCE_FLAGS to SYSCTL_NODE_WITH_LABEL where it should be at the beginning. Modified: head/sys/sys/sysctl.h Modified: head/sys/sys/sysctl.h

svn commit: r358333 - in head/sys: amd64/amd64 amd64/linux32 arm/altera/socfpga arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/nvidia arm/nvidia/tegra124 arm/ti arm/ti/am335x arm/ti/cpsw...

2020-02-26 Thread Pawel Biernacki
Author: kaktus Date: Wed Feb 26 14:26:36 2020 New Revision: 358333 URL: https://svnweb.freebsd.org/changeset/base/358333 Log: Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or

svn commit: r358332 - in head/sys: net netinet

2020-02-26 Thread Randall Stewart
Author: rrs Date: Wed Feb 26 13:48:33 2020 New Revision: 358332 URL: https://svnweb.freebsd.org/changeset/base/358332 Log: This commit expands tcp_ratelimit to be able to handle cards like the mlx-c5 and c6 that require a "setup" routine before the tcp_ratelimit code can declare and use a

svn commit: r358331 - stable/12/sys/mips/conf

2020-02-26 Thread Kyle Evans
Author: kevans Date: Wed Feb 26 13:23:52 2020 New Revision: 358331 URL: https://svnweb.freebsd.org/changeset/base/358331 Log: MFC r347515: Catch up with r347241 (if_tuntap rename). Modified: stable/12/sys/mips/conf/std.AR_MIPS_BASE Directory Properties: stable/12/ (props changed)

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

2020-02-26 Thread Andrew Turner
Author: andrew Date: Wed Feb 26 13:22:23 2020 New Revision: 358330 URL: https://svnweb.freebsd.org/changeset/base/358330 Log: Teach the arm64 ident CPU code to print non-ID registers Add support for non-ID registers when printing CPU information. This is used with the cache type register

svn commit: r358329 - head/sys/sys

2020-02-26 Thread Pietro Cerutti
Author: gahr (ports committer) Date: Wed Feb 26 12:38:21 2020 New Revision: 358329 URL: https://svnweb.freebsd.org/changeset/base/358329 Log: Trim trailing white space in comment Approved by: cognet Modified: head/sys/sys/queue.h Modified: head/sys/sys/queue.h

svn commit: r358328 - in head/sys/arm64: arm64 include

2020-02-26 Thread Andrew Turner
Author: andrew Date: Wed Feb 26 11:50:24 2020 New Revision: 358328 URL: https://svnweb.freebsd.org/changeset/base/358328 Log: Generalise the arm64 ASID allocator. The requirements of an Address Space ID allocator and a Virtual Machine ID allocator are similar. Generalise the former code

svn commit: r358327 - in head/sys/arm64: arm64 include

2020-02-26 Thread Andrew Turner
Author: andrew Date: Wed Feb 26 11:47:24 2020 New Revision: 358327 URL: https://svnweb.freebsd.org/changeset/base/358327 Log: Start to support multiple stages in the arm64 pmap. On arm64 the stage 1 and stage 2 pte formats are similar enough we can reuse the pmap code for both. As they

svn commit: r358326 - in head/sys/arm64: arm64 include

2020-02-26 Thread Andrew Turner
Author: andrew Date: Wed Feb 26 11:29:03 2020 New Revision: 358326 URL: https://svnweb.freebsd.org/changeset/base/358326 Log: Add more arm64 CTR_EL0 register fields While here make the _SIZE macros return the size in bytes, not the log2 of the size Sponsored by: Innovate UK

svn commit: r358325 - head/sys/net

2020-02-26 Thread Kristof Provost
Author: kp Date: Wed Feb 26 08:47:18 2020 New Revision: 358325 URL: https://svnweb.freebsd.org/changeset/base/358325 Log: bridge: Move locking defines into if_bridge.c The locking defines for if_bridge used to live in if_bridgevar.h, but they're only ever used by the bridge