Re: svn commit: r323314 - in head/sbin/geom: class/virstor misc

2018-01-29 Thread Alan Somers
On Fri, Sep 8, 2017 at 9:08 AM, Conrad Meyer wrote: > Author: cem > Date: Fri Sep 8 15:08:17 2017 > New Revision: 323314 > URL: https://svnweb.freebsd.org/changeset/base/323314 > > Log: > Audit userspace geom code for leaking memory to disk > > Any geom class using

Re: svn commit: r328511 - head/sys/dev/extres/clk

2018-01-29 Thread Michal Meloun
On 29.01.2018 18:46, John Baldwin wrote: On Sunday, January 28, 2018 03:20:45 PM Michal Meloun wrote: Author: mmel Date: Sun Jan 28 15:20:45 2018 New Revision: 328511 URL: https://svnweb.freebsd.org/changeset/base/328511 Log: diff --git a/sys/dev/extres/clk/clk.c

svn commit: r328586 - head/sys/dev/extres/clk

2018-01-29 Thread Michal Meloun
Author: mmel Date: Tue Jan 30 04:06:30 2018 New Revision: 328586 URL: https://svnweb.freebsd.org/changeset/base/328586 Log: Use more verbose panic messages. MFC after: 2 weeks Modified: head/sys/dev/extres/clk/clk.c Modified: head/sys/dev/extres/clk/clk.c

svn commit: r328585 - head/sys/dev/extres/clk

2018-01-29 Thread Michal Meloun
Author: mmel Date: Tue Jan 30 04:05:03 2018 New Revision: 328585 URL: https://svnweb.freebsd.org/changeset/base/328585 Log: Revert r328511, it was committed with .diff instead of .txt as commit log. Modified: head/sys/dev/extres/clk/clk.c Modified: head/sys/dev/extres/clk/clk.c

svn commit: r328584 - head/stand/fdt

2018-01-29 Thread Kyle Evans
Author: kevans Date: Tue Jan 30 03:31:40 2018 New Revision: 328584 URL: https://svnweb.freebsd.org/changeset/base/328584 Log: stand/fdt: Remove unused write-only new_fdtp, correct comment MFC after:3 days Modified: head/stand/fdt/fdt_loader_cmd.c Modified:

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-29 Thread Oleksandr Tymoshenko
Poul-Henning Kamp (p...@phk.freebsd.dk) wrote: > > In message <20180129132736.ga66...@bluezbox.com>, Oleksandr Tymoshenko writes: > > >> If I pick a RPI[23] out of the box, download a FreeBSD image, > >> put the card in and play around, I should be able to put a > >> LED in a breadboard

svn commit: r328567 - head/lib/libedit

2018-01-29 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 29 22:38:23 2018 New Revision: 328567 URL: https://svnweb.freebsd.org/changeset/base/328567 Log: libedit: sort the Makefile in line with NetBSD's version. NetBSD's libedit has been been cleaned-up considerably so the non--widecharacter version is no longer an

Re: ps output line length (was: svn commit: r314685 - head/bin/ps)

2018-01-29 Thread Garance A Drosehn
On 28 Jan 2018, at 11:22, Mike Karels wrote: > The rationale for the original code was that, for interactive uses, the > output line length should be the same for "ps ...", "ps ...|more", and > "ps ... |grep". The -w option exists to make the line longer; there is > no option to use the terminal

svn commit: r328566 - head/sys/fs/ext2fs

2018-01-29 Thread Fedor Uporov
Author: fsu Date: Mon Jan 29 22:15:46 2018 New Revision: 328566 URL: https://svnweb.freebsd.org/changeset/base/328566 Log: Fix mistake in case of zeroed inode check. Reported by: pho MFC after:6 months Modified: head/sys/fs/ext2fs/ext2_inode_cnv.c Modified:

svn commit: r328564 - head/sys/fs/ext2fs

2018-01-29 Thread Fedor Uporov
Author: fsu Date: Mon Jan 29 21:54:13 2018 New Revision: 328564 URL: https://svnweb.freebsd.org/changeset/base/328564 Log: Add flex_bg/meta_bg features RW support. Reviewed by:pfg MFC after: 6 months Differential Revision:https://reviews.freebsd.org/D13964 Modified:

Re: ps output line length (was: svn commit: r314685 - head/bin/ps)

2018-01-29 Thread Eric van Gyzen
On 01/29/2018 12:08, John Baldwin wrote: > On Sunday, January 28, 2018 10:22:56 AM Mike Karels wrote: >> Recently, I was investigating an issue with top on -current while doing >> a "make buildworld", and ran "ps axu|more" for comparison. To my surprise, >> I got only a few very long lines of

svn commit: r328560 - in head/sys: amd64/linux amd64/linux32 compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/ibcs2 i386/linux kern

2018-01-29 Thread Bryan Drewery
Author: bdrewery Date: Mon Jan 29 19:14:15 2018 New Revision: 328560 URL: https://svnweb.freebsd.org/changeset/base/328560 Log: Don't use an .OBJDIR for 'make sysent'. Reported by: emaste, jhb Sponsored by: Dell EMC Modified: head/sys/amd64/linux/Makefile

svn commit: r328559 - head/contrib/netbsd-tests/usr.bin/grep

2018-01-29 Thread Kyle Evans
Author: kevans Date: Mon Jan 29 18:50:45 2018 New Revision: 328559 URL: https://svnweb.freebsd.org/changeset/base/328559 Log: Remove t_grep:mmap_eof_not_eol test The test was marked as an expected failure in r320414 after r319971's import of a newer jemalloc removed an essential feature

Re: ps output line length (was: svn commit: r314685 - head/bin/ps)

2018-01-29 Thread John Baldwin
On Sunday, January 28, 2018 10:22:56 AM Mike Karels wrote: > Recently, I was investigating an issue with top on -current while doing > a "make buildworld", and ran "ps axu|more" for comparison. To my surprise, > I got only a few very long lines of output, containing full command lines > for

Re: svn commit: r328511 - head/sys/dev/extres/clk

2018-01-29 Thread John Baldwin
On Sunday, January 28, 2018 03:20:45 PM Michal Meloun wrote: > Author: mmel > Date: Sun Jan 28 15:20:45 2018 > New Revision: 328511 > URL: https://svnweb.freebsd.org/changeset/base/328511 > > Log: > diff --git a/sys/dev/extres/clk/clk.c b/sys/dev/extres/clk/clk.c > index

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

2018-01-29 Thread Warner Losh
Author: imp Date: Mon Jan 29 18:07:14 2018 New Revision: 328554 URL: https://svnweb.freebsd.org/changeset/base/328554 Log: Do the book-keeping on release before we release the reference. The periph was going away on final release, and then returning and we started dancing in free memory.

svn commit: r328553 - head/sys/conf

2018-01-29 Thread Benno Rice
Author: benno Date: Mon Jan 29 17:32:30 2018 New Revision: 328553 URL: https://svnweb.freebsd.org/changeset/base/328553 Log: Remove some duplicated sys/conf/files* entries. net80211/ieee80211_ageq.c was present twice in sys/conf/files so leave the correctly sorted one. dev/wpi/if_wpi.c

svn commit: r328552 - head/sys/netinet6

2018-01-29 Thread Eric van Gyzen
Author: vangyzen Date: Mon Jan 29 16:12:26 2018 New Revision: 328552 URL: https://svnweb.freebsd.org/changeset/base/328552 Log: ND6: Set the correct state for new neighbor cache entries Restore state 6. Many of the UNH tests end up exercising this state, where we have a new neighbor

Re: svn commit: r328537 - in head/sys/powerpc: aim powernv

2018-01-29 Thread Nathan Whitehorn
Can you explain why this is necessary? Both functions are run in the same context and this way of doing things breaks important abstraction barriers. Since it also breaks booting on pHyp systems, I would appreciate it if you could revert this pending review. -Nathan On 01/29/18 01:27,

svn commit: r328551 - head/usr.sbin/pppctl

2018-01-29 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 29 14:23:44 2018 New Revision: 328551 URL: https://svnweb.freebsd.org/changeset/base/328551 Log: pppctl88) Avoid strcpy() copies on overlapping string. This may lead to unpredicatable behaviour on different platforms or C library implementations. Use an

svn commit: r328550 - head/usr.bin/awk

2018-01-29 Thread Kyle Evans
Author: kevans Date: Mon Jan 29 14:15:44 2018 New Revision: 328550 URL: https://svnweb.freebsd.org/changeset/base/328550 Log: awk(1): Don't install tests at all Tests were disconnected so that running `make check` in usr.bin/awk did not have any effect, but CI runs use installed tests.

svn commit: r328549 - head/lib/libregex/tests

2018-01-29 Thread Kyle Evans
Author: kevans Date: Mon Jan 29 14:00:33 2018 New Revision: 328549 URL: https://svnweb.freebsd.org/changeset/base/328549 Log: libregex: Mark gnuext test as an expected fail The test was added prematurely as a goal to reach with the GNU extension functionality, but the functionality has

svn commit: r328548 - head/contrib/llvm/tools/lld/ELF

2018-01-29 Thread Ed Maste
Author: emaste Date: Mon Jan 29 13:55:50 2018 New Revision: 328548 URL: https://svnweb.freebsd.org/changeset/base/328548 Log: lld: Put the header in the first PT_LOAD even if that PT_LOAD has a LMAExpr The root problem is that we were creating a PT_LOAD just for the header. That was

svn commit: r328547 - head/contrib/llvm/tools/lld/ELF

2018-01-29 Thread Ed Maste
Author: emaste Date: Mon Jan 29 13:54:51 2018 New Revision: 328547 URL: https://svnweb.freebsd.org/changeset/base/328547 Log: lld: Move LMAOffset from the OutputSection to the PhdrEntry. NFC. If two sections are in the same PT_LOAD, their relatives offsets, virtual address and physical

svn commit: r328546 - head/contrib/llvm/tools/lld/ELF

2018-01-29 Thread Ed Maste
Author: emaste Date: Mon Jan 29 13:52:42 2018 New Revision: 328546 URL: https://svnweb.freebsd.org/changeset/base/328546 Log: lld: Improve LMARegion handling. This fixes the crash reported at [LLVM] PR36083. The issue is that we were trying to put all the sections in the same

svn commit: r328545 - head/contrib/llvm/tools/lld/ELF

2018-01-29 Thread Ed Maste
Author: emaste Date: Mon Jan 29 13:51:13 2018 New Revision: 328545 URL: https://svnweb.freebsd.org/changeset/base/328545 Log: lld: Simplify. NFC. Obtained from:LLVM r323440 by Rafael Espindola Modified: head/contrib/llvm/tools/lld/ELF/LinkerScript.cpp

svn commit: r328544 - head/contrib/llvm/tools/lld/ELF

2018-01-29 Thread Ed Maste
Author: emaste Date: Mon Jan 29 13:50:28 2018 New Revision: 328544 URL: https://svnweb.freebsd.org/changeset/base/328544 Log: lld: Remove MemRegionOffset. NFC. We can just use a member variable in MemoryRegion. Obtained from:LLVM r323399 by Rafael Espindola Modified:

svn commit: r328543 - head/contrib/llvm/tools/lld/ELF

2018-01-29 Thread Ed Maste
Author: emaste Date: Mon Jan 29 13:49:10 2018 New Revision: 328543 URL: https://svnweb.freebsd.org/changeset/base/328543 Log: lld: Only lookup LMARegion once. NFC. This is similar to how we handle MemRegion. Obtained from:LLVM r323396 by Rafael Espindola Modified:

svn commit: r328542 - head/contrib/llvm/tools/lld/ELF

2018-01-29 Thread Ed Maste
Author: emaste Date: Mon Jan 29 13:48:15 2018 New Revision: 328542 URL: https://svnweb.freebsd.org/changeset/base/328542 Log: lld: Use lookup instead of find. NFC, just simpler. Obtained from:LLVM r323395 by Rafael Espindola Modified:

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-29 Thread Poul-Henning Kamp
In message <20180129132736.ga66...@bluezbox.com>, Oleksandr Tymoshenko writes: >> If I pick a RPI[23] out of the box, download a FreeBSD image, >> put the card in and play around, I should be able to put a >> LED in a breadboard and configure a line for PWM or attach >> an I2C or SPI

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-29 Thread Oleksandr Tymoshenko
Poul-Henning Kamp (p...@phk.freebsd.dk) wrote: > > In message <20180129063950.ga59...@bluezbox.com>, Oleksandr Tymoshenko writes: > > >PWM drivers: https://reviews.freebsd.org/D14104 > > I'll test this in my next timeslot. > > >We do not include these > >overlays in official snapshots

Re: svn commit: r328489 - head/sys/conf

2018-01-29 Thread David Wolfskill
On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote: > > > > This happens now if PORTS_MODULE=x11/nvidia-driver is defined in > > /etc/src.conf: > > > > [...] > > --- kernel-install --- > > mkdir -p /boot/kernel > > install -p -m 555 -o root -g wheel kernel /boot/kernel/ > > ---

Re: svn commit: r328541 - head/sys/netinet6

2018-01-29 Thread Andrey V. Elsukov
On 29.01.2018 14:03, Andrey V. Elsukov wrote: > Log: > Do not skip scope zone violation check, when mbuf has M_FASTFWD_OURS flag. > > When mbuf has M_FASTFWD_OURS flag, this means that a destination address > is our local, but we still need to pass scope zone violation check, > because

svn commit: r328541 - head/sys/netinet6

2018-01-29 Thread Andrey V. Elsukov
Author: ae Date: Mon Jan 29 11:03:29 2018 New Revision: 328541 URL: https://svnweb.freebsd.org/changeset/base/328541 Log: Do not skip scope zone violation check, when mbuf has M_FASTFWD_OURS flag. When mbuf has M_FASTFWD_OURS flag, this means that a destination address is our local, but

svn commit: r328540 - head/sys/netinet6

2018-01-29 Thread Andrey V. Elsukov
Author: ae Date: Mon Jan 29 10:33:55 2018 New Revision: 328540 URL: https://svnweb.freebsd.org/changeset/base/328540 Log: Assign IPv6 link-local address to loopback interfaces whith unit > 0. When an interface has IFF_LOOPBACK flag in6_ifattach() tries to assing IPv6 loopback address to

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-29 Thread Poul-Henning Kamp
In message <20180129063950.ga59...@bluezbox.com>, Oleksandr Tymoshenko writes: >PWM drivers: https://reviews.freebsd.org/D14104 I'll test this in my next timeslot. >We do not include these >overlays in official snapshots and I think this should be fixed. That's one of the details I

Re: svn commit: r328489 - head/sys/conf

2018-01-29 Thread Jason Harmening
This happens now if PORTS_MODULE=x11/nvidia-driver is defined in /etc/src.conf: [...] --- kernel-install --- mkdir -p /boot/kernel install -p -m 555 -o root -g wheel kernel /boot/kernel/ --- ports-install --- Variable OBJTOP is recursive. make[8]: stopped in

Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

2018-01-29 Thread Poul-Henning Kamp
In message

svn commit: r328537 - in head/sys/powerpc: aim powernv

2018-01-29 Thread Wojciech Macek
Author: wma Date: Mon Jan 29 09:27:02 2018 New Revision: 328537 URL: https://svnweb.freebsd.org/changeset/base/328537 Log: PowerNV: move LPCR and LPID altering to cpudep_ap_early_bootstrap It turns out that under some circumstances we can get DSI or DSE before we set LPCR and LPID so we

svn commit: r328538 - head/sbin/decryptcore

2018-01-29 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Jan 29 09:27:32 2018 New Revision: 328538 URL: https://svnweb.freebsd.org/changeset/base/328538 Log: Bump date after r328535. Submitted by: def@ Modified: head/sbin/decryptcore/decryptcore.8 Modified: head/sbin/decryptcore/decryptcore.8

svn commit: r328536 - in head/stand: common powerpc/kboot

2018-01-29 Thread Wojciech Macek
Author: wma Date: Mon Jan 29 09:24:28 2018 New Revision: 328536 URL: https://svnweb.freebsd.org/changeset/base/328536 Log: loader: support for mixed-endianness ELF/loader and POWER8 On POWER8 with current petitpoot, the loader.kboot might be run as little-endian application. The FreeBSD

svn commit: r328535 - head/sbin/decryptcore

2018-01-29 Thread Konrad Witaszczyk
Author: def Date: Mon Jan 29 09:21:08 2018 New Revision: 328535 URL: https://svnweb.freebsd.org/changeset/base/328535 Log: Fix misspelling of encryptedcore. PR: 223991 Submitted by: Trond Endrestol Approved by: pjd (mentor) Modified:

svn commit: r328534 - in head/sys/powerpc: powernv pseries

2018-01-29 Thread Wojciech Macek
Author: wma Date: Mon Jan 29 09:15:38 2018 New Revision: 328534 URL: https://svnweb.freebsd.org/changeset/base/328534 Log: PPC64: use hwref instead of cpuid On CHRP and PowerNV, use the interrupt server number in the cpuref and pcpu hwref field instead of the device-tree phandle and make

svn commit: r328533 - in head/sys/powerpc: powernv powerpc

2018-01-29 Thread Wojciech Macek
Author: wma Date: Mon Jan 29 08:10:03 2018 New Revision: 328533 URL: https://svnweb.freebsd.org/changeset/base/328533 Log: PPC64: cleanup APs startup routines Cleaning up AP startup routines. This is a mix of changes required to make PowerNV running and to modify the code to be more