svn commit: r328269 - head/sys/powerpc/include

2018-01-22 Thread Justin Hibbits
Author: jhibbits Date: Tue Jan 23 02:52:12 2018 New Revision: 328269 URL: https://svnweb.freebsd.org/changeset/base/328269 Log: Fix 64-bit booke kernel builds after the ldscript changes Commits r326203 and r326978 broke 64-bit booke kernels by introducing a 1MB zero-pad between the ELF

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

2018-01-22 Thread John Baldwin
On Monday, January 22, 2018 11:20:40 PM Poul-Henning Kamp wrote: > > In message >

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

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

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

2018-01-22 Thread Warner Losh
On Mon, Jan 22, 2018 at 4:05 PM, Poul-Henning Kamp wrote: > > In message f4gz7+kpk...@mail.gmail.com> > , Warner Losh writes: > > >This represents a partial understanding of what's required. It's base > level > >only. Don't

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

2018-01-22 Thread Warner Losh
On Mon, Jan 22, 2018 at 7:07 AM, Poul-Henning Kamp wrote: > > In message <20180122145117.08173be547f5dd6fef296...@bidouilliste.com>, > Emmanuel > Vadot writes: > > > Using the same logic as before one could have a script starting some > >pwm stuff (or simply using

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

2018-01-22 Thread Poul-Henning Kamp
In message , Warner Losh writes: >This represents a partial understanding of what's required. It's base level >only. Don't mistake it for full understanding of what needs to be done. I would love not to, but learning

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

2018-01-22 Thread Warner Losh
On Mon, Jan 22, 2018 at 1:41 PM, Ravi Pokala wrote: > >> I wonder if it would be too noisy if we allowed ->probe() to run on > disabled devices and reported something like: > >> > >> "foobar0: Matched disabled device <...>" > >> > >> (without calling ->attach()) > >> >

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

2018-01-22 Thread Warner Losh
On Mon, Jan 22, 2018 at 1:24 PM, Poul-Henning Kamp wrote: > > In message

svn commit: r328266 - in head: contrib/netbsd-tests/lib/libc/sys lib/libc/sys

2018-01-22 Thread Alan Somers
Author: asomers Date: Mon Jan 22 21:45:54 2018 New Revision: 328266 URL: https://svnweb.freebsd.org/changeset/base/328266 Log: mlock(2): correct documentation for error conditions. The man page is years out of date regarding errors. Our implementation _does_ allow unaligned addresses,

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

2018-01-22 Thread Ravi Pokala
>> I wonder if it would be too noisy if we allowed ->probe() to run on disabled >> devices and reported something like: >> >> "foobar0: Matched disabled device <...>" >> >> (without calling ->attach()) >> >> That way you would know you loaded the right driver, rather than have to >>

svn commit: r328265 - head/sys/dev/ixgbe

2018-01-22 Thread Eric Joyner
Author: erj Date: Mon Jan 22 20:56:21 2018 New Revision: 328265 URL: https://svnweb.freebsd.org/changeset/base/328265 Log: ixv(4): Stop setting editing ifnet flags in ixv_if_init() In iflib, the device-specific init() function isn't supposed to edit the struct ifnet driver flags. If it

svn commit: r328264 - head/sys/net

2018-01-22 Thread Konstantin Belousov
Author: kib Date: Mon Jan 22 20:49:17 2018 New Revision: 328264 URL: https://svnweb.freebsd.org/changeset/base/328264 Log: Fix compat32 for sysctl net.PF_ROUTE...NET_RT_IFLISTL. Route messages are aligned to the host long type alignment, which breaks 32bit. Reported and tested by:

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

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

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

2018-01-22 Thread Kyle Evans
On Mon, Jan 22, 2018 at 1:27 PM, Warner Losh wrote: > On Mon, Jan 22, 2018 at 12:12 PM, Ian Lepore wrote: > >> On Mon, 2018-01-22 at 10:57 -0800, John Baldwin wrote: >> > On Monday, January 22, 2018 03:30:03 PM Emmanuel Vadot wrote: >> > > >> > > On Mon, 22 Jan

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

2018-01-22 Thread Warner Losh
On Mon, Jan 22, 2018 at 12:24 PM, Poul-Henning Kamp wrote: > > In message <52374125.ogxafgl...@ralph.baldwin.cx>, John Baldwin writes: > > >Create the corresponding device_t but device_disable() it when there > >is a disabled property. > > That also removes a couple

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

2018-01-22 Thread Warner Losh
On Mon, Jan 22, 2018 at 12:12 PM, Ian Lepore wrote: > On Mon, 2018-01-22 at 10:57 -0800, John Baldwin wrote: > > On Monday, January 22, 2018 03:30:03 PM Emmanuel Vadot wrote: > > > > > > On Mon, 22 Jan 2018 14:07:30 + > > > "Poul-Henning Kamp" wrote: >

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

2018-01-22 Thread Poul-Henning Kamp
In message <52374125.ogxafgl...@ralph.baldwin.cx>, John Baldwin writes: >Create the corresponding device_t but device_disable() it when there >is a disabled property. That also removes a couple of boilerplate lines from all FDT device drivers. >A user can then use 'devctl enable ' to

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

2018-01-22 Thread Ian Lepore
On Mon, 2018-01-22 at 10:57 -0800, John Baldwin wrote: > On Monday, January 22, 2018 03:30:03 PM Emmanuel Vadot wrote: > > > > On Mon, 22 Jan 2018 14:07:30 + > > "Poul-Henning Kamp" wrote: > > > > > > > > > > > In message

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

2018-01-22 Thread John Baldwin
On Monday, January 22, 2018 03:30:03 PM Emmanuel Vadot wrote: > On Mon, 22 Jan 2018 14:07:30 + > "Poul-Henning Kamp" wrote: > > > > > In message <20180122145117.08173be547f5dd6fef296...@bidouilliste.com>, > > Emmanuel > > Vadot writes: > > > > > Using the

Re: svn commit: r319971 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src include lib/libc/stdlib/jemal

2018-01-22 Thread John Baldwin
On Monday, January 22, 2018 06:32:10 AM Alexey Dokuchaev wrote: > On Thu, Jan 18, 2018 at 10:10:31AM +, Alexey Dokuchaev wrote: > > On Sat, Jan 13, 2018 at 05:04:30PM +, Alexey Dokuchaev wrote: > > > On Thu, Jun 15, 2017 at 07:15:06AM +, Jason Evans wrote: > > > > New Revision: 319971

Re: svn commit: r328263 - head/lib/libregex

2018-01-22 Thread Kyle Evans
On Mon, Jan 22, 2018 at 12:40 PM, Kyle Evans wrote: > Author: kevans > Date: Mon Jan 22 18:40:19 2018 > New Revision: 328263 > URL: https://svnweb.freebsd.org/changeset/base/328263 > > Log: > libregex: Add a symbol map > > kib points out that trying to re-use symbol

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

2018-01-22 Thread Kyle Evans
On Mon, Jan 22, 2018 at 12:05 PM, Konstantin Belousov wrote: > On Mon, Jan 22, 2018 at 11:43:34AM -0600, Kyle Evans wrote: >> On Mon, Jan 22, 2018 at 9:53 AM, Konstantin Belousov >> wrote: >> > On Mon, Jan 22, 2018 at 08:05:30AM -0600, Kyle Evans wrote:

svn commit: r328263 - head/lib/libregex

2018-01-22 Thread Kyle Evans
Author: kevans Date: Mon Jan 22 18:40:19 2018 New Revision: 328263 URL: https://svnweb.freebsd.org/changeset/base/328263 Log: libregex: Add a symbol map kib points out that trying to re-use symbol versioning from libc is dirty and wrong. The implementation in libregex is incompatible by

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

2018-01-22 Thread Emmanuel Vadot
On Mon, 22 Jan 2018 15:52:41 + "Poul-Henning Kamp" wrote: > > In message <20180122153003.664e1613bbf70ab49c5c1...@bidouilliste.com>, > Emmanuel > Vadot writes: > > >[...] there is no way to > >know what the user will do so every node not used by the SBC must

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

2018-01-22 Thread Konstantin Belousov
On Mon, Jan 22, 2018 at 11:43:34AM -0600, Kyle Evans wrote: > On Mon, Jan 22, 2018 at 9:53 AM, Konstantin Belousov > wrote: > > On Mon, Jan 22, 2018 at 08:05:30AM -0600, Kyle Evans wrote: > >> On Mon, Jan 22, 2018 at 4:26 AM, Konstantin Belousov > >>

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

2018-01-22 Thread Warner Losh
Author: imp Date: Mon Jan 22 17:47:49 2018 New Revision: 328262 URL: https://svnweb.freebsd.org/changeset/base/328262 Log: This comment is bogus. This is a legit release. Reviewed by: scottl@, ken@ Sponsored by: Netflix Modified: head/sys/cam/scsi/scsi_da.c Modified:

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

2018-01-22 Thread Kyle Evans
On Mon, Jan 22, 2018 at 9:53 AM, Konstantin Belousov wrote: > On Mon, Jan 22, 2018 at 08:05:30AM -0600, Kyle Evans wrote: >> On Mon, Jan 22, 2018 at 4:26 AM, Konstantin Belousov >> wrote: >> > On Mon, Jan 22, 2018 at 02:44:41AM +, Kyle Evans wrote:

svn commit: r328261 - head/sys/dev/drm2

2018-01-22 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 22 15:55:51 2018 New Revision: 328261 URL: https://svnweb.freebsd.org/changeset/base/328261 Log: drm2: Basic use of mallocarray(9). These functions deal the same type of overflows we do with mallocarray(9). Using our mallocarray will panic, which different from

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

2018-01-22 Thread Konstantin Belousov
On Mon, Jan 22, 2018 at 08:05:30AM -0600, Kyle Evans wrote: > On Mon, Jan 22, 2018 at 4:26 AM, Konstantin Belousov > wrote: > > On Mon, Jan 22, 2018 at 02:44:41AM +, Kyle Evans wrote: > >> Author: kevans > >> Date: Mon Jan 22 02:44:41 2018 > >> New Revision: 328240 > >>

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

2018-01-22 Thread Poul-Henning Kamp
In message <20180122153003.664e1613bbf70ab49c5c1...@bidouilliste.com>, Emmanuel Vadot writes: >[...] there is no way to >know what the user will do so every node not used by the SBC must be >disabled. [...] until the user explicitly tells us, for instance with the command:

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

2018-01-22 Thread Emmanuel Vadot
On Mon, 22 Jan 2018 14:07:30 + "Poul-Henning Kamp" wrote: > > In message <20180122145117.08173be547f5dd6fef296...@bidouilliste.com>, > Emmanuel > Vadot writes: > > > Using the same logic as before one could have a script starting some > >pwm stuff (or simply

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

2018-01-22 Thread Poul-Henning Kamp
In message <20180122145117.08173be547f5dd6fef296...@bidouilliste.com>, Emmanuel Vadot writes: > Using the same logic as before one could have a script starting some >pwm stuff (or simply using /etc/sysctl.conf) > Also this is not how DT is suppose to work, if the status == >'disabled'

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

2018-01-22 Thread Kyle Evans
On Mon, Jan 22, 2018 at 4:26 AM, Konstantin Belousov wrote: > On Mon, Jan 22, 2018 at 02:44:41AM +, Kyle Evans wrote: >> Author: kevans >> Date: Mon Jan 22 02:44:41 2018 >> New Revision: 328240 >> URL: https://svnweb.freebsd.org/changeset/base/328240 >> >> Log: >> Add

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

2018-01-22 Thread Emmanuel Vadot
On Mon, 22 Jan 2018 13:38:47 + "Poul-Henning Kamp" wrote: > > In message <20180122135905.203e19ce94510854777df...@bidouilliste.com>, > Emmanuel > Vadot writes: > > >> +#if 0 > >> + // XXX: default state is disabled in RPI3 DTB, assume for now > >> + // XXX:

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

2018-01-22 Thread Poul-Henning Kamp
In message <20180122135905.203e19ce94510854777df...@bidouilliste.com>, Emmanuel Vadot writes: >> +#if 0 >> +// XXX: default state is disabled in RPI3 DTB, assume for now >> +// XXX: that people want the PWM to work if the KLD this module. >> if (!ofw_bus_status_okay(dev))

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

2018-01-22 Thread Emmanuel Vadot
On Mon, 22 Jan 2018 07:10:30 + (UTC) Poul-Henning Kamp wrote: > Author: phk > Date: Mon Jan 22 07:10:30 2018 > New Revision: 328257 > URL: https://svnweb.freebsd.org/changeset/base/328257 > > Log: > Add a skeleton Clock Manager for RPi2/3, and use that from pwm >

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

2018-01-22 Thread Konstantin Belousov
On Mon, Jan 22, 2018 at 02:44:41AM +, Kyle Evans wrote: > Author: kevans > Date: Mon Jan 22 02:44:41 2018 > New Revision: 328240 > URL: https://svnweb.freebsd.org/changeset/base/328240 > > Log: > Add libregex, connect it to the build > > libregex is a regex(3) implementation intended

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

2018-01-22 Thread Poul-Henning Kamp
In message <20180122094629.f292f9f239174f0865b04...@bidouilliste.com>, Emmanuel Vadot writes: >> + * Copyright (C) 2013-2015 Daisuke Aoyama > > Was is based on some file ? > Also someone will probably complain about SDPX tag here :) Yes, I grabbed the blurp from a

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

2018-01-22 Thread Bruce Evans
On Sun, 21 Jan 2018, Eric van Gyzen wrote: On 01/18/2018 01:38, Wojciech Macek wrote: Author: wma Date: Thu Jan 18 07:38:54 2018 New Revision: 328110 URL: https://svnweb.freebsd.org/changeset/base/328110 Log: KDB: restart only CPUs stopped by KDB @@ -707,8 +708,9 @@ kdb_trap(int type,

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

2018-01-22 Thread Emmanuel Vadot
On Mon, 22 Jan 2018 07:10:30 + (UTC) Poul-Henning Kamp wrote: > Author: phk > Date: Mon Jan 22 07:10:30 2018 > New Revision: 328257 > URL: https://svnweb.freebsd.org/changeset/base/328257 > > Log: > Add a skeleton Clock Manager for RPi2/3, and use that from pwm >

svn commit: r328260 - head/sys/modules/bcm283x_clkman

2018-01-22 Thread Poul-Henning Kamp
Author: phk Date: Mon Jan 22 08:33:59 2018 New Revision: 328260 URL: https://svnweb.freebsd.org/changeset/base/328260 Log: Forgot to add the skeleton BCM283x Clock Manager Reminded by: lwhsu Added: head/sys/modules/bcm283x_clkman/ head/sys/modules/bcm283x_clkman/Makefile (contents,