svn commit: r297299 - in head: contrib/libcxxrt lib/libcxxrt

2016-03-26 Thread Dimitry Andric
Author: dim Date: Sun Mar 27 00:37:54 2016 New Revision: 297299 URL: https://svnweb.freebsd.org/changeset/base/297299 Log: Compile libcxxrt as C++11, since it is only really used in combination with libc++, which is also C++11. Also change one _Static_assert (which is really C11) back into

svn commit: r297298 - in head/sys: dev/netmap kern

2016-03-26 Thread Navdeep Parhar
Author: np Date: Sat Mar 26 23:39:53 2016 New Revision: 297298 URL: https://svnweb.freebsd.org/changeset/base/297298 Log: Plug leak in m_unshare. m_unshare passes on the source mbuf's flags as-is to m_getcl and this results in a leak if the flags include M_NOFREE. The fix is to clear

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-26 Thread Bruce Evans
On Sat, 26 Mar 2016, Konstantin Belousov wrote: On Sat, Mar 26, 2016 at 03:17:43AM +1100, Bruce Evans wrote: This uses the i8254. Well, this is the part which I do not like most. It is ridiculous to calibrate relatively high-quality CPU oscillator with 8245 timer, which often fed from

svn commit: r297297 - head/sys/compat/linux

2016-03-26 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 26 19:16:53 2016 New Revision: 297297 URL: https://svnweb.freebsd.org/changeset/base/297297 Log: When write(2) on eventfd object fails with the error EAGAIN do not return the number of bytes written. MFC after:1 week Modified:

svn commit: r297296 - head/sys/compat/linux

2016-03-26 Thread Dmitry Chagin
Author: dchagin Date: Sat Mar 26 19:15:23 2016 New Revision: 297296 URL: https://svnweb.freebsd.org/changeset/base/297296 Log: Implement O_NONBLOCK flag via fcntl(F_SETFL) for eventfd object. MFC after:1 week Modified: head/sys/compat/linux/linux_event.c Modified:

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

2016-03-26 Thread Andrew Turner
Author: andrew Date: Sat Mar 26 17:49:46 2016 New Revision: 297295 URL: https://svnweb.freebsd.org/changeset/base/297295 Log: Only define the platform methods for the Allwinner platforms we are building for. Sponsored by: ABT Systems Ltd Modified:

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-26 Thread Konstantin Belousov
On Sat, Mar 26, 2016 at 03:17:43AM +1100, Bruce Evans wrote: > This uses the i8254. Well, this is the part which I do not like most. It is ridiculous to calibrate relatively high-quality CPU oscillator with 8245 timer, which often fed from separate, low-quality crystal which currently selected by

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

2016-03-26 Thread Dimitry Andric
Author: dim Date: Sat Mar 26 17:38:15 2016 New Revision: 297294 URL: https://svnweb.freebsd.org/changeset/base/297294 Log: Pull in r264465 from upstream llvm trunk (by David Majnemer): [X86] Emit a proper ADJCALLSTACKDOWN in EmitLoweredTLSAddr We forgot to add the second machine

svn commit: r297293 - head/sys/boot/geli

2016-03-26 Thread Allan Jude
Author: allanjude Date: Sat Mar 26 15:39:48 2016 New Revision: 297293 URL: https://svnweb.freebsd.org/changeset/base/297293 Log: Do not prompt for GELI passphrase is encrypted with keys only PR: 208251 Submitted by: Fabian Keil Sponsored by: ScaleEngine

Re: svn commit: r297284 - in head/sys/arm: arm at91 conf include

2016-03-26 Thread Andrew Turner
On Sat, 26 Mar 2016 15:07:55 +0100 Oliver Pinter wrote: > Hi Michal! > > Is there any chance to add similar workaround to arm64 kernel too? > There are some arm64 devices without UEFI for example Odroid C2 and > Beelink Mini MX... No, for these you should port

Re: svn commit: r297284 - in head/sys/arm: arm at91 conf include

2016-03-26 Thread Oliver Pinter
Hi Michal! Is there any chance to add similar workaround to arm64 kernel too? There are some arm64 devices without UEFI for example Odroid C2 and Beelink Mini MX... Thanks, Oliver On Sat, Mar 26, 2016 at 7:55 AM, Michal Meloun wrote: > Author: mmel > Date: Sat Mar 26

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

2016-03-26 Thread Michal Meloun
Author: mmel Date: Sat Mar 26 12:19:27 2016 New Revision: 297292 URL: https://svnweb.freebsd.org/changeset/base/297292 Log: ARM: Fix bug introduced in r297286. - don't put command line without guard to kernel environment. - kernel environment delivered from ubldr must have absolute

svn commit: r297291 - head/usr.sbin/sesutil

2016-03-26 Thread Baptiste Daroussin
Author: bapt Date: Sat Mar 26 12:11:46 2016 New Revision: 297291 URL: https://svnweb.freebsd.org/changeset/base/297291 Log: Cleanup headers Found by: include-what-you-use Modified: head/usr.sbin/sesutil/eltsub.c head/usr.sbin/sesutil/sesutil.c Modified:

svn commit: r297290 - head/usr.sbin/pw

2016-03-26 Thread Baptiste Daroussin
Author: bapt Date: Sat Mar 26 11:41:35 2016 New Revision: 297290 URL: https://svnweb.freebsd.org/changeset/base/297290 Log: Remove some unneeded headers Found by 'include-what-you-use' Modified: head/usr.sbin/pw/cpdir.c head/usr.sbin/pw/pw_user.c head/usr.sbin/pw/pw_utils.c

svn commit: r297289 - head/share/misc

2016-03-26 Thread Baptiste Daroussin
Author: bapt Date: Sat Mar 26 11:13:17 2016 New Revision: 297289 URL: https://svnweb.freebsd.org/changeset/base/297289 Log: Update pci_vendors database to 2016-02-27 MFC after:1 week Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_vendors

svn commit: r297288 - head/sys/arm/nvidia

2016-03-26 Thread Michal Meloun
Author: mmel Date: Sat Mar 26 10:09:28 2016 New Revision: 297288 URL: https://svnweb.freebsd.org/changeset/base/297288 Log: TEGRA: Fixes for UART driver: - add mising 'or' in tegra_uart_attach() Pointed by: kan - fix indentation of tegra_softc - remove forgoten debug printf

svn commit: r297287 - head/sys/net80211

2016-03-26 Thread Andriy Voskoboinyk
Author: avos Date: Sat Mar 26 08:59:56 2016 New Revision: 297287 URL: https://svnweb.freebsd.org/changeset/base/297287 Log: net80211: fix panic for DWDS vaps Since r248069, TX IC lock must obtained before calling ieee80211_encap() and/or ieee80211_parent_xmitpkt(). Tested with:

svn commit: r297286 - in head/sys: arm/arm dev/fdt

2016-03-26 Thread Michal Meloun
Author: mmel Date: Sat Mar 26 06:59:01 2016 New Revision: 297286 URL: https://svnweb.freebsd.org/changeset/base/297286 Log: ARM: Parse command line delivered by U-Boot: - in atags - in DT blob (by using 'fdt chosen' U-Boot command) The command line must start with guard's string

svn commit: r297285 - in head/sys/arm: arm include

2016-03-26 Thread Michal Meloun
Author: mmel Date: Sat Mar 26 06:57:36 2016 New Revision: 297285 URL: https://svnweb.freebsd.org/changeset/base/297285 Log: ARM: Fix ATAG handling in LINUX_BOOT_API: - Don't convert atags address passed from U-Boot. It's real physical address (and we have 1:1 mapping). - Size of tags

svn commit: r297284 - in head/sys/arm: arm at91 conf include

2016-03-26 Thread Michal Meloun
Author: mmel Date: Sat Mar 26 06:55:55 2016 New Revision: 297284 URL: https://svnweb.freebsd.org/changeset/base/297284 Log: ARM: Teach LINUX_BOOT_ABI to recognize DT blob. This allow us to boot FreeBSD kernel (using uImage encapsulation) directly from U-boot using 'bootm' command or by