Re: svn commit: r317106 - head/share/mk

2017-04-18 Thread Ngie Cooper
> On Apr 18, 2017, at 16:59, Simon J. Gerraty wrote: > > Author: sjg > Date: Tue Apr 18 23:59:15 2017 > New Revision: 317106 > URL: https://svnweb.freebsd.org/changeset/base/317106 > > Log: > If MAKEOBJDIRPREFIX is a prefix match for .CURDIR, then __objdir is .CURDIR > >

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-04-18 Thread Bruce Evans
On Tue, 18 Apr 2017, Alan Somers wrote: On Mon, Apr 17, 2017 at 11:34 AM, Gleb Smirnoff wrote: Please trim quotes. [... 5 lines of quotes trimmed] Log: - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter in place. To do per-cpu stats,

RE: svn commit: r316767 - head/sys/amd64/amd64

2017-04-18 Thread Dexuan Cui via svn-src-head
> From: Konstantin Belousov > > It looks memory allocated by bus_dmamem_alloc() and malloc() > > is not executable now. > > > > What else can we use? > > I guess we can only use contigmalloc() or kmem_malloc() to > > get a page that can be executable and use vtophys() to get its > > physical

svn commit: r317107 - head/sys/dev/hyperv/vmbus

2017-04-18 Thread Sepherosa Ziehau
Author: sephe Date: Wed Apr 19 02:39:48 2017 New Revision: 317107 URL: https://svnweb.freebsd.org/changeset/base/317107 Log: hyperv: Use kmem_malloc for hypercall memory due to NX bit change. Reported by: dexuan@ MFC after:now Sponsored by: Microsoft Modified:

Re: svn commit: r317106 - head/share/mk

2017-04-18 Thread Bryan Drewery
On 4/18/2017 4:59 PM, Simon J. Gerraty wrote: > Author: sjg > Date: Tue Apr 18 23:59:15 2017 > New Revision: 317106 > URL: https://svnweb.freebsd.org/changeset/base/317106 > > Log: > If MAKEOBJDIRPREFIX is a prefix match for .CURDIR, then __objdir is .CURDIR > Thanks! -- Regards, Bryan

svn commit: r317106 - head/share/mk

2017-04-18 Thread Simon J. Gerraty
Author: sjg Date: Tue Apr 18 23:59:15 2017 New Revision: 317106 URL: https://svnweb.freebsd.org/changeset/base/317106 Log: If MAKEOBJDIRPREFIX is a prefix match for .CURDIR, then __objdir is .CURDIR Reviewed by: bdrewery Modified: head/share/mk/auto.obj.mk Modified:

Re: svn commit: r317094 - head/share/mk

2017-04-18 Thread Slawa Olhovchenkov
On Tue, Apr 18, 2017 at 12:45:25PM -0700, John Baldwin wrote: > On Tuesday, April 18, 2017 07:30:13 PM Slawa Olhovchenkov wrote: > > On Tue, Apr 18, 2017 at 04:27:48PM +, John Baldwin wrote: > > > > > Author: jhb > > > Date: Tue Apr 18 16:27:48 2017 > > > New Revision: 317094 > > > URL:

Re: svn commit: r317094 - head/share/mk

2017-04-18 Thread John Baldwin
On Tuesday, April 18, 2017 07:30:13 PM Slawa Olhovchenkov wrote: > On Tue, Apr 18, 2017 at 04:27:48PM +, John Baldwin wrote: > > > Author: jhb > > Date: Tue Apr 18 16:27:48 2017 > > New Revision: 317094 > > URL: https://svnweb.freebsd.org/changeset/base/317094 > > > > Log: > > Disable

svn commit: r317104 - head/sys/cam/scsi

2017-04-18 Thread Conrad Meyer
Author: cem Date: Tue Apr 18 21:05:05 2017 New Revision: 317104 URL: https://svnweb.freebsd.org/changeset/base/317104 Log: da(4): Fix a TRIM regression introduced in r308155 According to Warner, multiple TRIM BIOs are collapsed into a single CCB with NULL bp. It is invalid to biotrack()

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-04-18 Thread Jung-uk Kim
On 04/18/2017 16:05, Larry Rosenman wrote: > On 4/18/17, 2:58 PM, "Alan Somers" of asom...@freebsd.org> wrote: > > On Mon, Apr 17, 2017 at 11:34 AM, Gleb Smirnoff > wrote: > > Author: glebius > > Date: Mon Apr 17

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

2017-04-18 Thread Kristof Provost
Author: kp Date: Tue Apr 18 20:07:21 2017 New Revision: 317102 URL: https://svnweb.freebsd.org/changeset/base/317102 Log: pf: Also clear limit counters The "pfctl -F info" command didn't clear the limit counters ( as shown in the "pfctl -vsi" output). Submitted by: Max

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-04-18 Thread Larry Rosenman
On 4/18/17, 2:58 PM, "Alan Somers" wrote: On Mon, Apr 17, 2017 at 11:34 AM, Gleb Smirnoff wrote: > Author: glebius > Date: Mon Apr 17 17:34:47 2017 > New Revision: 317061 > URL:

Re: svn commit: r317061 - in head: libexec/rpc.rstatd sys/amd64/amd64 sys/amd64/include sys/arm/arm sys/arm/include sys/arm64/include sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/compat/linprocf

2017-04-18 Thread Alan Somers
On Mon, Apr 17, 2017 at 11:34 AM, Gleb Smirnoff wrote: > Author: glebius > Date: Mon Apr 17 17:34:47 2017 > New Revision: 317061 > URL: https://svnweb.freebsd.org/changeset/base/317061 > > Log: > - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter >

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

2017-04-18 Thread John Baldwin
Author: jhb Date: Tue Apr 18 19:54:04 2017 New Revision: 317101 URL: https://svnweb.freebsd.org/changeset/base/317101 Log: Regenerate to note that GDB is now off by default on most platforms. Note that this commit also adds the default riscv settings for all options since riscv was added

svn commit: r317100 - head

2017-04-18 Thread Glen Barber
Author: gjb Date: Tue Apr 18 19:44:34 2017 New Revision: 317100 URL: https://svnweb.freebsd.org/changeset/base/317100 Log: Use relative symlink for 'latest' to allow repo to work after being moved. Submitted by: woodsb02 MFC after:3 days PR: 217197 Sponsored by: The

svn commit: r317099 - head/sys/boot/uboot/lib

2017-04-18 Thread Toomas Soome
Author: tsoome Date: Tue Apr 18 19:36:58 2017 New Revision: 317099 URL: https://svnweb.freebsd.org/changeset/base/317099 Log: loader: uboot disk ioctl should call disk_ioctl As the uboot disk interface is using common/disk.c API, we also should use disk_ioctl() call, this will give us

Re: svn commit: r308155 - in head/sys: amd64/conf cam cam/scsi conf dev/mps geom geom/part kern sys vm

2017-04-18 Thread Warner Losh
On Tue, Apr 18, 2017 at 1:15 PM, Conrad Meyer wrote: > Hi Alan, > > On Tue, Apr 18, 2017 at 12:02 PM, Alan Somers wrote: >> This change is causing panics when I try to create a zpool on an SSD. >> >> ... (reordered slightly) >> >> The >> offending line is

Re: svn commit: r317097 - in head/sys/boot: common efi/libefi i386/libi386 mips/beri/loader powerpc/ps3 uboot/lib usb/storage userboot/userboot

2017-04-18 Thread Ian Lepore
On Tue, 2017-04-18 at 15:15 -0400, Ed Maste wrote: > On 18 April 2017 at 14:18, Ian Lepore wrote: > > > > > > Now the boot fails on arm with: > > > > Found U-Boot device: disk > >   Checking unit=0 slice= partition=...disk0: real size > > != size > Hrmph. My BeagleBone Black

Re: svn commit: r317097 - in head/sys/boot: common efi/libefi i386/libi386 mips/beri/loader powerpc/ps3 uboot/lib usb/storage userboot/userboot

2017-04-18 Thread Ed Maste
On 18 April 2017 at 14:18, Ian Lepore wrote: > > Now the boot fails on arm with: > > Found U-Boot device: disk > Checking unit=0 slice= partition=...disk0: real size != size Hrmph. My BeagleBone Black booted with this change (and D10421). I built ubldr.bin with the changes,

Re: svn commit: r308155 - in head/sys: amd64/conf cam cam/scsi conf dev/mps geom geom/part kern sys vm

2017-04-18 Thread Conrad Meyer
Hi Alan, On Tue, Apr 18, 2017 at 12:02 PM, Alan Somers wrote: > This change is causing panics when I try to create a zpool on an SSD. > > ... (reordered slightly) > > The > offending line is the biotrack call in scsi_da.c at line 4172; bp is > apparently null. Could you

Re: svn commit: r308155 - in head/sys: amd64/conf cam cam/scsi conf dev/mps geom geom/part kern sys vm

2017-04-18 Thread Alan Somers
On Mon, Oct 31, 2016 at 5:09 PM, Conrad E. Meyer wrote: > Author: cem > Date: Mon Oct 31 23:09:52 2016 > New Revision: 308155 > URL: https://svnweb.freebsd.org/changeset/base/308155 > > Log: > Add BUF_TRACKING and FULL_BUF_TRACKING buffer debugging > > Upstream the

Re: svn commit: r317097 - in head/sys/boot: common efi/libefi i386/libi386 mips/beri/loader powerpc/ps3 uboot/lib usb/storage userboot/userboot

2017-04-18 Thread Ian Lepore
On Tue, 2017-04-18 at 18:07 +, Toomas Soome wrote: > Author: tsoome > Date: Tue Apr 18 18:07:54 2017 > New Revision: 317097 > URL: https://svnweb.freebsd.org/changeset/base/317097 > > Log: >   loader: F_READ/F_WRITE should be checked against masked flag >    >   The work to make it possible

svn commit: r317097 - in head/sys/boot: common efi/libefi i386/libi386 mips/beri/loader powerpc/ps3 uboot/lib usb/storage userboot/userboot

2017-04-18 Thread Toomas Soome
Author: tsoome Date: Tue Apr 18 18:07:54 2017 New Revision: 317097 URL: https://svnweb.freebsd.org/changeset/base/317097 Log: loader: F_READ/F_WRITE should be checked against masked flag The work to make it possible to avoid bcache via using F_NORA modifier did miss the fact that not all

svn commit: r317095 - in head/sys: boot/fdt/dts/mips mips/beri mips/conf

2017-04-18 Thread Ruslan Bukin
Author: br Date: Tue Apr 18 17:20:03 2017 New Revision: 317095 URL: https://svnweb.freebsd.org/changeset/base/317095 Log: Switch BERI Programmable Interrupt Controller to INTRNG. Sponsored by: DARPA, AFRL Deleted: head/sys/mips/beri/beri_simplebus.c head/sys/mips/beri/fdt_ic_if.m

Re: svn commit: r317094 - head/share/mk

2017-04-18 Thread Slawa Olhovchenkov
On Tue, Apr 18, 2017 at 04:27:48PM +, John Baldwin wrote: > Author: jhb > Date: Tue Apr 18 16:27:48 2017 > New Revision: 317094 > URL: https://svnweb.freebsd.org/changeset/base/317094 > > Log: > Disable in-tree GDB by default on x86, mips, and powerpc. > > GDB in ports contains all of

svn commit: r317094 - head/share/mk

2017-04-18 Thread John Baldwin
Author: jhb Date: Tue Apr 18 16:27:48 2017 New Revision: 317094 URL: https://svnweb.freebsd.org/changeset/base/317094 Log: Disable in-tree GDB by default on x86, mips, and powerpc. GDB in ports contains all of the functionality as GDB in base (including kgdb) for these platforms along

svn commit: r317092 - head/sys/boot/zfs

2017-04-18 Thread Toomas Soome
Author: tsoome Date: Tue Apr 18 15:43:47 2017 New Revision: 317092 URL: https://svnweb.freebsd.org/changeset/base/317092 Log: loader: zfs reader vdev_probe should check for minimum device size The smallest device we can have in the pool is 64MB, since we are trying to walk all four

svn commit: r317091 - head/lib/libc/sys

2017-04-18 Thread Sergey Kandaurov
Author: pluknet Date: Tue Apr 18 15:36:13 2017 New Revision: 317091 URL: https://svnweb.freebsd.org/changeset/base/317091 Log: Document kevent EVFILT_EMPTY. Reviewed by: hiren X-MFC with: r312277 Modified: head/lib/libc/sys/kqueue.2 Modified: head/lib/libc/sys/kqueue.2

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

2017-04-18 Thread Konstantin Belousov
On Tue, Apr 18, 2017 at 12:41:09PM +, Dexuan Cui wrote: > > From: owner-svn-src-h...@freebsd.org [mailto:owner-svn-src- > > h...@freebsd.org] On Behalf Of Konstantin Belousov > > Sent: Thursday, April 13, 2017 23:50 > > > > Author: kib > > Date: Thu Apr 13 15:49:55 2017 > > New Revision:

RE: svn commit: r316767 - head/sys/amd64/amd64

2017-04-18 Thread Dexuan Cui via svn-src-head
> From: owner-svn-src-h...@freebsd.org [mailto:owner-svn-src- > h...@freebsd.org] On Behalf Of Konstantin Belousov > Sent: Thursday, April 13, 2017 23:50 > > Author: kib > Date: Thu Apr 13 15:49:55 2017 > New Revision: 316767 > URL: > > Log: > Map DMAP as nx. > > Demotions preserve PG_NX,

svn commit: r317090 - in head/sys/arm/mv: . armada38x

2017-04-18 Thread Zbigniew Bodek
Author: zbb Date: Tue Apr 18 10:39:14 2017 New Revision: 317090 URL: https://svnweb.freebsd.org/changeset/base/317090 Log: Optimize Armada38x low-level MBUS settings Add early init handler, which comprises various internal bus optimisations for Armada 38x SoC's. Magic values used due

svn commit: r317089 - head/sys/arm/include

2017-04-18 Thread Zbigniew Bodek
Author: zbb Date: Tue Apr 18 10:37:08 2017 New Revision: 317089 URL: https://svnweb.freebsd.org/changeset/base/317089 Log: Fix bit assignment in PL310_POWER_CTRL Align to ARM specification: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0246f/BEIEHICF.html Submitted

svn commit: r317088 - head/sys/arm/conf

2017-04-18 Thread Zbigniew Bodek
Author: zbb Date: Tue Apr 18 10:35:30 2017 New Revision: 317088 URL: https://svnweb.freebsd.org/changeset/base/317088 Log: Add PL310 device in ARMADA38X config Submitted by: Arnaud Ysmal Obtained from: Stormshield Sponsored by: Stormshield Differential

svn commit: r317087 - head/sys/arm/arm

2017-04-18 Thread Zbigniew Bodek
Author: zbb Date: Tue Apr 18 10:34:10 2017 New Revision: 317087 URL: https://svnweb.freebsd.org/changeset/base/317087 Log: Execute PL310_ERRATA_727915 only for related revisions Part of PL310 erratum 727915 in pl310_wbinv_range() was executed uncoditionally for all possible controllers'

svn commit: r317086 - head/sys/arm/mv/armada38x

2017-04-18 Thread Zbigniew Bodek
Author: zbb Date: Tue Apr 18 10:32:21 2017 New Revision: 317086 URL: https://svnweb.freebsd.org/changeset/base/317086 Log: Add PL310 platform initialization for Armada 38x Introduce machine-dependent part of the arm/pl310 driver for Armada 38x SoCs. Add prefetch and power savings

svn commit: r317085 - head/sys/arm/arm

2017-04-18 Thread Zbigniew Bodek
Author: zbb Date: Tue Apr 18 10:25:59 2017 New Revision: 317085 URL: https://svnweb.freebsd.org/changeset/base/317085 Log: Increase number of L2 tables required for kernel bootstrap Memory space reserved for pmap_kernel_l2dtable_kva and pmap_kernel_l2ptp_kva has not been taken into

svn commit: r317084 - head/sys/arm/conf

2017-04-18 Thread Zbigniew Bodek
Author: zbb Date: Tue Apr 18 10:20:42 2017 New Revision: 317084 URL: https://svnweb.freebsd.org/changeset/base/317084 Log: Reduce kmem_arena maximum size for Armada38x VM_KMEM_SIZE_MAX allows to limit kmem arena size. In our case this was necessary, as decreasing size of kmem_arena

svn commit: r317080 - head/sys/dev/ahci

2017-04-18 Thread Alexander Motin
Author: mav Date: Tue Apr 18 08:04:15 2017 New Revision: 317080 URL: https://svnweb.freebsd.org/changeset/base/317080 Log: Block FPDMA TRIM for ASMedia HBAs. Experiments show FPDMA TRIM command timeouts on ASMedia HBAs, while the same SSDs working fine on Intel HBAs. MFC after:2

svn commit: r317079 - head/contrib/llvm/lib/Target/X86

2017-04-18 Thread Dimitry Andric
Author: dim Date: Tue Apr 18 07:02:12 2017 New Revision: 317079 URL: https://svnweb.freebsd.org/changeset/base/317079 Log: Pull in r300429 from upstream llvm trunk (by Benjamin Kramer): [X86] Remove special handling for 16 bit for A asm constraints. Our 16 bit support is

svn commit: r317078 - head/sys/arm/allwinner

2017-04-18 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Tue Apr 18 06:58:04 2017 New Revision: 317078 URL: https://svnweb.freebsd.org/changeset/base/317078 Log: Remove function declaration that doesn't exist. Modified: head/sys/arm/allwinner/a10_gpio.h Modified: head/sys/arm/allwinner/a10_gpio.h