svn commit: r354237 - head/stand/libsa

2019-10-31 Thread Toomas Soome
Author: tsoome Date: Fri Nov 1 06:54:07 2019 New Revision: 354237 URL: https://svnweb.freebsd.org/changeset/base/354237 Log: loader: asprinf does crash arm64 due to missing NULL pointer check PCHAR macro needs to check if d is NULL. MFC after:3 days Modified: head/stand/libsa/p

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 populat

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. Th

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 insert

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: head/lib/geom

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: https://svnwe

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 ca

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 aft

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 be

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 A

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. Configuration

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

2019-10-31 Thread Marcin Wojtas
Author: mw Date: Thu Oct 31 15:57:44 2019 New Revision: 354222 URL: https://svnweb.freebsd.org/changeset/base/354222 Log: Add support for ENA NETMAP Rx Most of code used for Rx ring initialization could be reused in NETMAP. Reset of NETMAP ring and new alloc method was added. Driver decid

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 times

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 wri

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 space.

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: head/

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 cam_sim_alloc

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 - p

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 st

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 va