svn commit: r331869 - head/sys/dev/nxge

2018-04-01 Thread Ian Lepore
Author: ian Date: Sun Apr 1 18:53:27 2018 New Revision: 331869 URL: https://svnweb.freebsd.org/changeset/base/331869 Log: Fix the build on arches with default unsigned char. Capture the fubyte() return value in an int as well as the char, and test the full int value for fubyte() failure.

svn commit: r331868 - in head/sys/modules: i2c/iicbus i2c/isl spi/at45d spi/mx25l spi/spibus

2018-04-01 Thread Ian Lepore
Author: ian Date: Sun Apr 1 18:22:24 2018 New Revision: 331868 URL: https://svnweb.freebsd.org/changeset/base/331868 Log: Add opt_platform.h for several modules that have #ifdef FDT in the source. Submitted by: Andre Albsmeier Modified:

Re: svn commit: r331728 - in stable/11/etc: . rc.d

2018-03-29 Thread Ian Lepore
On Thu, 2018-03-29 at 09:33 -0700, Rodney W. Grimes wrote: > > > > On Thu, 2018-03-29 at 06:20 -0700, Rodney W. Grimes wrote: > > > > > > > > > > > > > > > Author: araujo > > > > Date: Thu Mar 29 04:51:07 2018 > > > > New Revision: 331728 > > > > URL:

Re: svn commit: r331728 - in stable/11/etc: . rc.d

2018-03-29 Thread Ian Lepore
On Thu, 2018-03-29 at 06:20 -0700, Rodney W. Grimes wrote: > > > > Author: araujo > > Date: Thu Mar 29 04:51:07 2018 > > New Revision: 331728 > > URL: https://svnweb.freebsd.org/changeset/base/331728 > > > > Log: > >   MFC r329817: > I must of missed this when it landed in ^/head > > > > >  

Re: svn commit: r331209 - head

2018-03-27 Thread Ian Lepore
On Tue, 2018-03-27 at 09:48 -0700, John Baldwin wrote: > On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote: > > > > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote: > > > > > > On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote: > > > > > > > > > > > > > >

Re: svn commit: r331532 - head/sys/crypto/ccp

2018-03-25 Thread Ian Lepore
On Sun, 2018-03-25 at 16:56 +, Warner Losh wrote: > Author: imp > Date: Sun Mar 25 16:56:49 2018 > New Revision: 331532 > URL: https://svnweb.freebsd.org/changeset/base/331532 > > Log: >   The PNP info has to follow the module definition. Move it from just >   after the array to its proper

svn commit: r331523 - stable/11/sys/dev/flash

2018-03-24 Thread Ian Lepore
+3,7 @@ * * Copyright (c) 2006 M. Warner Losh. All rights reserved. * Copyright (c) 2009 Oleksandr Tymoshenko. All rights reserved. + * Copyright (c) 2018 Ian Lepore. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted

svn commit: r331524 - stable/11/sys/arm/arm

2018-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 25 02:04:44 2018 New Revision: 331524 URL: https://svnweb.freebsd.org/changeset/base/331524 Log: MFC r329989, r330044 r329989: Add support for booting into kdb on arm platforms when the RB_KDB is set (using "boot -d" at the loader propmt or setting boot_ddb in

svn commit: r331519 - in stable/11/sys: arm/freescale/imx modules/imx/imx_spi

2018-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 25 01:47:17 2018 New Revision: 331519 URL: https://svnweb.freebsd.org/changeset/base/331519 Log: MFC r330437-r330438, r330440, r331045 r330437: Do not stop the loop that configures gpio chipselect pins on the first error, just ignore pins that don't configure

svn commit: r331522 - stable/11/sys/dev/efidev

2018-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 25 01:55:17 2018 New Revision: 331522 URL: https://svnweb.freebsd.org/changeset/base/331522 Log: MFC r331068: Use EFI RTC capabilities info when registering, add bootverbose diagnostics. Make some small improvements to the efirtc driver by obtaining the clock

svn commit: r331521 - in stable/11/sys: isa x86/isa

2018-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 25 01:52:38 2018 New Revision: 331521 URL: https://svnweb.freebsd.org/changeset/base/331521 Log: MFC r330773, r330778, r330782, r330797 r330773: Use separate mutexes for atrtc and i8254 locking. Change all the strange un-function-like RTC_LOCK/UNLOCK macro

svn commit: r331520 - stable/11/sys/arm/arm

2018-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 25 01:47:57 2018 New Revision: 331520 URL: https://svnweb.freebsd.org/changeset/base/331520 Log: MFC r330050: Initialize all members of vm_page::md_page for armv4/5 systems. This fixes a hang in SI_SUB_KMEM sysinit, and is apparently required after r323290.

svn commit: r331509 - stable/11/sys/dev/usb/serial

2018-03-24 Thread Ian Lepore
Author: ian Date: Sun Mar 25 00:50:27 2018 New Revision: 331509 URL: https://svnweb.freebsd.org/changeset/base/331509 Log: MFC r330385: Flag the first interface on a KTLINK FTDI-based jtag+uart device as being the jtag port, so that a tty is not created for it. This is based on

svn commit: r331507 - stable/11/sys/sys

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 23:26:54 2018 New Revision: 331507 URL: https://svnweb.freebsd.org/changeset/base/331507 Log: MFC r330361: Correct a misplaced closing paren. Does not affect the result, but does clarify (at least for me) that the multiplication happens before the shift.

svn commit: r331506 - in stable/11/sys: arm/at91 arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/lpc arm/samsung/exynos arm/ti dev/flash dev/spibus dev/xilinx mips/atheros mips/medi...

2018-03-24 Thread Ian Lepore
v/null 00:00:00 1970 (empty, because file is newly added) +++ stable/11/sys/arm/freescale/imx/imx_spi.c Sat Mar 24 23:23:31 2018 (r331506, copy of r32, head/sys/arm/freescale/imx/imx_spi.c) @@ -0,0 +1,604 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Co

svn commit: r331505 - stable/11/sys/arm/freescale/imx

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 23:07:10 2018 New Revision: 331505 URL: https://svnweb.freebsd.org/changeset/base/331505 Log: MFC r329642: Adjust whitespace of things added in the past couple years to match the original style of the file. No functional changes. Modified:

svn commit: r331504 - stable/11/sys/dev/gpio

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 23:03:59 2018 New Revision: 331504 URL: https://svnweb.freebsd.org/changeset/base/331504 Log: MFC r329537: Provide a public function to acquire a gpio pin by giving the property name and index. A private function to do exactly that already existed, so this

svn commit: r331503 - in stable/11/sys: conf dev/iicbus kern modules/i2c modules/i2c/ds1672 modules/i2c/rtc8583 sys x86/isa

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 23:01:10 2018 New Revision: 331503 URL: https://svnweb.freebsd.org/changeset/base/331503 Log: MFC r325233, r328956, r329170, r329172-r329173, r329224, r330403-r330407, r330411-r330412, r330416, r330430-r330431, r330433, r330528-r330529, r330767

svn commit: r331502 - stable/11/sys/modules/i2c/iicbus

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 22:50:59 2018 New Revision: 331502 URL: https://svnweb.freebsd.org/changeset/base/331502 Log: MFC r329534-r329535 r329534: Arrange SRCS= as 1 file per line, alphabetical, so it's easier to maintain. Whitespace only, no functional changes. r329535:

svn commit: r331501 - in stable/11/sys: arm/conf arm/freescale/imx dev/iicbus dev/sdhci dev/usb/controller modules modules/i2c/iicbus modules/imx modules/imx/imx_i2c

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 22:39:38 2018 New Revision: 331501 URL: https://svnweb.freebsd.org/changeset/base/331501 Log: MFC r329479-r329480, r329483, r329506-r329507, r329526, r329529, r329536, r329541, r329730, r329841, r329988, r330397 r329479: Do not try to deallocate memory

svn commit: r331500 - in stable/11: etc/devd sys/dev/usb sys/dev/usb/serial

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 21:53:01 2018 New Revision: 331500 URL: https://svnweb.freebsd.org/changeset/base/331500 Log: MFC r329125-r329126 r329125: Add a device ID to uftdi for TIAO USB Multi Protocol Adapter (TUMPA). PR: 225810 r329126: Regenerate devd/usb.conf

svn commit: r331498 - stable/11/sys/arm/freescale/imx

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 21:27:10 2018 New Revision: 331498 URL: https://svnweb.freebsd.org/changeset/base/331498 Log: MFC r328345, r328349, r328405, r328407, r328442 r328345: Reformat indentation to match other imx5/6 register definition headers, and tweak some comments. No

svn commit: r331497 - stable/11/sys/dev/iicbus

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 21:22:28 2018 New Revision: 331497 URL: https://svnweb.freebsd.org/changeset/base/331497 Log: MFC r328307, r328311-r328312 r328307: Fix a bug introduced with recursive bus ownership support in r321584. The recursive ownership support added in r321584 was

svn commit: r331496 - in stable/11/sys: dev/iicbus kern sys x86/isa

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 20:40:16 2018 New Revision: 331496 URL: https://svnweb.freebsd.org/changeset/base/331496 Log: MFC r306288, r314936, r325527, r327971, r328005, r328039, r328068-r328069, r328301-r328303 r306288: Fix ds1307 probing 'compat' can never be NULL, because

svn commit: r331495 - stable/11/sys/dev/iicbus

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 19:57:08 2018 New Revision: 331495 URL: https://svnweb.freebsd.org/changeset/base/331495 Log: MFC r327756-r327758 r327756: Bugfix: on RTC chips with a 32-bit binary counter, after reading the time, return immediately rather than falling through to the logic

svn commit: r331494 - stable/11

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 19:05:59 2018 New Revision: 331494 URL: https://svnweb.freebsd.org/changeset/base/331494 Log: Record-only merge of r324416. The actual code was merged in 327633, but I forgot to add the merge info then (it wasn't so much a merge as recreating on the branch the

svn commit: r331493 - in stable/11/sys: arm/allwinner arm/freescale/imx arm/nvidia dev/ahci

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 18:42:45 2018 New Revision: 331493 URL: https://svnweb.freebsd.org/changeset/base/331493 Log: MFC r324186: Define a single instance of ahci_devclass and reference it from all the attachment code for various SOCs and busses. Remove all the static and

svn commit: r331492 - stable/11/sys/powerpc/powerpc

2018-03-24 Thread Ian Lepore
Author: ian Date: Sat Mar 24 18:06:34 2018 New Revision: 331492 URL: https://svnweb.freebsd.org/changeset/base/331492 Log: To fix the powerpc build, back out r331184, which was this mfc: MFC r326859: Add identifier for POWER9 CPU to CPU list Without the identifier in the list

svn commit: r331465 - in stable/11/usr.bin: . diff diff/tests

2018-03-23 Thread Ian Lepore
Author: ian Date: Fri Mar 23 21:06:06 2018 New Revision: 331465 URL: https://svnweb.freebsd.org/changeset/base/331465 Log: MFC r315051, r315101, r315103, r315107, r315180, r315197, r315293, r315319, r315590, r315649, r315726, r315743, r315746-r315747, r315779, r315985, r316002,

svn commit: r331460 - in stable/11: gnu/lib gnu/usr.bin share/man/man5 share/mk tools/build/mk tools/build/options

2018-03-23 Thread Ian Lepore
Author: ian Date: Fri Mar 23 20:20:04 2018 New Revision: 331460 URL: https://svnweb.freebsd.org/changeset/base/331460 Log: MFC r307656, r307659, r307674-r307675, r307679, r307683 Support for WITHOUT_GNU_DIFF and WITHOUT_GNU_GREP, plus manually regenerated src.conf.5, which seems to have

svn commit: r331434 - in stable/11/lib: . libcapsicum

2018-03-23 Thread Ian Lepore
Author: ian Date: Fri Mar 23 16:15:07 2018 New Revision: 331434 URL: https://svnweb.freebsd.org/changeset/base/331434 Log: MFC r306657, r306673, r306726, r307737, r309366, r310135, r323990, r324414 r306657: libcapsicum: introduce Capsicum helpers Capsicum helpers are a set of inline

Re: svn commit: r331279 - in head: include lib/libc/gen lib/libc/sys lib/libc/tests/gen sys/compat/freebsd32 sys/conf sys/kern sys/sys tests/sys/kern usr.bin/truss

2018-03-20 Thread Ian Lepore
On Wed, 2018-03-21 at 01:15 +, Conrad Meyer wrote: > Author: cem > Date: Wed Mar 21 01:15:45 2018 > New Revision: 331279 > URL: https://svnweb.freebsd.org/changeset/base/331279 > > Log: >   Implement getrandom(2) and getentropy(3) >    >   The general idea here is to provide userspace

svn commit: r331276 - stable/10/sys/kern

2018-03-20 Thread Ian Lepore
Author: ian Date: Tue Mar 20 22:57:14 2018 New Revision: 331276 URL: https://svnweb.freebsd.org/changeset/base/331276 Log: MFC r330745: Make root mount timeout logic work for filesystems other than ufs. The vfs.mountroot.timeout tunable and .timeout directive in a mount.conf(5) file

svn commit: r331262 - stable/11/sys/kern

2018-03-20 Thread Ian Lepore
Author: ian Date: Tue Mar 20 21:02:42 2018 New Revision: 331262 URL: https://svnweb.freebsd.org/changeset/base/331262 Log: MFC r330745: Make root mount timeout logic work for filesystems other than ufs. The vfs.mountroot.timeout tunable and .timeout directive in a mount.conf(5) file

Re: svn commit: r331226 - in head/sys: amd64/linux amd64/linux32 i386/linux

2018-03-20 Thread Ian Lepore
On Tue, 2018-03-20 at 19:19 +1100, Bruce Evans wrote: > The random verb order is especially confsing for 'fix' and 'fixup'. > 'fixup' is a noun, but is sometimes abused as a verb and adverb instead > of the correct verb and adverb 'fix up'.  When it is placed at the > end, e.g., for limit_fixup(),

svn commit: r331141 - head/sys/dev/flash

2018-03-18 Thread Ian Lepore
(r331140) +++ head/sys/dev/flash/mx25l.c Sun Mar 18 18:58:47 2018(r331141) @@ -3,6 +3,7 @@ * * Copyright (c) 2006 M. Warner Losh. All rights reserved. * Copyright (c) 2009 Oleksandr Tymoshenko. All rights reserved. + * Copyright (c) 2018 Ian Lepore. All rights reserved

svn commit: r331139 - head/sys/dev/flash

2018-03-18 Thread Ian Lepore
Author: ian Date: Sun Mar 18 18:37:47 2018 New Revision: 331139 URL: https://svnweb.freebsd.org/changeset/base/331139 Log: Add support for 4K and 32K erase block sizes. Many of the supported chips have these flags set in the ident table, but there was no code to support using the smaller

svn commit: r331138 - head/sys/dev/flash

2018-03-18 Thread Ian Lepore
Author: ian Date: Sun Mar 18 17:47:57 2018 New Revision: 331138 URL: https://svnweb.freebsd.org/changeset/base/331138 Log: Make all internal routines return an int error status, and check the status at all call points. Combine the get_status and wait_for_ready routines, since waiting for

svn commit: r331136 - head/sys/dev/flash

2018-03-18 Thread Ian Lepore
Author: ian Date: Sun Mar 18 17:25:23 2018 New Revision: 331136 URL: https://svnweb.freebsd.org/changeset/base/331136 Log: Add sc_parent to the softc and use it in place of device_get_parent() calls all over the place. Also pass the softc as the arg to all the internal functions instead of

svn commit: r331132 - head/sys/dev/flash

2018-03-18 Thread Ian Lepore
Author: ian Date: Sun Mar 18 16:52:31 2018 New Revision: 331132 URL: https://svnweb.freebsd.org/changeset/base/331132 Log: Bugfix: wait for writes/erases to complete after starting them, instead of before starting them. Using the wait-before logic would make sense if there was useful

svn commit: r331129 - head/sys/dev/flash

2018-03-18 Thread Ian Lepore
Author: ian Date: Sun Mar 18 16:36:14 2018 New Revision: 331129 URL: https://svnweb.freebsd.org/changeset/base/331129 Log: Eliminate some unneeded intermediate variables. Eliminate some redundant parens in shift-and-mask expressions. Reword and reflow some comments. Modified:

svn commit: r331126 - head/sys/dev/flash

2018-03-18 Thread Ian Lepore
Author: ian Date: Sun Mar 18 16:10:14 2018 New Revision: 331126 URL: https://svnweb.freebsd.org/changeset/base/331126 Log: Remove a pointless KASSERT and reword a comment a bit. The KASSERT tested for the same condition that the preceeding lines checked for and would have returned EIO, so

svn commit: r331123 - head/sys/dev/flash

2018-03-18 Thread Ian Lepore
Author: ian Date: Sun Mar 18 15:56:10 2018 New Revision: 331123 URL: https://svnweb.freebsd.org/changeset/base/331123 Log: Do not overwrite the contents of BIO_WRITE buffers. SPI inherently transfers data in both directions at once. When writing to the device, use a dummy buffer for the

svn commit: r331068 - head/sys/dev/efidev

2018-03-16 Thread Ian Lepore
Author: ian Date: Fri Mar 16 18:16:27 2018 New Revision: 331068 URL: https://svnweb.freebsd.org/changeset/base/331068 Log: Use EFI RTC capabilities info when registering, add bootverbose diagnostics. Make some small improvements to the efirtc driver by obtaining the clock capabilities

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

2018-03-16 Thread Ian Lepore
ly one that failed. -- Ian > On Fri, Mar 16, 2018 at 9:06 AM, Ian Lepore <i...@freebsd.org> wrote: > > > > Author: ian > > Date: Fri Mar 16 16:06:25 2018 > > New Revision: 331063 > > URL: https://svnweb.freebsd.org/changeset/base/331063 __

svn commit: r331045 - head/sys/modules/imx/imx_spi

2018-03-15 Thread Ian Lepore
Author: ian Date: Fri Mar 16 02:46:08 2018 New Revision: 331045 URL: https://svnweb.freebsd.org/changeset/base/331045 Log: Add required interface header. Reported by: andreast@ Modified: head/sys/modules/imx/imx_spi/Makefile Modified: head/sys/modules/imx/imx_spi/Makefile

Re: svn commit: r330972 - stable/11/share/misc

2018-03-15 Thread Ian Lepore
On Thu, 2018-03-15 at 09:14 -0700, Rodney W. Grimes wrote: > > > > On Thu, 2018-03-15 at 10:52 -0500, Justin Hibbits wrote: > > > > > > On Thu, Mar 15, 2018 at 10:46 AM, Ian Lepore <i...@freebsd.org> > > > wrote: > > > > > > >

Re: svn commit: r330972 - stable/11/share/misc

2018-03-15 Thread Ian Lepore
On Thu, 2018-03-15 at 10:52 -0500, Justin Hibbits wrote: > On Thu, Mar 15, 2018 at 10:46 AM, Ian Lepore <i...@freebsd.org> wrote: > > > > I agree completely with all of this.  It bothers me how many > > committers > > have the attitude that handling MFCs is

Re: svn commit: r330972 - stable/11/share/misc

2018-03-15 Thread Ian Lepore
On Thu, 2018-03-15 at 08:33 -0700, Rodney W. Grimes wrote: > > > > On 15/03/2018 10:30, Eitan Adler wrote: > > > > > > Author: eadler > > > Date: Thu Mar 15 08:30:05 2018 > > > New Revision: 330972 > > > URL: https://svnweb.freebsd.org/changeset/base/330972 > > > > > > Log: > > >   MFC > > >

Re: svn commit: r330925 - in head/sys: conf powerpc/powernv

2018-03-14 Thread Ian Lepore
On Wed, 2018-03-14 at 09:20 +, Wojciech Macek wrote: > Author: wma > Date: Wed Mar 14 09:20:03 2018 > New Revision: 330925 > URL: https://svnweb.freebsd.org/changeset/base/330925 > > Log: >   PowerNV: Fix I2C to compile if FDT is disabled >    >   Submitted by:  Wojciech Macek

Re: svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-12 Thread Ian Lepore
On Mon, 2018-03-12 at 13:03 -0600, Ian Lepore wrote: > On Mon, 2018-03-12 at 17:56 +0200, Konstantin Belousov wrote: > > > > On Mon, Mar 12, 2018 at 09:34:51AM -0600, Ian Lepore wrote: > > > > > > [...] > > > > > > Does anybody really need an

Re: svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-12 Thread Ian Lepore
On Mon, 2018-03-12 at 17:56 +0200, Konstantin Belousov wrote: > On Mon, Mar 12, 2018 at 09:34:51AM -0600, Ian Lepore wrote: > > > > On Sun, 2018-03-11 at 23:25 +0200, Konstantin Belousov wrote: > > > > > > On Sun, Mar 11, 2018 at 0

Re: svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-12 Thread Ian Lepore
On Sun, 2018-03-11 at 23:25 +0200, Konstantin Belousov wrote: > On Sun, Mar 11, 2018 at 02:20:39PM -0600, Ian Lepore wrote: > > > > On Sun, 2018-03-11 at 21:58 +0200, Konstantin Belousov wrote: > > > > > > On Sun, Mar 11, 2018 at 0

svn commit: r330797 - head/sys/x86/isa

2018-03-12 Thread Ian Lepore
Author: ian Date: Mon Mar 12 15:26:11 2018 New Revision: 330797 URL: https://svnweb.freebsd.org/changeset/base/330797 Log: Give the atrtc_time_lock a unique name. Reported by: hps@ Modified: head/sys/x86/isa/atrtc.c Modified: head/sys/x86/isa/atrtc.c

Re: svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-11 Thread Ian Lepore
On Sun, 2018-03-11 at 21:58 +0200, Konstantin Belousov wrote: > On Sun, Mar 11, 2018 at 07:22:58PM +0000, Ian Lepore wrote: > > > > Author: ian > > Date: Sun Mar 11 19:22:58 2018 > > New Revision: 330780 > > URL: https://svnweb.freebsd.org/changeset/base/330

svn commit: r330783 - in head/sys: amd64/include isa x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 20:13:15 2018 New Revision: 330783 URL: https://svnweb.freebsd.org/changeset/base/330783 Log: Revert r330780, it was improperly tested and results in taking a spin mutex before acquiring sleep mutexes. Reported by: kib@ Modified:

Re: svn commit: r330782 - head/sys/x86/isa

2018-03-11 Thread Ian Lepore
On Sun, 2018-03-11 at 19:56 +, Ian Lepore wrote: > Author: ian > Date: Sun Mar 11 19:56:07 2018 > New Revision: 330782 > URL: https://svnweb.freebsd.org/changeset/base/330782 > > Log: >   Remove MTX_NOPROFILE from atrtc_lock, it was inappropriately copy/pasted >   from

svn commit: r330782 - head/sys/x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 19:56:07 2018 New Revision: 330782 URL: https://svnweb.freebsd.org/changeset/base/330782 Log: Remove MTX_NOPROFILE from atrtc_lock, it was inappropriately copy/pasted from the i8254 driver when I created separate mutexes for each. The i8254 driver could be the

svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 19:22:58 2018 New Revision: 330780 URL: https://svnweb.freebsd.org/changeset/base/330780 Log: Eliminate atrtc_time_lock, and use atrtc_lock for efirtc locking. Modified: head/sys/amd64/include/efi.h head/sys/isa/rtc.h head/sys/x86/isa/atrtc.c Modified:

svn commit: r330778 - head/sys/x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 18:54:45 2018 New Revision: 330778 URL: https://svnweb.freebsd.org/changeset/base/330778 Log: Everywhere that multiple registers are accessed in sequence, lock/unlock just once around the whole group of accesses. Modified: head/sys/x86/isa/atrtc.c Modified:

svn commit: r330773 - in head/sys: isa x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 18:20:49 2018 New Revision: 330773 URL: https://svnweb.freebsd.org/changeset/base/330773 Log: Use separate mutexes for atrtc and i8254 locking. Change all the strange un-function-like RTC_LOCK/UNLOCK macro usage into normal function calls. Since there is no

svn commit: r330767 - head/sys/x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 16:57:14 2018 New Revision: 330767 URL: https://svnweb.freebsd.org/changeset/base/330767 Log: Convert atrtc the new style rtc debugging output. Remove the db show command handler which provided much the same information. Removing the possibility of accessing

svn commit: r330745 - head/sys/kern

2018-03-10 Thread Ian Lepore
Author: ian Date: Sat Mar 10 22:07:57 2018 New Revision: 330745 URL: https://svnweb.freebsd.org/changeset/base/330745 Log: Make root mount timeout logic work for filesystems other than ufs. The vfs.mountroot.timeout tunable and .timeout directive in a mount.conf(5) file allow specifying

Re: svn commit: r328013 - head/sbin/fsck_ffs

2018-03-10 Thread Ian Lepore
On Sat, 2018-03-10 at 09:02 -0800, Rodney W. Grimes wrote: > > > > On Sat, 2018-03-10 at 08:44 -0800, Rodney W. Grimes wrote: > > > [...] > > > > add "-T ffs:-R" to the initial fsck invocation in rc.d/fsck. > > > Please do not do that, if fsck -p fails YOU may optionally > > > wish to continue,

Re: svn commit: r328013 - head/sbin/fsck_ffs

2018-03-10 Thread Ian Lepore
On Sat, 2018-03-10 at 08:44 -0800, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] > > > > On Fri, Mar 09, 2018 at 09:36:25PM -0500, David Bright wrote: > > > > > > On Mar 9, 2018, at 17:31, Ian Lepore <i...@freebsd.org> wrote: >

Re: svn commit: r328013 - head/sbin/fsck_ffs

2018-03-10 Thread Ian Lepore
On Fri, 2018-03-09 at 21:36 -0500, David Bright wrote: > On Mar 9, 2018, at 17:31, Ian Lepore <i...@freebsd.org> wrote: > > > > > > On Fri, 2018-03-09 at 17:09 -0500, Mark Johnston wrote: > > > > > > > > > etc/rc.d/fsck doesn't know how t

Re: svn commit: r328013 - head/sbin/fsck_ffs

2018-03-09 Thread Ian Lepore
On Fri, 2018-03-09 at 17:09 -0500, Mark Johnston wrote: > On Mon, Jan 15, 2018 at 07:25:11PM +, David Bright wrote: > > > > Author: dab > > Date: Mon Jan 15 19:25:11 2018 > > New Revision: 328013 > > URL: https://svnweb.freebsd.org/changeset/base/328013 > > > > Log: > >   Exit fsck_ffs with

Re: svn commit: r330451 - in stable/11/sys: dev/iwm dev/otus dev/usb/wlan net80211

2018-03-09 Thread Ian Lepore
On Fri, 2018-03-09 at 11:02 +, Alexey Dokuchaev wrote: > On Wed, Mar 07, 2018 at 02:53:49PM -0800, Eitan Adler wrote: > > > > On 7 March 2018 at 09:37, John Baldwin wrote: > > > > > > ... > > > I suspect many of these changes for iwm, etc. are all intertwined > > > so I'm

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

2018-03-09 Thread Ian Lepore
On Fri, 2018-03-09 at 20:50 +1100, Bruce Evans wrote: > style(9) does require this.  This is hard to see since the style > guide > has been mangled by converting it into a man page, with markup in non > C-code and lots of blank lines to separate the markup.  See > /usr/src/admin/style/style in

svn commit: r330529 - in head/sys: dev/iicbus modules/i2c modules/i2c/ds1672

2018-03-05 Thread Ian Lepore
Author: ian Date: Tue Mar 6 02:30:34 2018 New Revision: 330529 URL: https://svnweb.freebsd.org/changeset/base/330529 Log: Build the ds1672 driver as a module. Add a detach() to unregister the rtc. Added: head/sys/modules/i2c/ds1672/ head/sys/modules/i2c/ds1672/Makefile (contents, props

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

2018-03-05 Thread Ian Lepore
ry about that.  I didn't realize it wasn't being built as a module, so I never actually compile-tested it.  Fixed in r330528. -- Ian > On Sun, Mar 4, 2018 at 2:32 PM, Ian Lepore <i...@freebsd.org> wrote: > > > > > Author: ian > > Date: Sun Mar  4 19:32:52 2018 > > N

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

2018-03-05 Thread Ian Lepore
Author: ian Date: Tue Mar 6 02:21:41 2018 New Revision: 330528 URL: https://svnweb.freebsd.org/changeset/base/330528 Log: Fix a paste-o that broke the build. There is no softc pointer here, just use the dev arg. Reported by: Jonathan Looney Pointy hat: ian@

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 5 02:32:23 2018 New Revision: 330440 URL: https://svnweb.freebsd.org/changeset/base/330440 Log: Switch imx_gpio to attach at BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE. Pretty much any other device might need to manipulate a gpio pin during its probe or attach

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 5 02:13:28 2018 New Revision: 330438 URL: https://svnweb.freebsd.org/changeset/base/330438 Log: Defer attaching the spibus until timers and interrupts are working. The driver requires interrupts to do transfers, and the drivers for the SPI devices on the bus

Re: svn commit: r330436 - head/bin/chflags

2018-03-04 Thread Ian Lepore
On Mon, 2018-03-05 at 01:56 +, Bryan Drewery wrote: > Author: bdrewery > Date: Mon Mar  5 01:56:07 2018 > New Revision: 330436 > URL: https://svnweb.freebsd.org/changeset/base/330436 > > Log: >   chflags: Add -x option to not traverse mount points. Yay!  One day later than I needed it, but

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 5 02:08:33 2018 New Revision: 330437 URL: https://svnweb.freebsd.org/changeset/base/330437 Log: Do not stop the loop that configures gpio chipselect pins on the first error, just ignore pins that don't configure and keep setting up the ones that do. (But when

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 5 00:43:53 2018 New Revision: 330433 URL: https://svnweb.freebsd.org/changeset/base/330433 Log: Switch to the new bcd_clocktime conversion routines, and add calls to the new clock_dbgprint_xxx() functions. Modified: head/sys/dev/iicbus/s35390a.c Modified:

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Mon Mar 5 00:15:56 2018 New Revision: 330431 URL: https://svnweb.freebsd.org/changeset/base/330431 Log: Switch to the new bcd_clocktime conversion routines, and add calls to the new clock_dbgprint_xxx() functions. Modified: head/sys/dev/iicbus/ds3231.c Modified:

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 23:39:40 2018 New Revision: 330430 URL: https://svnweb.freebsd.org/changeset/base/330430 Log: Switch to the new bcd_clocktime conversion routines, and add calls to the new clock_dbgprint_xxx() functions. Modified: head/sys/dev/iicbus/isl12xx.c Modified:

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 21:58:32 2018 New Revision: 330416 URL: https://svnweb.freebsd.org/changeset/base/330416 Log: The year is stored in a single byte in sram, in binary format, as a count of years since the century, so strip the century out when converting to or from bcd_clocktime

svn commit: r330412 - in head/sys/modules/i2c: . rtc8583

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 21:06:21 2018 New Revision: 330412 URL: https://svnweb.freebsd.org/changeset/base/330412 Log: Build iicbus/rtc8583 as a module. Added: head/sys/modules/i2c/rtc8583/ head/sys/modules/i2c/rtc8583/Makefile (contents, props changed) Modified:

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 21:04:30 2018 New Revision: 330411 URL: https://svnweb.freebsd.org/changeset/base/330411 Log: Convert to the new(ish) bcd_clocktime conversion functions, add calls to the new debug output functions, and when setting the clock, propagate the timespec nsecs to the

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 19:32:52 2018 New Revision: 330407 URL: https://svnweb.freebsd.org/changeset/base/330407 Log: Add calls to the new clock_dbgprint_xxx() functions. Also, stop applying a local .5 second adjustment to the time, since that is now done by the code in subr_rtc.c.

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 19:26:47 2018 New Revision: 330406 URL: https://svnweb.freebsd.org/changeset/base/330406 Log: Add calls to the new clock_dbgprint_xxx() functions. Modified: head/sys/dev/iicbus/nxprtc.c Modified: head/sys/dev/iicbus/nxprtc.c

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 19:25:54 2018 New Revision: 330405 URL: https://svnweb.freebsd.org/changeset/base/330405 Log: Oops, fix a paste-o. Modified: head/sys/dev/iicbus/ds13rtc.c Modified: head/sys/dev/iicbus/ds13rtc.c

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 19:23:48 2018 New Revision: 330404 URL: https://svnweb.freebsd.org/changeset/base/330404 Log: Add calls to the new clock_dbgprint_xxx() functions. Modified: head/sys/dev/iicbus/ds13rtc.c Modified: head/sys/dev/iicbus/ds13rtc.c

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 19:20:11 2018 New Revision: 330403 URL: https://svnweb.freebsd.org/changeset/base/330403 Log: Add calls to the new clock_dbgprint_xxx() functions. Modified: head/sys/dev/iicbus/ds1307.c Modified: head/sys/dev/iicbus/ds1307.c

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

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 18:58:24 2018 New Revision: 330397 URL: https://svnweb.freebsd.org/changeset/base/330397 Log: Fix a paste-o: use the IICBUS version constants, not IICBB bitbang driver's. Modified: head/sys/dev/iicbus/nxprtc.c Modified: head/sys/dev/iicbus/nxprtc.c

svn commit: r330385 - head/sys/dev/usb/serial

2018-03-04 Thread Ian Lepore
Author: ian Date: Sun Mar 4 17:30:16 2018 New Revision: 330385 URL: https://svnweb.freebsd.org/changeset/base/330385 Log: Flag the first interface on a KTLINK FTDI-based jtag+uart device as being the jtag port, so that a tty is not created for it. This is based on information in the PR

svn commit: r330361 - head/sys/sys

2018-03-03 Thread Ian Lepore
Author: ian Date: Sat Mar 3 22:28:20 2018 New Revision: 330361 URL: https://svnweb.freebsd.org/changeset/base/330361 Log: Correct a misplaced closing paren. Does not affect the result, but does clarify (at least for me) that the multiplication happens before the shift. Modified:

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

2018-03-03 Thread Ian Lepore
Author: ian Date: Sat Mar 3 22:10:16 2018 New Revision: 330360 URL: https://svnweb.freebsd.org/changeset/base/330360 Log: Minor (mostly) wording changes. Modified: head/share/man/man9/fdt_pinctrl.9 Modified: head/share/man/man9/fdt_pinctrl.9

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

2018-03-03 Thread Ian Lepore
Author: ian Date: Sat Mar 3 21:41:16 2018 New Revision: 330358 URL: https://svnweb.freebsd.org/changeset/base/330358 Log: Minor changes to wording. Modified: head/share/man/man4/fdt_pinctrl.4 Modified: head/share/man/man4/fdt_pinctrl.4

Re: svn commit: r330352 - in head/sys/compat/linuxkpi/common: include/linux src

2018-03-03 Thread Ian Lepore
On Sat, 2018-03-03 at 22:49 +0200, Konstantin Belousov wrote: > On Sat, Mar 03, 2018 at 12:14:42PM -0700, Ian Lepore wrote: > > > > To really avoid roundoff errors, use mstosbt(ms) instead of SBT_1MS*ms. > > > > The rounding errors when multiplying or dividing by SBT

Re: svn commit: r330352 - in head/sys/compat/linuxkpi/common: include/linux src

2018-03-03 Thread Ian Lepore
On Sat, 2018-03-03 at 22:49 +0200, Konstantin Belousov wrote: > On Sat, Mar 03, 2018 at 12:14:42PM -0700, Ian Lepore wrote: > > > > To really avoid roundoff errors, use mstosbt(ms) instead of SBT_1MS*ms. > > > > The rounding errors when multiplying or dividing by SBT

Re: svn commit: r330352 - in head/sys/compat/linuxkpi/common: include/linux src

2018-03-03 Thread Ian Lepore
On Sat, 2018-03-03 at 18:54 +, Hans Petter Selasky wrote: > Author: hselasky > Date: Sat Mar  3 18:54:16 2018 > New Revision: 330352 > URL: https://svnweb.freebsd.org/changeset/base/330352 > > Log: >   Implement msleep_interruptible() in the LinuxKPI. While at it use > pause_sbt() >  

svn commit: r330257 - in head/sys: dev/efidev sys

2018-03-01 Thread Ian Lepore
Author: ian Date: Thu Mar 1 22:57:14 2018 New Revision: 330257 URL: https://svnweb.freebsd.org/changeset/base/330257 Log: Add a function to retrieve the EFI realtime clock capabilities. Modified: head/sys/dev/efidev/efirt.c head/sys/sys/efi.h Modified: head/sys/dev/efidev/efirt.c

svn commit: r330131 - head/stand/common

2018-02-28 Thread Ian Lepore
Author: ian Date: Wed Feb 28 21:51:51 2018 New Revision: 330131 URL: https://svnweb.freebsd.org/changeset/base/330131 Log: Fix module loading on arm after the metadata.c unification in r329190. Arm modules need an additional address fixup not needed by other platforms. Modified:

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

2018-02-26 Thread Ian Lepore
Author: ian Date: Tue Feb 27 02:11:23 2018 New Revision: 330050 URL: https://svnweb.freebsd.org/changeset/base/330050 Log: Initialize all members of vm_page::md_page for armv4/5 systems. This fixes a hang in SI_SUB_KMEM sysinit, and is apparently required after r323290. Inspired by the

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

2018-02-26 Thread Ian Lepore
Author: ian Date: Tue Feb 27 00:30:10 2018 New Revision: 330045 URL: https://svnweb.freebsd.org/changeset/base/330045 Log: Remove obsolete options from these kernel configs. The functionality these enabled is now on by default since r313330. Modified: head/sys/arm/conf/DOCKSTAR

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

2018-02-26 Thread Ian Lepore
Author: ian Date: Mon Feb 26 23:58:56 2018 New Revision: 330044 URL: https://svnweb.freebsd.org/changeset/base/330044 Log: Add a hw.model sysctl oid for armv6/7 which reports the CPU model, similar to what other arches (all except riscv and armv4/5) do. Submitted by: Hyun Hwang

<    4   5   6   7   8   9   10   11   12   13   >