svn commit: r361326 - head/sys/arm/xilinx

2020-05-20 Thread John-Mark Gurney
Author: jmg Date: Thu May 21 06:40:51 2020 New Revision: 361326 URL: https://svnweb.freebsd.org/changeset/base/361326 Log: Bring in support for single core Zynq devices. Turns out that real hardware, the registers appear like there's two cores, but the second core does not work, so base the

svn commit: r361325 - head/sys/arm/xilinx

2020-05-20 Thread John-Mark Gurney
Author: jmg Date: Thu May 21 06:17:54 2020 New Revision: 361325 URL: https://svnweb.freebsd.org/changeset/base/361325 Log: minor cleanup of white space, and function name in panic... This is a partial commit of the review. Submitted by: Thomas Skibo Differential Revision: https://

svn commit: r361324 - head/sys/sys

2020-05-20 Thread Doug Moore
Author: dougm Date: Thu May 21 05:34:02 2020 New Revision: 361324 URL: https://svnweb.freebsd.org/changeset/base/361324 Log: For the case when RB_REMOVE requires a nontrivial search to find the node to replace the one being removed, restructure to first remove the replacement node and correc

svn commit: r361321 - head/sys/dev/ath

2020-05-20 Thread Adrian Chadd
Author: adrian Date: Thu May 21 04:35:12 2020 New Revision: 361321 URL: https://svnweb.freebsd.org/changeset/base/361321 Log: [ath] Hopefully recover better-er upon RX restart on AR9380. This is all very long-standing bug stuff that is touchy and still poorly documented. Ok, here goes.

svn commit: r361320 - head/sys/dev/ath

2020-05-20 Thread Adrian Chadd
Author: adrian Date: Thu May 21 04:26:20 2020 New Revision: 361320 URL: https://svnweb.freebsd.org/changeset/base/361320 Log: [ath] reset hardware if this particular mac bug is seen. I have to dig into why I'm seeing it on chips as late as the AR9380 era stuff (as it's marked as an AR5416

svn commit: r361319 - head/sys/dev/ath/ath_rate/sample

2020-05-20 Thread Adrian Chadd
Author: adrian Date: Thu May 21 03:53:45 2020 New Revision: 361319 URL: https://svnweb.freebsd.org/changeset/base/361319 Log: [ath_rate_sample] Obey the maximum frame length even when using static rates. I wasn't enforcing the maximum packet length when using static rates so although the

svn commit: r361318 - head/bin/ls

2020-05-20 Thread Kyle Evans
Author: kevans Date: Thu May 21 03:50:56 2020 New Revision: 361318 URL: https://svnweb.freebsd.org/changeset/base/361318 Log: ls: fix a --color regression from r337956 The regression is in-fact that I flipped the default from never to auto. The incorrect impression was based on an alias t

svn commit: r361317 - in head/sys/powerpc: aim include powerpc

2020-05-20 Thread Justin Hibbits
Author: jhibbits Date: Thu May 21 03:33:20 2020 New Revision: 361317 URL: https://svnweb.freebsd.org/changeset/base/361317 Log: powerpc: Handle machine checks caused by D-ERAT multihit Instead of crashing the user process when a D-ERAT multihit is detected, try to flush the ERAT, and cont

Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-20 Thread Ian Lepore
On Thu, 2020-05-21 at 01:53 +, Wei Hu wrote: > > -Original Message- > > From: Enji Cooper > > Sent: Wednesday, May 20, 2020 11:58 PM > > To: Shawn Webb > > Cc: Wei Hu ; src-committ...@freebsd.org; svn-src- > > a...@freebsd.org; svn-src-head@freebsd.org > > Subject: Re: svn commit: r36

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

2020-05-20 Thread Christian S.J. Peron
Author: csjp Date: Thu May 21 02:10:45 2020 New Revision: 361316 URL: https://svnweb.freebsd.org/changeset/base/361316 Log: Decode the file descriptor argument to closefrom(2) as an Integer. This is consistent with what we are doing for close(2) and it makes it a bit easier to follow when de

Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-20 Thread Li-Wen Hsu
On Thu, May 21, 2020 at 9:50 AM Wei Hu wrote: > I was not familiar to the mechanism of __FreeBSD_version. But it looks > like a good idea. However I am not sure if I have the right to update the > chapter.xml file. Can you help on what I need to do the update this > version number? It's no proble

svn commit: r361313 - in head: lib/libugidfw sbin/mksnap_ffs sbin/umount sys/fs/nfs sys/fs/nfsserver sys/kern sys/security/mac_bsdextended sys/sys usr.sbin/autofs usr.sbin/mountd

2020-05-20 Thread Ryan Moeller
Author: freqlabs Date: Thu May 21 01:55:35 2020 New Revision: 361313 URL: https://svnweb.freebsd.org/changeset/base/361313 Log: Deduplicate fsid comparisons Comparing fsid_t objects requires internal knowledge of the fsid structure and yet this is duplicated across a number of places in t

RE: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-20 Thread Wei Hu via svn-src-head
> -Original Message- > From: Enji Cooper > Sent: Wednesday, May 20, 2020 11:58 PM > To: Shawn Webb > Cc: Wei Hu ; src-committ...@freebsd.org; svn-src- > a...@freebsd.org; svn-src-head@freebsd.org > Subject: Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock > dev/hyperv/inclu

RE: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-20 Thread Wei Hu via svn-src-head
> -Original Message- > From: Shawn Webb > Sent: Wednesday, May 20, 2020 11:11 PM > To: Wei Hu > Cc: src-committ...@freebsd.org; svn-src-...@freebsd.org; svn-src- > h...@freebsd.org > Subject: Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock > dev/hyperv/include dev/hyperv/

svn commit: r361307 - in head: contrib/bmake contrib/bmake/filemon contrib/bmake/mk contrib/bmake/mk/sys contrib/bmake/unit-tests usr.bin/bmake

2020-05-20 Thread Simon J. Gerraty
Author: sjg Date: Wed May 20 22:25:46 2020 New Revision: 361307 URL: https://svnweb.freebsd.org/changeset/base/361307 Log: Merge bmake-20200517 Changes since 20181221 are mostly portability related hence the large gap in versions imported. There are however some bug fixes, and a rewo

svn commit: r361306 - in head: stand/libsa/geli sys/opencrypto

2020-05-20 Thread John Baldwin
Author: jhb Date: Wed May 20 22:25:41 2020 New Revision: 361306 URL: https://svnweb.freebsd.org/changeset/base/361306 Log: Fix libstand build breakage after r361298. - Use enc_xform_aes_xts.setkey() directly instead of duplicating the code now that it no longer calls malloc(). - Rathe

Re: svn commit: r361303 - in head: lib/libc/gen libexec/rtld-elf sys/sys

2020-05-20 Thread John Baldwin
On 5/20/20 3:08 PM, Konstantin Belousov wrote: > Author: kib > Date: Wed May 20 22:08:26 2020 > New Revision: 361303 > URL: https://svnweb.freebsd.org/changeset/base/361303 > > Log: > Change the samantic of struct link_map l_addr member. > > It previously returned the object map base addres

svn commit: r361303 - in head: lib/libc/gen libexec/rtld-elf sys/sys

2020-05-20 Thread Konstantin Belousov
Author: kib Date: Wed May 20 22:08:26 2020 New Revision: 361303 URL: https://svnweb.freebsd.org/changeset/base/361303 Log: Change the samantic of struct link_map l_addr member. It previously returned the object map base address, while all other ELF operating systems return load offset, i.

Re: svn commit: r361302 - in head: share/man/man7 sys/amd64/amd64 sys/i386/i386 sys/x86/include sys/x86/x86

2020-05-20 Thread Konstantin Belousov
On Wed, May 20, 2020 at 10:00:31PM +, Konstantin Belousov wrote: > Author: kib > Date: Wed May 20 22:00:31 2020 > New Revision: 361302 > URL: https://svnweb.freebsd.org/changeset/base/361302 > > Log: > amd64: Add a knob to flush RSB on context switches if machine has SMEP. > > The flush

svn commit: r361302 - in head: share/man/man7 sys/amd64/amd64 sys/i386/i386 sys/x86/include sys/x86/x86

2020-05-20 Thread Konstantin Belousov
Author: kib Date: Wed May 20 22:00:31 2020 New Revision: 361302 URL: https://svnweb.freebsd.org/changeset/base/361302 Log: amd64: Add a knob to flush RSB on context switches if machine has SMEP. The flush is needed to prevent cross-process ret2spec, which is not handled on kernel entry if

svn commit: r361300 - head/usr.sbin/bsdinstall/scripts

2020-05-20 Thread Devin Teske
Author: dteske Date: Wed May 20 21:39:19 2020 New Revision: 361300 URL: https://svnweb.freebsd.org/changeset/base/361300 Log: Fix indentation in bsdinstall-created wpa_supplicant.conf PR: base/221982 Reported by: emaste Reviewed by: emaste, allanjude MFC after:0 days

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

2020-05-20 Thread Konstantin Belousov
Author: kib Date: Wed May 20 21:22:25 2020 New Revision: 361299 URL: https://svnweb.freebsd.org/changeset/base/361299 Log: Do not consider CAP_RDCL_NO as an indicator for all MDS vulnerabilities handled by hardware. Reported by: Anthony Steinhauser admbugs: 962 Sponsored by: Th

svn commit: r361298 - in head/sys: crypto/chacha20 dev/cxgbe/crypto opencrypto

2020-05-20 Thread John Baldwin
Author: jhb Date: Wed May 20 21:21:01 2020 New Revision: 361298 URL: https://svnweb.freebsd.org/changeset/base/361298 Log: Various cleanups to the software encryption transform interface. - Consistently use 'void *' for key schedules / key contexts instead of a mix of 'caddr_t', 'uint8_

svn commit: r361297 - in head/sys/mips: atheros atheros/ar531x cavium include mediatek mips

2020-05-20 Thread John Baldwin
Author: jhb Date: Wed May 20 21:16:54 2020 New Revision: 361297 URL: https://svnweb.freebsd.org/changeset/base/361297 Log: Print CPU informtion later in boot. Match other architectures and print CPU information during cpu_startup(). In particular, this prints the information after the

svn commit: r361296 - in head/sys/mips: include mips

2020-05-20 Thread John Baldwin
Author: jhb Date: Wed May 20 21:15:43 2020 New Revision: 361296 URL: https://svnweb.freebsd.org/changeset/base/361296 Log: Simplify hot-patching cpu_switch() for lack of UserLocal register. Rather than walking all of cpu_switch looking for the sequence of instructions to patch, add a glob

svn commit: r361295 - head/stand/common

2020-05-20 Thread Kyle Evans
Author: kevans Date: Wed May 20 21:02:08 2020 New Revision: 361295 URL: https://svnweb.freebsd.org/changeset/base/361295 Log: loader: fix userboot's ability to detect a guest's interpreter Some time after r338418, I believe with -Os/-Oz -ffunction-sections -fdata-sections, the bootprog_in

svn commit: r361294 - in head: contrib/libarchive contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar lib/libarchive/tests usr.bin/bsdcat usr.bin/cpio usr.bin/tar

2020-05-20 Thread Martin Matuska
Author: mm Date: Wed May 20 20:58:48 2020 New Revision: 361294 URL: https://svnweb.freebsd.org/changeset/base/361294 Log: MFV r361280: Update libarchive to 3.4.3 Relevant vendor changes: PR #1352: support negative zstd compression levels PR #1359: improve zstd version checking

svn commit: r361293 - in head/sys: kern sys

2020-05-20 Thread John Baldwin
Author: jhb Date: Wed May 20 20:58:17 2020 New Revision: 361293 URL: https://svnweb.freebsd.org/changeset/base/361293 Log: Remove copyinfrom() and copyinstrfrom(). These functions were added in 2001 and are currently unused. copyinfrom() looks to have never been used. copyinstrfrom() was

Re: svn commit: r360833 - head

2020-05-20 Thread Brooks Davis
On Tue, May 12, 2020 at 10:16:03PM +, Brooks Davis wrote: > On Mon, May 11, 2020 at 01:45:14PM -0500, Kyle Evans wrote: > > On Mon, May 11, 2020 at 1:10 PM Brooks Davis wrote: > > > > > > On Sat, May 09, 2020 at 02:01:29AM +, Kyle Evans wrote: > > > > Author: kevans > > > > Date: Sat May

Re: svn commit: r361284 - in head/sys/amd64: include vmm

2020-05-20 Thread Scott Long
There’s a better way to do this. People have been wanting larger names to be merged into 12.x and 11.x, and that was going to be hard with how I originally did this. Your compat shim doesn’t make it any easier. What I was going to do was return the ioctl in HEAD to the original size, and create

svn commit: r361292 - head/share/vt/keymaps

2020-05-20 Thread Ed Maste
Author: emaste Date: Wed May 20 20:24:37 2020 New Revision: 361292 URL: https://svnweb.freebsd.org/changeset/base/361292 Log: vt: fix duplicate keymap descriptions PR: 246495 Submitted by: Jorge Maidana MFC after:1 week Modified: head/share/vt/keymaps/INDEX.keymaps Mod

svn commit: r361291 - head/sys/mips/mips

2020-05-20 Thread John Baldwin
Author: jhb Date: Wed May 20 19:51:39 2020 New Revision: 361291 URL: https://svnweb.freebsd.org/changeset/base/361291 Log: Merge freebsd32_exec_setregs() into exec_setregs() on MIPS. The stack pointer was being decremented by 64k twice previously. Reviewed by: brooks Obtained from:

svn commit: r361290 - in head: . release/packages release/scripts share/mk sys/conf

2020-05-20 Thread Ed Maste
Author: emaste Date: Wed May 20 19:45:22 2020 New Revision: 361290 URL: https://svnweb.freebsd.org/changeset/base/361290 Log: pkgbase: use -dev,-dbg instead of -development,-debug -development is long and awkward, and is also inconsistent with prior art from the Linux world, which uses -d

Re: svn commit: r361287 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2020-05-20 Thread Mark Johnston
On Wed, May 20, 2020 at 06:29:23PM +, Mark Johnston wrote: > Author: markj > Date: Wed May 20 18:29:23 2020 > New Revision: 361287 > URL: https://svnweb.freebsd.org/changeset/base/361287 > > Log: > Don't block on the range lock in zfs_getpages(). > > After r358443 the vnode object lock

svn commit: r361287 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2020-05-20 Thread Mark Johnston
Author: markj Date: Wed May 20 18:29:23 2020 New Revision: 361287 URL: https://svnweb.freebsd.org/changeset/base/361287 Log: Don't block on the range lock in zfs_getpages(). After r358443 the vnode object lock no longer synchronizes concurrent zfs_getpages() and zfs_write() (which must up

svn commit: r361286 - in head/tests/sys: fifo kern/pipe

2020-05-20 Thread Mark Johnston
Author: markj Date: Wed May 20 17:48:18 2020 New Revision: 361286 URL: https://svnweb.freebsd.org/changeset/base/361286 Log: Avoid hard-coding pipe buffer sizes in the pipe and fifo kqueue tests. Fix some style issues in the modified tests while here. Reported by: Jenkins via lwhsu

svn commit: r361284 - in head/sys/amd64: include vmm

2020-05-20 Thread Conrad Meyer
Author: cem Date: Wed May 20 17:27:54 2020 New Revision: 361284 URL: https://svnweb.freebsd.org/changeset/base/361284 Log: vmm(4): Add 12 user ABI compat after r349948 Reported by: kp Reviewed by: jhb, kp Tested by:kp Differential Revision:https://reviews.freebsd.org/D24

svn commit: r361283 - head/share/man/man5

2020-05-20 Thread Ed Maste
Author: emaste Date: Wed May 20 17:27:22 2020 New Revision: 361283 URL: https://svnweb.freebsd.org/changeset/base/361283 Log: src.conf.5: regen after r361282, GNU_DIFF knob descriptions Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r361282 - head/tools/build/options

2020-05-20 Thread Ed Maste
Author: emaste Date: Wed May 20 17:20:48 2020 New Revision: 361282 URL: https://svnweb.freebsd.org/changeset/base/361282 Log: Update GNU_DIFF knob descriptions After r317209 the WITH_/WITHOUT_GNU_DIFF knob controls only diff3; diff is always BSD diff. MFC after:1 week Modified:

svn commit: r361279 - head/sys/dev/bnxt

2020-05-20 Thread Kristof Provost
Author: kp Date: Wed May 20 16:07:37 2020 New Revision: 361279 URL: https://svnweb.freebsd.org/changeset/base/361279 Log: bnxt: isc_nrxd_max and isc_ntxd_max must be powers of two Reviewed by: gallatin, rpokala MFC after:2 weeks Differential Revision:https://reviews.freebsd

Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-20 Thread Enji Cooper
> On May 20, 2020, at 08:54, Enji Cooper wrote: >  >>> On May 20, 2020, at 08:11, Shawn Webb wrote: >>> >>> On Wed, May 20, 2020 at 11:03:59AM +, Wei Hu wrote: >>> Author: whu >>> Date: Wed May 20 11:03:59 2020 >>> New Revision: 361275 >>> URL: https://svnweb.freebsd.org/changeset/base/36

Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-20 Thread Enji Cooper
> On May 20, 2020, at 08:11, Shawn Webb wrote: > > On Wed, May 20, 2020 at 11:03:59AM +, Wei Hu wrote: >> Author: whu >> Date: Wed May 20 11:03:59 2020 >> New Revision: 361275 >> URL: https://svnweb.freebsd.org/changeset/base/361275 >> >> Log: >> HyperV socket implementation for FreeBSD >

Re: svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-20 Thread Shawn Webb
On Wed, May 20, 2020 at 11:03:59AM +, Wei Hu wrote: > Author: whu > Date: Wed May 20 11:03:59 2020 > New Revision: 361275 > URL: https://svnweb.freebsd.org/changeset/base/361275 > > Log: > HyperV socket implementation for FreeBSD > > This change adds Hyper-V socket feature in FreeBSD. N

svn commit: r361278 - in head/sys/dev/hyperv: hvsock vmbus

2020-05-20 Thread Li-Wen Hsu
Author: lwhsu Date: Wed May 20 13:51:27 2020 New Revision: 361278 URL: https://svnweb.freebsd.org/changeset/base/361278 Log: Fix i386 build for r361275 kponsored by: The FreeBSD Foundation Modified: head/sys/dev/hyperv/hvsock/hv_sock.c head/sys/dev/hyperv/vmbus/vmbus_br.c Modified: he

svn commit: r361277 - in head/sys/dev/mlx5: . mlx5_core

2020-05-20 Thread Konstantin Belousov
Author: kib Date: Wed May 20 11:20:45 2020 New Revision: 361277 URL: https://svnweb.freebsd.org/changeset/base/361277 Log: mlx5_core: add more port module event types to decode. Reviewed by: hselasky Sponsored by: Mellanox Technologies MFC after:3 days Modified: head/sys/dev/mlx

svn commit: r361276 - in head/sys/dev/mlx5: . mlx5_core

2020-05-20 Thread Konstantin Belousov
Author: kib Date: Wed May 20 11:10:10 2020 New Revision: 361276 URL: https://svnweb.freebsd.org/changeset/base/361276 Log: mlx5_core: add "PMD type not enabled" port module event type. Reviewed by: hselasky Sponsored by: Mellanox Technologies MFC after:3 days Modified: head/sys/

svn commit: r361275 - in head/sys: conf dev/hyperv/hvsock dev/hyperv/include dev/hyperv/vmbus modules/hyperv modules/hyperv/hvsock sys

2020-05-20 Thread Wei Hu
Author: whu Date: Wed May 20 11:03:59 2020 New Revision: 361275 URL: https://svnweb.freebsd.org/changeset/base/361275 Log: HyperV socket implementation for FreeBSD This change adds Hyper-V socket feature in FreeBSD. New socket address family AF_HYPERV and its kernel support are added.

svn commit: r361274 - head/sys/dev/xen/evtchn

2020-05-20 Thread Roger Pau Monné
Author: royger Date: Wed May 20 11:01:10 2020 New Revision: 361274 URL: https://svnweb.freebsd.org/changeset/base/361274 Log: dev/xenstore: fix return with locks held Fix returning from xenstore device with locks held, which triggers the following panic: # cat /dev/xen/xenstore ^C

svn commit: r361273 - head/sys/dev/iwm

2020-05-20 Thread Andriy Gapon
Author: avg Date: Wed May 20 08:15:09 2020 New Revision: 361273 URL: https://svnweb.freebsd.org/changeset/base/361273 Log: iwm: improve rfkill handling Previously the driver handled the bit within itself, but did not expose the state change to net80211 and interface layers. This change