Re: svn commit: r355010 - in head/sys/cam: . scsi

2019-11-22 Thread Ian Lepore
On Fri, 2019-11-22 at 18:39 +, Alexander Motin wrote: > Author: mav > Date: Fri Nov 22 18:39:51 2019 > New Revision: 355010 > URL: https://svnweb.freebsd.org/changeset/base/355010 > > Log: > Make CAM use root_mount_hold_token() to delay boot. > > Before this change CAM used config_intrh

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

2019-11-24 Thread Ian Lepore
Author: ian Date: Sun Nov 24 21:08:56 2019 New Revision: 355069 URL: https://svnweb.freebsd.org/changeset/base/355069 Log: When doing ARM stack unwinding as part of stack_save(9), do not search loaded modules (pass 0/false for the can_lock arg). Searching the unwind info in modules acquires

svn commit: r355100 - head/libexec/rc/rc.d

2019-11-25 Thread Ian Lepore
Author: ian Date: Mon Nov 25 19:59:53 2019 New Revision: 355100 URL: https://svnweb.freebsd.org/changeset/base/355100 Log: Allow opt-out of automatic ntpd leapfile checking/fetching. When a system has no internet connection, or when it is configured to obtain ntpd leapfiles from some sour

Re: svn commit: r355100 - head/libexec/rc/rc.d

2019-11-25 Thread Ian Lepore
On Mon, 2019-11-25 at 12:25 -0800, Cy Schubert wrote: > In message <201911251959.xapjxsja088...@repo.freebsd.org>, Ian > Lepore > writes: > > Author: ian > > Date: Mon Nov 25 19:59:53 2019 > > New Revision: 355100 > > URL: https://svnweb.freebsd.org/changese

svn commit: r355193 - head/sys/arm/freescale/imx

2019-11-28 Thread Ian Lepore
Author: ian Date: Thu Nov 28 21:50:34 2019 New Revision: 355193 URL: https://svnweb.freebsd.org/changeset/base/355193 Log: Implement the ofw_bus_get_node method in the imx_gpio driver so that ofw_gpiobus can find its fdt metadata and instantiate child devices. Modified: head/sys/arm/freesca

svn commit: r355214 - head/sys/dev/gpio

2019-11-29 Thread Ian Lepore
Author: ian Date: Fri Nov 29 18:05:54 2019 New Revision: 355214 URL: https://svnweb.freebsd.org/changeset/base/355214 Log: Ignore "gpio-hog" nodes when instantiating ofw_gpiobus children. Also, in ofw_gpiobus_probe() return BUS_PROBE_DEFAULT rather than 0; we are not the only possible drive

svn commit: r355239 - head/sys/dev/ofw

2019-11-30 Thread Ian Lepore
Author: ian Date: Sat Nov 30 19:16:44 2019 New Revision: 355239 URL: https://svnweb.freebsd.org/changeset/base/355239 Log: Add an OFWBUS_PNP_INFO() macro for devices that hang directly off the root ofwbus. Also, apply some style(9) whitespace fixing to the SIMPLEBUS_PNP_INFO() macro (no fun

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Ian Lepore
On Sat, 2019-11-30 at 11:25 -0800, Enji Cooper wrote: > > On Nov 30, 2019, at 11:01 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper > > wrote: > > > > > On Nov 30, 2019, at 10:03 AM, Warner Losh > > > wrote: > >

svn commit: r355274 - head/sys/dev/gpio

2019-12-01 Thread Ian Lepore
Author: ian Date: Sun Dec 1 21:27:09 2019 New Revision: 355274 URL: https://svnweb.freebsd.org/changeset/base/355274 Log: Move most of the gpio_pin_* functions from ofw_gpiobus.c to gpiobus.c so that they can be used by drivers on non-FDT-configured systems. Only the functions related to a

svn commit: r355276 - in head: share/man/man4 sys/dev/gpio

2019-12-01 Thread Ian Lepore
c 1 23:05:20 2019(r355276) @@ -1,9 +1,9 @@ /*- - * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2009 Oleksandr Tymoshenko - * Copyright (c) 2010 Luiz Otavio O Souza - * All rights reserved. + * Copyright (c) 2010 Luiz Otavio

svn commit: r355277 - head/sys/dev/gpio

2019-12-01 Thread Ian Lepore
Author: ian Date: Mon Dec 2 00:00:26 2019 New Revision: 355277 URL: https://svnweb.freebsd.org/changeset/base/355277 Log: Fix leading whitespace (spaces->tabs) in comments; no functional change. Modified: head/sys/dev/gpio/gpioiic.c Modified: head/sys/dev/gpio/gpioiic.c

svn commit: r355295 - head/sys/dev/gpio

2019-12-02 Thread Ian Lepore
2 16:15:18 2019(r355295) @@ -2,7 +2,7 @@ * SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) 2009 Oleksandr Tymoshenko - * Copyright (c) 2010 Luiz Otavio O Souza All rights reserved. + * Copyright (c) 2010 Luiz Otavio O Souza * Copyright (c) 2019 Ian Lepore * * Redistributi

svn commit: r355298 - head/sys/dev/gpio

2019-12-02 Thread Ian Lepore
Author: ian Date: Mon Dec 2 19:57:20 2019 New Revision: 355298 URL: https://svnweb.freebsd.org/changeset/base/355298 Log: Do not initialize the flags field in struct gpiobus_pin from the flags in struct gpio_pin. It turns out these two sets of flags are completely unrelated to each other.

Re: svn commit: r351253 - in head/contrib/libc++: include src

2019-08-21 Thread Ian Lepore
On Wed, 2019-08-21 at 09:01 -0700, Marshall Clow wrote: > On Wed, Aug 21, 2019 at 6:20 AM Tijl Coosemans > wrote: > > > On Wed, 21 Aug 2019 15:07:56 +0200 Dimitry Andric > > wrote: > > > On 21 Aug 2019, at 14:49, Tijl Coosemans wrote: > > > > On Tue, 20 Aug 2019 17:39:33 + (UTC) Dimitry Andri

Re: svn commit: r351471 - in head/sys: kern sys

2019-08-30 Thread Ian Lepore
On Sat, 2019-08-31 at 00:03 +0200, Mateusz Guzik wrote: > On 8/25/19, Oliver Pinter wrote: > > On Sunday, August 25, 2019, Mateusz Guzik wrote: > > > > > Author: mjg > > > Date: Sun Aug 25 05:11:43 2019 > > > New Revision: 351471 > > > URL: https://svnweb.freebsd.org/changeset/base/351471 > > >

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

2019-09-02 Thread Ian Lepore
Author: ian Date: Mon Sep 2 18:32:08 2019 New Revision: 351724 URL: https://svnweb.freebsd.org/changeset/base/351724 Log: Fix the name of the devicetree bindings document file cited in the manpage. Reported by: thj@ Modified: head/share/man/man4/ads111x.4 Modified: head/share/man/man4

Re: svn commit: r345900 - head/sbin/fsck_msdosfs

2019-09-03 Thread Ian Lepore
On Sat, 2019-04-06 at 01:47 +1100, Bruce Evans wrote: > On Fri, 5 Apr 2019, Ed Maste wrote: > > > On Fri, 5 Apr 2019 at 00:49, Rodney W. Grimes > > wrote: > >> > > > >>> +static const u_char dot_name[] = { > >>> + '.', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ' }; > >>> +static const u_char dot

svn commit: r346013 - head/sys/modules/geom/geom_label

2019-09-03 Thread Ian Lepore
Author: ian Date: Sun Apr 7 16:33:22 2019 New Revision: 346013 URL: https://svnweb.freebsd.org/changeset/base/346013 Log: Add g_label_flashmap.c to the module, should have been part of r345480. Reported by: Jia-Shiun Li Modified: head/sys/modules/geom/geom_label/Makefile Modified: he

Re: svn commit: r346052 - head/sys/dev/usb/net

2019-09-03 Thread Ian Lepore
On Tue, 2019-04-09 at 09:11 -0700, John Baldwin wrote: > On 4/9/19 6:54 AM, Ganbold Tsagaankhuu wrote: > > Author: ganbold > > Date: Tue Apr 9 13:54:08 2019 > > New Revision: 346052 > > URL: https://svnweb.freebsd.org/changeset/base/346052 > > > > Log: > > In some cases like NanoPI R1, its seco

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

2019-09-03 Thread Ian Lepore
On Tue, 2019-04-09 at 11:19 -0600, Rebecca Cran wrote: > On 2019-04-08 12:25, Warner Losh wrote: > > Author: imp > > Date: Mon Apr 8 18:25:14 2019 > > New Revision: 346039 > > URL: https://svnweb.freebsd.org/changeset/base/346039 > > > > Log: > >Style only change: Prefer $() to `` > > > >

Re: svn commit: r346052 - head/sys/dev/usb/net

2019-09-03 Thread Ian Lepore
On Tue, 2019-04-09 at 09:33 -0700, John Baldwin wrote: > On 4/9/19 9:17 AM, Ian Lepore wrote: > > On Tue, 2019-04-09 at 09:11 -0700, John Baldwin wrote: > > > On 4/9/19 6:54 AM, Ganbold Tsagaankhuu wrote: > > > > Author: ganbold > > > > Date: Tue Apr 9

Re: svn commit: r346096 - head/sys/arm/conf

2019-09-03 Thread Ian Lepore
On Thu, 2019-04-11 at 21:23 +0200, Svatopluk Kraus wrote: > I understand the reason for GENERIC. But are we so blind that we will > delete everything that is not GENERIC? In other words, why to delete > nice specific KERNEL configurations for boards we support when only > reason I see is that GENER

Re: svn commit: r346252 - in head/usr.sbin/cron: cron crontab

2019-09-03 Thread Ian Lepore
On Mon, 2019-04-15 at 18:53 +, Kyle Evans wrote: > Author: kevans > Date: Mon Apr 15 18:53:28 2019 > New Revision: 346252 > URL: https://svnweb.freebsd.org/changeset/base/346252 > > Log: > cron(8): Add MAILFROM ability for crontabs > > This changes the sender mail address in a similar f

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Ian Lepore
On Tue, 2019-04-16 at 07:18 -0600, Warner Losh wrote: > On Tue, Apr 16, 2019, 7:04 AM Emmanuel Vadot > wrote: > > > On Mon, 15 Apr 2019 17:54:56 -0700 > > Conrad Meyer wrote: > > > > > On Mon, Apr 15, 2019 at 5:53 PM Conrad Meyer > > > wrote: > > > > E.g., the CI infrastructure for > > > > Ris

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Ian Lepore
On Tue, 2019-04-16 at 09:58 -0700, Conrad Meyer wrote: > Systems lacking both an NV store and an entropy source available > during mi_startup (i.e., not interrupts...) cannot safely provide > entropy in early boot. On those systems, we must disable random > consumption during early boot. Or you c

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

2019-09-03 Thread Ian Lepore
Author: ian Date: Wed Apr 17 15:27:11 2019 New Revision: 346312 URL: https://svnweb.freebsd.org/changeset/base/346312 Log: Only set up the interrupts that will actually be used in arm generic_timer. The code previously set up interrupt handlers for all the interrupt resources available, i

Re: svn commit: r346295 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/mv arm/nvidia/tegra124

2019-09-03 Thread Ian Lepore
On Wed, 2019-04-17 at 11:23 +0200, Andrew Turner wrote: > > On 16 Apr 2019, at 22:04, Emmanuel Vadot wrote: > > > > Author: manu > > Date: Tue Apr 16 20:04:22 2019 > > New Revision: 346295 > > URL: https://svnweb.freebsd.org/changeset/base/346295 > > > > Log: > > arm: Add kern_clocksource.c dir

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Ian Lepore
On Wed, 2019-04-17 at 11:16 -0600, Warner Losh wrote: > On Wed, Apr 17, 2019 at 10:06 AM John Baldwin wrote: > > > On 4/16/19 4:48 PM, Conrad Meyer wrote: > > > On Tue, Apr 16, 2019 at 4:31 PM John Baldwin wrote: > > > > bhyveload is effectively the loader in this case. It runs the normal > >

svn commit: r346317 - head/tools/boot

2019-09-03 Thread Ian Lepore
Author: ian Date: Wed Apr 17 16:27:43 2019 New Revision: 346317 URL: https://svnweb.freebsd.org/changeset/base/346317 Log: Allow this test script to be run from within src/tools/boot dir, and create the temporary image in $TMPDIR. Allow the script to be run from the src/tools/boot directo

Re: svn commit: r346341 - head/tools/build

2019-09-03 Thread Ian Lepore
On Wed, 2019-04-17 at 20:32 -0700, Cy Schubert wrote: > In message <201904180107.x3i17qdc002...@gndrsh.dnsmgr.net>, "Rodney > W. > Grimes" > writes: > > > Author: cy > > > Date: Thu Apr 18 01:02:00 2019 > > > New Revision: 346341 > > > URL: https://svnweb.freebsd.org/changeset/base/346341 > > > >

svn commit: r346489 - head/sys/arm/broadcom/bcm2835

2019-09-03 Thread Ian Lepore
Author: ian Date: Sun Apr 21 17:39:01 2019 New Revision: 346489 URL: https://svnweb.freebsd.org/changeset/base/346489 Log: Move the reporting of spurious interrupts under bootverbose control, because occasional spurious interrupts are a normal thing on this hardware. Also, change the name o

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

2019-09-04 Thread Ian Lepore
On Wed, 2019-09-04 at 15:55 +, Ruslan Bukin wrote: > Author: br > Date: Wed Sep 4 15:55:44 2019 > New Revision: 351818 > URL: https://svnweb.freebsd.org/changeset/base/351818 > > Log: > Include dwgpio to the build. > > Sponsored by: DARPA, AFRL > > Modified: > head/sys/arm/con

svn commit: r351885 - head/sys/dev/iicbus

2019-09-05 Thread Ian Lepore
Author: ian Date: Thu Sep 5 19:07:48 2019 New Revision: 351885 URL: https://svnweb.freebsd.org/changeset/base/351885 Log: Ensure a measurement is complete before reading the result in ads111x. Also, disable the comparator by default; it's not used for anything. The previous logic would s

svn commit: r351887 - head/sys/dev/iicbus

2019-09-05 Thread Ian Lepore
Author: ian Date: Thu Sep 5 19:17:53 2019 New Revision: 351887 URL: https://svnweb.freebsd.org/changeset/base/351887 Log: Use a single write of 3 bytes instead of iicdev_writeto() in ads111x. The iicdev_writeto() function basically does scatter-gather IO by filling in a pair of iic_msg s

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

2019-09-05 Thread Ian Lepore
On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: > Author: philip > Date: Fri Sep 6 01:19:31 2019 > New Revision: 351918 > URL: https://svnweb.freebsd.org/changeset/base/351918 > > Log: > riscv: default to HZ=100 > > Most current RISC-V development platforms are not fast enough to >

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

2019-09-06 Thread Ian Lepore
On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: > On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote: > > On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: > > > Author: philip > > > Date: Fri Sep 6 01:19:31 2019 > > > New Revision: 351918 > > &

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

2019-09-10 Thread Ian Lepore
On Tue, 2019-09-10 at 01:56 +, Conrad Meyer wrote: > Author: cem > Date: Tue Sep 10 01:56:47 2019 > New Revision: 352113 > URL: https://svnweb.freebsd.org/changeset/base/352113 > > Log: > Appease Clang false-positive Werrors in r352112 > > Reported by:bcran > > Modified: > he

svn commit: r352196 - head/sys/arm/ti/am335x

2019-09-10 Thread Ian Lepore
Author: ian Date: Tue Sep 10 22:08:34 2019 New Revision: 352196 URL: https://svnweb.freebsd.org/changeset/base/352196 Log: In am335x_dmtpps, use a spin mutex to interlock between PPS capture and PPS ioctl(2) handling. This allows doing the pps_event() work in the polling routine, instead of

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-11 Thread Ian Lepore
On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > Author: asomers > Date: Wed Sep 11 19:48:32 2019 > New Revision: 352231 > URL: https://svnweb.freebsd.org/changeset/base/352231 > > Log: > getsockopt.2: clarify that SO_TIMESTAMP is not 100% reliable > > When SO_TIMESTAMP is set, the k

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-11 Thread Ian Lepore
On Wed, 2019-09-11 at 15:55 -0600, Alan Somers wrote: > On Wed, Sep 11, 2019 at 3:50 PM Ian Lepore wrote: > > > On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > > > Author: asomers > > > Date: Wed Sep 11 19:48:32 2019 > > > New Revision: 35223

Re: svn commit: r352248 - head/usr.sbin/ntp/libntp

2019-09-12 Thread Ian Lepore
On Thu, 2019-09-12 at 15:46 +, Baptiste Daroussin wrote: > Author: bapt > Date: Thu Sep 12 15:46:58 2019 > New Revision: 352248 > URL: https://svnweb.freebsd.org/changeset/base/352248 > > Log: > Get the readline header from the installed header instead of the from the > source > location.

Re: svn commit: r352231 - head/lib/libc/sys

2019-09-12 Thread Ian Lepore
On Thu, 2019-09-12 at 13:02 -0700, Cy Schubert wrote: > In message < > 63cf915c92b92b07e19337849269ec6bd0dc0d1b.ca...@freebsd.org>, > Ian Le > pore writes: > > On Wed, 2019-09-11 at 19:48 +, Alan Somers wrote: > > > Author: asomers > > > Date: Wed Sep 11 19:48:32 2019 > > > New Revision: 35223

Re: svn commit: r352275 - in head/lib/libedit: . TEST edit readline

2019-09-14 Thread Ian Lepore
On Fri, 2019-09-13 at 22:25 -0600, Warner Losh wrote: > On Fri, Sep 13, 2019, 10:11 PM Peter Jeremy > wrote: > > > On 2019-Sep-13 16:33:15 -0400, Charlie Li > > wrote: > > > Baptiste Daroussin wrote: > > > > Author: bapt > > > > Date: Fri Sep 13 06:50:02 2019 > > > > New Revision: 352275 > > > >

svn commit: r352333 - head/sys/arm/ti/am335x

2019-09-14 Thread Ian Lepore
Author: ian Date: Sat Sep 14 18:20:14 2019 New Revision: 352333 URL: https://svnweb.freebsd.org/changeset/base/352333 Log: Include , required to use spinlocks in this code. Modified: head/sys/arm/ti/am335x/am335x_dmtpps.c Modified: head/sys/arm/ti/am335x/am335x_dmtpps.c =

svn commit: r352338 - head/sys/dev/iicbus

2019-09-14 Thread Ian Lepore
Author: ian Date: Sat Sep 14 19:33:36 2019 New Revision: 352338 URL: https://svnweb.freebsd.org/changeset/base/352338 Log: Create a mechanism for encoding a system errno into the IIC_Ex space. Errors are communicated between the i2c controller layer and upper layers (iicbus and slave

svn commit: r352342 - head/sys/arm/ti

2019-09-14 Thread Ian Lepore
Author: ian Date: Sun Sep 15 01:02:01 2019 New Revision: 352342 URL: https://svnweb.freebsd.org/changeset/base/352342 Log: Make the ti_sysc device quiet. It's an internal utility pseudo-device that makes the upstream FDT data work right, so we don't need to see a couple dozen instances of i

svn commit: r352363 - head/sys/arm/freescale/imx

2019-09-15 Thread Ian Lepore
Author: ian Date: Sun Sep 15 19:38:15 2019 New Revision: 352363 URL: https://svnweb.freebsd.org/changeset/base/352363 Log: Apply a runtime patch to the FDT data for imx6 to fix iomuxc problems. The latest imported FDT data defines a node for an iomuxc-gpr device, which we don't support (o

Re: svn commit: r352451 - head/stand/libsa

2019-09-17 Thread Ian Lepore
On Tue, 2019-09-17 at 16:16 +, Toomas Soome wrote: > Author: tsoome > Date: Tue Sep 17 16:16:46 2019 > New Revision: 352451 > URL: https://svnweb.freebsd.org/changeset/base/352451 > > Log: > loader: revert r352421 > > As insisted by kib, malloc(0) is quite legal. > > Modified: > head

Re: svn commit: r352513 - head/usr.sbin/freebsd-update

2019-09-19 Thread Ian Lepore
On Thu, 2019-09-19 at 11:34 +, Ed Maste wrote: > Author: emaste > Date: Thu Sep 19 11:34:35 2019 > New Revision: 352513 > URL: https://svnweb.freebsd.org/changeset/base/352513 > > Log: > freebsd-update.8: appease igor > > igor follows American style guides in the belief that abbreviatio

Re: svn commit: r352838 - head/share/man/man3

2019-09-28 Thread Ian Lepore
On Sat, 2019-09-28 at 09:37 +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Sat Sep 28 09:37:05 2019 > New Revision: 352838 > URL: https://svnweb.freebsd.org/changeset/base/352838 > > Log: > Sort MLINKS for arb(3), and actually make them work by fixing a '=' > vs '+=' > mixup. >

svn commit: r352938 - head/sys/arm/include

2019-10-01 Thread Ian Lepore
Author: ian Date: Tue Oct 1 19:39:00 2019 New Revision: 352938 URL: https://svnweb.freebsd.org/changeset/base/352938 Log: Add 8 and 16 bit versions of atomic_cmpset and atomic_fcmpset for arm. This adds 8 and 16 bit versions of the cmpset and fcmpset functions. Macros are used to generat

Re: svn commit: r352938 - head/sys/arm/include

2019-10-01 Thread Ian Lepore
On Tue, 2019-10-01 at 22:49 +0300, Konstantin Belousov wrote: > On Tue, Oct 01, 2019 at 07:39:00PM +0000, Ian Lepore wrote: > > Author: ian > > Date: Tue Oct 1 19:39:00 2019 > > New Revision: 352938 > > URL: https://svnweb.freebsd.org/changeset/base/352938 > >

Re: svn commit: r352940 - head/sys/dev/usb/controller

2019-10-01 Thread Ian Lepore
On Tue, 2019-10-01 at 20:21 +, Emmanuel Vadot wrote: > Author: manu > Date: Tue Oct 1 20:21:49 2019 > New Revision: 352940 > URL: https://svnweb.freebsd.org/changeset/base/352940 > > Log: > generic_ohci: Look for the phy based on the id > > phy-names was never in the bindings schema ev

Re: svn commit: r348241 - head

2019-05-25 Thread Ian Lepore
On Fri, 2019-05-24 at 10:08 -0700, Conrad Meyer wrote: > On Fri, May 24, 2019 at 9:24 AM Andrew Gallatin > wrote: > > Dumb question about this: Will it update toolchains, or just use > > what > > can find? > > -DMAKE_JUST_KERNELS doesn't touch toolchains. For that, there is the > less memorable

Re: svn commit: r232071 - head/sys/vm

2019-05-27 Thread Ian Lepore
On Mon, 2019-05-27 at 14:34 -0700, Rodney W. Grimes wrote: > I just ask that before a change be made that starts from some > static analysis tool that a formal code review occur before > the change is committed. In a word: No. We're not talking about some inexperienced coder committing dumb fixe

Re: svn commit: r348355 - head/sys/dev/iicbus

2019-05-29 Thread Ian Lepore
On Wed, 2019-05-29 at 15:12 +0300, Andriy Gapon wrote: > On 29/05/2019 14:54, Niclas Zeising wrote: > > On 2019-05-29 11:08, Andriy Gapon wrote: > > > Author: avg > > > Date: Wed May 29 09:08:20 2019 > > > New Revision: 348355 > > > URL: https://svnweb.freebsd.org/changeset/base/348355 > > > > > >

Re: svn commit: r344648 - in head: . sys/kern sys/sys

2019-06-01 Thread Ian Lepore
On Sat, 2019-06-01 at 11:02 +0300, Andriy Gapon wrote: > On 01/06/2019 03:46, Warner Losh wrote: > > When we move to git, stuff like this just won't matter. So it's > > hard to get > > worked up about it now... and even if we weren't heading that way, > > the history > > preserved is so small as to

Re: svn commit: r348355 - head/sys/dev/iicbus

2019-06-03 Thread Ian Lepore
On Mon, 2019-06-03 at 15:08 +0300, Andriy Gapon wrote: > On 03/06/2019 14:16, Niclas Zeising wrote: > > Hi! > > It seems like things broke after all, latest pkg build (on head- > > amd64) reports > > this: > > > > > > /wrkdirs/usr/ports/graphics/drm-legacy-kmod/work/drm-legacy- > > 12bd551/src/de

Re: svn commit: r348355 - head/sys/dev/iicbus

2019-06-03 Thread Ian Lepore
On Mon, 2019-06-03 at 18:19 +0300, Andriy Gapon wrote: > On 03/06/2019 17:52, Ian Lepore wrote: > > Please don't. We still have a situation where nobody has shown a > > runtime failure at all. This build failure could be fixed by > > simply > > defining a do-noth

Re: svn commit: r348611 - in head/sys: conf kern

2019-06-04 Thread Ian Lepore
On Tue, 2019-06-04 at 13:07 +, Ed Maste wrote: > Author: emaste > Date: Tue Jun 4 13:07:10 2019 > New Revision: 348611 > URL: https://svnweb.freebsd.org/changeset/base/348611 > > Log: > Expose the kernel's build-ID through sysctl > > After our migration (of certain architectures) to ll

svn commit: r348741 - head/sys/modules/hwpmc

2019-06-06 Thread Ian Lepore
Author: ian Date: Thu Jun 6 15:21:36 2019 New Revision: 348741 URL: https://svnweb.freebsd.org/changeset/base/348741 Log: For armv6 and armv7, build hwpmc_armv7.c as well as the base hwpmc_arm.c. Submitted by: Arnaud YSMAL Modified: head/sys/modules/hwpmc/Makefile Modified: head/sys/m

svn commit: r348740 - head/sys/dev/hwpmc

2019-06-06 Thread Ian Lepore
Author: ian Date: Thu Jun 6 15:18:23 2019 New Revision: 348740 URL: https://svnweb.freebsd.org/changeset/base/348740 Log: Don't refer to the cpu variable in a KASSERT before initializing it. Modified: head/sys/dev/hwpmc/hwpmc_armv7.c Modified: head/sys/dev/hwpmc/hwpmc_armv7.c ==

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

2019-06-06 Thread Ian Lepore
On Thu, 2019-06-06 at 12:04 -0600, Alan Somers wrote: > On Thu, Jun 6, 2019 at 12:01 PM John Baldwin wrote: > > > > On 6/6/19 10:39 AM, Alan Somers wrote: > > > On Thu, Jun 6, 2019 at 11:35 AM Rodney W. Grimes > > > wrote: > > > > > > > > > Author: asomers > > > > > Date: Thu Jun 6 15:04:50 20

Re: svn commit: r348847 - head/sys/sys

2019-06-10 Thread Ian Lepore
On Mon, 2019-06-10 at 07:49 -0600, Warner Losh wrote: > On Mon, Jun 10, 2019, 7:44 AM Conrad Meyer wrote: > > > On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans > > wrote: > > > On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin > > > wrote: > > > > ... > > > > URL: https://svnweb.freebsd.org/

Re: svn commit: r348886 - in head/sys/riscv: include riscv

2019-06-10 Thread Ian Lepore
On Tue, 2019-06-11 at 00:55 +, Mitchell Horne wrote: > Author: mhorne > Date: Tue Jun 11 00:55:54 2019 > New Revision: 348886 > URL: https://svnweb.freebsd.org/changeset/base/348886 > > Log: > RISC-V: expose extension bits in AT_HWCAP > > AT_HWCAP is a field in the elf auxiliary vector

svn commit: r348995 - head/sys/modules/hwpmc

2019-06-12 Thread Ian Lepore
Author: ian Date: Wed Jun 12 16:05:20 2019 New Revision: 348995 URL: https://svnweb.freebsd.org/changeset/base/348995 Log: Don't attempt to include hwpmc support for armv6, we're missing some of the necessary support functions in cpu-v6.h, and it may be that the only armv6 platform we suppor

svn commit: r349057 - head/sys/conf

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 16:16:29 2019 New Revision: 349057 URL: https://svnweb.freebsd.org/changeset/base/349057 Log: Allow pwm(9) components to be selected individually, while 'device pwm' still includes it all. Modified: head/sys/conf/files Modified: head/sys/conf/files

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

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 16:36:29 2019 New Revision: 349058 URL: https://svnweb.freebsd.org/changeset/base/349058 Log: In detach(), check for failure of bus_generic_detach(), only release resources if they got allocated (because detach() gets called from attach() to handle various failur

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

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 16:56:00 2019 New Revision: 349059 URL: https://svnweb.freebsd.org/changeset/base/349059 Log: Don't call pwmbus_attach_bus(), because it may not be present if this driver is compiled into the kernel but pwmbus will be loaded as a module when needed (and because o

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

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 16:59:03 2019 New Revision: 349060 URL: https://svnweb.freebsd.org/changeset/base/349060 Log: Handle failure to enable the clock or obtain its frequency. Modified: head/sys/arm/allwinner/aw_pwm.c Modified: head/sys/arm/allwinner/aw_pwm.c =

svn commit: r349072 - head

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 19:16:02 2019 New Revision: 349072 URL: https://svnweb.freebsd.org/changeset/base/349072 Log: Remove pcf8563reg.h, the driver it was associated with was replaced in 2017 with the nxprtc multi-chip driver. Modified: head/ObsoleteFiles.inc Modified: head/Obsolete

svn commit: r349073 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 19:43:33 2019 New Revision: 349073 URL: https://svnweb.freebsd.org/changeset/base/349073 Log: Do not include pwm.h here, it is purely a userland interface file containing ioctl defintions for the pwmc driver. It is not part of the pwmbus interface. Modified: hea

svn commit: r349074 - in head: . etc/mtree include sys/dev/pwm sys/sys usr.sbin/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 19:46:59 2019 New Revision: 349074 URL: https://svnweb.freebsd.org/changeset/base/349074 Log: Move/rename the sys/pwm.h header file to dev/pwm/pwmc.h. The file contains ioctl definitions and related datatypes that allow userland control of pwm hardware via the p

svn commit: r349075 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:13:42 2019 New Revision: 349075 URL: https://svnweb.freebsd.org/changeset/base/349075 Log: Remove pwmbus_attach_bus(), it no longer has any callers. Also remove a couple prototypes for functions that never existed (and never will). Modified: head/sys/dev/pwm

svn commit: r349076 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:17:00 2019 New Revision: 349076 URL: https://svnweb.freebsd.org/changeset/base/349076 Log: Use device_delete_children() instead of a locally-rolled copy of it that leaks the device-list memory. Modified: head/sys/dev/pwm/pwmbus.c Modified: head/sys/dev/pwm/p

svn commit: r349077 - head/sys/arm/ti/am335x

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:20:36 2019 New Revision: 349077 URL: https://svnweb.freebsd.org/changeset/base/349077 Log: Add a missing #include. I suspect this used to get included via some header pollution that was cleaned up recently, and this file got missed in the cleanup because it's

svn commit: r349080 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:53:26 2019 New Revision: 349080 URL: https://svnweb.freebsd.org/changeset/base/349080 Log: Make pwmbus driver and devclass vars static; they're not mentioned in any header file, so they can't be used outside this file anyway. Modified: head/sys/dev/pwm/pwmbus

svn commit: r349081 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 20:54:33 2019 New Revision: 349081 URL: https://svnweb.freebsd.org/changeset/base/349081 Log: Unwrap prototype lines so that return type and function name are on the same line. No functional changes. Modified: head/sys/dev/pwm/pwmbus.h Modified: head/sys/dev/p

svn commit: r349082 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 21:19:23 2019 New Revision: 349082 URL: https://svnweb.freebsd.org/changeset/base/349082 Log: Spell unsigned int as u_int and channel as chan; eliminates the need to wrap some long lines. Modified: head/sys/dev/pwm/pwmbus.c Modified: head/sys/dev/pwm/pwmbus.c =

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

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 21:31:04 2019 New Revision: 349083 URL: https://svnweb.freebsd.org/changeset/base/349083 Log: Give the aw_pwm driver a module version. Modified: head/sys/arm/allwinner/aw_pwm.c Modified: head/sys/arm/allwinner/aw_pwm.c

svn commit: r349084 - in head/sys: arm/allwinner dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 21:36:14 2019 New Revision: 349084 URL: https://svnweb.freebsd.org/changeset/base/349084 Log: Rename the channel_max method to channel_count, because that's what it's returning. (If the channel count is 2, then the max channel number is 1.) Modified: head/sys/a

svn commit: r349085 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 21:51:55 2019 New Revision: 349085 URL: https://svnweb.freebsd.org/changeset/base/349085 Log: Destroy the cdev on device detach. Also, make the driver and devclass static, because nothing outside this file needs them. Modified: head/sys/dev/pwm/pwmc.c Modified

svn commit: r349086 - in head/sys: arm/allwinner conf dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 22:25:39 2019 New Revision: 349086 URL: https://svnweb.freebsd.org/changeset/base/349086 Log: Restructure the pwm device hirearchy and interfaces. The pwm and pwmbus interfaces were nearly identical, this merges them into a single pwmbus interface. The pwmbus

svn commit: r349088 - in head: sys/arm/allwinner sys/dev/pwm usr.sbin/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sat Jun 15 23:02:09 2019 New Revision: 349088 URL: https://svnweb.freebsd.org/changeset/base/349088 Log: Make pwm channel numbers unsigned. Modified: head/sys/arm/allwinner/aw_pwm.c head/sys/dev/pwm/pwmbus.c head/sys/dev/pwm/pwmbus.h head/sys/dev/pwm/pwmbus_if.m head

svn commit: r349091 - head/sys/modules/allwinner/aw_pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 00:27:11 2019 New Revision: 349091 URL: https://svnweb.freebsd.org/changeset/base/349091 Log: The pwm interface was replaced with pwmbus, include the right header file. Modified: head/sys/modules/allwinner/aw_pwm/Makefile Modified: head/sys/modules/allwinner/aw_p

svn commit: r349092 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 00:32:19 2019 New Revision: 349092 URL: https://svnweb.freebsd.org/changeset/base/349092 Log: Make channel number unsigned, and spell unsigned int u_int. This should have been part of r349088. Modified: head/sys/dev/pwm/pwmc.h Modified: head/sys/dev/pwm/pwmc.h

svn commit: r349093 - head/sys/dev/pwm

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 00:43:05 2019 New Revision: 349093 URL: https://svnweb.freebsd.org/changeset/base/349093 Log: This code no longer uses fdt/ofw stuff, no need to include ofw headers. Modified: head/sys/dev/pwm/pwmbus.c Modified: head/sys/dev/pwm/pwmbus.c =

svn commit: r349094 - in head/sys/modules: . pwm pwm/pwmbus pwm/pwmc

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 00:53:09 2019 New Revision: 349094 URL: https://svnweb.freebsd.org/changeset/base/349094 Log: Add module makefiles for pwm. Added: head/sys/modules/pwm/ head/sys/modules/pwm/Makefile (contents, props changed) head/sys/modules/pwm/pwmbus/ head/sys/modules/p

svn commit: r349095 - head/sys/arm/conf

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 01:05:53 2019 New Revision: 349095 URL: https://svnweb.freebsd.org/changeset/base/349095 Log: Split the dtb MODULES_EXTRA line to a series of += lines, making it easier to maintain and keep in alphabetical order, and paving the way for adding some other modules t

svn commit: r349096 - in head/sys/modules: arm_ti arm_ti/am335x_ehrpwm arm_ti/ti_i2c ti

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 01:22:44 2019 New Revision: 349096 URL: https://svnweb.freebsd.org/changeset/base/349096 Log: Add module makefiles for Texas Instruments ARM SoCs. The natural place to look for them based on how other SoCs are organized would be sys/modules/ti, but that's alre

svn commit: r349097 - head/sys/arm/conf

2019-06-15 Thread Ian Lepore
Author: ian Date: Sun Jun 16 01:23:45 2019 New Revision: 349097 URL: https://svnweb.freebsd.org/changeset/base/349097 Log: Build SoC-specific modules with GENERIC for the SoCs that have them. Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC

svn commit: r349115 - in head/sys: arm/allwinner dev/pwm

2019-06-16 Thread Ian Lepore
Author: ian Date: Sun Jun 16 15:56:59 2019 New Revision: 349115 URL: https://svnweb.freebsd.org/changeset/base/349115 Log: Rename pwmbus.h to ofw_pwm.h, because after all the recent changes, there is nothing left in the file that related to pwmbus at all. It just contains prototypes for the

svn commit: r349116 - head/sys/arm/ti

2019-06-16 Thread Ian Lepore
Author: ian Date: Sun Jun 16 16:02:50 2019 New Revision: 349116 URL: https://svnweb.freebsd.org/changeset/base/349116 Log: In detach(), call bus_generic_detach() before deleting the iicbus child. This gives the bus and its children the chance to return EBUSY to abort the detach if they're in

svn commit: r349119 - head/sys/dev/pwm

2019-06-16 Thread Ian Lepore
; MODULE_VERSION(pwmbus, 1); Added: head/sys/dev/pwm/pwmbus.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/pwm/pwmbus.h Sun Jun 16 19:44:42 2019(r349119) @@ -0,0 +1,62 @

svn commit: r349130 - in head/sys: conf dev/pwm modules/pwm/pwmbus

2019-06-16 Thread Ian Lepore
+ * + * Copyright (c) 2019 Ian Lepore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of conditions

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

2019-06-16 Thread Ian Lepore
Author: ian Date: Mon Jun 17 03:40:00 2019 New Revision: 349131 URL: https://svnweb.freebsd.org/changeset/base/349131 Log: Implement the ofw_bus_get_node method in aw_pwm(4) so that ofw_pwmbus can find its metadata for instantiating children. Modified: head/sys/arm/allwinner/aw_pwm.c Modif

svn commit: r349132 - head/sys/dev/pwm

2019-06-16 Thread Ian Lepore
Author: ian Date: Mon Jun 17 03:48:44 2019 New Revision: 349132 URL: https://svnweb.freebsd.org/changeset/base/349132 Log: Add back a const qualifier I somehow fumbled away between test-building and committing recent changes. Modified: head/sys/dev/pwm/pwmc.c Modified: head/sys/dev/pwm/pwm

svn commit: r349143 - head/sys/dev/pwm

2019-06-17 Thread Ian Lepore
Author: ian Date: Mon Jun 17 16:26:43 2019 New Revision: 349143 URL: https://svnweb.freebsd.org/changeset/base/349143 Log: Put the pwmc cdev filenames under the pwm directory along with any label names. I.e., everything related to pwm now goes in /dev/pwm. This will make it easier for user

svn commit: r349144 - head/usr.sbin/pwm

2019-06-17 Thread Ian Lepore
Author: ian Date: Mon Jun 17 16:43:33 2019 New Revision: 349144 URL: https://svnweb.freebsd.org/changeset/base/349144 Log: Follow changes in the pwmc(4) driver in relation to device filenames. The driver now names its cdev nodes pwmcX.Y where X is unit number and Y is the channel within t

svn commit: r349145 - head/usr.sbin/pwm

2019-06-17 Thread Ian Lepore
Author: ian Date: Mon Jun 17 16:50:58 2019 New Revision: 349145 URL: https://svnweb.freebsd.org/changeset/base/349145 Log: Put periods at the ends of argument descriptions. Explain the relationship between the period and duty arguments. Modified: head/usr.sbin/pwm/pwm.8 Modified: head/usr

<    1   2   3   4   5   6   7   8   9   10   >