Re: svn commit: r306319 - head/sys/i386/i386

2016-09-26 Thread Colin Percival
On 09/25/16 23:53, Bruce Evans wrote: > On Sun, 25 Sep 2016, Colin Percival wrote: >> On 09/25/16 11:39, Bruce Evans wrote: >>> Author: bde >>> Date: Sun Sep 25 18:39:24 2016 >>> New Revision: 306319 >>> URL: https://svnweb.freebsd.org/changeset/base/306319 >>> >>> Log: >>> Minor fixes for 160-bi

Re: svn commit: r306319 - head/sys/i386/i386

2016-09-26 Thread Konstantin Belousov
On Mon, Sep 26, 2016 at 07:09:17AM +, Colin Percival wrote: > Traditionally x86 CPUs would generate an invalid-opcode fault if redundant > instruction prefixes resulted in an instruction exceeding 15 bytes. This > behaviour might have changed in the past two decades, but I doubt it. It did no

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

2016-09-26 Thread Konstantin Belousov
Author: kib Date: Mon Sep 26 08:18:34 2016 New Revision: 306334 URL: https://svnweb.freebsd.org/changeset/base/306334 Log: Document thr_suspend(2) and thr_wake(2). Reviewed by: bjk, jilles Discussed with: emaste, wblock Sponsored by: The FreeBSD Foundation MFC after:1 week

svn commit: r306337 - head/sys/kern

2016-09-26 Thread Hiren Panchasara
Author: hiren Date: Mon Sep 26 10:13:58 2016 New Revision: 306337 URL: https://svnweb.freebsd.org/changeset/base/306337 Log: In sendit(), if mp->msg_control is present, then in sockargs() we are allocating mbuf to store mp->msg_control. Later in kern_sendit(), call to getsock_cap(), will ch

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

2016-09-26 Thread Bruce Evans
On Mon, 26 Sep 2016, Hiren Panchasara wrote: Author: hiren Date: Mon Sep 26 10:13:58 2016 New Revision: 306337 URL: https://svnweb.freebsd.org/changeset/base/306337 Log: In sendit(), if mp->msg_control is present, then in sockargs() we are allocating mbuf to store mp->msg_control. Later in k

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

2016-09-26 Thread Bruce Evans
On Mon, 26 Sep 2016, Bruce Evans wrote: On Mon, 26 Sep 2016, Hiren Panchasara wrote: Author: hiren Date: Mon Sep 26 10:13:58 2016 New Revision: 306337 URL: https://svnweb.freebsd.org/changeset/base/306337 Log: In sendit(), if mp->msg_control is present, then in sockargs() we are allocating

Re: svn commit: r306289 - head/sys/net

2016-09-26 Thread Renato Botelho
> On 24 Sep 2016, at 04:09, Kristof Provost wrote: > > Author: kp > Date: Sat Sep 24 07:09:43 2016 > New Revision: 306289 > URL: https://svnweb.freebsd.org/changeset/base/306289 > > Log: > bridge: Fix fragment handling and memory leak > > Fragmented UDP and ICMP packets were corrupted if a fi

Re: svn commit: r306289 - head/sys/net

2016-09-26 Thread Kristof Provost
On 26 Sep 2016, at 15:28, Renato Botelho wrote: > > On 24 Sep 2016, at 04:09, Kristof Provost wrote: >> Author: kp >> Date: Sat Sep 24 07:09:43 2016 >> New Revision: 306289 >> URL: https://svnweb.freebsd.org/changeset/base/306289 >> >> Log: >> bridge: Fix fragment handling and memory leak >> … >>

svn commit: r306338 - head/usr.bin/calendar/tests

2016-09-26 Thread Ruslan Bukin
Author: br Date: Mon Sep 26 13:59:18 2016 New Revision: 306338 URL: https://svnweb.freebsd.org/changeset/base/306338 Log: Increase timeout for legacy_test from 300 (default) to 600 seconds. It takes about 7 minutes to pass the test on MIPS64EB in QEMU. Sponsored by: DARPA, AFRL Sponsore

svn commit: r306339 - head/sbin/growfs/tests

2016-09-26 Thread Ruslan Bukin
Author: br Date: Mon Sep 26 14:01:41 2016 New Revision: 306339 URL: https://svnweb.freebsd.org/changeset/base/306339 Log: Use bsdlabel as we don't have hardlink disklabel -> bsdlabel on MIPS. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/sbin/growfs/tests/legacy_test.pl

svn commit: r306342 - in head: crypto/openssl crypto/openssl/crypto crypto/openssl/crypto/engine crypto/openssl/crypto/x509 crypto/openssl/ssl secure/lib/libcrypto secure/lib/libcrypto/man secure/l...

2016-09-26 Thread Jung-uk Kim
Author: jkim Date: Mon Sep 26 14:22:17 2016 New Revision: 306342 URL: https://svnweb.freebsd.org/changeset/base/306342 Log: Merge OpenSSL 1.0.2j. Modified: head/crypto/openssl/CHANGES head/crypto/openssl/Makefile head/crypto/openssl/NEWS head/crypto/openssl/README head/crypto/openssl/

svn commit: r306346 - head/sys/kern

2016-09-26 Thread Eric van Gyzen
Author: vangyzen Date: Mon Sep 26 15:30:30 2016 New Revision: 306346 URL: https://svnweb.freebsd.org/changeset/base/306346 Log: Make no assertions about mutex state when the scheduler is stopped. This changes the assert path to match the lock and unlock paths. MFC after:1 week Sp

svn commit: r306347 - head/lib/libc/tests

2016-09-26 Thread Ruslan Bukin
Author: br Date: Mon Sep 26 15:38:02 2016 New Revision: 306347 URL: https://svnweb.freebsd.org/changeset/base/306347 Log: Don't build SSP tests on MIPS as we dont have stack-protector supported on this platform. Discussed with: brooks Sponsored by: DARPA, AFRL Sponsored by: HEIF

svn commit: r306348 - head/sys/kern

2016-09-26 Thread Hiren Panchasara
Author: hiren Date: Mon Sep 26 15:45:30 2016 New Revision: 306348 URL: https://svnweb.freebsd.org/changeset/base/306348 Log: Revert r306337. dhw@ reproted a panic which seems related to this and bde@ has raised some issues. Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/ui

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

2016-09-26 Thread Hiren Panchasara
On 09/26/16 at 10:18P, Bruce Evans wrote: > On Mon, 26 Sep 2016, Bruce Evans wrote: > Thanks Bruce for your inputs. I've reverted this change with r306348 for now as there was a panic reported with this. I do not have time to deal with it for at least a few days. I'll try to get back to it. If you

svn commit: r306349 - head/lib/libc/db/hash

2016-09-26 Thread Pedro F. Giffuni
Author: pfg Date: Mon Sep 26 16:06:50 2016 New Revision: 306349 URL: https://svnweb.freebsd.org/changeset/base/306349 Log: hash(3): protect in-memory page when using cross-endianness. When writing out pages in the "other endian" format, make a copy instead of trashing the in-memory one.

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

2016-09-26 Thread Konstantin Belousov
Author: kib Date: Mon Sep 26 17:22:44 2016 New Revision: 306350 URL: https://svnweb.freebsd.org/changeset/base/306350 Log: For machines which support PCID but not have INVPCID instruction, i.e. SandyBridge and IvyBridge, correct a race between pmap_activate() and invltlb_pcid_handler().

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

2016-09-26 Thread Konstantin Belousov
Author: kib Date: Mon Sep 26 17:25:25 2016 New Revision: 306351 URL: https://svnweb.freebsd.org/changeset/base/306351 Log: Handle TLB shootdown IPI during the EFI runtime calls, on SandyBridge and IvyBridge machines, which support PCID but do not have INVPCID instruction. MFC after:

Re: svn commit: r305353 - in head/sys/boot: i386 i386/boot0 i386/boot2 i386/btx/btx i386/btx/btxldr i386/cdboot i386/gptboot i386/gptzfsboot i386/mbr i386/pmbr i386/pxeldr i386/zfsboot pc98 pc98/boot0

2016-09-26 Thread John Baldwin
On Saturday, September 24, 2016 02:56:05 PM Warner Losh wrote: > On Fri, Sep 23, 2016 at 4:17 PM, Allan Jude wrote: > > On 09/03/16 11:26 AM, Warner Losh wrote: > >> Author: imp > >> Date: Sat Sep 3 15:26:28 2016 > >> New Revision: 305353 > >> URL: https://svnweb.freebsd.org/changeset/base/305353

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

2016-09-26 Thread Cy Schubert
In message <20160926155212.gi96...@strugglingcoder.info>, Hiren Panchasara writ es: > > --G3juXO9GfR42w+sw > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On 09/26/16 at 10:18P, Bruce Evans wrote: > > On Mon, 26 Sep 2016, Bruce Evans wrote: > > > > Thanks Bruce fo

svn commit: r306353 - head/lib/libarchive/tests

2016-09-26 Thread Ruslan Bukin
Author: br Date: Mon Sep 26 20:13:33 2016 New Revision: 306353 URL: https://svnweb.freebsd.org/changeset/base/306353 Log: Increase timeout from 300 (default) to 600 seconds. It takes 6-7 minutes to proceed the test on MIPS64EB. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified:

Re: svn commit: r306347 - head/lib/libc/tests

2016-09-26 Thread Warner Losh
Shouldn't we have MK_SSP == no on mips instead? That's how it's supposed to work. If it isn't, perhaps we should set it like that. Warner On Mon, Sep 26, 2016 at 9:38 AM, Ruslan Bukin wrote: > Author: br > Date: Mon Sep 26 15:38:02 2016 > New Revision: 306347 > URL: https://svnweb.freebsd.org/ch

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

2016-09-26 Thread Slawa Olhovchenkov
On Mon, Sep 26, 2016 at 05:22:44PM +, Konstantin Belousov wrote: > Author: kib > Date: Mon Sep 26 17:22:44 2016 > New Revision: 306350 > URL: https://svnweb.freebsd.org/changeset/base/306350 > > Log: > For machines which support PCID but not have INVPCID instruction, > i.e. SandyBridge an

svn commit: r306355 - in head/sys: dev/atkbdc sys

2016-09-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Sep 26 22:06:19 2016 New Revision: 306355 URL: https://svnweb.freebsd.org/changeset/base/306355 Log: Add Elantech trackpad support Elantech trackpads are found in some laptops like the Asus UX31E. They are "synaptics compatible" but use a slightly different protoco

svn commit: r306356 - head/usr.sbin/moused

2016-09-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Sep 26 22:07:45 2016 New Revision: 306356 URL: https://svnweb.freebsd.org/changeset/base/306356 Log: Add Elantech trackpad to the list of known models PR: 205690 Submitted by: Vladimir Kondratyev MFC after: 1 week Modified: head/usr.sbin/mo

svn commit: r306357 - head/share/man/man4

2016-09-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Sep 26 22:08:35 2016 New Revision: 306357 URL: https://svnweb.freebsd.org/changeset/base/306357 Log: Document hw.psm.elantech_support in psm(4) PR: 205690 Submitted by: Vladimir Kondratyev MFC after: 1 week Modified: head/share/man/man4/psm

svn commit: r306358 - in head/sys: conf powerpc/conf powerpc/mpc85xx

2016-09-26 Thread Justin Hibbits
Author: jhibbits Date: Tue Sep 27 00:53:41 2016 New Revision: 306358 URL: https://svnweb.freebsd.org/changeset/base/306358 Log: Add NXP/Freescale DIU driver for PowerPC SoCs Summary: This enables some features of the DIU, using a static configuration, specified either via a 'edid' prope

Re: svn commit: r305353 - in head/sys/boot: i386 i386/boot0 i386/boot2 i386/btx/btx i386/btx/btxldr i386/cdboot i386/gptboot i386/gptzfsboot i386/mbr i386/pmbr i386/pxeldr i386/zfsboot pc98 pc98/boot0

2016-09-26 Thread Warner Losh
On Mon, Sep 26, 2016 at 11:00 AM, John Baldwin wrote: > On Saturday, September 24, 2016 02:56:05 PM Warner Losh wrote: >> On Fri, Sep 23, 2016 at 4:17 PM, Allan Jude wrote: >> > On 09/03/16 11:26 AM, Warner Losh wrote: >> >> Author: imp >> >> Date: Sat Sep 3 15:26:28 2016 >> >> New Revision: 305

svn commit: r306359 - head/sys/dev/pci

2016-09-26 Thread Sepherosa Ziehau
Author: sephe Date: Tue Sep 27 06:00:10 2016 New Revision: 306359 URL: https://svnweb.freebsd.org/changeset/base/306359 Log: pci: Clear the MEM/PORT_EN bit when updating PCI BAR It's unsafe to update the BAR when the related EN bit is set. Submitted by: Dexuan Cui Reviewed by: jhb

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

2016-09-26 Thread Sepherosa Ziehau
Author: sephe Date: Tue Sep 27 06:30:24 2016 New Revision: 306360 URL: https://svnweb.freebsd.org/changeset/base/306360 Log: hyperv/vmbus: Add dynamic device add and remove support MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D80