imx_spi.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/freescale/imx/imx_spi.cMon Feb 26 02:28:32 2018
(r32)
@@ -0,0 +1,604 @@
+/*-
+ * SPDX-License-Identifier:
Author: ian
Date: Sun Feb 25 18:42:59 2018
New Revision: 329989
URL: https://svnweb.freebsd.org/changeset/base/329989
Log:
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 loader.conf).
Submitted by:
Author: ian
Date: Sun Feb 25 18:26:50 2018
New Revision: 329988
URL: https://svnweb.freebsd.org/changeset/base/329988
Log:
Instead of building ofw_iicbus as a separate module, just compile it in to
the iicbus module for FDT-based systems.
The primary motivation for this is that host
Author: ian
Date: Sat Feb 24 16:28:45 2018
New Revision: 329911
URL: https://svnweb.freebsd.org/changeset/base/329911
Log:
Add a functional detach() routine, to make things kldunload-friendly.
Modified:
head/sys/dev/flash/mx25l.c
Modified: head/sys/dev/flash/mx25l.c
On Fri, 2018-02-23 at 16:06 +, Warner Losh wrote:
> -static inline int
> +static inline bool
> cam_iosched_has_flagged_work(struct cam_iosched_softc *isc)
> {
> return !!(isc->flags & CAM_IOSCHED_FLAG_WORK_FLAGS);
> }
There should be no need for the ugly !! here, conversion to bool
Author: ian
Date: Thu Feb 22 22:25:26 2018
New Revision: 329841
URL: https://svnweb.freebsd.org/changeset/base/329841
Log:
Add a missing line continuation.
How many commits does it take to get a simple module makefile working?
Apparently at least three.
Pointy hat to: ian
On Thu, 2018-02-22 at 17:47 +, Alan Somers wrote:
> Author: asomers
> Date: Thu Feb 22 17:47:16 2018
> New Revision: 329830
> URL: https://svnweb.freebsd.org/changeset/base/329830
>
> Log:
> nvmecontrol: fix build on amd64/clang
>
> Broken by: 329824
> Sponsored by: Spectra
Author: ian
Date: Wed Feb 21 16:36:44 2018
New Revision: 329730
URL: https://svnweb.freebsd.org/changeset/base/329730
Log:
Add required header files.
Reported by: andreast@
Modified:
head/sys/modules/imx/imx_i2c/Makefile
Modified: head/sys/modules/imx/imx_i2c/Makefile
Author: ian
Date: Wed Feb 21 16:34:04 2018
New Revision: 329729
URL: https://svnweb.freebsd.org/changeset/base/329729
Log:
Remove some files that snuck in via cut and paste.
Having these compiled into the module causes the kobj method descriptors
to be resolved incorrectly (by the
Author: ian
Date: Tue Feb 20 14:59:29 2018
New Revision: 329642
URL: https://svnweb.freebsd.org/changeset/base/329642
Log:
Adjust whitespace of things added in the past couple years to match the
original style of the file. No functional changes.
Modified:
Author: ian
Date: Tue Feb 20 03:51:09 2018
New Revision: 329620
URL: https://svnweb.freebsd.org/changeset/base/329620
Log:
Add missing MODULE_DEPENDS().
Modified:
head/sys/dev/flash/at45d.c
head/sys/dev/flash/mx25l.c
Modified: head/sys/dev/flash/at45d.c
On Mon, 2018-02-19 at 22:54 +, Kyle Evans wrote:
> Author: kevans
> Date: Mon Feb 19 22:54:10 2018
> New Revision: 329610
> URL: https://svnweb.freebsd.org/changeset/base/329610
>
> Log:
> style.lua(9): Note that wrapping at 80-columns is not rigid
>
>
> [...]
> +Do note that it is ok to
On Mon, 2018-02-19 at 22:29 +, Kyle Evans wrote:
>
> + -- Swap the first two menu entries
> + menu_entries[1], menu_entries[2] = menu_entries[2],
> + menu_entries[1];
>
IMO, this is the sort of unreadable insanity that
Author: ian
Date: Mon Feb 19 01:49:19 2018
New Revision: 329546
URL: https://svnweb.freebsd.org/changeset/base/329546
Log:
Build at45d and mx25l SPI flash drivers as modules.
Added:
head/sys/modules/spi/at45d/
head/sys/modules/spi/at45d/Makefile (contents, props changed)
Author: ian
Date: Mon Feb 19 01:39:02 2018
New Revision: 329545
URL: https://svnweb.freebsd.org/changeset/base/329545
Log:
Add ofw_bus_if.h to SRCS.
Modified:
head/sys/modules/spi/spibus/Makefile
Modified: head/sys/modules/spi/spibus/Makefile
Author: ian
Date: Mon Feb 19 01:32:27 2018
New Revision: 329544
URL: https://svnweb.freebsd.org/changeset/base/329544
Log:
Add modules/spi as a gathering point for SPI-related modules, analagous to
modules/i2c for i2c/iicbus modules. Build spibus as a module.
Added:
head/sys/modules/spi/
Author: ian
Date: Mon Feb 19 00:47:03 2018
New Revision: 329541
URL: https://svnweb.freebsd.org/changeset/base/329541
Log:
Build ofw_iicbus as a module if OPT_FDT is defined.
Added:
head/sys/modules/i2c/ofw_iicbus/
head/sys/modules/i2c/ofw_iicbus/Makefile (contents, props changed)
Author: ian
Date: Sun Feb 18 23:35:23 2018
New Revision: 329539
URL: https://svnweb.freebsd.org/changeset/base/329539
Log:
Provide public declarations for ofw_spibus_driver and ofw_spibus_devclass
so other drivers can refer to them in DRIVER_MODULE() decls.
Modified:
Author: ian
Date: Sun Feb 18 23:08:43 2018
New Revision: 329537
URL: https://svnweb.freebsd.org/changeset/base/329537
Log:
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
renames
Author: ian
Date: Sun Feb 18 23:01:33 2018
New Revision: 329536
URL: https://svnweb.freebsd.org/changeset/base/329536
Log:
Add the MODULE_DEPEND()s needed so that the kernel linker can resolve all
the symbols at load time when iicbus is not compiled into the kernel.
Modified:
Author: ian
Date: Sun Feb 18 22:57:04 2018
New Revision: 329535
URL: https://svnweb.freebsd.org/changeset/base/329535
Log:
Add iic_recover_bus.c, now part of iicbus. This should have been added
as part of r320463.
Modified:
head/sys/modules/i2c/iicbus/Makefile
Modified:
Author: ian
Date: Sun Feb 18 22:54:19 2018
New Revision: 329534
URL: https://svnweb.freebsd.org/changeset/base/329534
Log:
Arrange SRCS= as 1 file per line, alphabetical, so it's easier to maintain.
Whitespace only, no functional changes.
Modified:
head/sys/modules/i2c/iicbus/Makefile
Author: ian
Date: Sun Feb 18 20:08:35 2018
New Revision: 329529
URL: https://svnweb.freebsd.org/changeset/base/329529
Log:
Give the imx_i2c driver its own name, set up its relationship to ofw_iicbus.
Previously it called itself 'iichb' to link up with the EARLY_DRIVER_MODULE
declaration in
Author: ian
Date: Sun Feb 18 19:33:28 2018
New Revision: 329526
URL: https://svnweb.freebsd.org/changeset/base/329526
Log:
Allow i2c hardware drivers to declare their own relationships to ofw_iicbus
rather than relying on a set of canned EARLY_DRIVER_MODULE() statements in
the ofw_iicbus
Author: ian
Date: Sun Feb 18 02:48:54 2018
New Revision: 329507
URL: https://svnweb.freebsd.org/changeset/base/329507
Log:
Build modules specific to imx5/imx6 only when building those kernels.
This adds sys/modules/imx with a SUBDIR makefile to make the whole
collection of modules that
Author: ian
Date: Sun Feb 18 02:01:41 2018
New Revision: 329506
URL: https://svnweb.freebsd.org/changeset/base/329506
Log:
Add a detach method so that this can be a kldunload-friendly module.
Modified:
head/sys/arm/freescale/imx/imx_i2c.c
Modified: head/sys/arm/freescale/imx/imx_i2c.c
Author: ian
Date: Sun Feb 18 00:02:09 2018
New Revision: 329483
URL: https://svnweb.freebsd.org/changeset/base/329483
Log:
Fix fallout from the import of fresh dts source files from linux 4.15. It
appears that node names no longer include leading zeroes in the @address
qualifiers, so we
Author: ian
Date: Sat Feb 17 23:39:10 2018
New Revision: 329480
URL: https://svnweb.freebsd.org/changeset/base/329480
Log:
Don't call sdhci_cleanup_slot() if sdhci_init_slot() never got called.
Also, do callout_init() very early in attach, so that callout_drain()
can be called in detach
Author: ian
Date: Sat Feb 17 23:23:27 2018
New Revision: 329479
URL: https://svnweb.freebsd.org/changeset/base/329479
Log:
Do not try to deallocate memory that wasn't allocated (you'd think that
would be safe, but the function also tries to destroy mutexes that never
got created).
I
On Tue, 2018-02-13 at 14:43 -0500, Ed Maste wrote:
> On 13 February 2018 at 14:23, Ian Lepore <i...@freebsd.org> wrote:
> >
> > On Tue, 2018-02-13 at 19:17 +, Ed Maste wrote:
> > >
> > > Author: emaste
> > > Date: Tue Feb 13 19:17:48
On Tue, 2018-02-13 at 19:17 +, Ed Maste wrote:
> Author: emaste
> Date: Tue Feb 13 19:17:48 2018
> New Revision: 329237
> URL: https://svnweb.freebsd.org/changeset/base/329237
>
> Log:
> libkern: use nul for terminating char rather than 0
>
> Akin to the change made in r188080 for
Author: ian
Date: Tue Feb 13 17:38:08 2018
New Revision: 329224
URL: https://svnweb.freebsd.org/changeset/base/329224
Log:
Fix bad indentation. Whitespace only, no functional changes.
Reported by: bde@
Modified:
head/sys/kern/subr_rtc.c
Modified: head/sys/kern/subr_rtc.c
On Mon, 2018-02-12 at 17:41 +, Ian Lepore wrote:
> Author: ian
> Date: Mon Feb 12 17:41:11 2018
> New Revision: 329173
> URL: https://svnweb.freebsd.org/changeset/base/329173
>
> Log:
> Add a new sysctl, debug.clock_do_io, to allow manully triggering a one-shot
>
Author: ian
Date: Mon Feb 12 17:41:11 2018
New Revision: 329173
URL: https://svnweb.freebsd.org/changeset/base/329173
Log:
Add a new sysctl, debug.clock_do_io, to allow manully triggering a one-shot
read or write of all registered realtime clocks. In the read case, the
values read are
Author: ian
Date: Mon Feb 12 17:33:14 2018
New Revision: 329172
URL: https://svnweb.freebsd.org/changeset/base/329172
Log:
Add a set of convenience routines for RTC drivers to use for debug output,
and a debug.clock_show_io sysctl to control debugging output.
Modified:
Author: ian
Date: Mon Feb 12 16:25:56 2018
New Revision: 329170
URL: https://svnweb.freebsd.org/changeset/base/329170
Log:
Replace the existing print_ct() private debugging function with a set of
three public functions to format and print the three major data structures
used by realtime
On Sun, 2018-02-11 at 20:15 +, Scott Long wrote:
> Author: scottl
> Date: Sun Feb 11 20:15:47 2018
> New Revision: 329137
> URL: https://svnweb.freebsd.org/changeset/base/329137
>
> Log:
> Print out the shared memory queues during initialization
>
> Sponsored by: Netflix
>
>
On Sun, 2018-02-11 at 10:20 -0800, Conrad Meyer wrote:
> On Sun, Feb 11, 2018 at 8:35 AM, Ian Lepore <i...@freebsd.org> wrote:
> >
> > Author: ian
> > Date: Sun Feb 11 16:35:56 2018
> > New Revision: 329126
> > URL: https://svnweb.freebsd.org/changeset/bas
Author: ian
Date: Sun Feb 11 16:35:56 2018
New Revision: 329126
URL: https://svnweb.freebsd.org/changeset/base/329126
Log:
Regenerate devd/usb.conf after the recent addition of several new device IDs.
Modified:
head/etc/devd/usb.conf
Modified: head/etc/devd/usb.conf
Author: ian
Date: Sun Feb 11 16:35:23 2018
New Revision: 329125
URL: https://svnweb.freebsd.org/changeset/base/329125
Log:
Add a device ID to uftdi for TIAO USB Multi Protocol Adapter (TUMPA).
PR: 225810
Modified:
head/sys/dev/usb/serial/uftdi.c
head/sys/dev/usb/usbdevs
Author: ian
Date: Tue Feb 6 22:17:01 2018
New Revision: 328956
URL: https://svnweb.freebsd.org/changeset/base/328956
Log:
Use const pointers for input data not modified by clock utility functions.
Modified:
head/sys/kern/subr_clock.c
head/sys/kern/subr_fattime.c
head/sys/sys/clock.h
On Tue, 2018-02-06 at 11:25 -0800, Rodney W. Grimes wrote:
> >
> > Author: arichardson
> > Date: Tue Feb 6 15:41:35 2018
> > New Revision: 328934
> > URL: https://svnweb.freebsd.org/changeset/base/328934
> >
> > Log:
> > Don't hardcode /usr/bin as the path for mktemp in build tools
> >
> >
Author: ian
Date: Mon Jan 29 03:24:02 2018
New Revision: 328528
URL: https://svnweb.freebsd.org/changeset/base/328528
Log:
Add a NO_GETMAXLUN quirk for the JMicron JMS567 USB to SATA bridge, to
prevent lengthy timeout pauses while probing/attaching drives.
Modified:
On Sat, 2018-01-27 at 13:32 -0800, Rodney W. Grimes wrote:
> >
> > On Sat, 27 Jan 2018 12:13:57 -0800
> > Adrian Chadd wrote:
> >
> > >
> > > Hi,
> > >
> > > Find the middle ground. Don't dissuade the developer too much.
> > This is what happened two years ago when I
On Sat, 2018-01-27 at 22:56 +, Conrad Meyer wrote:
> I don’t think dragonfly has anything to do with this? If you’re
> converting
> bool increments to setting true values in FreeBSD, use
> “true.” That’s all
> there is to it.
>
> Best,
> Conrad
style(9) emphasizes internal consistancy in
Author: ian
Date: Fri Jan 26 17:55:17 2018
New Revision: 328442
URL: https://svnweb.freebsd.org/changeset/base/328442
Log:
Add support to the imx5/6 watchdog for the external reset signal. Also, if
the "power down" watchdog used by the ROM boot code is still active when the
regular
On Thu, 2018-01-25 at 22:59 -0700, Warner Losh wrote:
> On Thu, Jan 25, 2018 at 10:02 PM, Matt Joras wrote:
>
> >
> > On Thu, Jan 25, 2018 at 8:52 PM, Warner Losh wrote:
> > >
> > >
> > >
> > > On Thu, Jan 25, 2018 at 9:40 PM, Eitan Adler
Author: ian
Date: Thu Jan 25 18:08:56 2018
New Revision: 328407
URL: https://svnweb.freebsd.org/changeset/base/328407
Log:
Fix return style in RD2. Remove bogus return value from a void function
in WR2 (I have no idea why that didn't result in a compile error).
Modified:
Author: ian
Date: Thu Jan 25 17:53:33 2018
New Revision: 328405
URL: https://svnweb.freebsd.org/changeset/base/328405
Log:
Minor cleanups... Move DRIVER_MODULE() and other boilerplate stuff to the
bottom of the file, where it is in most imx5/6 drivers. Switch from an RD2
macro using
On Wed, 2018-01-24 at 16:13 -0800, Gleb Smirnoff wrote:
> Hi Kristof,
>
> On Wed, Jan 24, 2018 at 04:29:17AM +, Kristof Provost wrote:
> K> Author: kp
> K> Date: Wed Jan 24 04:29:16 2018
> K> New Revision: 328313
> K> URL: https://svnweb.freebsd.org/changeset/base/328313
> K>
> K> Log:
>
Author: ian
Date: Wed Jan 24 18:10:11 2018
New Revision: 328349
URL: https://svnweb.freebsd.org/changeset/base/328349
Log:
Make the trivial imx_soc_family() function an inline in imx_machdep.h.
The imx_machdep.c file is on the fast path to non-existance and this would
be the only thing
On Wed, 2018-01-24 at 09:34 -0800, Conrad Meyer wrote:
> On Wed, Jan 24, 2018 at 7:44 AM, Warner Losh wrote:
> >
> > I agree completely. It doesn't do what you think it is doing, for all the
> > reasons that Bruce outlines. We thought it was a bad idea when it came up 2
> >
Author: ian
Date: Wed Jan 24 17:52:06 2018
New Revision: 328345
URL: https://svnweb.freebsd.org/changeset/base/328345
Log:
Reformat indentation to match other imx5/6 register definition headers, and
tweak some comments. No functional changes.
Modified:
Author: ian
Date: Wed Jan 24 03:09:56 2018
New Revision: 328312
URL: https://svnweb.freebsd.org/changeset/base/328312
Log:
Follow changes in r328307 by using new IIC_RECURSIVE flag.
The driver now ensures only one thread at a time is running in the API
functions (clock_gettime() and
Author: ian
Date: Wed Jan 24 03:09:41 2018
New Revision: 328311
URL: https://svnweb.freebsd.org/changeset/base/328311
Log:
Follow changes in r328307 by using new IIC_RECURSIVE flag.
The driver now ensures only one thread at a time is running in the API
functions (clock_gettime() and
Author: ian
Date: Tue Jan 23 23:30:19 2018
New Revision: 328307
URL: https://svnweb.freebsd.org/changeset/base/328307
Log:
Fix a bug introduced with recursive bus ownership support in r321584.
The recursive ownership support added in r321584 was unconditionally in
effect all the time --
Author: ian
Date: Tue Jan 23 21:36:26 2018
New Revision: 328303
URL: https://svnweb.freebsd.org/changeset/base/328303
Log:
Switch to using the bcd_clocktime conversion functions that validate the BCD
data without panicking, and have common code for handling AM/PM mode.
Modified:
Author: ian
Date: Tue Jan 23 21:31:43 2018
New Revision: 328302
URL: https://svnweb.freebsd.org/changeset/base/328302
Log:
Switch to using the bcd_clocktime conversion functions that validate the BCD
data without panicking, and have common code for handling AM/PM mode.
Modified:
Author: ian
Date: Tue Jan 23 21:18:15 2018
New Revision: 328301
URL: https://svnweb.freebsd.org/changeset/base/328301
Log:
Switch to using the bcd_clocktime conversion functinos that validate the BCD
data without panicking, and have common code for handling AM/PM mode.
Modified:
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
On Fri, 2018-01-19 at 00:21 +0200, Andriy Gapon wrote:
> On 18/01/2018 23:10, Matt Joras wrote:
> >
> > "/* Insert an empty line if the function has no local variables.
> > */"
> And if there is a single silly rule in style(9) then it is this.
> Waste a line for no possible benefit at all.
>
Author: ian
Date: Tue Jan 16 23:18:52 2018
New Revision: 328069
URL: https://svnweb.freebsd.org/changeset/base/328069
Log:
Remove redundant critical_enter/exit() calls. The block of code delimited
by these calls is now protected by a spin mutex (obscured within the
RTC_LOCK/RTC_UNLOCK
Author: ian
Date: Tue Jan 16 23:14:12 2018
New Revision: 328068
URL: https://svnweb.freebsd.org/changeset/base/328068
Log:
Move some code around and rename a couple variables; no functional changes.
The static atrtc_set() function was called only from clock_settime(), so
just move its
Author: ian
Date: Tue Jan 16 03:02:41 2018
New Revision: 328039
URL: https://svnweb.freebsd.org/changeset/base/328039
Log:
Add static inline rtcin_locked() and rtcout_locked() functions for doing a
related series of operations without doing a lock/unlock for each byte.
Use them when reading
Author: ian
Date: Mon Jan 15 16:40:43 2018
New Revision: 328005
URL: https://svnweb.freebsd.org/changeset/base/328005
Log:
Convert the x86 RTC driver to use new validated BCD<->timespec conversions.
New common routines were added to kern/subr_clock.c for converting between
calendrical
Author: ian
Date: Sun Jan 14 17:01:37 2018
New Revision: 327971
URL: https://svnweb.freebsd.org/changeset/base/327971
Log:
Add RTC clock conversions for BCD values, with non-panic validation.
RTC clock hardware frequently uses BCD numbers. Currently the low-level
bcd2bin() and bin2bcd()
On Fri, 2018-01-12 at 09:29 -0800, John Baldwin wrote:
> On Thursday, January 11, 2018 07:41:00 PM Ian Lepore wrote:
> >
> > Author: ian
> > Date: Thu Jan 11 19:41:00 2018
> > New Revision: 327843
> > URL: https://svnweb.freebsd.org/changeset/base/327843
> >
Author: ian
Date: Sat Jan 13 03:12:21 2018
New Revision: 327909
URL: https://svnweb.freebsd.org/changeset/base/327909
Log:
Fix fallout from applying a patch twice.
Reported by: jhb@
Pointy hat: ian@
Modified:
stable/11/tools/build/options/WITHOUT_LINT
On Thu, 2018-01-11 at 15:05 -0500, Shawn Webb wrote:
> On Thu, Jan 11, 2018 at 07:41:00PM +0000, Ian Lepore wrote:
> >
> > Author: ian
> > Date: Thu Jan 11 19:41:00 2018
> > New Revision: 327843
> > URL: https://svnweb.freebsd.org/changeset/base/327843
> >
Author: ian
Date: Thu Jan 11 19:41:00 2018
New Revision: 327843
URL: https://svnweb.freebsd.org/changeset/base/327843
Log:
Add description files for WITH/WITHOUT_LINT. These should have been part
of r327837.
PR: 223892
Differential Revision:
Author: ian
Date: Thu Jan 11 17:51:22 2018
New Revision: 327837
URL: https://svnweb.freebsd.org/changeset/base/327837
Log:
Do not build lint(1) by default on stable-11, add WITH_LINT to enable
building it.
lint(1) is required on the host build system to build lint(1) libraries, and
it
Author: ian
Date: Wed Jan 10 02:57:03 2018
New Revision: 327758
URL: https://svnweb.freebsd.org/changeset/base/327758
Log:
Convert a collection of unrelated bitwise flags to a collection of boolean
vars in the softc. It makes the code more compact and readable, and
actually uses less
Author: ian
Date: Wed Jan 10 02:31:59 2018
New Revision: 327757
URL: https://svnweb.freebsd.org/changeset/base/327757
Log:
Bugfix: don't lose the am/pm mode flag when setting the time. Unlike most
RTC chips that have a control register bit for am/pm mode, the DS13xx series
uses one of the
Author: ian
Date: Wed Jan 10 02:28:10 2018
New Revision: 327756
URL: https://svnweb.freebsd.org/changeset/base/327756
Log:
Bugfix: on RTC chips with a 32-bit binary counter, after reading the time,
return immediately rather than falling through to the logic that reads
BCD-encoded time.
On Mon, 2018-01-08 at 09:13 -0700, Warner Losh wrote:
> On Jan 8, 2018 8:37 AM, "Pedro Giffuni" wrote:
>
>
> On 01/08/18 10:13, Ed Schouten wrote:
>
> >
> > Hi Andrew,
> >
> > 2018-01-08 8:37 GMT+01:00 Andrew Turner :
> >
> > >
> > > Won’t this lead
Author: ian
Date: Sun Jan 7 18:07:22 2018
New Revision: 327679
URL: https://svnweb.freebsd.org/changeset/base/327679
Log:
Use EVENTHANDLER_DIRECT_INVOKE for [un]mount events, for better performance.
Modified:
head/sys/kern/vfs_mount.c
Modified: head/sys/kern/vfs_mount.c
Author: ian
Date: Sun Jan 7 18:06:30 2018
New Revision: 327678
URL: https://svnweb.freebsd.org/changeset/base/327678
Log:
Use EVENTHANDLER_DIRECT_INVOKE() for device events, for better performance.
Modified:
head/sys/kern/subr_bus.c
Modified: head/sys/kern/subr_bus.c
Author: ian
Date: Sun Jan 7 02:59:27 2018
New Revision: 327668
URL: https://svnweb.freebsd.org/changeset/base/327668
Log:
MFC r327220-r327221
r327220:
Update the FDT example for the lm75 sensor to match current devicetree
standards and what the existing driver expects.
Also
Author: ian
Date: Sun Jan 7 02:57:35 2018
New Revision: 327667
URL: https://svnweb.freebsd.org/changeset/base/327667
Log:
MFC r327222:
Add a new ARM kernel option, LOCORE_MAP_MB, to control the size of the
kernel VA mapping in the temporary page tables set up by locore-v6.S.
The
Author: ian
Date: Sun Jan 7 01:08:10 2018
New Revision: 327664
URL: https://svnweb.freebsd.org/changeset/base/327664
Log:
MFC r327226, r327356
r327226:
Add a section describing how to tune ARM kernel options to use an MD_ROOT
filesystem larger than about 50-55 MiB.
The
Author: ian
Date: Sun Jan 7 01:06:04 2018
New Revision: 327663
URL: https://svnweb.freebsd.org/changeset/base/327663
Log:
MFC r327439:
Allow use of .WAIT in the LOCAL_DIRS and LOCAL_LIB_DIRS lists.
A comment in Makefile.inc1 has long stated that LOCAL_DIRS are built last,
after the
Author: ian
Date: Sun Jan 7 00:04:13 2018
New Revision: 327658
URL: https://svnweb.freebsd.org/changeset/base/327658
Log:
MFC r327367:
Make kernel option KERNVIRTADDR optional, remove it from std.
files that can use the default value.
It used to be required that the low-order bits
Author: ian
Date: Sat Jan 6 23:24:52 2018
New Revision: 327656
URL: https://svnweb.freebsd.org/changeset/base/327656
Log:
MFC r327048-r327050
r327048:
Restore the ability to use EARLY_PRINTF support during most of initarm().
The real kernel page tables are set up much earlier in
Author: ian
Date: Sat Jan 6 23:20:35 2018
New Revision: 327655
URL: https://svnweb.freebsd.org/changeset/base/327655
Log:
MFC r327032:
Add a new kernel config option, MD_ROOT_READONLY, which forces on the
MD_READONLY flag for the md device automatically instantiated during
kernel init
Author: ian
Date: Sat Jan 6 23:12:32 2018
New Revision: 327654
URL: https://svnweb.freebsd.org/changeset/base/327654
Log:
MFC r326924-r326925
r326924:
Fix debugging output, fallout from something like s/read/readctl/g
while renaming variables in a previous change.
r326925:
Do
Author: ian
Date: Sat Jan 6 23:04:14 2018
New Revision: 327653
URL: https://svnweb.freebsd.org/changeset/base/327653
Log:
MFC r326750:
Do not give up if writing to the chip's control and status registers fails
during startup. When a brand new chip leaves the factory, it is in a
Author: ian
Date: Sat Jan 6 22:56:48 2018
New Revision: 327651
URL: https://svnweb.freebsd.org/changeset/base/327651
Log:
MFC r325108:
Improve the performance of the hpet timer in bhyve guests by making the
timer frequency a power of two. This changes the frequency from 10 to
16.7
Author: ian
Date: Sat Jan 6 21:19:52 2018
New Revision: 327638
URL: https://svnweb.freebsd.org/changeset/base/327638
Log:
MFC r325045, r325054-r325056, r325061, r325063, r325065
r325045:
Actually release resources in detach() rather than just returning EBUSY.
This will enable use of
Author: ian
Date: Sat Jan 6 20:52:30 2018
New Revision: 327637
URL: https://svnweb.freebsd.org/changeset/base/327637
Log:
MFC r325060:
Add a #define RESOURCE_SPEC_END. Similar to DEVMETHOD_END and
KOBJMETHOD_END, this is to serve as the end marker in an array of
resource_spec
Author: ian
Date: Sat Jan 6 19:24:49 2018
New Revision: 327633
URL: https://svnweb.freebsd.org/changeset/base/327633
Log:
Fix imx6 hdmi init after r323553.
This is a direct commit to 11-stable because major architectural changes in
12 prevent a direct MFC of the affected code.
Author: ian
Date: Sat Jan 6 17:20:58 2018
New Revision: 327626
URL: https://svnweb.freebsd.org/changeset/base/327626
Log:
MFC r324413, r324415
r324413:
Restore the ability to deregister an eventhandler from within the callback.
When the EVENTHANDLER(9) subsystem was created, it was
Author: ian
Date: Fri Jan 5 19:28:13 2018
New Revision: 327595
URL: https://svnweb.freebsd.org/changeset/base/327595
Log:
MFC r324185:
Enhance the interrupt capabilities of ti_pruss driver.
The existing ti_pruss driver for the PRUSS Hardware provided by the AM335x
ARM CPU has basic
ht (c) 2013 Luiz Otavio O Souza <l...@freebsd.org>
+ * Copyright (c) 2017 Ian Lepore <i...@freebsd.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -29,6 +30,57 @@
#include
__FBSDID("$FreeBSD$");
+/*
+ * Driver f
Author: ian
Date: Fri Jan 5 19:12:36 2018
New Revision: 327592
URL: https://svnweb.freebsd.org/changeset/base/327592
Log:
MFC r319987, r324107-r324108
r319987 (MFC'd just to make following changes apply cleanly):
Replace md(4) usage in diskless(8) script rc.initdiskless with tmpfs(5).
On Mon, 2018-01-01 at 22:33 +, Eitan Adler wrote:
> Author: eadler
> Date: Mon Jan 1 22:33:57 2018
> New Revision: 327476
> URL: https://svnweb.freebsd.org/changeset/base/327476
>
> Log:
> shutdown: Assume absolute time is in the future
>
[...]
> Modified: head/sbin/shutdown/shutdown.c
>
Author: ian
Date: Sun Dec 31 22:43:24 2017
New Revision: 327453
URL: https://svnweb.freebsd.org/changeset/base/327453
Log:
Add a validbcd() routine that uses the bcd2bin_data[] array and returns a
bool indicating whether the input value represents a valid BCD byte.
The existing bcd2bin()
Author: ian
Date: Sun Dec 31 20:30:51 2017
New Revision: 327446
URL: https://svnweb.freebsd.org/changeset/base/327446
Log:
Chase r327432... sparc64 clock.c now needs to include sys/tslog.h
Discussed with:cperciva
Modified:
head/sys/sparc64/sparc64/clock.c
Modified:
Author: ian
Date: Sun Dec 31 18:53:13 2017
New Revision: 327439
URL: https://svnweb.freebsd.org/changeset/base/327439
Log:
Allow use of .WAIT in the LOCAL_DIRS and LOCAL_LIB_DIRS lists.
A comment in Makefile.inc1 has long stated that LOCAL_DIRS are built last,
after the base system.
Author: ian
Date: Sat Dec 30 00:20:49 2017
New Revision: 327367
URL: https://svnweb.freebsd.org/changeset/base/327367
Log:
Make kernel option KERNVIRTADDR optional, remove it from std.
files that can use the default value.
It used to be required that the low-order bits of KERNVIRTADDR
Author: ian
Date: Fri Dec 29 20:00:19 2017
New Revision: 327356
URL: https://svnweb.freebsd.org/changeset/base/327356
Log:
Correct a mistake and reword a couple sentences to clarify that "the value"
refers to the scale value, not the kmem_arena size that results from scaling.
Suggested
901 - 1000 of 3079 matches
Mail list logo