Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Michael Tuexen
> On 20. May 2019, at 02:38, Conrad Meyer wrote: > > Author: cem > Date: Mon May 20 00:38:23 2019 > New Revision: 347984 > URL: https://svnweb.freebsd.org/changeset/base/347984 > > Log: > Extract eventfilter declarations to sys/_eventfilter.h > > This allows replacing "sys/eventfilter.h" incl

Re: svn commit: r347533 - in head/sys: compat/linux modules/linux_common

2019-05-20 Thread Dmitry Chagin
вс, 19 мая 2019 г. в 20:05, Tijl Coosemans : > On Mon, 13 May 2019 17:48:16 + (UTC) Dmitry Chagin > wrote: > > Author: dchagin > > Date: Mon May 13 17:48:16 2019 > > New Revision: 347533 > > URL: https://svnweb.freebsd.org/changeset/base/347533 > > > > Log: > > Our bsd_to_linux_sockaddr() an

Re: svn commit: r347980 - head/lib/libsecureboot/openpgp

2019-05-20 Thread Simon J. Gerraty via svn-src-head
Rodney W. Grimes wrote: > > Log: > > load_key_buf do not free data from dearmor > > > > The data returned by dearmor is referenced by the key > > leave it alone! > > > > Reviewed by: stevek > > MFC after:2 days > > This is an exception below the standard minimal limit

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Bruce Evans
On Mon, 20 May 2019, Conrad Meyer wrote: Log: Extract eventfilter declarations to sys/_eventfilter.h sys/_eventhandler.h has 2 identical 72-line copies of the correct version. The second copy of the reinclusion guard works as a guard against the doubling too. This allows replacing "sys/ev

svn commit: r347990 - in head: contrib/libarchive contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar contrib/libarchive/tar/test co...

2019-05-20 Thread Martin Matuska
Author: mm Date: Mon May 20 12:57:39 2019 New Revision: 347990 URL: https://svnweb.freebsd.org/changeset/base/347990 Log: MFV r347989: Sync libarchive with vendor. Relevant vendor changes: Issue #795: XAR - do not try to add xattrs without an allocated name PR #812: non-recursive

svn commit: r347992 - head/gnu/usr.bin/binutils

2019-05-20 Thread Leandro Lupori
Author: luporl Date: Mon May 20 16:00:32 2019 New Revision: 347992 URL: https://svnweb.freebsd.org/changeset/base/347992 Log: [PPC] Enable build/install of ld.bfd on base When using LLVM+clang+lld on PowerPC64, ld.bfd is also needed, to link 32-bit binaries correctly, as lld support for 3

svn commit: r347996 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Mon May 20 16:38:12 2019 New Revision: 347996 URL: https://svnweb.freebsd.org/changeset/base/347996 Log: Replace uses of `foo.(de|en)code('hex')` with `binascii.(un)?hexlify(foo)` Python 3 no longer doesn't support encoding/decoding hexadecimal numbers using the `str.fo

svn commit: r347998 - head/sys/mips/mediatek

2019-05-20 Thread Adrian Chadd
Author: adrian Date: Mon May 20 17:43:58 2019 New Revision: 347998 URL: https://svnweb.freebsd.org/changeset/base/347998 Log: [mediatek] Add support for non-flash devices on the SPI bus of the Mediatek SoCs. The existing SPI support only worked for directly attached flash chips. it didn'

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

2019-05-20 Thread Li-Wen Hsu
Author: lwhsu Date: Mon May 20 18:07:45 2019 New Revision: 347999 URL: https://svnweb.freebsd.org/changeset/base/347999 Log: Install missing data file for lib.libarchive.functional_test.test_read_format_zip_utf8_paths MFC after:2 weeks (with r347989) Sponsored by: The FreeBSD Founda

Re: svn commit: r347980 - head/lib/libsecureboot/openpgp

2019-05-20 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > Log: > > > load_key_buf do not free data from dearmor > > > > > > The data returned by dearmor is referenced by the key > > > leave it alone! > > > > > > Reviewed by:stevek > > > MFC after: 2 days > > > > This is an exception below the stan

svn commit: r348000 - head/tests/sys/sys

2019-05-20 Thread Edward Tomasz Napierala
Author: trasz Date: Mon May 20 18:35:23 2019 New Revision: 348000 URL: https://svnweb.freebsd.org/changeset/base/348000 Log: Improve tree(3) tests by using ATF_REQUIRE where applicable. MFC after:2 weeks Sponsored by: Klara Inc. Modified: head/tests/sys/sys/rb_test.c head/tests/s

svn commit: r348001 - head/sys/dev/usb/net

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 18:41:07 2019 New Revision: 348001 URL: https://svnweb.freebsd.org/changeset/base/348001 Log: muge: configure LEDs per dtb (for Raspberry Pi 3B+) Also apply some style(9) and remove the message about EEPROM configuration (if there's an EEPROM the hardware h

svn commit: r348002 - head/share/man/man9

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 19:08:55 2019 New Revision: 348002 URL: https://svnweb.freebsd.org/changeset/base/348002 Log: Typo. MFC after:3 days Modified: head/share/man/man9/DRIVER_MODULE.9 Modified: head/share/man/man9/DRIVER_MODULE.9 ===

svn commit: r348003 - head/share/man/man9

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 19:12:29 2019 New Revision: 348003 URL: https://svnweb.freebsd.org/changeset/base/348003 Log: Add a man page for DEFINE_IFUNC. Reviewed by: kib Discussed with: emaste MFC after:2 weeks Event:Waterloo Hackathon 2019 Differenti

svn commit: r348004 - head/sys/kern

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 19:14:07 2019 New Revision: 348004 URL: https://svnweb.freebsd.org/changeset/base/348004 Log: kcov depends on eventhandler.h. MFC after:3 days Modified: head/sys/kern/kern_kcov.c Modified: head/sys/kern/kern_kcov.c =

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Peter Jeremy
On 2019-May-20 00:38:23 +, Conrad Meyer wrote: >Author: cem >Date: Mon May 20 00:38:23 2019 >New Revision: 347984 >URL: https://svnweb.freebsd.org/changeset/base/347984 > >Log: > Extract eventfilter declarations to sys/_eventfilter.h ... > No functional change (intended). Of course, any out

svn commit: r348005 - in head: cddl/contrib/opensolaris/lib/libzfs/common stand/common stand/ofw/libofw stand/powerpc/boot1.chrp stand/powerpc/kboot stand/powerpc/ofw

2019-05-20 Thread Leandro Lupori
Author: luporl Date: Mon May 20 19:21:35 2019 New Revision: 348005 URL: https://svnweb.freebsd.org/changeset/base/348005 Log: [PowerPC64] stand: fix build using clang 8 as compiler This change fixes "stand" build issues when using clang 8 as compiler. Submitted by: alfredo.junior_e

svn commit: r348006 - head/sys/dev/usb/net

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 19:31:49 2019 New Revision: 348006 URL: https://svnweb.freebsd.org/changeset/base/348006 Log: muge: update FDT LED configuration Also use LED mode settings from the FDT to set the PHY. From v3 of the patch submitted in the PR. I moved the sc_led_modes

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Conrad Meyer
Hi Peter, Thanks for reporting this. I ran a full tinderbox on this change (many many tinderboxes) and am not sure how I missed this. I have to run to an appointment now, but will fix these in a couple hours if no one else beats me to it. The fix is straightforward — include . Best, Conrad On

svn commit: r348008 - head/lib/csu/mips

2019-05-20 Thread Ed Maste
Author: emaste Date: Mon May 20 20:48:04 2019 New Revision: 348008 URL: https://svnweb.freebsd.org/changeset/base/348008 Log: mips: remove 16-byte alignment from .init and .fini epilogues The .init and .fini epilogues from crtn should be placed immediately after any instructions in .init

svn commit: r348011 - head/share/man/man9

2019-05-20 Thread Mark Johnston
Author: markj Date: Mon May 20 21:23:33 2019 New Revision: 348011 URL: https://svnweb.freebsd.org/changeset/base/348011 Log: Hook DEFINE_IFUNC.9 up to the build. Reported by: pluknet MFC with: r348003 Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile =

svn commit: r348013 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 21:45:00 2019 New Revision: 348013 URL: https://svnweb.freebsd.org/changeset/base/348013 Log: Use the new usb fdt support functions to locate the proper fdt node for the device instance, and to get the MAC address for the device instance. The ad-hoc code this rep

svn commit: r348016 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:04:01 2019 New Revision: 348016 URL: https://svnweb.freebsd.org/changeset/base/348016 Log: Don't detour through sc->sc_ue when we have a direct pointer to ue in hand already. Also, shorten a variable name for nicer line-wrapping. No functional changes. Mo

svn commit: r348018 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:21:47 2019 New Revision: 348018 URL: https://svnweb.freebsd.org/changeset/base/348018 Log: A MAC adddress from FDT data should override anything stored in eeprom or OTP registers (because the user is in control of the fdt data). Remove the early returns from

svn commit: r348019 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Mon May 20 22:32:26 2019 New Revision: 348019 URL: https://svnweb.freebsd.org/changeset/base/348019 Log: Allow the end-user to pass along arguments to cryptotest.py via `$CRYPTOTEST_ARGS` This allows someone to use `-v` to dump out standard output. Modified: head/test

svn commit: r348020 - head/sys/dev/usb/net

2019-05-20 Thread Ian Lepore
Author: ian Date: Mon May 20 22:32:31 2019 New Revision: 348020 URL: https://svnweb.freebsd.org/changeset/base/348020 Log: Reverse the bit logic of sc_led_modes_mask. Instead of initializing it to all-ones then carving out blocks of zeroes where specified values go, init it to all-zeroes, p

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

2019-05-20 Thread Alexander V . Chernikov
20.05.2019, 07:50, "Rodney W. Grimes" : >>  Author: melifaro >>  Date: Sun May 19 21:49:56 2019 >>  New Revision: 347982 >>  URL: https://svnweb.freebsd.org/changeset/base/347982 >> >>  Log: >>    Fix rt_ifa selection during loopback route insertion process. >>  Currently such routes are added

svn commit: r348022 - in head/sys: dev/netmap netinet/netdump

2019-05-20 Thread Conrad Meyer
Author: cem Date: Tue May 21 00:04:19 2019 New Revision: 348022 URL: https://svnweb.freebsd.org/changeset/base/348022 Log: Add two missing eventhandler.h headers These are obviously missing from the .c files, but don't show up in any tinderbox configuration (due to latent header pollution

Re: svn commit: r347984 - in head/sys: amd64/vmm/io arm/allwinner arm/allwinner/a10 arm/allwinner/clkng arm/arm arm/broadcom/bcm2835 arm/freescale/imx arm/mv arm/mv/armada arm/nvidia arm/nvidia/tegra1

2019-05-20 Thread Conrad Meyer
Hi Peter, Can you share what your kernel configuration is? I believe the error is masked in existing tinderbox kernel configurations ( https://ci.freebsd.org/tinderbox/ ) by some remaining header pollution that must be conditional on an option. The files you've pointed out are missing the eventh

svn commit: r348024 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 00:30:29 2019 New Revision: 348024 URL: https://svnweb.freebsd.org/changeset/base/348024 Log: Followup to r347996 Replace uses of `foo.encode("hex")` with `binascii.hexlify(foo)` for forwards compatibility between python 2.x and python 3. PR: 2

svn commit: r348025 - head/stand/common

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 00:46:47 2019 New Revision: 348025 URL: https://svnweb.freebsd.org/changeset/base/348025 Log: Unbreak the build when `ELF_VERBOSE` is defined after r348005 This change properly terminates the formatting string quote modification done in r348005, which is trig

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

2019-05-20 Thread Rodney W. Grimes
> 20.05.2019, 07:50, "Rodney W. Grimes" : > >> ?Author: melifaro > >> ?Date: Sun May 19 21:49:56 2019 > >> ?New Revision: 347982 > >> ?URL: https://svnweb.freebsd.org/changeset/base/347982 > >> > >> ?Log: > >> ???Fix rt_ifa selection during loopback route insertion process. > >> ?Currently such

svn commit: r348026 - in head/sys: arm/allwinner arm/amlogic/aml8726 arm/freescale/imx arm/rockchip arm/ti/am335x compat/linuxkpi/common/src dev/drm2/ttm dev/fb dev/hdmi dev/iscsi_initiator dev/mlx...

2019-05-20 Thread Conrad Meyer
Author: cem Date: Tue May 21 01:18:43 2019 New Revision: 348026 URL: https://svnweb.freebsd.org/changeset/base/348026 Log: Include eventhandler.h in more compilation units This was enumerated with exhaustive search for sys/eventhandler.h includes, cross-referenced against EVENTHANDLER_* u

svn commit: r348028 - head/stand/powerpc

2019-05-20 Thread Justin Hibbits
Author: jhibbits Date: Tue May 21 01:42:57 2019 New Revision: 348028 URL: https://svnweb.freebsd.org/changeset/base/348028 Log: stand/powerpc: Only build loader.kboot for powerpc64 kboot is only made for powerpc64 systems, not 32-bit systems. This unbreaks the build for powerpcspe.

svn commit: r348031 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 02:13:46 2019 New Revision: 348031 URL: https://svnweb.freebsd.org/changeset/base/348031 Log: Squash deprecation warning related to array.array(..).tostring() In version 3.2+, `array.array(..).tostring()` was renamed to `array.array(..).tobytes()`. Conditiona

svn commit: r348032 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 02:30:43 2019 New Revision: 348032 URL: https://svnweb.freebsd.org/changeset/base/348032 Log: Fix `KAT(CCM)?Parser` file descriptor leaks Make `KAT(CCM)?Parser` into a context suite-capable object by implementing `__enter__` and `__exit__` methods which manag

svn commit: r348039 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 02:49:15 2019 New Revision: 348039 URL: https://svnweb.freebsd.org/changeset/base/348039 Log: Remove spurious newline Even though some python styles suggest there should be multiple newlines between methods/classes, for consistency with the surrounding code,

svn commit: r348040 - head/stand/powerpc

2019-05-20 Thread Justin Hibbits
Author: jhibbits Date: Tue May 21 03:05:24 2019 New Revision: 348040 URL: https://svnweb.freebsd.org/changeset/base/348040 Log: stand: TARGET_ARCH is spelled MACHINE_ARCH in Makefiles Reported by: imp Modified: head/stand/powerpc/Makefile Modified: head/stand/powerpc/Makefile =

svn commit: r348042 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 03:52:48 2019 New Revision: 348042 URL: https://svnweb.freebsd.org/changeset/base/348042 Log: Fix encoding issues with python 3 In python 3, the default encoding was switched from ascii character sets to unicode character sets in order to support internationa

svn commit: r348045 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 04:03:22 2019 New Revision: 348045 URL: https://svnweb.freebsd.org/changeset/base/348045 Log: Follow up to r348042: cast `aad` to a byte array This is not completely necessary today, but this change is being made in a conservative manner to avoid accidental b

svn commit: r348047 - head/tests/sys/opencrypto

2019-05-20 Thread Enji Cooper
Author: ngie Date: Tue May 21 04:11:16 2019 New Revision: 348047 URL: https://svnweb.freebsd.org/changeset/base/348047 Log: Add my name to the copyright I have contributed a number of changes to these tests over the past few hundred revisions, and believe I deserve credit for the changes