svn commit: r356056 - head/libexec/rtld-elf/powerpc

2019-12-24 Thread Brandon Bergren
Author: bdragon Date: Tue Dec 24 16:13:15 2019 New Revision: 356056 URL: https://svnweb.freebsd.org/changeset/base/356056 Log: [PowerPC] powerpc32 rtld IFUNC handling code As PowerPC is moving to clang, we can finally start taking advantage of IFUNC. Implement the MD parts of IFUNC

svn commit: r356059 - head/sys/vm

2019-12-24 Thread Jeff Roberson
Author: jeff Date: Tue Dec 24 18:38:06 2019 New Revision: 356059 URL: https://svnweb.freebsd.org/changeset/base/356059 Log: Don't unnecessarily relock the vm object after sleeps. This results in a surprising amount of object contention on loop restarts in fault. Reviewed by: kib, markj

svn commit: r356057 - in head: share/man/man9 sys/ddb sys/kern sys/sys

2019-12-24 Thread Conrad Meyer
Author: cem Date: Tue Dec 24 16:19:33 2019 New Revision: 356057 URL: https://svnweb.freebsd.org/changeset/base/356057 Log: sleep(9), sleepqueue(9): const'ify wchan pointers _sleep(9), wakeup(9), sleepqueue(9), et al do not dereference or modify the channel pointers provided in any way;

svn commit: r356055 - head/libexec/rtld-elf/powerpc64

2019-12-24 Thread Brandon Bergren
Author: bdragon Date: Tue Dec 24 16:07:35 2019 New Revision: 356055 URL: https://svnweb.freebsd.org/changeset/base/356055 Log: [PowerPC] powerpc64 rtld IFUNC handling code As PowerPC is moving to clang, we can finally start taking advantage of IFUNC. Implement the MD parts of IFUNC

svn commit: r356053 - in head/sys: arm/arm arm64/arm64 i386/i386 kern powerpc/powerpc riscv/riscv sparc64/sparc64 sys

2019-12-24 Thread Brandon Bergren
Author: bdragon Date: Tue Dec 24 15:56:24 2019 New Revision: 356053 URL: https://svnweb.freebsd.org/changeset/base/356053 Log: [PowerPC] Implement Secure-PLT jump table processing for ppc32. Due to clang and LLD's tendency to use a PLT for builtins, and as they don't have full support

svn commit: r356054 - in head: share/mk stand

2019-12-24 Thread Justin Hibbits
Author: jhibbits Date: Tue Dec 24 16:03:33 2019 New Revision: 356054 URL: https://svnweb.freebsd.org/changeset/base/356054 Log: [PowerPC64] Use ld.bfd to build LIB32 and STAND - when using llvm Summary: This patch is to support ongoing work for replacing "GCC/BFD" by "CLANG/LLD" on

svn commit: r356050 - in head: share/man/man9 sys/arm/arm sys/arm64/arm64 sys/mips/mips sys/powerpc/powerpc sys/riscv/riscv sys/sparc64/sparc64 sys/sys sys/x86/x86

2019-12-24 Thread Scott Long
Author: scottl Date: Tue Dec 24 14:48:46 2019 New Revision: 356050 URL: https://svnweb.freebsd.org/changeset/base/356050 Log: Introduce the concept of busdma tag templates. A template can be allocated off the stack, initialized to default values, and then filled in with driver-specific

svn commit: r356051 - head/sys/sys

2019-12-24 Thread Scott Long
Author: scottl Date: Tue Dec 24 14:49:37 2019 New Revision: 356051 URL: https://svnweb.freebsd.org/changeset/base/356051 Log: Bump __FreeBSD_version for the addition of busdma templates. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r356052 - head/sys/dev/mpr

2019-12-24 Thread Scott Long
Author: scottl Date: Tue Dec 24 14:50:17 2019 New Revision: 356052 URL: https://svnweb.freebsd.org/changeset/base/356052 Log: Convert the mpr driver to use busdma templates. Modified: head/sys/dev/mpr/mpr.c head/sys/dev/mpr/mpr_pci.c head/sys/dev/mpr/mpr_user.c Modified:

svn commit: r356058 - in head/sys: amd64/amd64 mips/mips sys

2019-12-24 Thread Brandon Bergren
Author: bdragon Date: Tue Dec 24 16:52:10 2019 New Revision: 356058 URL: https://svnweb.freebsd.org/changeset/base/356058 Log: Unbreak build. It seems that mips and amd64 still pull in link_elf.c, so we need to have elf_cpu_parse_dynamic() everywhere after all to avoid an undefined symbol.

svn commit: r356060 - head/usr.sbin/fstyp

2019-12-24 Thread Pedro F. Giffuni
Author: pfg Date: Tue Dec 24 19:00:20 2019 New Revision: 356060 URL: https://svnweb.freebsd.org/changeset/base/356060 Log: sbin/fstyp: recgonize Dragonfly's hammer and hammer2. This is based on DragonFly's implementation from about 2019-09-13. It only contains the basic code and header

svn commit: r356061 - head/sys/powerpc/include

2019-12-24 Thread Brandon Bergren
Author: bdragon Date: Tue Dec 24 20:13:29 2019 New Revision: 356061 URL: https://svnweb.freebsd.org/changeset/base/356061 Log: [PowerPC] Define powerpc IFUNC kernel/userspace ABI. This is a prerequisite for anything IFUNC in the ELFv2 / clang switch. Since probing cpu info on powerpc

svn commit: r356063 - head/sbin/fsck_ffs

2019-12-24 Thread Kirk McKusick
Author: mckusick Date: Tue Dec 24 23:03:12 2019 New Revision: 356063 URL: https://svnweb.freebsd.org/changeset/base/356063 Log: When running fsck_ffs manually, do not ask: USE JOURNAL? [yn] when the journal timestamp does not match the filesystem mount time as we are just

svn commit: r356066 - head/sys/fs/nfsclient

2019-12-24 Thread Rick Macklem
Author: rmacklem Date: Wed Dec 25 01:15:38 2019 New Revision: 356066 URL: https://svnweb.freebsd.org/changeset/base/356066 Log: Fix nfsmount() so that it will return NFSERR_MINORVERMISMATCH. If nfsrpc_getdirpath() returns NFSERR_MINORVERMISMATCH, it would erroneously get mapped to EIO.

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

2019-12-24 Thread Brandon Bergren
Author: bdragon Date: Tue Dec 24 22:27:06 2019 New Revision: 356062 URL: https://svnweb.freebsd.org/changeset/base/356062 Log: Fix trivial whitespace issue that is tripping -Wmisleading-indentation in clang HEAD. There was an invisible space in the middle of the tabs, and that apprently

svn commit: r356064 - stable/11/sys/arm/arm

2019-12-24 Thread Luiz Otavio O Souza
Author: loos Date: Tue Dec 24 23:20:18 2019 New Revision: 356064 URL: https://svnweb.freebsd.org/changeset/base/356064 Log: MFC r320001 by zbb: Fix typo in "Marvell" string Change Marwell to Marvell Pointed out by: Ravi Pokala Sponsored by: Rubicon Communications, LLC

svn commit: r356065 - head/sys/arm/arm

2019-12-24 Thread Luiz Otavio O Souza
Author: loos Date: Tue Dec 24 23:43:29 2019 New Revision: 356065 URL: https://svnweb.freebsd.org/changeset/base/356065 Log: Initialize the bounce pages list in armv[4|6] DMA maps. Fixes the crash on the first use of STAILQ_INSERT_TAIL() in add_bounce_page(). Sponsored by: Rubicon

svn commit: r356067 - stable/12/sbin/hastd

2019-12-24 Thread Kirk McKusick
Author: mckusick Date: Wed Dec 25 05:00:50 2019 New Revision: 356067 URL: https://svnweb.freebsd.org/changeset/base/356067 Log: MFC of 355995 Fix manual page typo. Modified: stable/12/sbin/hastd/hastd.8 Directory Properties: stable/12/ (props changed) Modified:

svn commit: r356068 - stable/12/sys/modules/uart

2019-12-24 Thread Mark Johnston
Author: markj Date: Wed Dec 25 05:51:47 2019 New Revision: 356068 URL: https://svnweb.freebsd.org/changeset/base/356068 Log: MFC r356030: Compile uart_cpu_acpi.c, added in r348195, into uart.ko. PR: 242771 Modified: stable/12/sys/modules/uart/Makefile Directory Properties: