Page MenuHomeFreeBSD

ian (Ian Lepore)
User

Projects

User Details

User Since
May 11 2014, 1:02 PM (333 w, 1 d)

Recent Activity

Tue, Sep 22

ian committed rS366001: MFC r365729:.
MFC r365729:
Tue, Sep 22, 3:01 PM
ian committed rS366000: MFC r365729:.
MFC r365729:
Tue, Sep 22, 2:59 PM

Mon, Sep 14

ian accepted D26431: Don't do the busy dance in icee_open/close.

Applied patch to freebsd 8 (which we use at $work but it has the icee.c source from -current) and freebsd 11 and it behaves as expected on our products.

Mon, Sep 14, 11:16 PM
ian committed rS365729: Add product ID strings for a couple Microchip usb hubs. Also, update the.
Add product ID strings for a couple Microchip usb hubs. Also, update the
Mon, Sep 14, 5:33 PM

Thu, Sep 3

ian accepted D26302: Don't do the busy dance in icee_open/close.
In D26302#584718, @imp wrote:
In D26302#584633, @ian wrote:

So, what prevents "kldunload icee" while someone has the cdev open?

Nothing. Just like we don't do it for almost all other devices. If that's really needed, we should do it via the device_quesce mechanism.

Thu, Sep 3, 2:54 PM

Wed, Sep 2

ian added a comment to D26302: Don't do the busy dance in icee_open/close.

So, what prevents "kldunload icee" while someone has the cdev open?

Wed, Sep 2, 7:59 PM
ian committed rS365274: In ltc430x(4), add the ability to configure control register 2 via FDT or.
In ltc430x(4), add the ability to configure control register 2 via FDT or
Wed, Sep 2, 7:37 PM

Tue, Sep 1

ian committed rS365058: Document the fact that you must set an i2c slave address as well as the.
Document the fact that you must set an i2c slave address as well as the
Tue, Sep 1, 7:06 PM

Jul 26 2020

ian committed rS363576: Describe the value in the 're' column of vmstat(8) in terms of freebsd's vm.
Describe the value in the 're' column of vmstat(8) in terms of freebsd's vm
Jul 26 2020, 6:33 PM
ian committed rS363569: Remove commented-out lines describing the old never-implemented -t option..
Remove commented-out lines describing the old never-implemented -t option.
Jul 26 2020, 5:51 PM

Jul 19 2020

ian committed rS363330: The ds3231 RTC chip bitmask values for 12- versus 24-hour mode were reversed,.
The ds3231 RTC chip bitmask values for 12- versus 24-hour mode were reversed,
Jul 19 2020, 6:53 PM

Jun 18 2020

ian accepted D25312: Relax the rule against declaring variables in nested scopes..
In D25312#558270, @kib wrote:

I do not like it.

[...]

The argument that we have around a hundred places where the rule is already broken in fact confirms that most of our code confirms to the style(9) in this regard, since hundred places for several MLoCs of our own code is quite good ratio.

Jun 18 2020, 9:18 AM

Apr 2 2020

ian committed rS359574: Add the Cadence GEM ethernet driver to NOTES so that it gets built with.
Add the Cadence GEM ethernet driver to NOTES so that it gets built with
Apr 2 2020, 7:06 PM
ian closed D24226: Cadence GEM driver style clean-up..
Apr 2 2020, 5:58 PM
ian committed rS359571: Cadence GEM ethernet driver style clean-up, no functional changes..
Cadence GEM ethernet driver style clean-up, no functional changes.
Apr 2 2020, 5:57 PM

Mar 29 2020

ian committed rS359423: Add a missing suffix that was causing a whole word to get loaded instead.
Add a missing suffix that was causing a whole word to get loaded instead
Mar 29 2020, 5:30 PM

Mar 6 2020

ian added inline comments to D22692: Add support for the RK805/RK808 RTC.
Mar 6 2020, 6:38 PM

Feb 29 2020

ian added inline comments to D23894: dwmmc: Rework the DMA engine.
Feb 29 2020, 5:22 PM

Feb 10 2020

ian committed rS357709: Implement atomic_testandclear_{32,int,long} for 32-bit arm. Also, replace.
Implement atomic_testandclear_{32,int,long} for 32-bit arm. Also, replace
Feb 10 2020, 12:05 AM

Feb 1 2020

ian accepted D23392: More Secure Permissions for /root.

I believe 0750 is an ideal mode for the /root dir; it adds some security, and it seems unlikely that existing scripts or other automation people have in use will fail due to the change.

Feb 1 2020, 5:32 PM

Jan 17 2020

ian committed rS356854: MFC r356574:.
MFC r356574:
Jan 17 2020, 10:25 PM
ian committed rS356853: MFC r356295:.
MFC r356295:
Jan 17 2020, 10:21 PM
ian committed rS356838: MFC r356086, r356278, r356294, r356519, r356521-r356522, r356525-r356526.
MFC r356086, r356278, r356294, r356519, r356521-r356522, r356525-r356526
Jan 17 2020, 5:57 PM
ian committed rS356833: MFC r354709-r354710, r355069, r355439, r355780, r356273, r356472.
MFC r354709-r354710, r355069, r355439, r355780, r356273, r356472
Jan 17 2020, 3:55 PM

Jan 16 2020

ian accepted D23093: fdt_pinctrl: Add new methods for gpios.

After some discussion on irc we realized we don't need a get-capabilities interface between gpio and pinctrl, because both are soc-specific drivers, and the gpio driver already "knows" what capabilities the soc has.

Jan 16 2020, 8:55 PM

Jan 15 2020

ian accepted D23192: 2020-02-29 retire in-tree GPL dtc.
Jan 15 2020, 4:14 PM

Jan 14 2020

ian added a comment to D23093: fdt_pinctrl: Add new methods for gpios.

What kind of flags go into the flags arg? I suspect the quick answer is GPIO flags. The more complete answer is probably "some subset of gpio flags which differs from one device to another". That leads to the question of what to do on an attempt to set multiple flags where some are supported and some aren't.

Jan 14 2020, 4:41 AM

Jan 9 2020

ian committed rS356574: Remove scary-looking printf output that happens when you kldload dtrace on.
Remove scary-looking printf output that happens when you kldload dtrace on
Jan 9 2020, 10:52 PM
ian added a comment to D18307: Install llvm-objdump as objdump on Clang-using architectures (RFC review).

When replacing objdump with llvm-objdump came up on a mailing list, there was some opinion expressed that most users don't need objdump at all and should have to install a package to get it. But I find llvm-objdump to be a completely-usable replacement for gnu objdump that we've had in base for years. That leads me to think a knob such as WITH[OUT]_LLVM_OBJDUMP that defaults to WITHOUT might be a good solution for this.

Jan 9 2020, 4:38 PM

Jan 8 2020

ian committed rS356526: Remove some trailing whitespace; no functional changes..
Remove some trailing whitespace; no functional changes.
Jan 8 2020, 11:06 PM
ian committed rS356525: Split the code to find and add iicbus children out to its own function..
Split the code to find and add iicbus children out to its own function.
Jan 8 2020, 11:03 PM
ian committed rS356522: Change some KASSERT to device_printf + return EINVAL. There's no need to.
Change some KASSERT to device_printf + return EINVAL. There's no need to
Jan 8 2020, 10:48 PM
ian committed rS356521: Init sc->maxbus to -1, not 0. It represents the highest array index that.
Init sc->maxbus to -1, not 0. It represents the highest array index that
Jan 8 2020, 10:45 PM
ian committed rS356519: Ensure any reserved gpio pins get released if an early exit is taken.
Ensure any reserved gpio pins get released if an early exit is taken
Jan 8 2020, 10:06 PM

Jan 7 2020

ian committed rS356472: Add #ifdef option-test wrappers around another call to an arm/unwind.c.
Add #ifdef option-test wrappers around another call to an arm/unwind.c
Jan 7 2020, 9:13 PM
ian committed rS356461: MFC r336746, r336779.
MFC r336746, r336779
Jan 7 2020, 6:43 PM

Jan 2 2020

ian committed rS356295: Add the xdma framework and pl330 dma drivers to arm and arm64 lint builds..
Add the xdma framework and pl330 dma drivers to arm and arm64 lint builds.
Jan 2 2020, 10:27 PM
ian committed rS356294: Explicitly include sys/rman.h instead of relying on getting it via some.
Explicitly include sys/rman.h instead of relying on getting it via some
Jan 2 2020, 10:15 PM
ian committed rS356283: MFC r355860:.
MFC r355860:
Jan 2 2020, 7:55 PM
ian committed rS356282: MFC r347828 (by cem):.
MFC r347828 (by cem):
Jan 2 2020, 7:52 PM
ian closed D22891: Add support for i2c bus mux hardware..

Committed (forgot to link to phab) as r356278.

Jan 2 2020, 5:54 PM
ian committed rS356278: Add support for i2c bus mux hardware..
Add support for i2c bus mux hardware.
Jan 2 2020, 5:52 PM
ian committed rS356273: Since arm/unwind.c s conditionally compiled, only call functions in it.
Since arm/unwind.c s conditionally compiled, only call functions in it
Jan 2 2020, 3:38 PM

Jan 1 2020

ian added inline comments to D22891: Add support for i2c bus mux hardware..
Jan 1 2020, 9:48 PM
ian updated the diff for D22891: Add support for i2c bus mux hardware..

Remove the bus_select callback pointer and instead create an iicmux_if.m to define a bus_select method.

Jan 1 2020, 9:41 PM

Dec 31 2019

ian accepted D22945: openfirm: Add OF_device_unregister_xref.
In D22945#502734, @imp wrote:

So devices are just detached on unload, not deleted, so the device_t shouldn't be stale ever...

Of course, it would be better to have a newbus invalidate callback when deleting a device node, but until then, this is fine

Dec 31 2019, 6:00 PM

Dec 30 2019

ian committed rS356211: Set a "kernbase" symbol in 32-bit arm locore.S and use it with ldscript.arm..
Set a "kernbase" symbol in 32-bit arm locore.S and use it with ldscript.arm.
Dec 30 2019, 11:20 PM

Dec 29 2019

ian closed D22922: Eliminate generated ldscript for arm and arm64, and strip $a/$d marker symbols from linked kernel..

Committed as r356180

Dec 29 2019, 6:21 PM
ian committed rS356180: Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker.
Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker
Dec 29 2019, 6:17 PM

Dec 26 2019

ian accepted D22926: [gpioths] Fix GPIOTHS_DEBUG.

Doh! I totally missed that, thanks.

Dec 26 2019, 5:38 AM
ian added inline comments to D22891: Add support for i2c bus mux hardware..
Dec 26 2019, 2:35 AM
ian updated the diff for D22891: Add support for i2c bus mux hardware..

Uploaded a new diff with proper context.

Dec 26 2019, 2:29 AM
ian committed rS356086: Add comments to a couple i2c device lines..
Add comments to a couple i2c device lines.
Dec 26 2019, 2:22 AM
ian added inline comments to D22891: Add support for i2c bus mux hardware..
Dec 26 2019, 2:04 AM

Dec 25 2019

ian added inline comments to D22891: Add support for i2c bus mux hardware..
Dec 25 2019, 11:28 PM
ian added a comment to D22922: Eliminate generated ldscript for arm and arm64, and strip $a/$d marker symbols from linked kernel..
In D22922#502063, @imp wrote:

I like where this is going, and have a couple of questions...

Dec 25 2019, 10:47 PM
ian updated the diff for D22922: Eliminate generated ldscript for arm and arm64, and strip $a/$d marker symbols from linked kernel..

Add arm64; the changes needed are almost identical to armv6/7.

Dec 25 2019, 10:44 PM
ian committed rS356085: In kern.pre.mk, split SYSTEM_LD into two variables to avoid duplication in.
In kern.pre.mk, split SYSTEM_LD into two variables to avoid duplication in
Dec 25 2019, 10:33 PM
ian closed D22921: In kern.pre.mk, split SYSTEM_LD into two variables to avoid duplication in other files..
Dec 25 2019, 10:33 PM
ian added a comment to D22920: For riscv kernel builds, add -N to LDFLAGS instead of replacing the SYSTEM_LD variable..

Just an update to note that the commit for this was reverted in r356078 due to CI build failures. I'm unable to install a working riscv toolchain for building and testing myself, apparently at least in part because I'm still running 12.0-stable (and if I try to upgrade from that my video card turns into a pumpkin).

Dec 25 2019, 6:30 PM
ian committed rS356078: Revert r356077, apparently the change doesn't work after all (failed to.
Revert r356077, apparently the change doesn't work after all (failed to
Dec 25 2019, 6:25 PM
ian committed rS356077: For riscv kernel builds, add -N to LDFLAGS instead of replacing the.
For riscv kernel builds, add -N to LDFLAGS instead of replacing the
Dec 25 2019, 5:27 PM
ian closed D22920: For riscv kernel builds, add -N to LDFLAGS instead of replacing the SYSTEM_LD variable..
Dec 25 2019, 5:27 PM
ian added inline comments to D22922: Eliminate generated ldscript for arm and arm64, and strip $a/$d marker symbols from linked kernel..
Dec 25 2019, 12:31 AM
ian updated the diff for D22922: Eliminate generated ldscript for arm and arm64, and strip $a/$d marker symbols from linked kernel..

Since we don't generate ldscript files anymore, remove the generated files from the CLEAN+= list.

Dec 25 2019, 12:21 AM

Dec 24 2019

ian added a comment to D22921: In kern.pre.mk, split SYSTEM_LD into two variables to avoid duplication in other files..
In D22921#502044, @imp wrote:

Are the Makefile.arm and Makefile.mips changes separate?

Dec 24 2019, 11:53 PM
ian created D22922: Eliminate generated ldscript for arm and arm64, and strip $a/$d marker symbols from linked kernel..
Dec 24 2019, 11:51 PM
ian created D22921: In kern.pre.mk, split SYSTEM_LD into two variables to avoid duplication in other files..
Dec 24 2019, 11:42 PM
ian added a comment to D22920: For riscv kernel builds, add -N to LDFLAGS instead of replacing the SYSTEM_LD variable..

Does anyone know why riscv needs writable text segments? Or if it really does?

Dec 24 2019, 11:17 PM
ian created D22920: For riscv kernel builds, add -N to LDFLAGS instead of replacing the SYSTEM_LD variable..
Dec 24 2019, 11:16 PM

Dec 23 2019

ian added inline comments to D22901: [iicbus] Add support for ACPI-based children enumeration.
Dec 23 2019, 5:15 PM

Dec 22 2019

ian committed rS356031: In gptboot, don't assume a partition number is a single digit, 1-9. GPT.
In gptboot, don't assume a partition number is a single digit, 1-9. GPT
Dec 22 2019, 10:33 PM
ian committed rS356025: MFC r355777:.
MFC r355777:
Dec 22 2019, 8:34 PM
ian committed rS356024: MFC r355685:.
MFC r355685:
Dec 22 2019, 8:06 PM
ian committed rS356023: MFC r355688:.
MFC r355688:
Dec 22 2019, 8:04 PM
ian committed rS356022: MFC r355598, r355727, r355735, r355858.
MFC r355598, r355727, r355735, r355858
Dec 22 2019, 7:30 PM
ian committed rS356019: MFC r355572:.
MFC r355572:
Dec 22 2019, 6:55 PM
ian committed rS356018: MFC r355467, r355499, r355531-r355533, r355535, r355540, r355548-r355551….
MFC r355467, r355499, r355531-r355533, r355535, r355540, r355548-r355551…
Dec 22 2019, 6:51 PM
ian committed rS356017: MFC r355738:.
MFC r355738:
Dec 22 2019, 6:12 PM
ian committed rS356016: MFC r355547: Fix a typo: the sysctl command is in chapter 8 of the manual..
MFC r355547: Fix a typo: the sysctl command is in chapter 8 of the manual.
Dec 22 2019, 6:10 PM
ian committed rS356015: MFC r355411:.
MFC r355411:
Dec 22 2019, 5:59 PM
ian committed rS356014: MFC r355100:.
MFC r355100:
Dec 22 2019, 5:58 PM

Dec 20 2019

ian created D22891: Add support for i2c bus mux hardware..
Dec 20 2019, 5:06 PM

Dec 19 2019

ian accepted D22876: gcc9: quiet Waddress-of-packed-member for kernel build.

Yeah, it kinda looks like gcc 9 is just catching up by adding a warning clang has had for a while.

Dec 19 2019, 5:44 PM

Dec 17 2019

ian committed rS355860: Remove unnecessary MODULE_DEPEND() from imx_i2c.c, and also from rk_i2c.
Remove unnecessary MODULE_DEPEND() from imx_i2c.c, and also from rk_i2c
Dec 17 2019, 5:03 PM
ian closed D22710: Update owc_gpiobus (one-wire over gpio) to the modern gpio_pin interface..
Dec 17 2019, 3:57 PM
ian committed rS355858: Update owc_gpiobus (one-wire over gpio) to the modern gpio_pin interface..
Update owc_gpiobus (one-wire over gpio) to the modern gpio_pin interface.
Dec 17 2019, 3:57 PM

Dec 15 2019

ian abandoned D22701: Rewrite arm kernel stack unwind code to work when unwinding through kernel modules..

Committed as 355780.

Dec 15 2019, 9:17 PM
ian committed rS355780: Rewrite arm kernel stack unwind code to work when unwinding through modules..
Rewrite arm kernel stack unwind code to work when unwinding through modules.
Dec 15 2019, 9:16 PM
ian committed rS355777: Support --all-repeats in uniq(1) for compatibility with gnu coreutils..
Support --all-repeats in uniq(1) for compatibility with gnu coreutils.
Dec 15 2019, 6:05 PM
ian closed D22262: Support --all-repeats in uniq(1) for compatibility with gnu coreutils..
Dec 15 2019, 6:05 PM
ian abandoned D21694: Add 8 and 16 bit versions of atomic_cmpset and atomic_fcmpset for arm..

This was committed as r352938, but I neglected to include the phab link in the commit.

Dec 15 2019, 5:57 PM
ian abandoned D16169: Rework sys/modules/Makefile to improve arch and option filtering..
Dec 15 2019, 3:42 PM

Dec 13 2019

ian committed rS355738: Include ofw_bus_if.h in SRCS only on systems configured with the FDT option..
Include ofw_bus_if.h in SRCS only on systems configured with the FDT option.
Dec 13 2019, 11:23 PM
ian committed rS355688: If device_delete_children() returns an error, bail on the rest of the.
If device_delete_children() returns an error, bail on the rest of the
Dec 13 2019, 2:20 AM
ian committed rS355685: Clean up some of my copyrights; add SPDX tag and remove All rights reserved..
Clean up some of my copyrights; add SPDX tag and remove All rights reserved.
Dec 13 2019, 1:39 AM

Dec 10 2019

ian updated the diff for D22710: Update owc_gpiobus (one-wire over gpio) to the modern gpio_pin interface..

Update to incorporate change just committed to head that defers attachment of the ow bus until after interrupts are working.

Dec 10 2019, 9:56 PM
ian committed rS355598: Do not attach children of owc_gpiobus until interrupts are working..
Do not attach children of owc_gpiobus until interrupts are working.
Dec 10 2019, 9:48 PM

Dec 9 2019

ian committed rS355572: Allow baud rates of 1,228,800 and 1,843,200 on CP2101/2/3 usb-serial adapters..
Allow baud rates of 1,228,800 and 1,843,200 on CP2101/2/3 usb-serial adapters.
Dec 9 2019, 9:55 PM
ian committed rS355565: Switch gpioths(4) from using a callout to a taskqueue for periodic polling.
Switch gpioths(4) from using a callout to a taskqueue for periodic polling
Dec 9 2019, 7:00 PM