Re: svn commit: r302364 - head/usr.sbin/bhyve

2016-07-05 Thread Ed Schouten
2016-07-06 7:02 GMT+02:00 Garrett Cooper : > Add `WRAPPED_CTASSERT` macro by annotating CTASSERTs with __unused > to deal with -Wunused-local-typedefs warnings from gcc 4.8+. > All other compilers (clang, etc) use CTASSERT as-is. A more generic > solution for this issue will be proposed aft

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

2016-07-05 Thread Garrett Cooper
Author: ngie Date: Wed Jul 6 05:17:56 2016 New Revision: 302369 URL: https://svnweb.freebsd.org/changeset/base/302369 Log: Fix gcc warning Remove -Wunused-but-set-variable (`mopt`). Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D7119 MFC after: 1 week

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

2016-07-05 Thread Garrett Cooper
Author: ngie Date: Wed Jul 6 05:17:07 2016 New Revision: 302368 URL: https://svnweb.freebsd.org/changeset/base/302368 Log: Fix gcc build errors with SSE 4.2 detection and gcc warnings - Remove -Wunused-but-set-variable's (`len`, etc). - Replace clang-specific tests in sse42_supported(..)

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

2016-07-05 Thread Garrett Cooper
Author: ngie Date: Wed Jul 6 05:11:39 2016 New Revision: 302367 URL: https://svnweb.freebsd.org/changeset/base/302367 Log: Fix gcc warnings Remove unused function (`fifo_available`) Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D7119 MFC after: 1 week

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

2016-07-05 Thread Garrett Cooper
Author: ngie Date: Wed Jul 6 05:09:13 2016 New Revision: 302366 URL: https://svnweb.freebsd.org/changeset/base/302366 Log: Fix gcc warnings - Put parentheses around bitwise OR'ed values in the `FIELD_COPY(..)` and `FIELD_REPLACE(..)` macros to mute warning from gcc 4.2.1. - Remove -W

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

2016-07-05 Thread Garrett Cooper
Author: ngie Date: Wed Jul 6 05:05:03 2016 New Revision: 302365 URL: https://svnweb.freebsd.org/changeset/base/302365 Log: Fix gcc warnings Remove -Wunused-but-set-variable (`error`). Cast calls with `(void)` to note that the return value is explicitly ignored. Approved by: re (gjb)

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

2016-07-05 Thread Garrett Cooper
Author: ngie Date: Wed Jul 6 05:02:59 2016 New Revision: 302364 URL: https://svnweb.freebsd.org/changeset/base/302364 Log: Fix gcc warnings Add `WRAPPED_CTASSERT` macro by annotating CTASSERTs with __unused to deal with -Wunused-local-typedefs warnings from gcc 4.8+. All other compiler

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

2016-07-05 Thread Garrett Cooper
Author: ngie Date: Wed Jul 6 04:58:42 2016 New Revision: 302363 URL: https://svnweb.freebsd.org/changeset/base/302363 Log: Fix gcc warnings Put cfl/prdt under AHCI_DEBUG #defines as they are only used in those cases. Approved by: re (gjb) Differential Revision: https://reviews.fre

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

2016-07-05 Thread Garrett Cooper
Author: ngie Date: Wed Jul 6 04:56:45 2016 New Revision: 302362 URL: https://svnweb.freebsd.org/changeset/base/302362 Log: Fix gcc warnings - Remove -Wunused-but-set-variable (newcpu) - Always return VMEXIT_CONTINUE as the code always set retval to that value. Approved by: re (gjb)

svn commit: r302361 - head/share/misc

2016-07-05 Thread Eric Badger
Author: badger Date: Wed Jul 6 03:23:07 2016 New Revision: 302361 URL: https://svnweb.freebsd.org/changeset/base/302361 Log: Add myself to the src committers graph. Approved by: re (gjb), kib (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-sr

svn commit: r302360 - svnadmin/conf

2016-07-05 Thread Glen Barber
Author: gjb Date: Wed Jul 6 00:02:04 2016 New Revision: 302360 URL: https://svnweb.freebsd.org/changeset/base/302360 Log: Premptively add stable/11 and releng/11.0 entries to the approvers file. Note, these are commented out for now. Approved by: re (implicit) Sponsored by: The FreeB

Re: svn commit: r302328 - in head/sys: kern sys

2016-07-05 Thread Ngie Cooper (yaneurabeya)
> On Jul 5, 2016, at 03:08, Bruce Evans wrote: > > On Sun, 3 Jul 2016, Konstantin Belousov wrote: > > This is mostly a test reply (replying to src-committers has stopped > working for newer commits). > >> Log: >> Provide helper macros to detect 'non-silent SBDRY' state and to >> calculate appr

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

2016-07-05 Thread Glen Barber
Author: gjb Date: Tue Jul 5 23:03:57 2016 New Revision: 302359 URL: https://svnweb.freebsd.org/changeset/base/302359 Log: Correct a manual page reference. Approved by: re (kib) Sponsored by: The FreeBSD Foundation Modified: head/share/man/man4/capsicum.4 Modified: head/share/man/man

Re: svn commit: r302332 - head/usr.sbin/bhyve

2016-07-05 Thread Ngie Cooper (yaneurabeya)
> On Jul 5, 2016, at 15:52, Bryan Drewery wrote: > > On 7/3/2016 8:19 PM, Peter Grehan wrote: >> Author: grehan >> Date: Mon Jul 4 03:19:06 2016 >> New Revision: 302332 >> URL: https://svnweb.freebsd.org/changeset/base/302332 >> >> Log: >> Import bhyve_graphics into CURRENT. Thanks to all who

Re: svn commit: r302332 - head/usr.sbin/bhyve

2016-07-05 Thread Peter Grehan
This breaks the external GCC 5.2 build: Fix being worked on in https://reviews.freebsd.org/D7119 later, Peter. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src

Re: svn commit: r302332 - head/usr.sbin/bhyve

2016-07-05 Thread Bryan Drewery
On 7/3/2016 8:19 PM, Peter Grehan wrote: > Author: grehan > Date: Mon Jul 4 03:19:06 2016 > New Revision: 302332 > URL: https://svnweb.freebsd.org/changeset/base/302332 > > Log: > Import bhyve_graphics into CURRENT. Thanks to all who tested > this on the branch. > > Original commit messa

svn commit: r302358 - head/include

2016-07-05 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jul 5 22:30:29 2016 New Revision: 302358 URL: https://svnweb.freebsd.org/changeset/base/302358 Log: Remove incorrect attributes from posix_memalign(3) declaration. Both __alloc_align and __alloc_size can't be used when the function returns a pointer to memory. This

svn commit: r302357 - head/release/doc/en_US.ISO8859-1/relnotes

2016-07-05 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue Jul 5 22:07:41 2016 New Revision: 302357 URL: https://svnweb.freebsd.org/changeset/base/302357 Log: Document r302221, file has been updated to version 5.28 Approved by: re (gjb, implicit, relnotes) Modified: head/release/doc/en_US.ISO885

svn commit: r302356 - head/release/doc/en_US.ISO8859-1/relnotes

2016-07-05 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue Jul 5 21:57:25 2016 New Revision: 302356 URL: https://svnweb.freebsd.org/changeset/base/302356 Log: Remove reference to casperd Reported by: bapt Approved by: re (gjb, implicit, relnotes) Modified: head/release/doc/en_US.ISO8859-1/rel

svn commit: r302355 - head/release/doc/en_US.ISO8859-1/relnotes

2016-07-05 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue Jul 5 20:56:52 2016 New Revision: 302355 URL: https://svnweb.freebsd.org/changeset/base/302355 Log: Document 300207, Support for Shingled Magnetic Recording (SMR) drives. Approved by: re (gjb, implicit, relnotes) Modified: head/release/d

svn commit: r302354 - head/sys/dev/ioat

2016-07-05 Thread Conrad E. Meyer
Author: cem Date: Tue Jul 5 20:53:32 2016 New Revision: 302354 URL: https://svnweb.freebsd.org/changeset/base/302354 Log: ioat(4): Block asynchronous work during HW reset Fix the race between ioat_reset_hw and ioat_process_events. HW reset isn't protected by a lock because it can slee

svn commit: r302353 - head/sys/dev/ioat

2016-07-05 Thread Conrad E. Meyer
Author: cem Date: Tue Jul 5 20:52:35 2016 New Revision: 302353 URL: https://svnweb.freebsd.org/changeset/base/302353 Log: ioat(4): Serialize ioat_reset_hw invocations Reviewed by: markj Approved by: re Sponsored by: EMC / Isilon Storage Division Differential Revision:https:

svn commit: r302352 - head/sys/dev/ioat

2016-07-05 Thread Conrad E. Meyer
Author: cem Date: Tue Jul 5 20:51:52 2016 New Revision: 302352 URL: https://svnweb.freebsd.org/changeset/base/302352 Log: ioat(4): Split timer into poll and shrink functions Poll should happen quickly, while shrink should happen infrequently. Protect is_completion_pending with submit_

svn commit: r302351 - head/release/doc/en_US.ISO8859-1/relnotes

2016-07-05 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue Jul 5 20:48:59 2016 New Revision: 302351 URL: https://svnweb.freebsd.org/changeset/base/302351 Log: Document 302332, Native graphics support has been added to bhyve Approved by: re (gjb, implicit, relnotes) Modified: head/release/doc/en_

Re: svn commit: r302350 - in head: share/man/man9 sys/kern sys/sys

2016-07-05 Thread Gleb Smirnoff
On Tue, Jul 05, 2016 at 11:48:56AM -0700, Ngie Cooper (yaneurabeya) wrote: N> > Author: glebius N> > Date: Tue Jul 5 18:47:17 2016 N> > New Revision: 302350 N> > URL: https://svnweb.freebsd.org/changeset/base/302350 N> > N> > Log: N> > The paradigm of a callout is that it has three consequent st

Re: svn commit: r302350 - in head: share/man/man9 sys/kern sys/sys

2016-07-05 Thread Ngie Cooper (yaneurabeya)
> On Jul 5, 2016, at 11:47, Gleb Smirnoff wrote: > > Author: glebius > Date: Tue Jul 5 18:47:17 2016 > New Revision: 302350 > URL: https://svnweb.freebsd.org/changeset/base/302350 > > Log: > The paradigm of a callout is that it has three consequent states: > not scheduled -> scheduled -> run

svn commit: r302350 - in head: share/man/man9 sys/kern sys/sys

2016-07-05 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 5 18:47:17 2016 New Revision: 302350 URL: https://svnweb.freebsd.org/changeset/base/302350 Log: The paradigm of a callout is that it has three consequent states: not scheduled -> scheduled -> running -> not scheduled. The API and the manual page assume that, so

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

2016-07-05 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 5 18:34:34 2016 New Revision: 302349 URL: https://svnweb.freebsd.org/changeset/base/302349 Log: Compile in the kassert_panic() function with INVARIANT_SUPPORT option, not INVARIANTS. The function is required if we want to load in a module that is compiled with

svn commit: r302348 - vendor/llvm-libunwind/libunwind-r272680

2016-07-05 Thread Ed Maste
Author: emaste Date: Tue Jul 5 18:02:17 2016 New Revision: 302348 URL: https://svnweb.freebsd.org/changeset/base/302348 Log: Tag LLVM libunwind r272680 Added: vendor/llvm-libunwind/libunwind-r272680/ - copied from r302347, vendor/llvm-libunwind/dist/

svn commit: r302347 - in vendor/llvm-libunwind/dist: include src

2016-07-05 Thread Ed Maste
Author: emaste Date: Tue Jul 5 18:00:23 2016 New Revision: 302347 URL: https://svnweb.freebsd.org/changeset/base/302347 Log: Import LLVM libunwind snapshot revision 272680 Significant upstream revisions: 260595: [AArch64] Fix libunwind build when using GNU assembler 270692: Introduc

svn commit: r302346 - head/sys/kern

2016-07-05 Thread Mark Johnston
Author: markj Date: Tue Jul 5 17:59:04 2016 New Revision: 302346 URL: https://svnweb.freebsd.org/changeset/base/302346 Log: Ensure that spinlock sections are balanced even after a panic. vpanic() uses spinlock_enter() to disable interrupts before dumping core. However, when the scheduler

svn commit: r302345 - head/sys/kern

2016-07-05 Thread Robert Watson
Author: rwatson Date: Tue Jul 5 16:37:01 2016 New Revision: 302345 URL: https://svnweb.freebsd.org/changeset/base/302345 Log: Call audit hooks to capture vnode attributes for three file-descriptor method implementations: fstat(2), close(2), and poll(2). This change synchronises auditing he

svn commit: r302344 - head/sys/kern

2016-07-05 Thread Ed Maste
Author: emaste Date: Tue Jul 5 14:46:06 2016 New Revision: 302344 URL: https://svnweb.freebsd.org/changeset/base/302344 Log: add description for debug.elf{32,64}_legacy_coredump sysctl Approved by: re (kib) MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sy

svn commit: r302343 - head/sys/vm

2016-07-05 Thread Konstantin Belousov
Author: kib Date: Tue Jul 5 11:21:02 2016 New Revision: 302343 URL: https://svnweb.freebsd.org/changeset/base/302343 Log: Clarify the vnode_destroy_vobject() logic handling for already terminated objects. Assert that there is no new waiters for the already terminated objects. Old waite

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

2016-07-05 Thread Bruce Evans
On Mon, 4 Jul 2016, Adrian Chadd wrote: On 4 July 2016 at 12:28, Ed Schouten wrote: 2016-07-04 21:08 GMT+02:00 Adrian Chadd : Does the specification / implementation also mandate that the padding is zero'ed out or otherwise initialised? Only QOI and POLA require it. Well... That's tricky:

Re: svn commit: r302328 - in head/sys: kern sys

2016-07-05 Thread Bruce Evans
On Sun, 3 Jul 2016, Konstantin Belousov wrote: This is mostly a test reply (replying to src-committers has stopped working for newer commits). Log: Provide helper macros to detect 'non-silent SBDRY' state and to calculate appropriate return value for stops. Simplify the code by using them.

Re: svn commit: r302337 - head/usr.sbin/ppp

2016-07-05 Thread Guido Falsi
On 07/04/16 23:18, Baptiste Daroussin wrote: > Author: bapt > Date: Mon Jul 4 21:18:57 2016 > New Revision: 302337 > URL: https://svnweb.freebsd.org/changeset/base/302337 > > Log: > Fix build of ppp when WITHOUT_PAM is set > > PR: 210658 > Reported by:madpilot > Tested

Re: svn commit: r302342 - head/sbin/ping6

2016-07-05 Thread Ngie Cooper
> On Jul 5, 2016, at 00:01, Marcelo Araujo wrote: > > Author: araujo > Date: Tue Jul 5 07:01:42 2016 > New Revision: 302342 > URL: https://svnweb.freebsd.org/changeset/base/302342 > > Log: > Fix a regression introduced on revision r271909, when using argument -g > or several hops we have seg

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

2016-07-05 Thread David Chisnall
On 4 Jul 2016, at 21:09, Adrian Chadd wrote: > > Right, so if we're not careful, we could leak bits of kernel memory, > and it can also screw up key cache comparisons. > > (I asked this question because I've been screwed by it recentlyish, > and it looks like the latest C standard didn't fix it.

svn commit: r302342 - head/sbin/ping6

2016-07-05 Thread Marcelo Araujo
Author: araujo Date: Tue Jul 5 07:01:42 2016 New Revision: 302342 URL: https://svnweb.freebsd.org/changeset/base/302342 Log: Fix a regression introduced on revision r271909, when using argument -g or several hops we have segmentation fault because we overwrite the same structure to store in