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

2020-11-29 Thread Michal Meloun
Author: mmel Date: Mon Nov 30 07:01:12 2020 New Revision: 368167 URL: https://svnweb.freebsd.org/changeset/base/368167 Log: NVME: Don't try to swap data on little endian machines. These swapping functions violate BUSDMA contract - we cannot write to armed (by bus_dmamap_sync(PRE_..))

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Ravi Pokala
-Original Message- From: on behalf of Ian Lepore Date: 2020-11-29, Sunday at 16:26 To: Shawn Webb , Matt Macy Cc: , , Subject: Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Bjoern A. Zeeb
On 29 Nov 2020, at 19:38, Matt Macy wrote: Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Import kernel WireGuard support Data path largely shared with the OpenBSD implementation by Matt Dunwoodie Reviewed

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Ian Lepore
On Sun, 2020-11-29 at 19:20 -0500, Shawn Webb wrote: > On Sun, Nov 29, 2020 at 07:38:04PM +, Matt Macy wrote: > > Author: mmacy > > Date: Sun Nov 29 19:38:03 2020 > > New Revision: 368163 > > URL: https://svnweb.freebsd.org/changeset/base/368163 > > > > Log: > > Import kernel WireGuard

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Shawn Webb
On Sun, Nov 29, 2020 at 07:38:04PM +, Matt Macy wrote: > Author: mmacy > Date: Sun Nov 29 19:38:03 2020 > New Revision: 368163 > URL: https://svnweb.freebsd.org/changeset/base/368163 > > Log: > Import kernel WireGuard support > > Data path largely shared with the OpenBSD implementation

svn commit: r368166 - stable/12/libexec/rc/rc.d

2020-11-29 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 29 23:37:18 2020 New Revision: 368166 URL: https://svnweb.freebsd.org/changeset/base/368166 Log: Fix startup of gssd when /usr is a separately mounted local file system. meowth...@gmail.com reported that the gssd daemon was not starting, because

svn commit: r368165 - in stable/12/libexec/rc: . rc.d

2020-11-29 Thread Rick Macklem
Author: rmacklem Date: Sun Nov 29 23:23:08 2020 New Revision: 368165 URL: https://svnweb.freebsd.org/changeset/base/368165 Log: MFC: r367423 Add support for the new mountd -R option. r376026 added a new "-R" option to mountd, which tells it to not support the Mount protocol (not used

svn commit: r368164 - in head/sys: conf net net/route netinet netinet6

2020-11-29 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Nov 29 19:43:33 2020 New Revision: 368164 URL: https://svnweb.freebsd.org/changeset/base/368164 Log: Remove RADIX_MPATH config option. ROUTE_MPATH is the new config option controlling new multipath routing implementation. Remove the last pieces of

svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_wg...

2020-11-29 Thread Matt Macy
Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Import kernel WireGuard support Data path largely shared with the OpenBSD implementation by Matt Dunwoodie Reviewed by: gre...@freebsd.org MFC after:1

Re: svn commit: r368141 - in head/sys/arm: allwinner annapurna/alpine arm freescale/imx include mv versatile

2020-11-29 Thread Shawn Webb
On Sun, Nov 29, 2020 at 08:40:12AM +, Michal Meloun wrote: > Author: mmel > Date: Sun Nov 29 08:40:12 2020 > New Revision: 368141 > URL: https://svnweb.freebsd.org/changeset/base/368141 > > Log: > Remove the pre-ARMv6 and pre-INTRNG code. > ARM has required ARMV6+ and INTRNg for some time

svn commit: r368162 - head/sys/sys

2020-11-29 Thread Konstantin Belousov
Author: kib Date: Sun Nov 29 19:06:32 2020 New Revision: 368162 URL: https://svnweb.freebsd.org/changeset/base/368162 Log: Reduce MAXPHYS back to 128KB on 32bit architectures. Some of them have limited KVA, like arm, which prevents startup from allocating needed number of large pbufs.

svn commit: r368161 - in head/sys/arm: arm include

2020-11-29 Thread Michal Meloun
Author: mmel Date: Sun Nov 29 18:59:01 2020 New Revision: 368161 URL: https://svnweb.freebsd.org/changeset/base/368161 Log: Store MPIDR register in pcpu. MPIDR represents physical locality of given core and it should be used as the only viable/robust connection between cpuid (which have

svn commit: r368160 - head/usr.bin/iconv

2020-11-29 Thread Fernando Apesteguía
Author: fernape (ports committer) Date: Sun Nov 29 18:22:14 2020 New Revision: 368160 URL: https://svnweb.freebsd.org/changeset/base/368160 Log: iconv(1): Add EXAMPLE Just a small example to show simple usage. Approved by: manpages (0mp@) MFC after:2 weeks Differential

Re: svn commit: r368124 - in head/sys: cam cam/ata cam/ctl cam/mmc cam/nvme cam/scsi compat/linprocfs compat/linux conf contrib/openzfs/module/os/freebsd/zfs dev/ahci dev/ata dev/firewire dev/flash de

2020-11-29 Thread Michal Meloun
On 29.11.2020 18:46, Ed Maste wrote: On Sun, 29 Nov 2020 at 12:36, Konstantin Belousov wrote: I think it is reasonable to return to 128KB for 32bit systems. ... +#ifndef MAXPHYS/* max raw I/O transfer size */ +#ifdef __ILP32__ +#define MAXPHYS

Re: svn commit: r368124 - in head/sys: cam cam/ata cam/ctl cam/mmc cam/nvme cam/scsi compat/linprocfs compat/linux conf contrib/openzfs/module/os/freebsd/zfs dev/ahci dev/ata dev/firewire dev/flash de

2020-11-29 Thread Ed Maste
On Sun, 29 Nov 2020 at 12:36, Konstantin Belousov wrote: > > I think it is reasonable to return to 128KB for 32bit systems. ... > +#ifndef MAXPHYS/* max raw I/O transfer size > */ > +#ifdef __ILP32__ > +#define MAXPHYS(128 * 1024) > +#else >

svn commit: r368159 - in head/sys: arm/conf conf

2020-11-29 Thread Michal Meloun
Author: mmel Date: Sun Nov 29 17:42:32 2020 New Revision: 368159 URL: https://svnweb.freebsd.org/changeset/base/368159 Log: Remove unused options. Marvell files and their related SOC_MV_ options should be cleaned up in another pass. Modified: head/sys/arm/conf/NOTES

Re: svn commit: r368124 - in head/sys: cam cam/ata cam/ctl cam/mmc cam/nvme cam/scsi compat/linprocfs compat/linux conf contrib/openzfs/module/os/freebsd/zfs dev/ahci dev/ata dev/firewire dev/flash de

2020-11-29 Thread Konstantin Belousov
On Sun, Nov 29, 2020 at 02:03:57PM +0100, Michal Meloun wrote: > On 28.11.2020 13:12, Konstantin Belousov wrote: > > Author: kib > > Date: Sat Nov 28 12:12:51 2020 > > New Revision: 368124 > > URL: https://svnweb.freebsd.org/changeset/base/368124 > > > > Log: > >Make MAXPHYS tunable. Bump

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

2020-11-29 Thread Michal Meloun
Author: mmel Date: Sun Nov 29 16:44:22 2020 New Revision: 368158 URL: https://svnweb.freebsd.org/changeset/base/368158 Log: _ARM_ARCH_5E is always defined, we not support older CPUs. Modified: head/sys/arm/arm/bcopy_page.S head/sys/arm/arm/bcopyinout.S head/sys/arm/arm/in_cksum_arm.S

svn commit: r368157 - head/share/man/man7

2020-11-29 Thread Yuri Pankov
Author: yuripv Date: Sun Nov 29 16:29:40 2020 New Revision: 368157 URL: https://svnweb.freebsd.org/changeset/base/368157 Log: security(7): fix copy/paste error and correct aslr oids Submitted by: Mina Galić Differential Revision:https://reviews.freebsd.org/D27408 Modified:

svn commit: r368156 - head/sys/dev/pci

2020-11-29 Thread Andrew Turner
Author: andrew Date: Sun Nov 29 16:22:33 2020 New Revision: 368156 URL: https://svnweb.freebsd.org/changeset/base/368156 Log: Only set the PCI bus end when we are reducing it We read the bus end value from the _CRS method. On some systems we need to further limit it based on the MCFG

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

2020-11-29 Thread Michal Meloun
Author: mmel Date: Sun Nov 29 15:39:54 2020 New Revision: 368155 URL: https://svnweb.freebsd.org/changeset/base/368155 Log: Remove orphaned configs. Deleted: head/sys/arm/conf/ARNDALE head/sys/arm/conf/ARNDALE-OCTA head/sys/arm/conf/EA3250.hints head/sys/arm/conf/SAM9G20EK.hints

svn commit: r368154 - in head/sys: arm/arm arm/include arm/mv conf

2020-11-29 Thread Michal Meloun
Author: mmel Date: Sun Nov 29 15:24:00 2020 New Revision: 368154 URL: https://svnweb.freebsd.org/changeset/base/368154 Log: Remove remaining fragments of code for older already ceased ARM versions. Deleted: head/sys/arm/arm/cpufunc_asm_arm9.S head/sys/arm/arm/cpufunc_asm_armv4.S

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

2020-11-29 Thread Michal Meloun
Author: mmel Date: Sun Nov 29 15:04:39 2020 New Revision: 368153 URL: https://svnweb.freebsd.org/changeset/base/368153 Log: Remove remaining support of big endian byte order. Big endian support was ceased by removing ARMv4 sub architecture. Modified: head/sys/arm/arm/bcopyinout_xscale.S

svn commit: r368152 - stable/11/lib/libprocstat

2020-11-29 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Sun Nov 29 14:21:16 2020 New Revision: 368152 URL: https://svnweb.freebsd.org/changeset/base/368152 Log: MFC r368084: libprocstat.3: Correct two occurrences of kvm_getprocs to procstat_getprocs Submitted by: otis_sk.freebsd.org Reviewed by:

svn commit: r368151 - stable/12/lib/libprocstat

2020-11-29 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Sun Nov 29 14:20:42 2020 New Revision: 368151 URL: https://svnweb.freebsd.org/changeset/base/368151 Log: MFC r368084: libprocstat.3: Correct two occurrences of kvm_getprocs to procstat_getprocs Submitted by: otis_sk.freebsd.org Reviewed by:

svn commit: r368150 - head/sys/net/route

2020-11-29 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Nov 29 13:54:49 2020 New Revision: 368150 URL: https://svnweb.freebsd.org/changeset/base/368150 Log: Introduce rib_walk_ext_internal() to allow iteration with rnh pointer. This solves the case when rib is not yet attached/detached to/from the system rib array.

svn commit: r368149 - head/sys/net/route

2020-11-29 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Nov 29 13:52:06 2020 New Revision: 368149 URL: https://svnweb.freebsd.org/changeset/base/368149 Log: Add nhop_ref_any() to unify referencing nhop or nexthop group. It allows code within routing subsystem to transparently reference nexthops and nexthop groups,

svn commit: r368148 - head/sbin/hastd

2020-11-29 Thread Eugene Grosbein
Author: eugen Date: Sun Nov 29 13:45:53 2020 New Revision: 368148 URL: https://svnweb.freebsd.org/changeset/base/368148 Log: hastd(8) assumes it has no extra file descriptors opened and aborts otherwise, so call closefrom() early. PR: 227461 MFC after:2 weeks Modified:

svn commit: r368147 - in head/sys: net netinet netinet6

2020-11-29 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Nov 29 13:41:49 2020 New Revision: 368147 URL: https://svnweb.freebsd.org/changeset/base/368147 Log: Refactor fib4/fib6 functions. No functional changes. * Make lookup path of fib<4|6>_lookup_debugnet() separate functions (fib<46>_lookup_rt()). These will

svn commit: r368146 - head/sys/net/route

2020-11-29 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Nov 29 13:27:24 2020 New Revision: 368146 URL: https://svnweb.freebsd.org/changeset/base/368146 Log: Add tracking for rib/nhops/nhgrp objects and provide cumulative number accessors. The resulting KPI can be used by routing table consumers to estimate the

Re: svn commit: r368124 - in head/sys: cam cam/ata cam/ctl cam/mmc cam/nvme cam/scsi compat/linprocfs compat/linux conf contrib/openzfs/module/os/freebsd/zfs dev/ahci dev/ata dev/firewire dev/flash de

2020-11-29 Thread Michal Meloun
On 28.11.2020 13:12, Konstantin Belousov wrote: Author: kib Date: Sat Nov 28 12:12:51 2020 New Revision: 368124 URL: https://svnweb.freebsd.org/changeset/base/368124 Log: Make MAXPHYS tunable. Bump MAXPHYS to 1M. Unfortunately, bumping MAXPHYS broke arm kernel. The kernel runs out of KVA

Re: svn commit: r368130 - in head: share/man/man4 sys/dev/ftwd sys/modules sys/modules/ftwd

2020-11-29 Thread Poul-Henning Kamp
Rodney W. Grimes writes: > > Added: head/share/man/man4/ftwd.4 > > == > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > +++ head/share/man/man4/ftwd.4 Sat Nov 28 22:34:33 2020

svn commit: r368145 - stable/12/lib/libc/gen

2020-11-29 Thread Konstantin Belousov
Author: kib Date: Sun Nov 29 10:36:56 2020 New Revision: 368145 URL: https://svnweb.freebsd.org/changeset/base/368145 Log: MFC r368083: Remove stray semicolumn. Modified: stable/12/lib/libc/gen/_pthread_stubs.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r368144 - stable/12/lib/libthr/thread

2020-11-29 Thread Konstantin Belousov
Author: kib Date: Sun Nov 29 10:34:49 2020 New Revision: 368144 URL: https://svnweb.freebsd.org/changeset/base/368144 Log: MFC r368082: Style. Modified: stable/12/lib/libthr/thread/thr_attr.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r368143 - head/sys/amd64/vmm

2020-11-29 Thread Konstantin Belousov
Author: kib Date: Sun Nov 29 10:32:38 2020 New Revision: 368143 URL: https://svnweb.freebsd.org/changeset/base/368143 Log: bhyve: limit max GPA to VM_MAXUSER_ADDRESS_LA48. We use 4-level EPT pages, correct the upper bound. Reviewed by: grehan Sponsored by: The FreeBSD Foundation

svn commit: r368142 - head/sys/kern

2020-11-29 Thread Konstantin Belousov
Author: kib Date: Sun Nov 29 10:30:56 2020 New Revision: 368142 URL: https://svnweb.freebsd.org/changeset/base/368142 Log: bio aio: Destroy ephemeral mapping before unwiring page. Apparently some architectures, like ppc in its hashed page tables variants, account mappings by

Re: svn commit: r368130 - in head: share/man/man4 sys/dev/ftwd sys/modules sys/modules/ftwd

2020-11-29 Thread Rodney W. Grimes
> Author: phk > Date: Sat Nov 28 22:34:33 2020 > New Revision: 368130 > URL: https://svnweb.freebsd.org/changeset/base/368130 > > Log: > Add watchdog(9) driver for the Fintek F81803 SuperIO chip > > Added: > head/share/man/man4/ftwd.4 (contents, props changed) > head/sys/dev/ftwd/ >

svn commit: r368141 - in head/sys/arm: allwinner annapurna/alpine arm freescale/imx include mv versatile

2020-11-29 Thread Michal Meloun
Author: mmel Date: Sun Nov 29 08:40:12 2020 New Revision: 368141 URL: https://svnweb.freebsd.org/changeset/base/368141 Log: Remove the pre-ARMv6 and pre-INTRNG code. ARM has required ARMV6+ and INTRNg for some time now, so remove always false #ifdefs and unconditionally do always true