Re: svn commit: r334617 - in head: . etc

2018-06-04 Thread Kyle Evans
On Mon, Jun 4, 2018 at 10:17 AM, Brad Davis wrote: > Author: brd > Date: Mon Jun 4 15:17:24 2018 > New Revision: 334617 > URL: https://svnweb.freebsd.org/changeset/base/334617 > > Log: > Move /sys symlink creating out of etc/Makefile. > > This is prep for etc/Makefile going away. > > Approv

Re: svn commit: r334226 - head/lib/libpmcstat/pmu-events

2018-06-04 Thread Kyle Evans
On Fri, May 25, 2018 at 4:46 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Fri May 25 21:46:07 2018 > New Revision: 334226 > URL: https://svnweb.freebsd.org/changeset/base/334226 > > Log: > Cleanup style > > Modified: > head/lib/libpmcstat/pmu-events/Makefile > > Modified: head/lib/libpm

Re: svn commit: r334226 - head/lib/libpmcstat/pmu-events

2018-06-04 Thread Kyle Evans
On Mon, Jun 4, 2018 at 10:11 PM, Kyle Evans wrote: > On Fri, May 25, 2018 at 4:46 PM, Bryan Drewery wrote: >> Author: bdrewery >> Date: Fri May 25 21:46:07 2018 >> New Revision: 334226 >> URL: https://svnweb.freebsd.org/changeset/base/334226 >> >>

svn commit: r334723 - head/stand/lua

2018-06-06 Thread Kyle Evans
Author: kevans Date: Wed Jun 6 18:28:17 2018 New Revision: 334723 URL: https://svnweb.freebsd.org/changeset/base/334723 Log: lualoader: Add a loaded hook for others to execute upon config load This will not be executed on reload, though later work could allow for that. It's intended/expe

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

2018-06-07 Thread Kyle Evans
Author: kevans Date: Thu Jun 7 18:06:01 2018 New Revision: 334803 URL: https://svnweb.freebsd.org/changeset/base/334803 Log: netbsd-tests: grep(1): Add test for -c flag Someone might be inclined to accidentally break this. someone might have written said test because they broke it locall

svn commit: r334806 - head/usr.bin/grep

2018-06-07 Thread Kyle Evans
Author: kevans Date: Thu Jun 7 18:27:58 2018 New Revision: 334806 URL: https://svnweb.freebsd.org/changeset/base/334806 Log: bsdgrep(1): Do some less dirty things with return types Neither procfile nor grep_tree return anything meaningful to their callers. None of the callers actually ca

svn commit: r334807 - head/usr.bin/grep

2018-06-07 Thread Kyle Evans
Author: kevans Date: Thu Jun 7 18:36:12 2018 New Revision: 334807 URL: https://svnweb.freebsd.org/changeset/base/334807 Log: bsdgrep(1): whoops, garbage collect the now write-only variable Modified: head/usr.bin/grep/util.c Modified: head/usr.bin/grep/util.c

svn commit: r334808 - head/usr.bin/grep

2018-06-07 Thread Kyle Evans
Author: kevans Date: Thu Jun 7 18:38:48 2018 New Revision: 334808 URL: https://svnweb.freebsd.org/changeset/base/334808 Log: bsdgrep(1): Don't initialize fts_flags twice Admittedly, this is a clang-scan complaint... but it wasn't wrong. fts_flags is initialized by all cases in the switch

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

2018-06-07 Thread Kyle Evans
Author: kevans Date: Thu Jun 7 18:53:39 2018 New Revision: 334809 URL: https://svnweb.freebsd.org/changeset/base/334809 Log: netbsd-tests: bsdgrep(1): Add a test for -m, too Modified: head/contrib/netbsd-tests/usr.bin/grep/t_grep.sh Modified: head/contrib/netbsd-tests/usr.bin/grep/t_grep.sh

svn commit: r334821 - head/usr.bin/grep

2018-06-07 Thread Kyle Evans
Author: kevans Date: Fri Jun 8 01:25:07 2018 New Revision: 334821 URL: https://svnweb.freebsd.org/changeset/base/334821 Log: bsdgrep(1): Slooowly peel away the chunky onion (or peel off the band-aid, whatever floats your boat) This addresses two separate issues: 1.) Nothing withi

svn commit: r334837 - head/usr.bin/grep

2018-06-08 Thread Kyle Evans
Author: kevans Date: Fri Jun 8 12:58:55 2018 New Revision: 334837 URL: https://svnweb.freebsd.org/changeset/base/334837 Log: bsdgrep(1): Evict character sequence that moved in Reported by: trasz Modified: head/usr.bin/grep/file.c Modified: head/usr.bin/grep/file.c

svn commit: r334884 - head/stand/common

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sat Jun 9 15:28:37 2018 New Revision: 334884 URL: https://svnweb.freebsd.org/changeset/base/334884 Log: stand: Fix build after r334882 Not sure how this was not caught in Universe. Modified: head/stand/common/metadata.c Modified: head/stand/common/metadata.c ==

svn commit: r334882 - in head/stand: common efi/loader i386/libi386 userboot/userboot

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sat Jun 9 15:10:39 2018 New Revision: 334882 URL: https://svnweb.freebsd.org/changeset/base/334882 Log: stand: Consolidate checking for boot flags driven by environment vars e.g. boot_mute, boot_single, boot_verbose, and friends; we checked for these in multiple plac

svn commit: r334879 - head/stand/lua

2018-06-09 Thread Kyle Evans
n 9 14:26:30 2018(r334879) @@ -0,0 +1,94 @@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Copyright (c) 2018 Kyle Evans +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provid

svn commit: r334878 - head/stand/libsa

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sat Jun 9 14:24:16 2018 New Revision: 334878 URL: https://svnweb.freebsd.org/changeset/base/334878 Log: libsa(3): Correct statement about FS Write-support, name change - jhb implemented UFS write support a little over 16 years ago. - Update the library name while we'

svn commit: r334885 - in head/stand: common efi/loader i386/libi386 userboot/userboot

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sat Jun 9 15:52:29 2018 New Revision: 334885 URL: https://svnweb.freebsd.org/changeset/base/334885 Log: stand: One more trivial consolidation (setting environment from howto) Modified: head/stand/common/boot.c head/stand/common/bootstrap.h head/stand/efi/loader/main.

svn commit: r334889 - head/usr.bin/grep

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sat Jun 9 18:11:46 2018 New Revision: 334889 URL: https://svnweb.freebsd.org/changeset/base/334889 Log: bsdgrep(1): Some more int -> bool conversions and name changes Again motivated by upcoming work to rewrite a bunch of this- single-letter variable names and slight

svn commit: r334891 - head/stand/lua

2018-06-09 Thread Kyle Evans
@@ +.\" +.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD +.\" +.\" Copyright (c) 2018 Kyle Evans +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met

svn commit: r334907 - head/stand/lua

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sun Jun 10 01:38:52 2018 New Revision: 334907 URL: https://svnweb.freebsd.org/changeset/base/334907 Log: lualoader: Process loader_conf_files properly loader.conf(5) documents loader_conf_files to mean "additional configuration files to be processed right after the pr

svn commit: r334912 - head/stand/lua

2018-06-09 Thread Kyle Evans
Author: kevans Date: Sun Jun 10 02:36:38 2018 New Revision: 334912 URL: https://svnweb.freebsd.org/changeset/base/334912 Log: lualoader: Support variable substitution in env var settings We support both of the following cases of substitution: bar="y" foo="${bar}" foo="$bar" Th

svn commit: r334939 - head/stand/lua

2018-06-10 Thread Kyle Evans
Author: kevans Date: Mon Jun 11 01:32:18 2018 New Revision: 334939 URL: https://svnweb.freebsd.org/changeset/base/334939 Log: lualoader: Allow brand-*.lua for adding new brands dteske@, I believe, had originally pointed out that lualoader failed to allow logo-*.lua for new logos to be add

Re: svn commit: r334939 - head/stand/lua

2018-06-11 Thread Kyle Evans
>> On Mon, Jun 11, 2018 at 7:36 AM, Devin Teske wrote: >>> >>> >>> >>> > On Jun 10, 2018, at 6:32 PM, Kyle Evans wrote: >>> > >>> > Author: kevans >>> > Date: Mon Jun 11 01:32:18 2018 >>> > New Revi

Re: svn commit: r334939 - head/stand/lua

2018-06-11 Thread Kyle Evans
On Mon, Jun 11, 2018 at 7:34 PM, Devin Teske wrote: > > On Jun 11, 2018, at 5:32 PM, Kyle Evans wrote: > > On Mon, Jun 11, 2018 at 7:23 PM, Devin Teske wrote: > > > On Jun 11, 2018, at 11:20 AM, Warner Losh wrote: > > > > On Mon, Jun 11, 2018 at 11:54 AM, Devi

svn commit: r334986 - head/stand/lua

2018-06-11 Thread Kyle Evans
Author: kevans Date: Tue Jun 12 03:44:34 2018 New Revision: 334986 URL: https://svnweb.freebsd.org/changeset/base/334986 Log: lualoader: More black-on-white fixes To recap the problem: with a black-on-white xterm, the menu draws terribly. Ideally, we would try our best for a white-on-blac

Re: svn commit: r334939 - head/stand/lua

2018-06-12 Thread Kyle Evans
On Tue, Jun 12, 2018 at 6:51 AM, Alexey Dokuchaev wrote: > On Mon, Jun 11, 2018 at 08:07:23AM -0600, Warner Losh wrote: >> ... >> The last articulated plan in arch@ was that LUA will be default in 12, and >> we plan to remove FORTH in 13. Last time I said it there in February, there >> was only em

svn commit: r335009 - head/stand/lua

2018-06-12 Thread Kyle Evans
Author: kevans Date: Tue Jun 12 18:42:41 2018 New Revision: 335009 URL: https://svnweb.freebsd.org/changeset/base/335009 Log: lualoader: Match Forth module-loading behavior w.r.t flags Also as documented in loader.conf(5), ${module}_flags are actually flags to be passed to the module, not

svn commit: r335147 - in head/etc: devd rc.d

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 16:09:29 2018 New Revision: 335147 URL: https://svnweb.freebsd.org/changeset/base/335147 Log: devmatch: Address some rc nits - devmatch_enable in rc.conf(5) was not gating the start of devmatch - Use quietstart in devd/devmatch to suppress dozens of 'Can

Re: svn commit: r335156 - head/sys/arm/arm

2018-06-14 Thread Kyle Evans
On Thu, Jun 14, 2018 at 12:18 PM, Emmanuel Vadot wrote: > Author: manu > Date: Thu Jun 14 17:18:15 2018 > New Revision: 335156 > URL: https://svnweb.freebsd.org/changeset/base/335156 > > Log: > arm timer: Add workaround for Allwinner A64 timer > > The timer present in allwinner A64 SoC is unst

svn commit: r335162 - head/sys/arm/allwinner/clkng

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 17:36:02 2018 New Revision: 335162 URL: https://svnweb.freebsd.org/changeset/base/335162 Log: aw_ccung: Support clock factors where factor=0, factor is effectively 1 This happens in two cases for a20 clocks: pll_core for 'n' factor: factor=0, val=1 f

svn commit: r335165 - in head/sys/arm/allwinner: a10 a20 clkng

2018-06-14 Thread Kyle Evans
29 2018 (r335165) @@ -0,0 +1,612 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Kyle Evans + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1.

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

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 18:34:02 2018 New Revision: 335168 URL: https://svnweb.freebsd.org/changeset/base/335168 Log: a10_ahci: Correct clock indices for new bindings r329104 imported 4.15 DTS which brought CCU to a10/a20. In the process, they swapped the ordering of 'clocks' for

svn commit: r335173 - head/sys/dev/extres/regulator

2018-06-14 Thread Kyle Evans
Author: kevans Date: Thu Jun 14 20:37:25 2018 New Revision: 335173 URL: https://svnweb.freebsd.org/changeset/base/335173 Log: extres/regulator: Properly refcount gpio regulators regnode::enable_cnt is generally used to refcount regulator nodes. For GPIOs, the refcount was done on the gpio

svn commit: r335188 - head/usr.bin/grep

2018-06-14 Thread Kyle Evans
Author: kevans Date: Fri Jun 15 03:31:30 2018 New Revision: 335188 URL: https://svnweb.freebsd.org/changeset/base/335188 Log: bsdgrep(1): Remove redundant initialization; unconditionally assigned later Modified: head/usr.bin/grep/util.c Modified: head/usr.bin/grep/util.c

svn commit: r335195 - head/sys/dev/extres/regulator

2018-06-15 Thread Kyle Evans
Author: kevans Date: Fri Jun 15 13:14:45 2018 New Revision: 335195 URL: https://svnweb.freebsd.org/changeset/base/335195 Log: Revert r335173 at request of mmel@ This was the wrong solution to the problem; regulator_shutdown invokes regnode_stop. regulator_stop is not a refcounting method,

svn commit: r335220 - head/sys/dev/extres/regulator

2018-06-15 Thread Kyle Evans
Author: kevans Date: Fri Jun 15 17:29:32 2018 New Revision: 335220 URL: https://svnweb.freebsd.org/changeset/base/335220 Log: extres/regulator: Switch boot_on/always_on sysctl to uint8 These are represented as booleans on the kernel-side, but were being exposed as int. This was causing so

svn commit: r335371 - head/stand/lua

2018-06-19 Thread Kyle Evans
Author: kevans Date: Tue Jun 19 15:05:31 2018 New Revision: 335371 URL: https://svnweb.freebsd.org/changeset/base/335371 Log: lualoader: Correct kernel_options handling `kernel_options` were being passed as flags to load, rather than to the kernel being loaded. This is the kernel_options

svn commit: r335403 - in head/usr.bin/sort: . tests

2018-06-19 Thread Kyle Evans
Author: kevans Date: Wed Jun 20 03:10:49 2018 New Revision: 335403 URL: https://svnweb.freebsd.org/changeset/base/335403 Log: sort(1): Add bits to allow easy checking against NetBSD tests I'm looking at sort(1) failures, for better or worse. Added: head/usr.bin/sort/tests/ head/usr.bin

Re: svn commit: r335403 - in head/usr.bin/sort: . tests

2018-06-19 Thread Kyle Evans
On Tue, Jun 19, 2018 at 10:10 PM, Kyle Evans wrote: > Author: kevans > Date: Wed Jun 20 03:10:49 2018 > New Revision: 335403 > URL: https://svnweb.freebsd.org/changeset/base/335403 > > Log: > sort(1): Add bits to allow easy checking against NetBSD tests > > I&#x

svn commit: r335404 - head/usr.bin/sort

2018-06-19 Thread Kyle Evans
Author: kevans Date: Wed Jun 20 03:31:19 2018 New Revision: 335404 URL: https://svnweb.freebsd.org/changeset/base/335404 Log: sort(1): Fix -m when only implicit stdin is used for input Observe: printf "a\nb\nc\n" > /tmp/foo # Next command results in no output cat /tmp/foo | sort -m

svn commit: r335458 - head/sys/kern

2018-06-20 Thread Kyle Evans
Author: kevans Date: Wed Jun 20 19:23:56 2018 New Revision: 335458 URL: https://svnweb.freebsd.org/changeset/base/335458 Log: Add debug.verbose_sysinit tunable for VERBOSE_SYSINIT VERBOSE_SYSINIT is currently an all-or-nothing option. debug.verbose_sysinit adds an option to have the code

svn commit: r335467 - head/tools/build/mk

2018-06-20 Thread Kyle Evans
Author: kevans Date: Thu Jun 21 05:28:00 2018 New Revision: 335467 URL: https://svnweb.freebsd.org/changeset/base/335467 Log: Don't remove loader.conf(5) when built WITHOUT_FORTH The new stand/ structure installs loader.conf(5) and defaults/loader.conf regardless of interpreter. The only

svn commit: r335479 - head/sys/kern

2018-06-21 Thread Kyle Evans
Author: kevans Date: Thu Jun 21 14:04:02 2018 New Revision: 335479 URL: https://svnweb.freebsd.org/changeset/base/335479 Log: subr_hints: simplify a little bit Some complexity exists in these bits that isn't needed. The sysctl handler, upon change to '2', runs through the current set of h

svn commit: r335509 - head/sys/kern

2018-06-21 Thread Kyle Evans
Author: kevans Date: Thu Jun 21 21:50:00 2018 New Revision: 335509 URL: https://svnweb.freebsd.org/changeset/base/335509 Log: subr_hints: Fix acpi unit hinting (at the very least) The refactoring in r335479 overlooked the fact that the dynamic kenv can also be switched to if hintmode == 0

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

2018-06-21 Thread Kyle Evans
On Thu, Jun 21, 2018 at 4:50 PM, Kyle Evans wrote: > Author: kevans > Date: Thu Jun 21 21:50:00 2018 > New Revision: 335509 > URL: https://svnweb.freebsd.org/changeset/base/335509 > > Log: > subr_hints: Fix acpi unit hinting (at the very least) > > The refactorin

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

2017-12-01 Thread Kyle Evans
Author: kevans Date: Fri Dec 1 20:51:08 2017 New Revision: 326433 URL: https://svnweb.freebsd.org/changeset/base/326433 Log: a10_gpio: Add support for more modern pin configuration a10_gpio previously accepted only {allwinner,}drive and {allwinner,}pull for drive/bias setting, while newe

Re: svn commit: r326454 - in head/sys: conf dev/bwn gnu/dev/bwn/phy_n modules/bwn modules/bwn_pci

2017-12-01 Thread Kyle Evans
MA-based N-PHY chipsets: - BCM43224 - BCM43225 Hi, I'm pretty sure we've discussed this, but I don't recall to what detail that was- I recall that the 4313 is BCMA, but does it have one of the PHYs that we support already? If so, I'll happily test there. Thank

svn commit: r326483 - head/usr.bin/grep/tests

2017-12-02 Thread Kyle Evans
Author: kevans Date: Sun Dec 3 02:23:29 2017 New Revision: 326483 URL: https://svnweb.freebsd.org/changeset/base/326483 Log: grep test: Fix copyright notice The copyright notice was erroneously introduced as one from the NetBSD foundation due to it being copied from a file in the NetBSD

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

2017-12-05 Thread Kyle Evans
Author: kevans Date: Tue Dec 5 21:40:52 2017 New Revision: 326595 URL: https://svnweb.freebsd.org/changeset/base/326595 Log: a10_gpio: Don't do read/set dance if pin is already configured for output This fixes some regulator issues with a83t/BananaPi-M3; the pin value was getting clobber

svn commit: r326598 - head/sys/modules/dtb/allwinner

2017-12-05 Thread Kyle Evans
Author: kevans Date: Tue Dec 5 22:05:10 2017 New Revision: 326598 URL: https://svnweb.freebsd.org/changeset/base/326598 Log: dtb/allwinner: Restore a83t/BananaPi-M3 DTS after r342822 sinovoip-bpi-m3.dts was disconnected from the build in r324822. Since then, a CCU driver has been added a

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

2017-12-06 Thread Kyle Evans
Author: kevans Date: Wed Dec 6 14:53:53 2017 New Revision: 326623 URL: https://svnweb.freebsd.org/changeset/base/326623 Log: aw_mp.c: use argument name in macros Rather than relying on 'cluster' existing in the context they're used in, use the argument name. Differential Revision:

Re: svn commit: r326614 - in head: etc/mtree usr.bin usr.bin/sponge usr.bin/tee

2017-12-08 Thread Kyle Evans
case, at least, the scripts are merely being processed into atf-sh script for when it ends up in /usr/tests. It's probably worth double checking the non-ATF case to make sure -x won't break their expected execution, though. - Kyle Evans ___ svn

svn commit: r326773 - in head/sys: conf dev/syscon

2017-12-11 Thread Kyle Evans
Author: kevans Date: Mon Dec 11 18:04:04 2017 New Revision: 326773 URL: https://svnweb.freebsd.org/changeset/base/326773 Log: Add generic 'syscon' driver Upstream dts for allwinner will require a syscon driver, since the emac node coming in 4.15 will be using xref to /soc/syscon for confi

svn commit: r326783 - head/sys/dev/syscon

2017-12-11 Thread Kyle Evans
Author: kevans Date: Mon Dec 11 22:55:51 2017 New Revision: 326783 URL: https://svnweb.freebsd.org/changeset/base/326783 Log: Correct a typo in syscon driver 'modify' logic Not previously caught because the current consumer (not yet in tree) doesn't use the 'modify' bits (yet). Repor

svn commit: r327106 - in head/sys: conf dev/syscon

2017-12-23 Thread Kyle Evans
added) +++ head/sys/dev/syscon/syscon.hSat Dec 23 14:27:42 2017 (r327106) @@ -0,0 +1,77 @@ +/*- + * Copyright 2017 Kyle Evans + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the follo

svn commit: r327107 - in head/sys: conf dev/extres/syscon dev/syscon

2017-12-23 Thread Kyle Evans
Author: kevans Date: Sat Dec 23 14:30:44 2017 New Revision: 327107 URL: https://svnweb.freebsd.org/changeset/base/327107 Log: Move syscon into extres framework This should help reduce confusion between syscon/syscons a little bit. syscon is a resource generally modeled by FDT platforms, a

svn commit: r327215 - head/sys/dev/extres/syscon

2017-12-26 Thread Kyle Evans
Author: kevans Date: Tue Dec 26 16:38:04 2017 New Revision: 327215 URL: https://svnweb.freebsd.org/changeset/base/327215 Log: extres/syscon: Commit missing bits from r327106 r327106 introduced kobj to syscon so it can be subclassed and fit in with the rest of the syscon framework. The dif

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

2017-12-27 Thread Kyle Evans
Author: kevans Date: Wed Dec 27 18:22:02 2017 New Revision: 327240 URL: https://svnweb.freebsd.org/changeset/base/327240 Log: if_awg: Respect rgmii-*id PHY configurations phy-mode can be one of: rgmii, rgmii-id, rgmii-txid, rgmii-rxid; as this was written, any of these alternate -id confi

svn commit: r327298 - head/stand/fdt

2017-12-28 Thread Kyle Evans
Author: kevans Date: Thu Dec 28 21:09:36 2017 New Revision: 327298 URL: https://svnweb.freebsd.org/changeset/base/327298 Log: stand/fdt: Fix loading of multiple fdt_overlays fdt_load_dtb_overlays was written to unload previous overlay when a new valid one is come across. fdt_apply_overlay

svn commit: r327299 - head/stand/fdt

2017-12-28 Thread Kyle Evans
Author: kevans Date: Thu Dec 28 21:12:27 2017 New Revision: 327299 URL: https://svnweb.freebsd.org/changeset/base/327299 Log: stand/fdt: Avoid bailout when dtbo has no fixups In the case of a simple dtbo where fragment uses target-path and the overlay contains no references, /__fixups__ w

svn commit: r327350 - in head/stand: efi/fdt uboot/fdt

2017-12-29 Thread Kyle Evans
Author: kevans Date: Fri Dec 29 18:08:30 2017 New Revision: 327350 URL: https://svnweb.freebsd.org/changeset/base/327350 Log: stand/fdt: Consistently apply fdt_overlays Overlays were previously not applied when U-Boot provides FDT or EFI provides FDT, only when we load FDT from /boot/dtb

svn commit: r327376 - head/stand/fdt

2017-12-29 Thread Kyle Evans
Author: kevans Date: Sat Dec 30 06:53:27 2017 New Revision: 327376 URL: https://svnweb.freebsd.org/changeset/base/327376 Log: stand/fdt: Swap libfdt include order libfdt.h should be included before fdt.h, as hinted at by all of libfdt/; standard include order being libfdt.h, libfdt_env.h,

svn commit: r327377 - head/stand/libsa

2017-12-29 Thread Kyle Evans
Author: kevans Date: Sat Dec 30 07:03:52 2017 New Revision: 327377 URL: https://svnweb.freebsd.org/changeset/base/327377 Log: libsa: Pull in strnlen from libc strnlen is not used at the moment, but it will be when libfdt gets updated. Prepare for the not-so-distant future by pulling in st

svn commit: r327416 - head/stand/fdt

2017-12-30 Thread Kyle Evans
Author: kevans Date: Sun Dec 31 05:22:26 2017 New Revision: 327416 URL: https://svnweb.freebsd.org/changeset/base/327416 Log: stand/fdt: Make fdt_overlay_apply signature-compatible with libfdt libfdt will assume a writable fdt overlay blob has been passed in, so make ours compatible to al

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

2017-12-30 Thread Kyle Evans
Author: kevans Date: Sun Dec 31 06:44:15 2017 New Revision: 327419 URL: https://svnweb.freebsd.org/changeset/base/327419 Log: aw_sid: rewrite compat-string configuration to be more flexible This will allow easiser support in the future for boards that have thermal data and different offse

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

2017-12-31 Thread Kyle Evans
Author: kevans Date: Sun Dec 31 22:35:32 2017 New Revision: 327452 URL: https://svnweb.freebsd.org/changeset/base/327452 Log: aw_sid: Add support for a64 Newer Allwinner SoCs have nearly identical SID controllers with efuse space starting at 0x200 into their register space and thermal dat

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

2018-01-02 Thread Kyle Evans
re/man/man4/aw_sid.4 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/aw_sid.4Tue Jan 2 14:54:54 2018 (r327490) @@ -0,0 +1,74 @@ +.\"- +.\" Copyright (c) 2018 Kyle Evans +.\" All rights reserved.

svn commit: r327563 - in head/sys: arm/allwinner arm/conf arm64/conf conf

2018-01-04 Thread Kyle Evans
Author: kevans Date: Thu Jan 4 22:37:15 2018 New Revision: 327563 URL: https://svnweb.freebsd.org/changeset/base/327563 Log: if_awg: Use syscon prop if it exists The emac bindings that are landing in Linux 4.15 specify a syscon property on the emac node that point to /soc/syscon. Use thi

svn commit: r327567 - head/usr.bin/hexdump

2018-01-04 Thread Kyle Evans
Author: kevans Date: Fri Jan 5 01:46:41 2018 New Revision: 327567 URL: https://svnweb.freebsd.org/changeset/base/327567 Log: hexdump(1): Speed up -s flag on devices Using the -s flag on devices is extraordinarily slow due to using fseek(3) a little too conservatively. Address this by usi

svn commit: r327621 - head/sys/dev/extres/syscon

2018-01-06 Thread Kyle Evans
Author: kevans Date: Sat Jan 6 14:21:32 2018 New Revision: 327621 URL: https://svnweb.freebsd.org/changeset/base/327621 Log: Move syscon_generic to attach much later It still needs to be before if_awg at least in order to be available for other operations, but it should not be attaching

Re: svn commit: r327563 - in head/sys: arm/allwinner arm/conf arm64/conf conf

2018-01-06 Thread Kyle Evans
On Sat, Jan 6, 2018 at 7:23 AM, Michael Tuexen wrote: >> On 4. Jan 2018, at 23:37, Kyle Evans wrote: >> >> Author: kevans >> Date: Thu Jan 4 22:37:15 2018 >> New Revision: 327563 >> URL: https://svnweb.freebsd.org/changeset/base/327563 >> >&g

svn commit: r327665 - head/sys/dev/extres/syscon

2018-01-06 Thread Kyle Evans
Author: kevans Date: Sun Jan 7 02:19:54 2018 New Revision: 327665 URL: https://svnweb.freebsd.org/changeset/base/327665 Log: Fix bogus pass for syscon_generic introduced in r327621 ian@ pointed out that BUS_PASS_DEFAULT + $anything is bogus, given that BUS_PASS_DEFAULT is defined as __IN

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

2018-01-06 Thread Kyle Evans
Author: kevans Date: Sun Jan 7 03:31:55 2018 New Revision: 327669 URL: https://svnweb.freebsd.org/changeset/base/327669 Log: aw_sid: Add method for reading keys via prctl registers Technically supported on the later SoCs, this will only really be used to add support for the H3 sid. The H

svn commit: r327670 - in head: share/man/man4 sys/arm/allwinner

2018-01-06 Thread Kyle Evans
Author: kevans Date: Sun Jan 7 04:59:28 2018 New Revision: 327670 URL: https://svnweb.freebsd.org/changeset/base/327670 Log: aw_sid(4): Add support for Allwinner H3 The sid controller on the H3 is generally identical in location, size, and efuse offset to the a64 and the a83t. The main d

svn commit: r327806 - in head: etc/mtree usr.bin/awk usr.bin/awk/tests

2018-01-10 Thread Kyle Evans
Author: kevans Date: Thu Jan 11 05:36:13 2018 New Revision: 327806 URL: https://svnweb.freebsd.org/changeset/base/327806 Log: awk(1): Add necessary bits for connecting tests, but leave disconnected The NetBSD test suite has 24 tests for awk, and we pass exactly 4 of them. Add the necessar

Re: svn commit: r327806 - in head: etc/mtree usr.bin/awk usr.bin/awk/tests

2018-01-11 Thread Kyle Evans
On Wed, Jan 10, 2018 at 11:53 PM, Warner Losh wrote: > On Wed, Jan 10, 2018 at 10:36 PM, Kyle Evans wrote: > >> Author: kevans >> Date: Thu Jan 11 05:36:13 2018 >> New Revision: 327806 >> URL: https://svnweb.freebsd.org/changeset/base/327806 >> >>

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

2018-01-11 Thread Kyle Evans
Author: kevans Date: Thu Jan 11 14:29:29 2018 New Revision: 327825 URL: https://svnweb.freebsd.org/changeset/base/327825 Log: if_awg: Support new emac bindings Highlights of the new bindings: - ahb clock is specified as 'stmmaceth' - The PHY to be used is now specified as phy-handle -

svn commit: r327826 - head/usr.bin/patch

2018-01-11 Thread Kyle Evans
Author: kevans Date: Thu Jan 11 15:01:48 2018 New Revision: 327826 URL: https://svnweb.freebsd.org/changeset/base/327826 Log: patch(1): Don't check for NUL bytes in Plan A Plan A mmap()'s the entire input file and operates on it in memory. The map(2) call succeeded, so we shouldn't need t

svn commit: r327832 - in head: etc/mtree usr.bin/vmstat usr.bin/vmstat/tests

2018-01-11 Thread Kyle Evans
Author: kevans Date: Thu Jan 11 16:04:04 2018 New Revision: 327832 URL: https://svnweb.freebsd.org/changeset/base/327832 Log: vmstat(8): Hook up NetBSD tests The NetBSD tests for vmstat are basically just a smoke test, ensuring that executing `vmstat` and `vmstat -s` exit successfully. Th

svn commit: r327891 - head/sys/arm/allwinner/a83t

2018-01-12 Thread Kyle Evans
Author: kevans Date: Fri Jan 12 20:35:27 2018 New Revision: 327891 URL: https://svnweb.freebsd.org/changeset/base/327891 Log: allwinner/a83t_padconf: Rename "emac" function to "gmac" as per upstream DTS Although these should have been 'emac', upstream DTS is going with using 'gmac' as the

Re: svn commit: r327928 - head/sys/powerpc/mpc85xx

2018-01-13 Thread Kyle Evans
On Sat, Jan 13, 2018 at 11:25 AM, Justin Hibbits wrote: > Author: jhibbits > Date: Sat Jan 13 17:25:48 2018 > New Revision: 327928 > URL: https://svnweb.freebsd.org/changeset/base/327928 > > Log: > Add SPDX identifier to header > > Reported by: pfg > > Modified: > head/sys/powerpc/mpc85xx/m

svn commit: r327936 - in head: share/man/man4 sys/arm/allwinner sys/dev/extres/syscon

2018-01-13 Thread Kyle Evans
= --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/aw_syscon.4 Sat Jan 13 18:46:31 2018 (r327936) @@ -0,0 +1,60 @@ +.\"- +.\" Copyright (c) 2018 Kyle Evans +.\" All rights reserved. +.\" +

svn commit: r327938 - head/sys/dev/extres/syscon

2018-01-13 Thread Kyle Evans
/sys/dev/extres/syscon/syscon.c Sat Jan 13 19:00:41 2018 (r327938) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2017 Kyle Evans * All rights reserved. * Modified: head/sys/dev/extres/syscon/syscon.h

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

2018-01-13 Thread Kyle Evans
Kyle Evans * All rights reserved. * ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r327928 - head/sys/powerpc/mpc85xx

2018-01-13 Thread Kyle Evans
On Sat, Jan 13, 2018 at 12:55 PM, Pedro Giffuni wrote: > Hello; > > > > On 01/13/18 13:26, Kyle Evans wrote: >> >> On Sat, Jan 13, 2018 at 11:25 AM, Justin Hibbits >> wrote: >>> >>> Author: jhibbits >>> Date: Sat Jan 13 17:25:48 2018

svn commit: r327991 - head/stand/fdt

2018-01-14 Thread Kyle Evans
Author: kevans Date: Mon Jan 15 05:00:26 2018 New Revision: 327991 URL: https://svnweb.freebsd.org/changeset/base/327991 Log: stand/fdt: don't send clobbered FDT to the kernel If fdt_overlay_apply fails at some stage to apply the overlay to the base, both the base and overlay may be in an

Re: svn commit: r327991 - head/stand/fdt

2018-01-14 Thread Kyle Evans
On Sun, Jan 14, 2018 at 11:00 PM, Kyle Evans wrote: > Author: kevans > Date: Mon Jan 15 05:00:26 2018 > New Revision: 327991 > URL: https://svnweb.freebsd.org/changeset/base/327991 > > Log: > stand/fdt: don't send clobbered FDT to the kernel > > If fdt_over

svn commit: r328009 - head/stand/fdt

2018-01-15 Thread Kyle Evans
Author: kevans Date: Mon Jan 15 18:08:01 2018 New Revision: 328009 URL: https://svnweb.freebsd.org/changeset/base/328009 Log: stand/fdt: Don't leak next_fdtp if we fail to open overlay MFC after:1 week X-MFC-With: r327991 Modified: head/stand/fdt/fdt_loader_cmd.c Modified: head/

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

2018-01-15 Thread Kyle Evans
Author: kevans Date: Mon Jan 15 21:53:33 2018 New Revision: 328027 URL: https://svnweb.freebsd.org/changeset/base/328027 Log: wsp(4): Update to reflect new sysctl from r314467 r314467 introduced hw.usb.wsp.enable_single_tap_clicks to enable/disable single-tap left click behavior. Update t

svn commit: r328032 - head/usr.sbin/service

2018-01-15 Thread Kyle Evans
Author: kevans Date: Mon Jan 15 22:24:11 2018 New Revision: 328032 URL: https://svnweb.freebsd.org/changeset/base/328032 Log: service(8): Add support for interfacing with services in jails Provide a -j option that can take a jail name or id. If -j is specified, check that the jail exists

svn commit: r328060 - head/usr.sbin/service

2018-01-16 Thread Kyle Evans
Author: kevans Date: Tue Jan 16 20:14:31 2018 New Revision: 328060 URL: https://svnweb.freebsd.org/changeset/base/328060 Log: service(8): Reset OPTIND properly now that we're parsing args twice r328032 introduced a second round of argument parsing to proxy the request through to a jail as

svn commit: r328106 - in head: stand/fdt sys/contrib/libfdt

2018-01-17 Thread Kyle Evans
Author: kevans Date: Thu Jan 18 04:39:09 2018 New Revision: 328106 URL: https://svnweb.freebsd.org/changeset/base/328106 Log: libfdt: Update to 1.4.6, switch to using libfdt for overlay support libfdt highlights since 1.4.3: - fdt_property_placeholder added to create a property without

svn commit: r328107 - in head: etc/mtree share/man/man7 stand/arm/loader stand/forth stand/mips/uboot

2018-01-17 Thread Kyle Evans
Author: kevans Date: Thu Jan 18 04:58:54 2018 New Revision: 328107 URL: https://svnweb.freebsd.org/changeset/base/328107 Log: stand: Add /boot/overlays to allow separation of overlays from base FDT This matches directory structure used commonly in Linux-land, and it's cleaner than mixing

svn commit: r328156 - in head/stand: arm/uboot efi/loader/arch/arm

2018-01-18 Thread Kyle Evans
Author: kevans Date: Thu Jan 18 22:46:47 2018 New Revision: 328156 URL: https://svnweb.freebsd.org/changeset/base/328156 Log: stand: Move sections around to fix stand/ build with ld.lld on armv7 When building loader bits, lld fails with the following error: "ld: error: section: .dynamic i

svn commit: r328173 - head/usr.bin/dtc

2018-01-19 Thread Kyle Evans
Author: kevans Date: Fri Jan 19 21:20:24 2018 New Revision: 328173 URL: https://svnweb.freebsd.org/changeset/base/328173 Log: dtc(1): Update to upstream ea3c233 Highlights of this update: - /__local_fixups__ is now generated to be GPL dtc and libfdt compliant - Compiling with -@ will no

svn commit: r328188 - in head/usr.bin/hexdump: . tests

2018-01-19 Thread Kyle Evans
Author: kevans Date: Sat Jan 20 02:49:32 2018 New Revision: 328188 URL: https://svnweb.freebsd.org/changeset/base/328188 Log: od(1): Fix wrong output for some corner cases in multibyte locales. Restore the original character to print if we used the look-ahead buffer, but that didn't help

svn commit: r328189 - head/usr.bin/hexdump/tests

2018-01-19 Thread Kyle Evans
Author: kevans Date: Sat Jan 20 03:50:56 2018 New Revision: 328189 URL: https://svnweb.freebsd.org/changeset/base/328189 Log: od(1): Fix mis-patch from r328188 od_test.sh got duplicated erroneously when it was added in r328188. Dedup. Modified: head/usr.bin/hexdump/tests/od_test.sh Modi

svn commit: r328211 - head/lib/libc/regex

2018-01-21 Thread Kyle Evans
Author: kevans Date: Sun Jan 21 04:57:29 2018 New Revision: 328211 URL: https://svnweb.freebsd.org/changeset/base/328211 Log: regex(3): Resolve issues with higher WARNS levels libc is set for WARNS=2, but the incoming libregex will use WARNS=6. Sprinkle some casts and (void)bc's to allevi

svn commit: r328240 - in head: etc/mtree lib lib/libc/regex lib/libc/tests/regex lib/libregex lib/libregex/tests share/mk

2018-01-21 Thread Kyle Evans
bNc +\`.\+\'b abNcabNc +(\`a) - Na +(a\') - aN Added: head/lib/libregex/tests/libregex_test.sh == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libregex/tests/li

svn commit: r328241 - head/lib/libc/regex

2018-01-21 Thread Kyle Evans
Author: kevans Date: Mon Jan 22 02:58:33 2018 New Revision: 328241 URL: https://svnweb.freebsd.org/changeset/base/328241 Log: Add missing patch from r328240 regcomp uses some libc internal collation bits that are not available in the libregex context. It's easy enough to bring in the need

svn commit: r328242 - head/lib/libregex

2018-01-21 Thread Kyle Evans
Author: kevans Date: Mon Jan 22 03:12:26 2018 New Revision: 328242 URL: https://svnweb.freebsd.org/changeset/base/328242 Log: libregex: Drop WARNS to 2 to match libc It's become clear that my armv7 builds didn't catch all of the warnings that other builds are picking up, drop WARNS to 2 t

  1   2   3   4   5   6   7   8   9   10   >