svn commit: r355481 - in head/sys: powerpc/aim powerpc/booke powerpc/include powerpc/powerpc vm

2019-12-06 Thread Justin Hibbits
Author: jhibbits Date: Sat Dec 7 03:34:03 2019 New Revision: 355481 URL: https://svnweb.freebsd.org/changeset/base/355481 Log: powerpc/pmap: NUMA-ize vm_page_array on powerpc Summary: This matches r351198 from amd64. This only applies to AIM64 and Book-E. On AIM64 it short-circuits

svn commit: r355479 - head/sys/fs/nfs

2019-12-06 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 7 01:10:38 2019 New Revision: 355479 URL: https://svnweb.freebsd.org/changeset/base/355479 Log: Set the XATTRSUPPORT attribute bit for NFSv4.2, always cleared for now. Since r355472 added code which clears the XATTRSUPPORT bit for non-NFSv4.2 mounts, it is

svn commit: r355476 - head/libexec/rc

2019-12-06 Thread Ed Maste
Author: emaste Date: Sat Dec 7 00:33:08 2019 New Revision: 355476 URL: https://svnweb.freebsd.org/changeset/base/355476 Log: rc.shutdown: kill shutdown process after logging message Move the kill -KILL $$ back to the pre-r354446 location at the end of the shutdown timeout handler.

svn commit: r355475 - head/sys/x86/x86

2019-12-06 Thread Konstantin Belousov
Author: kib Date: Sat Dec 7 00:28:08 2019 New Revision: 355475 URL: https://svnweb.freebsd.org/changeset/base/355475 Log: x86: Restore the critical section around whole ipi_bitmap_handler() if hardclock IPI is delivered. In the current code after r355311, critical section is taken only

svn commit: r355474 - head/sys/amd64/amd64

2019-12-06 Thread Konstantin Belousov
Author: kib Date: Sat Dec 7 00:23:19 2019 New Revision: 355474 URL: https://svnweb.freebsd.org/changeset/base/355474 Log: amd64: properly set the start of the io permission bitmap for BSP ... after the initial common TSS is copied into its final location during PCPU reallocation.

svn commit: r355473 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/linux kern

2019-12-06 Thread Brooks Davis
Author: brooks Date: Fri Dec 6 23:59:23 2019 New Revision: 355473 URL: https://svnweb.freebsd.org/changeset/base/355473 Log: sysent: Reduce duplication and improve readability. Use the power of variable to avoid spelling out source and generated files too many times. The previous

svn commit: r355472 - head/sys/fs/nfs

2019-12-06 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 6 23:51:11 2019 New Revision: 355472 URL: https://svnweb.freebsd.org/changeset/base/355472 Log: Add a couple of definitions for NFSv4.2 and update macros to use them. This patch adds code to macros to clear attribute bits not supported by NFSv4.2. For now,

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

2019-12-06 Thread Mark Johnston
Author: markj Date: Fri Dec 6 23:49:37 2019 New Revision: 355471 URL: https://svnweb.freebsd.org/changeset/base/355471 Log: Fix an inverted condition introduced in r353539. This would have most likely resulted in read errors causing page leaks. Submitted by: jeff Modified:

svn commit: r355470 - head/usr.bin/tail

2019-12-06 Thread Mark Johnston
Author: markj Date: Fri Dec 6 23:39:38 2019 New Revision: 355470 URL: https://svnweb.freebsd.org/changeset/base/355470 Log: Fix tail -f in capability mode. We were not adding CAP_EVENT to input file capabilities, so kevent() always failed with ENOTCAPABLE. tail implements a fallback

svn commit: r355469 - head/sys/vm

2019-12-06 Thread Mark Johnston
Author: markj Date: Fri Dec 6 23:39:08 2019 New Revision: 355469 URL: https://svnweb.freebsd.org/changeset/base/355469 Log: Fix fault_type handling in vm_map_lookup(). Suppose that the map entry is wired, so that we later assign fault_type = entry->protection. Suppose further that we

svn commit: r355468 - head/sys/tools

2019-12-06 Thread Kyle Evans
Author: kevans Date: Fri Dec 6 22:45:36 2019 New Revision: 355468 URL: https://svnweb.freebsd.org/changeset/base/355468 Log: makesyscalls.lua: improve config processing The current version will strip out #include directives appearing inside strings, which is clearly wrong. Improve the

svn commit: r355467 - head/sys/dev/gpio

2019-12-06 Thread Ian Lepore
Author: ian Date: Fri Dec 6 22:32:06 2019 New Revision: 355467 URL: https://svnweb.freebsd.org/changeset/base/355467 Log: Implement bus_rescan for gpiobus(4). This allows on-the-fly reconfiguration of gpio devices by using kenv to add hints for a new device and then do 'devctl rescan

Re: svn commit: r355449 - head/sys/netinet

2019-12-06 Thread Bjoern A. Zeeb
On 6 Dec 2019, at 22:09, Gleb Smirnoff wrote: Hi, there is a functional change here: On Fri, Dec 06, 2019 at 04:35:48PM +, Bjoern A. Zeeb wrote: B> URL: https://svnweb.freebsd.org/changeset/base/355449 B> B> Log: B> carp: replace caddr_t with char * B> B> Change the remaining

svn commit: r355466 - head/sys/netinet

2019-12-06 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 6 22:20:26 2019 New Revision: 355466 URL: https://svnweb.freebsd.org/changeset/base/355466 Log: Remove the extra epoch tracker change sneaked into r355449 and was not part of the originally reviewed or described change. Pointyhat to: bz Reported by:

svn commit: r355465 - head/sys/dev/nvme

2019-12-06 Thread Warner Losh
Author: imp Date: Fri Dec 6 22:12:39 2019 New Revision: 355465 URL: https://svnweb.freebsd.org/changeset/base/355465 Log: trackers always know what qpair they are on Don't needlessly pass around qpair pointers when the tracker knows what qpair it's on. This will simplify code and make

Re: svn commit: r355449 - head/sys/netinet

2019-12-06 Thread Gleb Smirnoff
Hi, there is a functional change here: On Fri, Dec 06, 2019 at 04:35:48PM +, Bjoern A. Zeeb wrote: B> URL: https://svnweb.freebsd.org/changeset/base/355449 B> B> Log: B> carp: replace caddr_t with char * B> B> Change the remaining caddr_t usages to char * following the removal B>

svn commit: r355464 - head/sys/dev/aacraid

2019-12-06 Thread Warner Losh
Author: imp Date: Fri Dec 6 21:50:24 2019 New Revision: 355464 URL: https://svnweb.freebsd.org/changeset/base/355464 Log: Remove ifdefs for FreeBSD 6, 7, 8 and 9. Assume we're past that. Differential Revision: https://reviews.freebsd.org/D22539 Modified: head/sys/dev/aacraid/aacraid.c

Re: svn commit: r355436 - in head/sys: amd64/amd64 x86/x86

2019-12-06 Thread Scott Long
I’m not opposed to the idea, but making any change invites a bike shed on naming, and making no change at all invites a bike shed on naming, and honestly the name doesn’t matter to me at this point. I encourage you and Ed to own this. Scott > On Dec 6, 2019, at 6:58 AM, Eric van Gyzen wrote:

Re: svn commit: r355461 - head/sys/arm/mv

2019-12-06 Thread Warner Losh
On Fri, Dec 6, 2019 at 1:17 PM Ian Lepore wrote: > On Fri, 2019-12-06 at 20:05 +, Luiz Otavio O Souza wrote: > > Author: loos > > Date: Fri Dec 6 20:05:08 2019 > > New Revision: 355461 > > URL: https://svnweb.freebsd.org/changeset/base/355461 > > > > Log: > > Fix the ARM64 build, include

svn commit: r355462 - in head/sys: conf dev/gpio

2019-12-06 Thread Luiz Otavio O Souza
Author: loos Date: Fri Dec 6 20:21:07 2019 New Revision: 355462 URL: https://svnweb.freebsd.org/changeset/base/355462 Log: Add a GPIO based MDIO bit-banging bus driver. Uses two GPIO pins as MDC (clock) and MDIO (bidirectional I/O), relies on mii_bitbang. Tested on SG-3200 where

Re: svn commit: r355461 - head/sys/arm/mv

2019-12-06 Thread Ian Lepore
On Fri, 2019-12-06 at 20:05 +, Luiz Otavio O Souza wrote: > Author: loos > Date: Fri Dec 6 20:05:08 2019 > New Revision: 355461 > URL: https://svnweb.freebsd.org/changeset/base/355461 > > Log: > Fix the ARM64 build, include the necessary header. > > While here, call

Re: svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Luiz Otavio O Souza
On Fri, Dec 6, 2019 at 12:57 PM Hans Petter Selasky wrote: > > On 2019-12-06 13:55, Luiz Otavio O Souza wrote: > > Author: loos > > Date: Fri Dec 6 12:55:39 2019 > > New Revision: 355444 > > URL: https://svnweb.freebsd.org/changeset/base/355444 > > > > Log: > >Add the SPI driver for the

Re: svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Luiz Otavio O Souza
On Fri, Dec 6, 2019 at 1:58 PM Ian Lepore wrote: > > On Fri, 2019-12-06 at 12:55 +, Luiz Otavio O Souza wrote: > > Author: loos > > Date: Fri Dec 6 12:55:39 2019 > > New Revision: 355444 > > URL: https://svnweb.freebsd.org/changeset/base/355444 > > > > Log: > > Add the SPI driver for the

svn commit: r355461 - head/sys/arm/mv

2019-12-06 Thread Luiz Otavio O Souza
Author: loos Date: Fri Dec 6 20:05:08 2019 New Revision: 355461 URL: https://svnweb.freebsd.org/changeset/base/355461 Log: Fix the ARM64 build, include the necessary header. While here, call device_delete_children() to detach and dealloc all the existent children and handle the child's

svn commit: r355460 - head/lib/libbe

2019-12-06 Thread Kyle Evans
Author: kevans Date: Fri Dec 6 19:33:39 2019 New Revision: 355460 URL: https://svnweb.freebsd.org/changeset/base/355460 Log: libbe: fix build against sysutils/openzfs, part 1 This is the half of the changes required that work as-is with both in-tree ZFS and the new hotness,

svn commit: r355459 - head/sys/sys

2019-12-06 Thread John Baldwin
Author: jhb Date: Fri Dec 6 19:20:45 2019 New Revision: 355459 URL: https://svnweb.freebsd.org/changeset/base/355459 Log: Remove SPARE_USRSPACE. This constant was used to reserve space at the top of the stack to hold translated system call arguments for non-default ABIs (the

svn commit: r355457 - head/sys/kern

2019-12-06 Thread Alexander Motin
Author: mav Date: Fri Dec 6 18:39:05 2019 New Revision: 355457 URL: https://svnweb.freebsd.org/changeset/base/355457 Log: Make devstat_end_transaction_bio() count BIO_ORDERED. MFC after:2 weeks Modified: head/sys/kern/subr_devstat.c Modified: head/sys/kern/subr_devstat.c

Re: svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Ian Lepore
On Fri, 2019-12-06 at 12:55 +, Luiz Otavio O Souza wrote: > Author: loos > Date: Fri Dec 6 12:55:39 2019 > New Revision: 355444 > URL: https://svnweb.freebsd.org/changeset/base/355444 > > Log: > Add the SPI driver for the Marvell Armada 37x0 SoC. > > Interrupt based driver, implements

svn commit: r355452 - head/sys/netinet6

2019-12-06 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 6 16:53:42 2019 New Revision: 355452 URL: https://svnweb.freebsd.org/changeset/base/355452 Log: Update comment. Update the comment related to SIIT and v4mapped addresses being rejected by us when coming from the wire given we have supported IPv6-only kernels

svn commit: r355451 - head/sys/geom

2019-12-06 Thread Alexander Motin
Author: mav Date: Fri Dec 6 16:48:36 2019 New Revision: 355451 URL: https://svnweb.freebsd.org/changeset/base/355451 Log: Remove some branching from GEOM_DISK hot path. pp->private just can not be NULL in those places. In g_disk_start() and g_disk_ioctl() both dp != NULL and

svn commit: r355450 - head/sys/netinet6

2019-12-06 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 6 16:42:58 2019 New Revision: 355450 URL: https://svnweb.freebsd.org/changeset/base/355450 Log: ip6_input: remove redundant v4mapped check In ip6_input() we apply the same v4mapped address check twice. The only case which skipps the first one is M_FASTFWD_OURS

svn commit: r355449 - head/sys/netinet

2019-12-06 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 6 16:35:48 2019 New Revision: 355449 URL: https://svnweb.freebsd.org/changeset/base/355449 Log: carp: replace caddr_t with char * Change the remaining caddr_t usages to char * following the removal of the KAME macros No functional change. Requested by:

svn commit: r355448 - head/sys/kern

2019-12-06 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 6 16:34:04 2019 New Revision: 355448 URL: https://svnweb.freebsd.org/changeset/base/355448 Log: Improve EPOCH_TRACE Two changes to EPOCH_TRACE: (1) add a sysctl to surpress the backtrace from epoch_trace_report(). Sometimes the log line for the recursion

svn commit: r355447 - head/sys/dev/mlx5

2019-12-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 6 16:20:22 2019 New Revision: 355447 URL: https://svnweb.freebsd.org/changeset/base/355447 Log: Fix compilation issue with mlx5core and sparc64 (gcc48): sys/dev/mlx5/mlx5_en/mlx5_en_tx.c:335: error: requested alignment is not a constant MFC after:1

Re: svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Hans Petter Selasky
On 2019-12-06 13:55, Luiz Otavio O Souza wrote: Author: loos Date: Fri Dec 6 12:55:39 2019 New Revision: 355444 URL: https://svnweb.freebsd.org/changeset/base/355444 Log: Add the SPI driver for the Marvell Armada 37x0 SoC. Interrupt based driver, implements SPI mode and clock

svn commit: r355446 - in head/sys: conf dev/mlx5 dev/mlx5/mlx5_en modules/mlx5en

2019-12-06 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 6 15:36:32 2019 New Revision: 355446 URL: https://svnweb.freebsd.org/changeset/base/355446 Log: Implement hardware TLS via send tags for mlx5en(4), which is supported by ConnectX-6 DX. Currently TLS v1.2 and v1.3 with AES 128/256 crypto over TCP/IP (v4

Re: svn commit: r355436 - in head/sys: amd64/amd64 x86/x86

2019-12-06 Thread Eric van Gyzen
> On Dec 6, 2019, at 4:36 AM, Ed Maste wrote: > > On Thu, 5 Dec 2019 at 21:43, Scott Long wrote: >> >> Author: scottl >> Date: Fri Dec 6 02:43:05 2019 >> New Revision: 355436 >> URL: https://svnweb.freebsd.org/changeset/base/355436 >> >> Log: >> Move the mds, irbs, and ssb mitigation

Re: svn commit: r355436 - in head/sys: amd64/amd64 x86/x86

2019-12-06 Thread Ed Maste
On Thu, 5 Dec 2019 at 21:43, Scott Long wrote: > > Author: scottl > Date: Fri Dec 6 02:43:05 2019 > New Revision: 355436 > URL: https://svnweb.freebsd.org/changeset/base/355436 > > Log: > Move the mds, irbs, and ssb mitigation knobs into machdep.mitigations. If we're moving them and adding

Re: svn commit: r355436 - in head/sys: amd64/amd64 x86/x86

2019-12-06 Thread Konstantin Belousov
On Fri, Dec 06, 2019 at 02:43:05AM +, Scott Long wrote: > Author: scottl > Date: Fri Dec 6 02:43:05 2019 > New Revision: 355436 > URL: https://svnweb.freebsd.org/changeset/base/355436 > > Log: > Move the mds, irbs, and ssb mitigation knobs into machdep.mitigations. > They're in both the

svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Luiz Otavio O Souza
Author: loos Date: Fri Dec 6 12:55:39 2019 New Revision: 355444 URL: https://svnweb.freebsd.org/changeset/base/355444 Log: Add the SPI driver for the Marvell Armada 37x0 SoC. Interrupt based driver, implements SPI mode and clock configuration. Tested on espressobin and SG-3200.

svn commit: r355441 - head/stand/efi/loader

2019-12-06 Thread Toomas Soome
Author: tsoome Date: Fri Dec 6 09:50:29 2019 New Revision: 355441 URL: https://svnweb.freebsd.org/changeset/base/355441 Log: loader.efi: print ImageBase so we know where we are Output a bit of debugging aid. Modified: head/stand/efi/loader/main.c Modified: head/stand/efi/loader/main.c

Re: svn commit: r355430 - head/sys/cam/scsi

2019-12-06 Thread Steven Hartland
If the illegal chars where removed or replaced would the result be useful, if so might that be a better approach? On Fri, 6 Dec 2019 at 00:06, Alan Somers wrote: > Author: asomers > Date: Fri Dec 6 00:06:05 2019 > New Revision: 355430 > URL: https://svnweb.freebsd.org/changeset/base/355430 > >