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

2019-05-24 Thread Justin Hibbits
Author: jhibbits Date: Sat May 25 04:56:06 2019 New Revision: 348267 URL: https://svnweb.freebsd.org/changeset/base/348267 Log: powerpc64/pmap: Reapply r334235 to OEA64 pmap, clearing HID0_RADIX This was lost in the re-merger of ISA3 MMU into moea64_native. Modified: head/sys/powerpc/aim

Re: svn commit: r348250 - head/sys/powerpc/conf

2019-05-24 Thread Justin Hibbits
On Fri, May 24, 2019 at 10:02 PM Rodney W. Grimes wrote: > > > On Fri, May 24, 2019 at 6:01 PM Rodney W. Grimes > > wrote: > > > > > > > On Fri, 24 May 2019 20:22:52 + > > > > Alexey Dokuchaev wrote: > > > > > > > > > On Fri, May 24, 2019 at 03:16:51PM -0500, Justin Hibbits wrote: > > > > >

Re: svn commit: r348250 - head/sys/powerpc/conf

2019-05-24 Thread Rodney W. Grimes
> On Fri, May 24, 2019 at 6:01 PM Rodney W. Grimes > wrote: > > > > > On Fri, 24 May 2019 20:22:52 + > > > Alexey Dokuchaev wrote: > > > > > > > On Fri, May 24, 2019 at 03:16:51PM -0500, Justin Hibbits wrote: > > > > > On Fri, 24 May 2019 20:01:59 + (UTC) Piotr Kubaj wrote: > > > > > > Ne

Re: svn commit: r348250 - head/sys/powerpc/conf

2019-05-24 Thread Justin Hibbits
On Fri, May 24, 2019 at 6:01 PM Rodney W. Grimes wrote: > > > On Fri, 24 May 2019 20:22:52 + > > Alexey Dokuchaev wrote: > > > > > On Fri, May 24, 2019 at 03:16:51PM -0500, Justin Hibbits wrote: > > > > On Fri, 24 May 2019 20:01:59 + (UTC) Piotr Kubaj wrote: > > > > > New Revision: 348250

svn commit: r348262 - head/sys/dev/virtio/pci

2019-05-24 Thread Conrad Meyer
Author: cem Date: Sat May 25 01:59:24 2019 New Revision: 348262 URL: https://svnweb.freebsd.org/changeset/base/348262 Log: virtio_pci(4): Fix typo in read_ivar method Prior to this revision, vtpci's BUS_READ_IVAR method on VIRTIO_IVAR_SUBVENDOR accidentally returned the PCI subdevice.

svn commit: r348261 - in stable/11: contrib/zlib lib/libz stand/libsa usr.bin/minigzip

2019-05-24 Thread Xin LI
Author: delphij Date: Sat May 25 01:58:00 2019 New Revision: 348261 URL: https://svnweb.freebsd.org/changeset/base/348261 Log: MFC r347244: Move contrib/zlib to sys/contrib/zlib so that we can use it in kernel. This is a prerequisite of unifying kernel zlib instances. Submitted by: Y

Re: svn commit: r348255 - head/sys/kern

2019-05-24 Thread Cy Schubert
+1 Original Message From: Steven Hartland Sent: May 24, 2019 4:21:39 PM PDT To: Conrad Meyer Cc: src-committ...@freebsd.org, svn-src-all@freebsd.org, svn-src-h...@freebsd.org Subject: Re: svn commit: r348255 - head/sys/kern Just wanted to say I really appreciate the detail

svn commit: r348260 - stable/11/sbin/fsck_ffs

2019-05-24 Thread Kirk McKusick
Author: mckusick Date: Sat May 25 00:22:07 2019 New Revision: 348260 URL: https://svnweb.freebsd.org/changeset/base/348260 Log: MFC of 348074 Rewrite fsck_readdir() and dircheck() for clarity and correctness. Approved by: re (gjb) Modified: stable/11/sbin/fsck_ffs/dir.c Directory Pr

svn commit: r348259 - head/sys/geom/nop

2019-05-24 Thread Kirk McKusick
Author: mckusick Date: Sat May 25 00:07:49 2019 New Revision: 348259 URL: https://svnweb.freebsd.org/changeset/base/348259 Log: When using the destroy option to shut down a nop GEOM module, I/O operations already in its queue were not being properly drained. The GEOM framework does the queue

Re: svn commit: r348258 - head/sys/amd64/amd64

2019-05-24 Thread Konstantin Belousov
On Fri, May 24, 2019 at 11:28:11PM +, Konstantin Belousov wrote: > Author: kib > Date: Fri May 24 23:28:11 2019 > New Revision: 348258 > URL: https://svnweb.freebsd.org/changeset/base/348258 > > Log: > Fix too loose assert in pmap_large_unmap(). > > The upper bound for the valid address

svn commit: r348258 - head/sys/amd64/amd64

2019-05-24 Thread Konstantin Belousov
Author: kib Date: Fri May 24 23:28:11 2019 New Revision: 348258 URL: https://svnweb.freebsd.org/changeset/base/348258 Log: Fix too loose assert in pmap_large_unmap(). The upper bound for the valid address from the large map used LARGEMAP_MAX_ADDRESS instead of LARGEMAP_MIN_ADDRESS. Provi

svn commit: r348257 - head/sys/amd64/include

2019-05-24 Thread Konstantin Belousov
Author: kib Date: Fri May 24 23:26:17 2019 New Revision: 348257 URL: https://svnweb.freebsd.org/changeset/base/348257 Log: Add PG_PS_PDP_FRAME symbol. Similar to PG_FRAME and PG_PS_FRAME, it denotes the mask of the physical address component of 1G superpage PDP entry. Reviewed by: a

Re: svn commit: r348255 - head/sys/kern

2019-05-24 Thread Steven Hartland
Just wanted to say I really appreciate the details in this commit message. Its often the case the message get overlooked when it comes to the time needed to write a truly useful message to others and this a great example of the quality we should all try to follow. Regards Steve On Fri, 24 Ma

svn commit: r348256 - stable/12/sbin/fsck_ffs

2019-05-24 Thread Kirk McKusick
Author: mckusick Date: Fri May 24 23:07:32 2019 New Revision: 348256 URL: https://svnweb.freebsd.org/changeset/base/348256 Log: MFC of 348074 Rewrite fsck_readdir() and dircheck() for clarity and correctness. Modified: stable/12/sbin/fsck_ffs/dir.c Directory Properties: stable/12/ (p

Re: svn commit: r348250 - head/sys/powerpc/conf

2019-05-24 Thread Rodney W. Grimes
> On Fri, 24 May 2019 20:22:52 + > Alexey Dokuchaev wrote: > > > On Fri, May 24, 2019 at 03:16:51PM -0500, Justin Hibbits wrote: > > > On Fri, 24 May 2019 20:01:59 + (UTC) Piotr Kubaj wrote: > > > > New Revision: 348250 > > > > URL: https://svnweb.freebsd.org/changeset/base/348250 > > >

svn commit: r348255 - head/sys/kern

2019-05-24 Thread Conrad Meyer
Author: cem Date: Fri May 24 22:33:14 2019 New Revision: 348255 URL: https://svnweb.freebsd.org/changeset/base/348255 Log: Disable intr_storm_threshold mechanism by default The ixl.4 manual page has documented that the threshold falsely detects interrupt storms on 40Gbit NICs as long ago

svn commit: r348254 - in head/sys: dev/cxgbe dev/mlx5/mlx5_en kern net net80211 netinet netinet6 netpfil/ipfw sys

2019-05-24 Thread John Baldwin
Author: jhb Date: Fri May 24 22:30:40 2019 New Revision: 348254 URL: https://svnweb.freebsd.org/changeset/base/348254 Log: Restructure mbuf send tags to provide stronger guarantees. - Perform ifp mismatch checks (to determine if a send tag is allocated for a different ifp than the one t

svn commit: r348253 - head/usr.sbin/bhyve

2019-05-24 Thread John Baldwin
Author: jhb Date: Fri May 24 22:11:37 2019 New Revision: 348253 URL: https://svnweb.freebsd.org/changeset/base/348253 Log: Add initial support for 'qSupported' to the debug server. This doesn't recognize any features yet, but does parse the features string. It advertises an arbitrary pac

svn commit: r348252 - svnadmin/conf

2019-05-24 Thread Sean Chittenden
Author: seanc (ports committer) Date: Fri May 24 20:36:07 2019 New Revision: 348252 URL: https://svnweb.freebsd.org/changeset/base/348252 Log: Release rgrimes@ from mentorship. Discussed with: bde@, phk@ Approved by: core@ Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mento

Re: svn commit: r348250 - head/sys/powerpc/conf

2019-05-24 Thread Justin Hibbits
On Fri, 24 May 2019 20:22:52 + Alexey Dokuchaev wrote: > On Fri, May 24, 2019 at 03:16:51PM -0500, Justin Hibbits wrote: > > On Fri, 24 May 2019 20:01:59 + (UTC) Piotr Kubaj wrote: > > > New Revision: 348250 > > > URL: https://svnweb.freebsd.org/changeset/base/348250 > > > > > > Log: >

svn commit: r348251 - in head/sys: fs/ext2fs fs/fuse fs/msdosfs fs/nfsclient kern sys ufs/ffs

2019-05-24 Thread Alan Somers
Author: asomers Date: Fri May 24 20:27:50 2019 New Revision: 348251 URL: https://svnweb.freebsd.org/changeset/base/348251 Log: Remove "struct ucred*" argument from vtruncbuf vtruncbuf takes a "struct ucred*" argument. AFAICT, it's been unused ever since that function was first added in r3

Re: svn commit: r348250 - head/sys/powerpc/conf

2019-05-24 Thread Alexey Dokuchaev
On Fri, May 24, 2019 at 03:16:51PM -0500, Justin Hibbits wrote: > On Fri, 24 May 2019 20:01:59 + (UTC) Piotr Kubaj wrote: > > New Revision: 348250 > > URL: https://svnweb.freebsd.org/changeset/base/348250 > > > > Log: > > Add snd_hda(4) to GENERIC64 used by powerpc64. > > > > amd64 also

Re: svn commit: r348250 - head/sys/powerpc/conf

2019-05-24 Thread Justin Hibbits
On Fri, 24 May 2019 20:01:59 + (UTC) Piotr Kubaj wrote: > Author: pkubaj (ports committer) > Date: Fri May 24 20:01:59 2019 > New Revision: 348250 > URL: https://svnweb.freebsd.org/changeset/base/348250 > > Log: > Add snd_hda(4) to GENERIC64 used by powerpc64. > > amd64 also has snd_h

svn commit: r348250 - head/sys/powerpc/conf

2019-05-24 Thread Piotr Kubaj
Author: pkubaj (ports committer) Date: Fri May 24 20:01:59 2019 New Revision: 348250 URL: https://svnweb.freebsd.org/changeset/base/348250 Log: Add snd_hda(4) to GENERIC64 used by powerpc64. amd64 also has snd_hda(4) in GENERIC. Approved by: jhibbits (src committer), linimon (mentor)

svn commit: r348249 - in head/stand: . ficl libsa

2019-05-24 Thread Simon J. Gerraty
Author: sjg Date: Fri May 24 19:43:38 2019 New Revision: 348249 URL: https://svnweb.freebsd.org/changeset/base/348249 Log: ficl pfopen: verify file If the file is verified - do not allow write otherwise do not allow read. Add O_ACCMODE to stand.h Reviewed by: stevek, mindal_sem

svn commit: r348248 - head/sys/powerpc/conf

2019-05-24 Thread Leandro Lupori
Author: luporl Date: Fri May 24 18:41:31 2019 New Revision: 348248 URL: https://svnweb.freebsd.org/changeset/base/348248 Log: Make options MD_ROOT_MEM default on PPC64 Having this option enabled by default on PowerPC64 kernels makes booting ISO images much easier when on PowerNV. Wit

svn commit: r348247 - head/sys/dev/isp

2019-05-24 Thread Kenneth D. Merry
Author: ken Date: Fri May 24 17:58:29 2019 New Revision: 348247 URL: https://svnweb.freebsd.org/changeset/base/348247 Log: Fix FC-Tape bugs caused in part by r345008. The point of r345008 was to reset the Command Reference Number (CRN) in some situations where a device stayed in the topol

Re: svn commit: r348241 - head

2019-05-24 Thread John Baldwin
On 5/24/19 10:08 AM, Conrad Meyer wrote: > On Fri, May 24, 2019 at 9:24 AM Andrew Gallatin wrote: >> Dumb question about this: Will it update toolchains, or just use what >> can find? > > -DMAKE_JUST_KERNELS doesn't touch toolchains. For that, there is the > less memorable build step: > > expor

Re: svn commit: r348241 - head

2019-05-24 Thread Mark Johnston
On Fri, May 24, 2019 at 10:08:53AM -0700, Conrad Meyer wrote: > On Fri, May 24, 2019 at 9:24 AM Andrew Gallatin wrote: > > Dumb question about this: Will it update toolchains, or just use what > > can find? > > -DMAKE_JUST_KERNELS doesn't touch toolchains. For that, there is the > less memorable

svn commit: r348246 - in head/sys: amd64/amd64 i386/i386

2019-05-24 Thread Konstantin Belousov
Author: kib Date: Fri May 24 17:19:06 2019 New Revision: 348246 URL: https://svnweb.freebsd.org/changeset/base/348246 Log: Fix a corner case in demotion of kernel mappings. It is possible for the kernel mapping to be created with superpage by directly installing pde using pmap_enter_2mpag

svn commit: r348245 - in stable/12/sys: compat/linuxkpi/common/include/linux sys

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 17:14:07 2019 New Revision: 348245 URL: https://svnweb.freebsd.org/changeset/base/348245 Log: MFC r347596: LinuxKPI: Add context member to ww_mutex and bump FreeBSD version. This patch is part of https://reviews.freebsd.org/D19565. Reviewed by: hps

Re: svn commit: r348241 - head

2019-05-24 Thread Conrad Meyer
On Fri, May 24, 2019 at 9:24 AM Andrew Gallatin wrote: > Dumb question about this: Will it update toolchains, or just use what > can find? -DMAKE_JUST_KERNELS doesn't touch toolchains. For that, there is the less memorable build step: export NCPU=$((1 * $(sysctl -n hw.ncpu) / 3)); make -sj${NCP

svn commit: r348244 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 17:06:10 2019 New Revision: 348244 URL: https://svnweb.freebsd.org/changeset/base/348244 Log: MFC r347891: LinuxKPI: Add in_task macro. This patch is part of D19565 Reviewed by: hps, bwidawsk Approved by: imp (mentor), hps Obtained from:

svn commit: r348243 - in stable/12/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 17:04:27 2019 New Revision: 348243 URL: https://svnweb.freebsd.org/changeset/base/348243 Log: MFC r347843: LinuxKPI: Add group_leader member to struct task_struct. Assign self as group leader at creation to act as the only member of a new process group.

svn commit: r348242 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 17:01:05 2019 New Revision: 348242 URL: https://svnweb.freebsd.org/changeset/base/348242 Log: MFC r347852: LinuxKPI: Updates to tasklets for Linux 5.0. DRM drivers expect tasklets to have a counter for enable/disable calls. Also, add a few more tasklet l

Re: svn commit: r348241 - head

2019-05-24 Thread Andrew Gallatin
On 2019-05-24 11:45, Mark Johnston wrote: Modernize the MAKE_JUST_KERNELS hint in the top-level makefile. It doesn't make sense to limit to -j12 anymore, build scalability is better than it used to be. Fold the hint into the description of the universe target. Reviewed b

svn commit: r348241 - head

2019-05-24 Thread Mark Johnston
Author: markj Date: Fri May 24 15:45:43 2019 New Revision: 348241 URL: https://svnweb.freebsd.org/changeset/base/348241 Log: Modernize the MAKE_JUST_KERNELS hint in the top-level makefile. It doesn't make sense to limit to -j12 anymore, build scalability is better than it used to be. Fol

svn commit: r348240 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 15:37:54 2019 New Revision: 348240 URL: https://svnweb.freebsd.org/changeset/base/348240 Log: MFC r347837: LinuxKPI: Update access_ok macro for v5.0. Check LINUXKPI_VERSION macro for backwards compatibility. It's recommended to update any drivers that de

svn commit: r348239 - in head/tools/tools/nanobsd: dhcpd pcengines

2019-05-24 Thread Ed Maste
Author: emaste Date: Fri May 24 15:21:23 2019 New Revision: 348239 URL: https://svnweb.freebsd.org/changeset/base/348239 Log: nanobsd: exclude .git (and .hg) in the same places we exclude .svn Allow support of other VCSes. Note that two other nanobsd files already had a similar case, exc

Re: svn commit: r348205 - head/sys/netipsec

2019-05-24 Thread John Baldwin
On 5/23/19 6:34 PM, Rodney W. Grimes wrote: > I did not need that info, just a list of IANA assigned numbers > of things you can not find in RFC/Ietf documents. I'll do the > leg work from the other side and if Ietf/Iana documents need > fixed I'll get that in process. Oh, to be clear, that speci

svn commit: r348238 - stable/12/share/man/man9

2019-05-24 Thread Mark Johnston
Author: markj Date: Fri May 24 14:38:31 2019 New Revision: 348238 URL: https://svnweb.freebsd.org/changeset/base/348238 Log: MFC r348002: Typo. Modified: stable/12/share/man/man9/DRIVER_MODULE.9 Directory Properties: stable/12/ (props changed) Modified: stable/12/share/man/man9/DRIVER_

svn commit: r348237 - stable/12/sys/modules

2019-05-24 Thread Ed Maste
Author: emaste Date: Fri May 24 13:39:56 2019 New Revision: 348237 URL: https://svnweb.freebsd.org/changeset/base/348237 Log: MFC r346598: Enable Mellanox drivers (modules) on AArch64 PR: 237055 Submitted by: Greg V Modified: stable/12/sys/modules/Makefile Directory Properti

svn commit: r348236 - head/sys/netinet6

2019-05-24 Thread Andrey V. Elsukov
Author: ae Date: Fri May 24 11:45:32 2019 New Revision: 348236 URL: https://svnweb.freebsd.org/changeset/base/348236 Log: Restore IPV6_NEXTHOP option support that seem was partially broken since r286195. Do not forget results of route lookup and initialize rt and ifp pointers. PR:

svn commit: r348235 - head/sbin/ipfw

2019-05-24 Thread Andrey V. Elsukov
Author: ae Date: Fri May 24 11:06:24 2019 New Revision: 348235 URL: https://svnweb.freebsd.org/changeset/base/348235 Log: Add `missing` and `or-flush` options to "ipfw table create" command to simplify firewall reloading. The `missing` option suppresses EEXIST error code, but does check

Re: svn commit: r344648 - in head: . sys/kern sys/sys

2019-05-24 Thread Alexey Dokuchaev
On Sun, Mar 10, 2019 at 03:11:40PM +, Alexey Dokuchaev wrote: > On Thu, Feb 28, 2019 at 07:47:51AM +, Alexey Dokuchaev wrote: > > On Wed, Feb 27, 2019 at 10:56:55PM +, Mateusz Guzik wrote: > > > New Revision: 344648 > > > URL: https://svnweb.freebsd.org/changeset/base/344648 > > > > >

svn commit: r348234 - in stable/12/sys: netinet netinet6

2019-05-24 Thread Andrey V. Elsukov
Author: ae Date: Fri May 24 09:01:54 2019 New Revision: 348234 URL: https://svnweb.freebsd.org/changeset/base/348234 Log: Fix the build. Use NET_EPOCH_ENTER_ET() and NET_EPOCH_EXIT_ET(). This is direct commit to stable/12, since macros are different in stable/12 and head/ branches. Modif

svn commit: r348233 - in stable/12: sbin/ifconfig share/man/man4 sys/modules/if_gre sys/net sys/netinet sys/netinet6

2019-05-24 Thread Andrey V. Elsukov
Author: ae Date: Fri May 24 08:42:34 2019 New Revision: 348233 URL: https://svnweb.freebsd.org/changeset/base/348233 Log: MFC r346630: Add GRE-in-UDP encapsulation support as defined in RFC8086. This GRE-in-UDP encapsulation allows the UDP source port field to be used as an entrop

svn commit: r348232 - stable/12/sys/netinet6

2019-05-24 Thread Andrey V. Elsukov
Author: ae Date: Fri May 24 08:40:37 2019 New Revision: 348232 URL: https://svnweb.freebsd.org/changeset/base/348232 Log: MFC r347383: In mld_v2_cancel_link_timers() check number of references and disconnect inm before releasing the last reference. This fixes possible panics and asse