svn commit: r335028 - head/sys/netinet

2018-06-12 Thread Matt Macy
Author: mmacy Date: Wed Jun 13 04:23:49 2018 New Revision: 335028 URL: https://svnweb.freebsd.org/changeset/base/335028 Log: Handle INP_FREED when looking up an inpcb When hash table lookups are not serialized with in_pcbfree it will be possible for callers to find an inpcb that has been

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

2018-06-12 Thread Marcelo Araujo
Author: araujo Date: Wed Jun 13 04:00:21 2018 New Revision: 335027 URL: https://svnweb.freebsd.org/changeset/base/335027 Log: When this code was introduced at r300829 the author forgot to add the BSD license header that is the same as in its C header file. MFC after:4 weeks.

svn commit: r335026 - in head/usr.sbin: bhyvectl bhyveload

2018-06-12 Thread Marcelo Araujo
Author: araujo Date: Wed Jun 13 03:35:24 2018 New Revision: 335026 URL: https://svnweb.freebsd.org/changeset/base/335026 Log: style(9) remove unnecessary blank tabs. Obtained from:TrueOS MFC after:4 weeks. Sponsored by: iXsystems Inc. Modified:

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

2018-06-12 Thread Marcelo Araujo
Author: araujo Date: Wed Jun 13 03:22:08 2018 New Revision: 335025 URL: https://svnweb.freebsd.org/changeset/base/335025 Log: Add SPDX tags to bhyve(8). Discussed with: rgrimes, pfg and mav. Obtained from:TrueOS MFC after:4 weeks. Sponsored by: iXsystems Inc.

svn commit: r335023 - head/bin/ps

2018-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 00:45:35 2018 New Revision: 335023 URL: https://svnweb.freebsd.org/changeset/base/335023 Log: ps(1): fix some nits - fracmem and mempages are double. ki_rssize should be too - remove default case that is fully covered by all existing cases - mark usage

svn commit: r335024 - head/usr.bin/top

2018-06-12 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 00:45:38 2018 New Revision: 335024 URL: https://svnweb.freebsd.org/changeset/base/335024 Log: top(1): several small bugfixes and nits - initialize all maybe uninitialized vars with bogus values. This shuts up the compiler, and causes crashes if it changes

svn commit: r335022 - head/sys/netinet

2018-06-12 Thread Randall Stewart
Author: rrs Date: Tue Jun 12 23:54:08 2018 New Revision: 335022 URL: https://svnweb.freebsd.org/changeset/base/335022 Log: This fixes missing VNET sets in the hpts system. Basically without this and running vnets with a TCP stack that uses some of the features is a recipe for panic (without

Re: svn commit: r335020 - head/sys/amd64/linux32

2018-06-12 Thread Brooks Davis
On Tue, Jun 12, 2018 at 10:54:48PM +, Jung-uk Kim wrote: > Author: jkim > Date: Tue Jun 12 22:54:48 2018 > New Revision: 335020 > URL: https://svnweb.freebsd.org/changeset/base/335020 > > Log: > Fix number of auxargs entries to copy out for 32-bit Linuxulator. > > PR: 228790 >

Re: svn commit: r335010 - head/usr.sbin/cpucontrol

2018-06-12 Thread Conrad Meyer
On Tue, Jun 12, 2018 at 11:58 AM, Sean Bruno wrote: > Author: sbruno > Date: Tue Jun 12 18:58:56 2018 > New Revision: 335010 > URL: https://svnweb.freebsd.org/changeset/base/335010 > > Log: > cpucontrol: > - fix debugging for family on AMD cpus and add useful debugging for > which file is

Re: svn commit: r334046 - head/tools/tools/intel-ucode-split

2018-06-12 Thread Oliver Pinter
On Wednesday, June 13, 2018, Ed Maste wrote: > On Tue, 12 Jun 2018 at 18:17, Sean Bruno wrote: > > > > On 06/12/18 16:05, Oliver Pinter wrote: > > > On 5/22/18, Ed Maste wrote: > > >> Author: emaste > > >> Date: Tue May 22 14:35:33 2018 > > >> New Revision: 334046 > > >> URL:

svn commit: r335021 - head/sys/netinet

2018-06-12 Thread Matt Macy
Author: mmacy Date: Tue Jun 12 23:26:25 2018 New Revision: 335021 URL: https://svnweb.freebsd.org/changeset/base/335021 Log: Defer inpcbport free in in_pcbremlists as well Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c

Re: svn commit: r334046 - head/tools/tools/intel-ucode-split

2018-06-12 Thread Ed Maste
On Tue, 12 Jun 2018 at 18:17, Sean Bruno wrote: > > On 06/12/18 16:05, Oliver Pinter wrote: > > On 5/22/18, Ed Maste wrote: > >> Author: emaste > >> Date: Tue May 22 14:35:33 2018 > >> New Revision: 334046 > >> URL: https://svnweb.freebsd.org/changeset/base/334046 > >> > >> Log: > >>

svn commit: r335020 - head/sys/amd64/linux32

2018-06-12 Thread Jung-uk Kim
Author: jkim Date: Tue Jun 12 22:54:48 2018 New Revision: 335020 URL: https://svnweb.freebsd.org/changeset/base/335020 Log: Fix number of auxargs entries to copy out for 32-bit Linuxulator. PR: 228790 Modified: head/sys/amd64/linux32/linux32_sysvec.c Modified:

svn commit: r335019 - head

2018-06-12 Thread Rick Macklem
== --- head/UPDATING Tue Jun 12 22:48:19 2018(r335018) +++ head/UPDATING Tue Jun 12 22:52:27 2018(r335019) @@ -32,6 +32,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: "ln -s 'abort:false,junk:false' /etc/malloc.conf".)

svn commit: r335018 - head/sys/sys

2018-06-12 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 12 22:48:19 2018 New Revision: 335018 URL: https://svnweb.freebsd.org/changeset/base/335018 Log: Version bump since r334930 changed the interface between the NFS modules, so they all need to be rebuilt. Modified: head/sys/sys/param.h Modified:

svn commit: r335016 - in head/sys: netinet netinet6

2018-06-12 Thread Matt Macy
Author: mmacy Date: Tue Jun 12 22:18:20 2018 New Revision: 335016 URL: https://svnweb.freebsd.org/changeset/base/335016 Log: mechanical CK macro conversion of inpcbinfo lists This is a dependency for converting the inpcbinfo hash and info rlocks to epoch. Modified:

svn commit: r335017 - head/sys/netinet

2018-06-12 Thread Matt Macy
Author: mmacy Date: Tue Jun 12 22:18:27 2018 New Revision: 335017 URL: https://svnweb.freebsd.org/changeset/base/335017 Log: Defer inpcbport free until after a grace period has elapsed This is a dependency for inpcbinfo rlock conversion to epoch Modified: head/sys/netinet/in_pcb.c

svn commit: r335015 - head/sys/netinet

2018-06-12 Thread Matt Macy
Author: mmacy Date: Tue Jun 12 22:18:15 2018 New Revision: 335015 URL: https://svnweb.freebsd.org/changeset/base/335015 Log: Defer inpcb deletion until after a grace period has elapsed Deferring the actual free of the inpcb until after a grace period has elapsed will allow us to convert

Re: svn commit: r334046 - head/tools/tools/intel-ucode-split

2018-06-12 Thread Sean Bruno
On 06/12/18 16:05, Oliver Pinter wrote: > On 5/22/18, Ed Maste wrote: >> Author: emaste >> Date: Tue May 22 14:35:33 2018 >> New Revision: 334046 >> URL: https://svnweb.freebsd.org/changeset/base/334046 >> >> Log: >> intel-ucode-split: add -n flag to skip creating output files >> >>

Re: svn commit: r334046 - head/tools/tools/intel-ucode-split

2018-06-12 Thread Oliver Pinter
On 5/22/18, Ed Maste wrote: > Author: emaste > Date: Tue May 22 14:35:33 2018 > New Revision: 334046 > URL: https://svnweb.freebsd.org/changeset/base/334046 > > Log: > intel-ucode-split: add -n flag to skip creating output files > > Sponsored by: The FreeBSD Foundation > > Modified: >

RE: Display Week 2018.

2018-06-12 Thread Elsa Jean
Hi, Hope you're doing well. Did you get a chance to see the below email.? Regards, Elsa Jean From: Elsa Jean [mailto:globaltrad...@globaltradez.us] Sent: Tuesday, May 08, 2018 2:44 PM To: 'svn-src-all@freebsd.org' Subject: Display Week 2018. Hi, Would you be

svn commit: r335014 - head/sys/dev/ofw

2018-06-12 Thread Emmanuel Vadot
Author: manu Date: Tue Jun 12 20:03:00 2018 New Revision: 335014 URL: https://svnweb.freebsd.org/changeset/base/335014 Log: simplebus pnp: Do not generate pnp info is the bus status is not okay Generating the pnp info have the side effect to include all nodes even if the status isn't

svn commit: r335013 - head/sys/powerpc/powernv

2018-06-12 Thread Breno Leitao
Author: leitao Date: Tue Jun 12 19:50:33 2018 New Revision: 335013 URL: https://svnweb.freebsd.org/changeset/base/335013 Log: powerpc64/powernv: Avoid type promotion There is a type promotion that transform count = -1 into a unsigned int causing the default TCE SEG SIZE not being

svn commit: r335012 - in head/sys: fs/nfs fs/nfsclient fs/nfsserver nfs

2018-06-12 Thread Rick Macklem
Author: rmacklem Date: Tue Jun 12 19:36:32 2018 New Revision: 335012 URL: https://svnweb.freebsd.org/changeset/base/335012 Log: Merge the pNFS server code from projects/pnfs-planb-server into head. This code merge adds a pNFS service to the NFSv4.1 server. Although it is a large commit

svn commit: r335011 - head/tools/build/mk

2018-06-12 Thread Sean Bruno
Author: sbruno Date: Tue Jun 12 19:26:25 2018 New Revision: 335011 URL: https://svnweb.freebsd.org/changeset/base/335011 Log: WITHOUT_NLS cleanup of more empty dirs. Reviewed by: emaste Sponsored by: Limelight Networks Differential Revision:https://reviews.freebsd.org/D15626

svn commit: r335010 - head/usr.sbin/cpucontrol

2018-06-12 Thread Sean Bruno
Author: sbruno Date: Tue Jun 12 18:58:56 2018 New Revision: 335010 URL: https://svnweb.freebsd.org/changeset/base/335010 Log: cpucontrol: - fix debugging for family on AMD cpus and add useful debugging for which file is being selected for update. Reviewed by: cem Sponsored by:

svn commit: r335009 - head/stand/lua

2018-06-12 Thread Kyle Evans
Author: kevans Date: Tue Jun 12 18:42:41 2018 New Revision: 335009 URL: https://svnweb.freebsd.org/changeset/base/335009 Log: lualoader: Match Forth module-loading behavior w.r.t flags Also as documented in loader.conf(5), ${module}_flags are actually flags to be passed to the module,

svn commit: r335008 - head/sys/riscv/conf

2018-06-12 Thread Ruslan Bukin
Author: br Date: Tue Jun 12 17:55:40 2018 New Revision: 335008 URL: https://svnweb.freebsd.org/changeset/base/335008 Log: Include VirtIO devices to the GENERIC configuration file. These are now available in QEMU/RISC-V. Sponsored by: DARPA, AFRL Modified:

Re: svn commit: r330711 - head/sbin/sysctl

2018-06-12 Thread Hans Petter Selasky
On 03/10/18 00:37, John Baldwin wrote: Author: jhb Date: Fri Mar 9 23:37:19 2018 New Revision: 330711 URL: https://svnweb.freebsd.org/changeset/base/330711 Log: Permit sysctl(8) to set an array of numeric values for a single node. Most sysctl nodes only return a single value, but

svn commit: r335007 - in head/sys: conf riscv/conf riscv/include riscv/riscv

2018-06-12 Thread Ruslan Bukin
Author: br Date: Tue Jun 12 17:45:15 2018 New Revision: 335007 URL: https://svnweb.freebsd.org/changeset/base/335007 Log: o Add driver for PLIC (Platform-Level Interrupt Controller) device. o Convert interrupt machdep support to use INTRNG code. Sponsored by: DARPA, AFRL Added:

svn commit: r335006 - in head/sys: conf riscv/riscv

2018-06-12 Thread Ruslan Bukin
Author: br Date: Tue Jun 12 17:07:30 2018 New Revision: 335006 URL: https://svnweb.freebsd.org/changeset/base/335006 Log: Add simplebus-like RISC-V SoC bus. This is required in order to probe and attach devices described under "riscv-virtio-soc" node of DTS. Sponsored by: DARPA,

svn commit: r335004 - head/release/tools

2018-06-12 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 12 16:45:52 2018 New Revision: 335004 URL: https://svnweb.freebsd.org/changeset/base/335004 Log: Enable USB OTG serial terminal on ARM SD card images. This configures the system to make use of USB device mode / USB OTG to provide a "virtual serial port" on

svn commit: r335005 - head/sys/riscv/riscv

2018-06-12 Thread Ruslan Bukin
Author: br Date: Tue Jun 12 16:47:33 2018 New Revision: 335005 URL: https://svnweb.freebsd.org/changeset/base/335005 Log: Release secondary cores from WFI (wait for interrupt) by sending them an IPI. This does not work however yet in QEMU. As a temporary workaround set software

svn commit: r335003 - head/bin/chflags

2018-06-12 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jun 12 16:44:13 2018 New Revision: 335003 URL: https://svnweb.freebsd.org/changeset/base/335003 Log: Add an example to the chflags(1) man page. MFC after:2 weeks Modified: head/bin/chflags/chflags.1 Modified: head/bin/chflags/chflags.1

svn commit: r335002 - head/usr.bin/diff

2018-06-12 Thread Baptiste Daroussin
Author: bapt Date: Tue Jun 12 16:42:11 2018 New Revision: 335002 URL: https://svnweb.freebsd.org/changeset/base/335002 Log: Fix memory leak CID: 1393352 Modified: head/usr.bin/diff/pr.c Modified: head/usr.bin/diff/pr.c

svn commit: r335001 - head/usr.bin/diff

2018-06-12 Thread Baptiste Daroussin
Author: bapt Date: Tue Jun 12 16:40:22 2018 New Revision: 335001 URL: https://svnweb.freebsd.org/changeset/base/335001 Log: Correctly test return value of pipe(2) CID: 1393351 Modified: head/usr.bin/diff/pr.c Modified: head/usr.bin/diff/pr.c

svn commit: r335000 - head/sys/riscv/riscv

2018-06-12 Thread Ruslan Bukin
Author: br Date: Tue Jun 12 16:19:27 2018 New Revision: 335000 URL: https://svnweb.freebsd.org/changeset/base/335000 Log: Align virtual addressing entries. This is required due to C-compressed ISA extension option being turned on. This fixes SMP operation in QEMU. Sponsored by:

svn commit: r334999 - head/sys/dev/psci

2018-06-12 Thread Andrew Turner
Author: andrew Date: Tue Jun 12 14:54:17 2018 New Revision: 334999 URL: https://svnweb.freebsd.org/changeset/base/334999 Log: Rework PSCI so it only searches for the call function once. This is in preperation for supporting newer smccc functions that also use the same call method.

Re: svn commit: r334939 - head/stand/lua

2018-06-12 Thread Devin Teske
> On Jun 12, 2018, at 7:10 AM, Warner Losh wrote: > > > >> On Mon, Jun 11, 2018 at 6:23 PM, Devin Teske wrote: >> >>> On Jun 11, 2018, at 11:20 AM, Warner Losh wrote: >>> >>> >>> >>> On Mon, Jun 11, 2018 at 11:54 AM, Devin Teske wrote: > On Jun 11, 2018, at 7:07 AM, Warner

Re: svn commit: r334939 - head/stand/lua

2018-06-12 Thread Warner Losh
On Mon, Jun 11, 2018 at 6:23 PM, Devin Teske wrote: > > On Jun 11, 2018, at 11:20 AM, Warner Losh wrote: > > > > On Mon, Jun 11, 2018 at 11:54 AM, Devin Teske wrote: > >> >> On Jun 11, 2018, at 7:07 AM, Warner Losh wrote: >> >> >> >> On Mon, Jun 11, 2018 at 7:36 AM, Devin Teske wrote: >> >>>

svn commit: r334998 - head/sys/modules/linux64

2018-06-12 Thread Ed Maste
Author: emaste Date: Tue Jun 12 13:32:42 2018 New Revision: 334998 URL: https://svnweb.freebsd.org/changeset/base/334998 Log: linux64: use linux output target for linux_vdso.so linux_vdso.so provides the vdso for the linuxulator's amd64 target and is mapped into a Linux binary's address

svn commit: r334997 - in head/sys: arm64/conf conf dev/uart modules/uart

2018-06-12 Thread Diane Bruce
Author: db (ports committer) Date: Tue Jun 12 13:26:31 2018 New Revision: 334997 URL: https://svnweb.freebsd.org/changeset/base/334997 Log: Add a driver for the BCM2835 Mini-UART as seen on the RPi3 Reviewed by: andrew Approved by: andrew Differential Revision:

Re: svn commit: r334939 - head/stand/lua

2018-06-12 Thread Rodney W. Grimes
> On Mon, Jun 11, 2018 at 08:07:23AM -0600, Warner Losh wrote: > > ... > > The last articulated plan in arch@ was that LUA will be default in 12, and > > we plan to remove FORTH in 13. Last time I said it there in February, there > > was only email agreeing that I could find. This matches the

Re: svn commit: r334939 - head/stand/lua

2018-06-12 Thread Kyle Evans
On Tue, Jun 12, 2018 at 6:51 AM, Alexey Dokuchaev wrote: > On Mon, Jun 11, 2018 at 08:07:23AM -0600, Warner Losh wrote: >> ... >> The last articulated plan in arch@ was that LUA will be default in 12, and >> we plan to remove FORTH in 13. Last time I said it there in February, there >> was only

Re: svn commit: r334939 - head/stand/lua

2018-06-12 Thread Alexey Dokuchaev
On Mon, Jun 11, 2018 at 08:07:23AM -0600, Warner Losh wrote: > ... > The last articulated plan in arch@ was that LUA will be default in 12, and > we plan to remove FORTH in 13. Last time I said it there in February, there > was only email agreeing that I could find. This matches the in-person >

svn commit: r334996 - head/sys/arm64/rockchip/clk

2018-06-12 Thread Emmanuel Vadot
Author: manu Date: Tue Jun 12 11:47:21 2018 New Revision: 334996 URL: https://svnweb.freebsd.org/changeset/base/334996 Log: arm64: rockchip: Correctly set armclk Parent needs to be the same frequency as the armclk, not twice the freq. The real divider is incremented by one so write it

svn commit: r334995 - head/sys/i386/i386

2018-06-12 Thread Konstantin Belousov
Author: kib Date: Tue Jun 12 10:43:20 2018 New Revision: 334995 URL: https://svnweb.freebsd.org/changeset/base/334995 Log: All exceptions IDT descriptors must use interrupt gates on 4/4 kernel. Fix it for #MF. Noted by: rlibby Sponsored by: The FreeBSD Foundation Modified:

svn commit: r334994 - head/sys/i386/i386

2018-06-12 Thread Konstantin Belousov
Author: kib Date: Tue Jun 12 10:41:26 2018 New Revision: 334994 URL: https://svnweb.freebsd.org/changeset/base/334994 Log: Fix typo. Sponsored by: The FreeBSD Foundation Modified: head/sys/i386/i386/trap.c Modified: head/sys/i386/i386/trap.c

svn commit: r334993 - head/sys/compat/linuxkpi/common/include/net

2018-06-12 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 12 08:43:49 2018 New Revision: 334993 URL: https://svnweb.freebsd.org/changeset/base/334993 Log: Implement the ip_eth_mc_map() function in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r334992 - svnadmin/conf

2018-06-12 Thread Matthew Seaman
Author: matthew (ports committer) Date: Tue Jun 12 08:18:56 2018 New Revision: 334992 URL: https://svnweb.freebsd.org/changeset/base/334992 Log: Take in Peter Grehan's commit bit for safe-keeping, at his own request. Approved by: core (implicit) Modified: svnadmin/conf/access

svn commit: r334991 - head/share/misc

2018-06-12 Thread Kurt Jaeger
Author: pi (ports committer) Date: Tue Jun 12 07:51:03 2018 New Revision: 334991 URL: https://svnweb.freebsd.org/changeset/base/334991 Log: Add hrs, meta and myself to share/misc/committers-ports.dot Approved by: remko Modified: head/share/misc/committers-ports.dot Modified:

svn commit: r334990 - head/usr.bin/top

2018-06-12 Thread Eitan Adler
Author: eadler Date: Tue Jun 12 07:31:59 2018 New Revision: 334990 URL: https://svnweb.freebsd.org/changeset/base/334990 Log: top(1): remove trailing whitespace Modified: head/usr.bin/top/commands.c head/usr.bin/top/display.c head/usr.bin/top/top.c head/usr.bin/top/top.h

Re: svn commit: r334982 - in head/etc: . devd

2018-06-12 Thread Hans Petter Selasky
On 06/12/18 00:48, Warner Losh wrote: User service foo rather than /etc/rc.d/foo. devd predates service in the system. Modernize usage to use service to start/stop things in reaction to events rather than calling the rc file directly. This was pointed out in my talk at

svn commit: r334989 - head/usr.bin/top

2018-06-12 Thread Eitan Adler
Author: eadler Date: Tue Jun 12 07:14:12 2018 New Revision: 334989 URL: https://svnweb.freebsd.org/changeset/base/334989 Log: top(1): style and related - style(9) - remove now-defunct comments - remove getuid check for low delay - expand range of format_k Modified:

svn commit: r334988 - head/usr.bin/top

2018-06-12 Thread Eitan Adler
Author: eadler Date: Tue Jun 12 06:53:31 2018 New Revision: 334988 URL: https://svnweb.freebsd.org/changeset/base/334988 Log: top(1): move command mapping to commands.c This eliminates the difficult to follow mapping of a string list. It moves numbers from "#define" into (more)

svn commit: r334987 - head/sys/dev/cxgbe

2018-06-12 Thread Navdeep Parhar
Author: np Date: Tue Jun 12 06:46:03 2018 New Revision: 334987 URL: https://svnweb.freebsd.org/changeset/base/334987 Log: cxgbe(4): Remove homemade version of htobe32 from the driver. It was needed only for ia64 where it was implemented as a call to bswapXX, which was always a real