Re: svn commit: r354236 - head/sbin/mdmfs

2019-10-31 Thread Kyle Evans
On Thu, Oct 31, 2019 at 10:11 PM Kyle Evans wrote: > > Author: kevans > Date: Fri Nov 1 03:10:53 2019 > New Revision: 354236 > URL: https://svnweb.freebsd.org/changeset/base/354236 > > Log: > mdmfs(8): add -k skel option to populate fs from a skeleton > > mdmfs(8) lacks the ability to

svn commit: r354236 - head/sbin/mdmfs

2019-10-31 Thread Kyle Evans
Author: kevans Date: Fri Nov 1 03:10:53 2019 New Revision: 354236 URL: https://svnweb.freebsd.org/changeset/base/354236 Log: mdmfs(8): add -k skel option to populate fs from a skeleton mdmfs(8) lacks the ability to populate throwaway memory filesystems from an existing directory.

svn commit: r354235 - head/sys/powerpc/booke

2019-10-31 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 1 02:55:58 2019 New Revision: 354235 URL: https://svnweb.freebsd.org/changeset/base/354235 Log: powerpc/booke: Fix TLB1 entry accounting It's possible, with per-CPU mappings, for TLB1 indices to get out of sync. This presents a problem when trying to

svn commit: r354234 - head/lib/geom/eli

2019-10-31 Thread Alan Somers
Author: asomers Date: Fri Nov 1 02:48:43 2019 New Revision: 354234 URL: https://svnweb.freebsd.org/changeset/base/354234 Log: geli: raise WARNS to 6 MFC after:2 weeks Sponsored by: Axcient Modified: head/lib/geom/eli/Makefile head/lib/geom/eli/geom_eli.c Modified:

Re: svn commit: r354218 - head/sys/dev/ena

2019-10-31 Thread Marcin Wojtas
Hi John, Sure, will be happy to test. Please let me know and cc m...@semihalf.com. Best regards, Marcin pt., 1 lis 2019 o 01:04 John Baldwin napisaƂ(a): > On 10/31/19 8:38 AM, Marcin Wojtas wrote: > > Author: mw > > Date: Thu Oct 31 15:38:17 2019 > > New Revision: 354218 > > URL:

Re: svn commit: r354218 - head/sys/dev/ena

2019-10-31 Thread John Baldwin
On 10/31/19 8:38 AM, Marcin Wojtas wrote: > Author: mw > Date: Thu Oct 31 15:38:17 2019 > New Revision: 354218 > URL: https://svnweb.freebsd.org/changeset/base/354218 > > Log: > Add WC support for arm64 in the ENA driver > > As the pmamp_change_attr() is public on arm64 since r351131, it

svn commit: r354233 - in releng/12.1: . lib/csu/common sys/conf

2019-10-31 Thread Glen Barber
Author: gjb Date: Fri Nov 1 00:00:17 2019 New Revision: 354233 URL: https://svnweb.freebsd.org/changeset/base/354233 Log: - Switch releng/12.1 from RC2 to RELEASE. - Add the anticipated 12.1-RELEASE date to UPDATING. - Set a static __FreeBSD_version. Approved by: re (implicit)

svn commit: r354232 - head/usr.bin/truss

2019-10-31 Thread Brooks Davis
Author: brooks Date: Thu Oct 31 22:29:13 2019 New Revision: 354232 URL: https://svnweb.freebsd.org/changeset/base/354232 Log: truss: centralize pointer-constructing casts. In nearly all cases, the caller has a uintptr_t compatible argument so this eliminates a large number of casts.

svn commit: r354231 - head/sys/net

2019-10-31 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Oct 31 22:16:20 2019 New Revision: 354231 URL: https://svnweb.freebsd.org/changeset/base/354231 Log: netmap: fix build issue in netmap_user.h The issue was a comparison of integers of different signs on 32 bit architectures. Reported by: jenkins MFC

svn commit: r354230 - in stable/12/stand: . efi/loader ficl ficl/amd64 ficl/i386 ficl/x86 i386/loader libsa libsa/x86

2019-10-31 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 31 21:32:59 2019 New Revision: 354230 URL: https://svnweb.freebsd.org/changeset/base/354230 Log: Add support for hypervisor check on x86 Add ficl words for isvirtualized and move ficl inb and outb words to ficl/x86/sysdep.c so can be shared by i386 and amd64

svn commit: r354229 - in head: share/man/man4 sys/dev/netmap sys/net tools/tools/netmap usr.sbin usr.sbin/valectl

2019-10-31 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Oct 31 21:01:34 2019 New Revision: 354229 URL: https://svnweb.freebsd.org/changeset/base/354229 Log: add valectl to the system commands The valectl(4) program is used to manage vale(4) switches. Add it to the system commands so that it can be used right away.

svn commit: r354228 - head/sys/kern

2019-10-31 Thread Ed Maste
Author: emaste Date: Thu Oct 31 20:42:36 2019 New Revision: 354228 URL: https://svnweb.freebsd.org/changeset/base/354228 Log: avoid kernel stack data leak in core dump thrmisc note bzero the entire thrmisc struct, not just the padding. Other core dump notes are already done this way.

svn commit: r354227 - head/share/mk

2019-10-31 Thread Brooks Davis
Author: brooks Date: Thu Oct 31 20:37:19 2019 New Revision: 354227 URL: https://svnweb.freebsd.org/changeset/base/354227 Log: Allow bsd.compat.mk to be reliably included outside Makefile.inc1. Replace explicit TARGET_* variables with COMPAT_* versions defined based on where the file is

svn commit: r354226 - stable/12/lib/libsecureboot

2019-10-31 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 31 20:29:45 2019 New Revision: 354226 URL: https://svnweb.freebsd.org/changeset/base/354226 Log: Initialize verbosity and debug level from env For EFI at least, we can seed the environment with VE_VERBOSE etc. MFC of r354038 Reviewed by: stevek imp

svn commit: r354225 - head/sys/dev/ena

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 16:03:43 2019 New Revision: 354225 URL: https://svnweb.freebsd.org/changeset/base/354225 Log: Update ENA version to v2.1.0 In this release the netmap support was introduced. Moreover, it is also now possible to use the LLQ mode of the driver on the arm64

svn commit: r354224 - head/sys/dev/ena

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 16:02:42 2019 New Revision: 354224 URL: https://svnweb.freebsd.org/changeset/base/354224 Log: Add support for ENA NETMAP partial initialization In NETMAP mode not all queues need to be allocated to NETMAP. Some of them could be left to the kernel.

svn commit: r354223 - head/sys/dev/ena

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 15:59:29 2019 New Revision: 354223 URL: https://svnweb.freebsd.org/changeset/base/354223 Log: Add support for ENA NETMAP Tx Two new tables are added to ena_tx_buffer structure: * netmap_map_seg stores DMA mapping structures, * netmap_buf_idx stores buff

svn commit: r354221 - in head/sys: contrib/ena-com dev/ena modules/ena

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 15:51:18 2019 New Revision: 354221 URL: https://svnweb.freebsd.org/changeset/base/354221 Log: Introduce NETMAP support in ENA Mock implementation of NETMAP routines is located in ena_netmap.c/.h files. All code is protected under the DEV_NETMAP macro. Makefile

svn commit: r354220 - in head/sys: dev/ena modules/ena

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 15:44:26 2019 New Revision: 354220 URL: https://svnweb.freebsd.org/changeset/base/354220 Log: Split Rx/Tx from initialization code in ENA driver Move Rx/Tx routines to separate file. Some functions: * ena_restore_device, * ena_destroy_device, * ena_up,

svn commit: r354219 - head/sys/dev/ena

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 15:39:54 2019 New Revision: 354219 URL: https://svnweb.freebsd.org/changeset/base/354219 Log: Fix ENA keep-alive timeout due to prolonged reset When the ENA_FLAG_DEVICE_RUNNING flag is disabled, the AENQ handlers aren't executed. To fix that, the watchdog

svn commit: r354218 - head/sys/dev/ena

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 15:38:17 2019 New Revision: 354218 URL: https://svnweb.freebsd.org/changeset/base/354218 Log: Add WC support for arm64 in the ENA driver As the pmamp_change_attr() is public on arm64 since r351131, it can be used on the arm64 to map memory range as with the

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

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 15:16:10 2019 New Revision: 354217 URL: https://svnweb.freebsd.org/changeset/base/354217 Log: Fix pmap_change_attr() on arm64 to allow KV addresses Altough in the comment above the pmap_change_attr() it was mentioned that VA could be in KV or DMAP memory

svn commit: r354216 - stable/12/sys/kern

2019-10-31 Thread Mark Johnston
Author: markj Date: Thu Oct 31 14:49:30 2019 New Revision: 354216 URL: https://svnweb.freebsd.org/changeset/base/354216 Log: MFC r353699: Clean up some nits in link_elf_(un)load_file(). Modified: stable/12/sys/kern/link_elf_obj.c Directory Properties: stable/12/ (props changed)

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

2019-10-31 Thread Mark Johnston
Author: markj Date: Thu Oct 31 14:22:54 2019 New Revision: 354215 URL: https://svnweb.freebsd.org/changeset/base/354215 Log: Fix a typo in r353895. Reported by: andrew MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/machdep.c Modified:

Re: svn commit: r354206 - head/sys/arm/allwinner

2019-10-31 Thread Emmanuel Vadot
On Wed, 30 Oct 2019 20:43:27 + (UTC) Ilya Bakulin wrote: > Author: kibab > Date: Wed Oct 30 20:43:27 2019 > New Revision: 354206 > URL: https://svnweb.freebsd.org/changeset/base/354206 > > Log: > Use the new cam_sim_alloc_dev function to properly initialize SIM > > Using

svn commit: r354214 - in head/sys/powerpc: include powerpc

2019-10-31 Thread Leandro Lupori
Author: luporl Date: Thu Oct 31 12:03:47 2019 New Revision: 354214 URL: https://svnweb.freebsd.org/changeset/base/354214 Log: Fix GDB machdep code for PPC/PPC64 There was a couple issues with GDB machdep code for PPC/PPC64, the main ones being: - wrong register sizes being returned -

svn commit: r354213 - head/sys/powerpc/aim

2019-10-31 Thread Leandro Lupori
Author: luporl Date: Thu Oct 31 11:59:00 2019 New Revision: 354213 URL: https://svnweb.freebsd.org/changeset/base/354213 Log: [PPC64] Fix trapstk overflow In some scenarios, the 4K trapstk may overflow, corrupting tmpstk. This was observed during remote debugging, with the following

svn commit: r354212 - head/sys/dev/iicbus

2019-10-31 Thread Andriy Gapon
Author: avg Date: Thu Oct 31 11:31:13 2019 New Revision: 354212 URL: https://svnweb.freebsd.org/changeset/base/354212 Log: iicbb: allow longer SCL low timeout and other improvements First, SCL low timeout is set to 25 milliseconds by default as opposed to 1 millisecond before. The new

svn commit: r354211 - in stable/12: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zstreamdump cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/common/zfs sys/cddl/con...

2019-10-31 Thread Andriy Gapon
Author: avg Date: Thu Oct 31 09:14:50 2019 New Revision: 354211 URL: https://svnweb.freebsd.org/changeset/base/354211 Log: MFC r353176,r353304,r353556,r353559: large_dnode improvements and fixes r353176: MFV r350898, r351075: 8423 8199 7432 Implement large_dnode pool feature This