svn commit: r353715 - head/sys/netpfil/pf

2019-10-17 Thread Kristof Provost
Author: kp Date: Fri Oct 18 03:36:26 2019 New Revision: 353715 URL: https://svnweb.freebsd.org/changeset/base/353715 Log: pf: Must be in NET_EPOCH to call icmp_error icmp_reflect(), called through icmp_error() requires us to be in NET_EPOCH. Failure to hold it leads to the following panic

svn commit: r353714 - head/sys/dev/nvdimm

2019-10-17 Thread Conrad Meyer
Author: cem Date: Fri Oct 18 03:01:21 2019 New Revision: 353714 URL: https://svnweb.freebsd.org/changeset/base/353714 Log: nvdimm_e820: Fix braino in size=all SPA hint The sentinel value for "use the rest of the region," -1, isn't zero modulo PAGE_SIZE. Relax the check to permit the inte

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

2019-10-17 Thread Conrad Meyer
Author: cem Date: Fri Oct 18 02:25:30 2019 New Revision: 353713 URL: https://svnweb.freebsd.org/changeset/base/353713 Log: x86: Remove unused variable from r353712 It was in my git tree (uncommitted) and didn't get carried over to SVN in r353712. X-MFC-With: r353712 Modified: he

svn commit: r353712 - in head/sys/x86: include x86

2019-10-17 Thread Conrad Meyer
Author: cem Date: Fri Oct 18 02:18:17 2019 New Revision: 353712 URL: https://svnweb.freebsd.org/changeset/base/353712 Log: x86: Fetch and save standard CPUID leaf 6 in identcpu Rather than a few scattered places in the tree. Organize flag names in a contiguous region of specialreg.h.

svn commit: r353711 - head/lib/clang/libllvm

2019-10-17 Thread Mitchell Horne
Author: mhorne Date: Fri Oct 18 01:46:38 2019 New Revision: 353711 URL: https://svnweb.freebsd.org/changeset/base/353711 Log: Fix build of LLVM RISC-V backend Reviewed by: dim MFC with: r353358 Differential Revision:https://reviews.freebsd.org/D21963 Modified: head/lib/c

svn commit: r353709 - head/lib/libz

2019-10-17 Thread Brooks Davis
Author: brooks Date: Fri Oct 18 00:00:17 2019 New Revision: 353709 URL: https://svnweb.freebsd.org/changeset/base/353709 Log: Remove obsolete, non-use of CLANG_NO_IAS. CLANG_NO_IAS was removed in r351661. Modified: head/lib/libz/Makefile Modified: head/lib/libz/Makefile

Re: svn commit: r353635 - in head/sys: netinet netinet6

2019-10-17 Thread Hans Petter Selasky
On 2019-10-17 17:08, Gleb Smirnoff wrote: On Wed, Oct 16, 2019 at 10:46:44PM +0200, Hans Petter Selasky wrote: H> > as far as I remember I was against this changeset and I had H> > several other developers agreed that this should be fixed in H> > different way. Why did you proceed with checking i

svn commit: r353702 - head/sys/gdb

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 22:37:25 2019 New Revision: 353702 URL: https://svnweb.freebsd.org/changeset/base/353702 Log: gdb(4): Implement support for NoAckMode When the underlying debugport transport is reliable, GDB's additional checksums and acknowledgements are redundant. NoAckMode

svn commit: r353701 - head/sys/conf

2019-10-17 Thread Mark Johnston
Author: markj Date: Thu Oct 17 21:39:23 2019 New Revision: 353701 URL: https://svnweb.freebsd.org/changeset/base/353701 Log: Add an ldscript for amd64 kernel modules. Use it to pad the text and read-only data sections to a 4KB boundary. This will be used to enforce strict memory protectio

svn commit: r353700 - in head: share/man/man4 sys/amd64/conf sys/conf sys/gdb sys/i386/conf sys/kern sys/net sys/sys

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 21:33:01 2019 New Revision: 353700 URL: https://svnweb.freebsd.org/changeset/base/353700 Log: Implement NetGDB(4) NetGDB(4) is a component of a system using a panic-time network stack to remotely debug crashed FreeBSD kernels over the network, instead of tra

svn commit: r353699 - head/sys/kern

2019-10-17 Thread Mark Johnston
Author: markj Date: Thu Oct 17 21:25:50 2019 New Revision: 353699 URL: https://svnweb.freebsd.org/changeset/base/353699 Log: Clean up some nits in link_elf_(un)load_file(). - Remove a redundant assignment of ef->address. - Don't return a Mach error number to the caller if vm_map_find() fa

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Ian Lepore
On Thu, 2019-10-17 at 13:05 -0600, Alan Somers wrote: > On Thu, Oct 17, 2019 at 12:48 PM Ian Lepore wrote: > > > On Thu, 2019-10-17 at 12:17 -0600, Alan Somers wrote: > > > There might be something wrong with my environment: > > > /usr/include/libcasper.h is absent. But still, shouldn't the > >

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Mark Johnston
On Thu, Oct 17, 2019 at 01:05:42PM -0600, Alan Somers wrote: > On Thu, Oct 17, 2019 at 12:48 PM Ian Lepore wrote: > > > On Thu, 2019-10-17 at 12:17 -0600, Alan Somers wrote: > > > There might be something wrong with my environment: > > > /usr/include/libcasper.h is absent. But still, shouldn't t

svn commit: r353698 - head/sys/sys

2019-10-17 Thread Mark Johnston
Author: markj Date: Thu Oct 17 20:46:33 2019 New Revision: 353698 URL: https://svnweb.freebsd.org/changeset/base/353698 Log: Belatedly bump __FreeBSD_version for r353537 and related commits. At least one small update to the out-of-tree DRM drivers is required now that cdev_pager_free_page

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

2019-10-17 Thread Simon J. Gerraty
Author: sjg Date: Thu Oct 17 20:40:06 2019 New Revision: 353697 URL: https://svnweb.freebsd.org/changeset/base/353697 Log: Allow loader.efi to identify non-standard boot setup PATH_BOOTABLE_TOKEN can be set to a non-standard path that identifies a device as bootable. Reviewed by: kev

svn commit: r353696 - in head/sys: net netinet/netdump

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 20:25:15 2019 New Revision: 353696 URL: https://svnweb.freebsd.org/changeset/base/353696 Log: debugnet(4): Add optional full-duplex mode It remains unattached to any client protocol. Netdump is unaffected (remaining half-duplex). The intended consumer is Net

svn commit: r353695 - head/sys/net

2019-10-17 Thread Gleb Smirnoff
Author: glebius Date: Thu Oct 17 20:18:07 2019 New Revision: 353695 URL: https://svnweb.freebsd.org/changeset/base/353695 Log: Revert two parts of r353292 that enter epoch when processing vlan capabilities. It could be that entering epoch isn't necessary here, but better take a conservative

svn commit: r353694 - in head: share/man/man4 sys/net sys/netinet/netdump

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 20:10:32 2019 New Revision: 353694 URL: https://svnweb.freebsd.org/changeset/base/353694 Log: debugnet(4): Infer non-server connection parameters Loosen requirements for connecting to debugnet-type servers. Only require a destination address; the rest can the

svn commit: r353693 - head/sys/dev/acpica

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 19:53:55 2019 New Revision: 353693 URL: https://svnweb.freebsd.org/changeset/base/353693 Log: acpica: Fix for the fix, unfortunately Follow-up to incomplete pedantic change in r353691 by actually fixing the default implementation to match the interface type.

svn commit: r353692 - in head: share/man/man4 sys/net sys/netinet/netdump

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 19:49:20 2019 New Revision: 353692 URL: https://svnweb.freebsd.org/changeset/base/353692 Log: Add ddb(4) 'netdump' command to netdump a core without preconfiguration Add a 'X -s -c [-g ] -i ' subroutine to the generic debugnet code. The imagined use is both

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Alan Somers
On Thu, Oct 17, 2019 at 12:48 PM Ian Lepore wrote: > On Thu, 2019-10-17 at 12:17 -0600, Alan Somers wrote: > > There might be something wrong with my environment: > > /usr/include/libcasper.h is absent. But still, shouldn't the build > > be > > using the version from the source tree, instead of

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Ian Lepore
On Thu, 2019-10-17 at 12:17 -0600, Alan Somers wrote: > There might be something wrong with my environment: > /usr/include/libcasper.h is absent. But still, shouldn't the build > be > using the version from the source tree, instead of from the > environment? > -Alan > There should be copies of l

svn commit: r353691 - head/sys/dev/acpica

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 18:45:11 2019 New Revision: 353691 URL: https://svnweb.freebsd.org/changeset/base/353691 Log: acpica: Match ID_PROBE default implementation to interface After r339754, the additional interface parameter was accidentally left out of the default acpi_generic_id_

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

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 18:29:44 2019 New Revision: 353690 URL: https://svnweb.freebsd.org/changeset/base/353690 Log: Add a very limited DDB dumpon(8)-alike to MI dumper code This allows ddb(4) commands to construct a static dumperinfo during panic/debug and invoke doadump(false) usi

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Alan Somers
There might be something wrong with my environment: /usr/include/libcasper.h is absent. But still, shouldn't the build be using the version from the source tree, instead of from the environment? -Alan On Thu, Oct 17, 2019 at 11:48 AM Mark Johnston wrote: > On Thu, Oct 17, 2019 at 11:37:44AM -06

svn commit: r353689 - head/sys/net

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 17:48:32 2019 New Revision: 353689 URL: https://svnweb.freebsd.org/changeset/base/353689 Log: debugnet: Respond to broadcast ARP requests The in-tree netdump code has always ignored non-directed ARP requests, and that seems to work most of the time for netdump

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Mark Johnston
On Thu, Oct 17, 2019 at 11:37:44AM -0600, Alan Somers wrote: > On Mon, Sep 30, 2019 at 11:28 AM Mark Johnston wrote: > > > Author: markj > > Date: Mon Sep 30 17:27:59 2019 > > New Revision: 352909 > > URL: https://svnweb.freebsd.org/changeset/base/352909 > > > > Log: > > Capsicumize nm(1). > >

Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

2019-10-17 Thread Alan Somers
On Mon, Sep 30, 2019 at 11:28 AM Mark Johnston wrote: > Author: markj > Date: Mon Sep 30 17:27:59 2019 > New Revision: 352909 > URL: https://svnweb.freebsd.org/changeset/base/352909 > > Log: > Capsicumize nm(1). > > Reviewed by: emaste > Sponsored by: The FreeBSD Foundation > Differentia

svn commit: r353688 - head/sys/net

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 17:19:16 2019 New Revision: 353688 URL: https://svnweb.freebsd.org/changeset/base/353688 Log: debugnet(4): Check hardware-validated UDP checksums Similar to INET checksums, lazily validate UDP checksums when the driver has already performed the check for us.

svn commit: r353687 - head/sys/netinet

2019-10-17 Thread Gleb Smirnoff
Author: glebius Date: Thu Oct 17 17:02:50 2019 New Revision: 353687 URL: https://svnweb.freebsd.org/changeset/base/353687 Log: Quickly fix up r353683: enter the epoch before calling into netisr_dispatch(). Modified: head/sys/netinet/igmp.c Modified: head/sys/netinet/igmp.c ==

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

2019-10-17 Thread Gleb Smirnoff
On Thu, Oct 17, 2019 at 12:51:35PM -0400, Mark Johnston wrote: M> On Thu, Oct 17, 2019 at 04:02:34PM +, Gleb Smirnoff wrote: M> > Author: glebius M> > Date: Thu Oct 17 16:02:34 2019 M> > New Revision: 353683 M> > URL: https://svnweb.freebsd.org/changeset/base/353683 M> > M> > Log: M> > igmp_

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

2019-10-17 Thread Mark Johnston
On Thu, Oct 17, 2019 at 04:02:34PM +, Gleb Smirnoff wrote: > Author: glebius > Date: Thu Oct 17 16:02:34 2019 > New Revision: 353683 > URL: https://svnweb.freebsd.org/changeset/base/353683 > > Log: > igmp_v1v2_queue_report() doesn't require epoch. igmp_v1v2_queue_report() calls netisr_dispa

svn commit: r353686 - in head/sys/dev/vt: . logo

2019-10-17 Thread Ed Maste
Author: emaste Date: Thu Oct 17 16:38:44 2019 New Revision: 353686 URL: https://svnweb.freebsd.org/changeset/base/353686 Log: Update Conrad Meyer's email cem is now a committer Approved by: cem Modified: head/sys/dev/vt/logo/logo_beastie.c head/sys/dev/vt/vt_cpulogos.c Modified:

svn commit: r353685 - in head/sys: amd64/conf arm64/conf conf dev/alc dev/bge dev/bxe dev/cxgb dev/mlx4/mlx4_en dev/re dev/virtio/network i386/conf kern net netinet/netdump powerpc/conf sparc64/con...

2019-10-17 Thread Conrad Meyer
Author: cem Date: Thu Oct 17 16:23:03 2019 New Revision: 353685 URL: https://svnweb.freebsd.org/changeset/base/353685 Log: Split out a more generic debugnet(4) from netdump(4) Debugnet is a simplistic and specialized panic- or debug-time reliable datagram transport. It can drive a single

svn commit: r353683 - head/sys/netinet

2019-10-17 Thread Gleb Smirnoff
Author: glebius Date: Thu Oct 17 16:02:34 2019 New Revision: 353683 URL: https://svnweb.freebsd.org/changeset/base/353683 Log: igmp_v1v2_queue_report() doesn't require epoch. Modified: head/sys/netinet/igmp.c Modified: head/sys/netinet/igmp.c =

Re: svn commit: r353635 - in head/sys: netinet netinet6

2019-10-17 Thread Gleb Smirnoff
On Wed, Oct 16, 2019 at 10:46:44PM +0200, Hans Petter Selasky wrote: H> > as far as I remember I was against this changeset and I had H> > several other developers agreed that this should be fixed in H> > different way. Why did you proceed with checking it in? :( H> H> Hi Gleb, H> H> This issue h

svn commit: r353682 - head/sys/dev/sound/pci/hda

2019-10-17 Thread Ed Maste
Author: emaste Date: Thu Oct 17 14:58:03 2019 New Revision: 353682 URL: https://svnweb.freebsd.org/changeset/base/353682 Log: snd_hda: style(9) whitespace fixup PR: 241299 Submitted by: Neel Chauhan Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c Modified: head/sys/dev/s

svn commit: r353681 - head/sys/vm

2019-10-17 Thread Konstantin Belousov
Author: kib Date: Thu Oct 17 13:49:47 2019 New Revision: 353681 URL: https://svnweb.freebsd.org/changeset/base/353681 Log: swapon_check_swzone(): use already calculated static variables. Submitted by: o...@j.email.ne.jp MFC after:1 week Differential revision:https://reviews.

svn commit: r353680 - head/sys/dev/vt

2019-10-17 Thread Ed Maste
Author: emaste Date: Thu Oct 17 13:08:50 2019 New Revision: 353680 URL: https://svnweb.freebsd.org/changeset/base/353680 Log: vt: remove comment that is not true since r259680 r259680 added support to vt(4) for printing double-width characters. Remove the comment that claims no support.

Re: svn commit: r351379 - head/usr.bin/w

2019-10-17 Thread Alexey Dokuchaev
On Thu, Aug 22, 2019 at 03:28:31AM +, Mike Karels wrote: > New Revision: 351379 > URL: https://svnweb.freebsd.org/changeset/base/351379 > > Log: > Change w(1) to compute FROM (host) field size dynamically > > It's nice to be able to display a full IPv6 host address if > needed, but it