Page MenuHomeFreeBSD

ngie (Enji Cooper)
User

Projects

User Details

User Since
Aug 2 2014, 8:08 AM (609 w, 5 d)

Recent Activity

Yesterday

ngie added inline comments to D54282: packages: Always install kernel as /boot/kernel.NAME.
Thu, Apr 9, 4:45 AM
ngie added a comment to D56222: Update posix_spawn for POSIX 2024.

Thank you @kib !

Thu, Apr 9, 3:41 AM
ngie committed rG9f7080ba6bcf: crypto/openssl: add new manpage from release 3.5.6 (authored by ngie).
crypto/openssl: add new manpage from release 3.5.6
Thu, Apr 9, 2:01 AM
ngie committed rG5254e16213ff: crypto/openssl: update artifacts to match 3.5.6 release artifacts (authored by ngie).
crypto/openssl: update artifacts to match 3.5.6 release artifacts
Thu, Apr 9, 1:56 AM
ngie committed rG10a428653ee7: MFV: crypto/openssl: update to 3.5.6 (authored by ngie).
MFV: crypto/openssl: update to 3.5.6
Thu, Apr 9, 1:56 AM

Wed, Apr 8

ngie committed rGe8053023e7c0: arm64/apple: Fix malloc size for per-CPU arrays in AIC attach (authored by Weixie Cui <cuiweixie@gmail.com>).
arm64/apple: Fix malloc size for per-CPU arrays in AIC attach
Wed, Apr 8, 12:51 AM

Tue, Apr 7

ngie committed rGa8688e45ec55: openssl: import 3.0.20 (authored by ngie).
openssl: import 3.0.20
Tue, Apr 7, 10:40 PM
ngie committed rGab5fc4ac933f: OpenSSL: import 3.5.6 (authored by ngie).
OpenSSL: import 3.5.6
Tue, Apr 7, 10:38 PM
ngie added a comment to D56291: [OpenSSL] Add missing header file (openssl/ml_kem.h).

Just reminder: stable/15 is affected too

Tue, Apr 7, 6:41 PM
ngie accepted D56291: [OpenSSL] Add missing header file (openssl/ml_kem.h).
Tue, Apr 7, 6:41 PM

Sat, Apr 4

ngie added a comment to D54540: packages: Add dependency from rc to mtree.

LGTM too -- thanks!

Sat, Apr 4, 8:50 PM
ngie added inline comments to D54542: release: Build the release media from packages.
Sat, Apr 4, 8:49 PM
ngie accepted D54542: release: Build the release media from packages.

No ship-blocking items.

Sat, Apr 4, 8:48 PM

Wed, Apr 1

ngie committed rGf3b59bf28504: bce: Fix SYSCTL_IN error check in bce_sysctl_nvram_write() (authored by Weixie Cui <cuiweixie@gmail.com>).
bce: Fix SYSCTL_IN error check in bce_sysctl_nvram_write()
Wed, Apr 1, 7:30 AM

Sun, Mar 29

ngie committed rG690427066047: syslogd: Fix ereregex property filters and add test (authored by Zyt2006613_outlook.com).
syslogd: Fix ereregex property filters and add test
Sun, Mar 29, 3:45 AM

Wed, Mar 25

ngie added inline comments to D54282: packages: Always install kernel as /boot/kernel.NAME.
Wed, Mar 25, 11:20 PM

Tue, Mar 24

ngie added inline comments to D55575: thunderbolt: make code -Wunused clean.
Tue, Mar 24, 7:38 PM
ngie updated subscribers of D55575: thunderbolt: make code -Wunused clean.
Tue, Mar 24, 7:36 PM
ngie added inline comments to D55575: thunderbolt: make code -Wunused clean.
Tue, Mar 24, 7:30 PM
ngie added inline comments to D56037: libc/tests/string: add a more comprehensive unit test for strrchr().
Tue, Mar 24, 7:28 PM
ngie requested changes to D56037: libc/tests/string: add a more comprehensive unit test for strrchr().

A lot of important details are missing from these tests in terms of your thought process in these tests doing what they do, why assertions are being made, etc. These tests aren't really maintainable in their current form longterm.

Tue, Mar 24, 7:27 PM
ngie accepted D56034: tunefs: Add tests.
Tue, Mar 24, 4:25 PM

Sun, Mar 22

ngie closed D55962: devel/ghpr: add missing `BUILD_DEPENDS`.
Sun, Mar 22, 3:59 PM
ngie committed R11:15c5542e3e7a: devel/ghpr: add missing `BUILD_DEPENDS` (authored by ngie).
devel/ghpr: add missing `BUILD_DEPENDS`
Sun, Mar 22, 3:59 PM
ngie updated subscribers of D55980: devel/py-pipx: upgrade to 1.10.0.

@imp : you're right -- technically it can be 3.10: https://github.com/bsdimp/ghpr/blob/main/pyproject.toml#L6 .

Sun, Mar 22, 3:49 PM
ngie added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

If you remove all of the TB3 PCI IDs from the NHI and PCIB drivers, the driver is basically useless for TB3 since it won't probe and attach to anything but generic USB4-capable controllers like the "Pink Sardine" ones (as-is).

Yes, but for the time being it isn't supposed to be useful for other controllers and I do not intend to work on these. I don't want to have code in the tree that I'm not working on, and it really wouldn't be that difficult to add the ICM code later on if someone wants to work on that.

If you could generalize the PCIP_SERIALBUS_USB_USB4 targets vs the Intel TB3 controllers and remove the "Pink Sardine" controllers from the PCI IDs list, I would be totally game for this particular change since it would simplify adding and supporting new drivers (kind of like I did with asmc(4)).
Linux supports per-device quirks for many drivers. We will inevitably likely have to employ similar because of how inconsistent device implementations tend to be with specs.

Yeah, we can do something like in asmc eventually.

It's best to not nerf this code until it really needs to be nerfed, and it would be nice if the ICM code was actually in the tree.

I really disagree with this. I don't want people using code that I have committed, that I have no way of testing myself, and have no intentions of supporting at the moment. I really don't see the issue with someone adding this at a later date if they want to work on it, and I'm glad to help you out if you need to add back the removed logic for this.

I will add a notice in the manpage that this driver explicitly only exists to allow us to suspend USB4 controllers to clear up confusion.

Sun, Mar 22, 7:46 AM
ngie retitled D55962: devel/ghpr: add missing `BUILD_DEPENDS` from devel/gphr: add missing `BUILD_DEPENDS` to devel/ghpr: add missing `BUILD_DEPENDS`.
Sun, Mar 22, 5:58 AM
ngie closed D55450: release.sh: add chroot cleanup routine.
Sun, Mar 22, 3:11 AM
ngie committed rG60baee1fa484: release.sh: add chroot cleanup routine (authored by ngie).
release.sh: add chroot cleanup routine
Sun, Mar 22, 3:02 AM
ngie committed rGb24fc79095c6: release.sh: document user-overriddable functions (authored by ngie).
release.sh: document user-overriddable functions
Sun, Mar 22, 3:02 AM
ngie added a comment to D55450: release.sh: add chroot cleanup routine.

Personally I would put "move umount /dev into a new function" and "add comments" into different commits, but since you've already done it this way there's no point splitting them apart.

Sun, Mar 22, 2:16 AM
ngie committed rG3797fe720a37: libcrypto: compile all PIC objects with -DOPENSSL_PIC -fPIC (authored by ngie).
libcrypto: compile all PIC objects with -DOPENSSL_PIC -fPIC
Sun, Mar 22, 1:39 AM

Sat, Mar 21

ngie added a comment to D55962: devel/ghpr: add missing `BUILD_DEPENDS`.

@imp : ping?

Sat, Mar 21, 3:36 AM
ngie added a comment to D55450: release.sh: add chroot cleanup routine.

@cperciva : ping?

Sat, Mar 21, 3:34 AM
ngie updated the diff for D55573: amd64: complete thunderbolt KERNCONF integration.

Sort by driver name.

Sat, Mar 21, 3:12 AM

Fri, Mar 20

ngie created P706 Command-Line Input.
Fri, Mar 20, 8:22 PM
ngie created P705 Command-Line Input.
Fri, Mar 20, 8:17 PM
ngie added a reverting change for rG14b9955e57cc: libcrypto: compile all PIC objects with -DOPENSSL_PIC: rG67b918e03475: Revert "libcrypto: compile all PIC objects with -DOPENSSL_PIC".
Fri, Mar 20, 8:13 PM
ngie committed rG67b918e03475: Revert "libcrypto: compile all PIC objects with -DOPENSSL_PIC" (authored by ngie).
Revert "libcrypto: compile all PIC objects with -DOPENSSL_PIC"
Fri, Mar 20, 8:13 PM
ngie added a reverting change for D44896: libcrypto: compile all PIC objects with -DOPENSSL_PIC: rG67b918e03475: Revert "libcrypto: compile all PIC objects with -DOPENSSL_PIC".
Fri, Mar 20, 8:13 PM
ngie added a comment to D55980: devel/py-pipx: upgrade to 1.10.0.

@sunpoet : I'm proposing this update because the issue I ran into in https://github.com/pypa/pipx/issues/1718 is resolved in a newer version of the tool. I don't mind if you take care of the update in ports.
It doesn't look like this port is consumed in-tree, except by sysutils/duplicity .

Fri, Mar 20, 7:48 PM
ngie added a reviewer for D55980: devel/py-pipx: upgrade to 1.10.0: sunpoet.
Fri, Mar 20, 1:10 AM
ngie set the repository for D55980: devel/py-pipx: upgrade to 1.10.0 to R11 FreeBSD ports repository.
Fri, Mar 20, 1:10 AM
ngie requested review of D55980: devel/py-pipx: upgrade to 1.10.0.
Fri, Mar 20, 1:09 AM
ngie committed rG14b9955e57cc: libcrypto: compile all PIC objects with -DOPENSSL_PIC (authored by ngie).
libcrypto: compile all PIC objects with -DOPENSSL_PIC
Fri, Mar 20, 12:52 AM
ngie closed D44896: libcrypto: compile all PIC objects with -DOPENSSL_PIC.
Fri, Mar 20, 12:52 AM
ngie updated subscribers of D55575: thunderbolt: make code -Wunused clean.
Fri, Mar 20, 12:45 AM
ngie added inline comments to D55573: amd64: complete thunderbolt KERNCONF integration.
Fri, Mar 20, 12:43 AM
ngie added a comment to D55563: acpi_pcib: Don't implement the ACPI flags IVAR.

I'm a bit puzzled... how does this differ from the other revisions?

Fri, Mar 20, 12:39 AM
ngie added a comment to D55635: Thunderbolt: add initial Titan Ridge support.

What I meant by "kinda recommending" is that if you're going to support TB3 PCI IDs, then bring back the ICM code until you've written an HCM to replace it. Otherwise you're relying on people to find the right option in their BIOS to disable the ICM challenge-response authorization exchange with devices.

Yeah, those should've just been removed in the initial import.

@ngie: is it alright if, for the time being, we get D52861 landed, and then we take another look at resurrecting the ICM code once you've confirmed your and @guest-seuros's hardware can't work with just a HCM?

Fri, Mar 20, 12:31 AM

Thu, Mar 19

ngie updated the diff for D44896: libcrypto: compile all PIC objects with -DOPENSSL_PIC.

Move the definition to secure/lib/libcrypto/modules/Makefile.inc

Thu, Mar 19, 11:59 PM
ngie updated the summary of D55962: devel/ghpr: add missing `BUILD_DEPENDS`.
Thu, Mar 19, 5:42 PM
ngie updated the summary of D55962: devel/ghpr: add missing `BUILD_DEPENDS`.
Thu, Mar 19, 5:42 PM
ngie updated the diff for D55962: devel/ghpr: add missing `BUILD_DEPENDS`.

Adjust minimum required python version to 3.11 to match pyproject.toml

Thu, Mar 19, 5:40 PM
ngie requested review of D55962: devel/ghpr: add missing `BUILD_DEPENDS`.
Thu, Mar 19, 5:38 PM
ngie added a comment to D52861: thunderbolt: Support generic USB4 NHIs.

Maybe I’m confused, I was referring to tb_pcib.c.

ah right, yes indeed. Do any of these work without the equivalent NHI support though? I don't have the hardware to test these but my impression was that a connection manager of some sort was necessary to actually configure the bridge to work.

Thu, Mar 19, 12:26 AM

Tue, Mar 17

ngie closed D55892: devel/ghpr: update to v3.
Tue, Mar 17, 3:30 PM
ngie committed R11:59337d861744: devel/ghpr: update to v3 (authored by ngie).
devel/ghpr: update to v3
Tue, Mar 17, 3:30 PM
ngie updated the diff for D55892: devel/ghpr: update to v3.

Resolve complaints from portlint

Tue, Mar 17, 7:08 AM
ngie updated the summary of D55892: devel/ghpr: update to v3.
Tue, Mar 17, 7:04 AM
ngie updated the diff for D55892: devel/ghpr: update to v3.

Bump the minimum python3 version to 3.10

Tue, Mar 17, 7:04 AM
ngie updated the test plan for D55892: devel/ghpr: update to v3.
Tue, Mar 17, 6:59 AM
ngie requested review of D55892: devel/ghpr: update to v3.
Tue, Mar 17, 6:56 AM

Sun, Mar 15

ngie added inline comments to D55649: coreboot: Add coreboot firmware table driver.
Sun, Mar 15, 6:51 AM
ngie added inline comments to D54441: asmc: add raw SMC key read/write interface.
Sun, Mar 15, 5:23 AM

Fri, Mar 13

ngie added a comment to D55649: coreboot: Add coreboot firmware table driver.

This is really awesome -- thank you for doing all of this work on the driver.

Fri, Mar 13, 5:16 PM
ngie added a comment to D55472: appleir: Add Apple IR receiver driver.

Out of curiosity--since I no longer have any Apple IR remotes (my last one went away with my AppleTV back in the late 2010s), have you tried taking off the case and looking at the internal chips for identifying marks on any of the ASICs? I'm curious because it might help you figure out which NEC ASIC may or may not be compatible with this driver.

Fri, Mar 13, 4:51 PM
ngie added a comment to D55472: appleir: Add Apple IR receiver driver.

Does building/installing this driver on all platforms (TARGET/TARGET_ARCH) make sense?

Fri, Mar 13, 4:48 PM
ngie added inline comments to D55472: appleir: Add Apple IR receiver driver.
Fri, Mar 13, 4:44 PM

Mar 9 2026

ngie accepted D55669: libutil: convert the trimdomain tests to atf-c(3).
Mar 9 2026, 7:09 AM

Mar 7 2026

ngie added inline comments to D55669: libutil: convert the trimdomain tests to atf-c(3).
Mar 7 2026, 11:10 PM
ngie added inline comments to D55669: libutil: convert the trimdomain tests to atf-c(3).
Mar 7 2026, 11:09 PM

Mar 5 2026

ngie added a comment to D55472: appleir: Add Apple IR receiver driver.

Out of curiosity, how much of the Linux driver did you use as a reference for this driver? I'm concerned about licensing of the new code.

Mar 5 2026, 1:24 AM
ngie added a comment to D54441: asmc: add raw SMC key read/write interface.

I think this should actually be behind another build option.

Mar 5 2026, 1:07 AM

Mar 3 2026

ngie updated subscribers of D52861: thunderbolt: Support generic USB4 NHIs.
Mar 3 2026, 9:46 PM
ngie added a comment to D55635: Thunderbolt: add initial Titan Ridge support.

The AR_2C_NHI Ids probably came from https://admin.pci-ids.ucw.cz/read/PC/8086/1575. I never had pre-production hardware.

I assume that TR has an ICM, but if you've removed the ICM code from freebsd then that's moot. I would kinda recommend bringing the ICM code back and supporting TR and ICL controllers with it until you've written a comprehensive HCM. Just stay away from AR host controllers.

Mar 3 2026, 9:25 PM
ngie added a comment to D52861: thunderbolt: Support generic USB4 NHIs.
Mar 3 2026, 9:18 PM
ngie added a comment to D55635: Thunderbolt: add initial Titan Ridge support.

One thing I found interesting in this exercise is that the PCI IDs are flip flopped between FreeBSD and Linux: the NHI PCI IDs on FreeBSD are the TB PCIB PCI IDs and vice versa.

Some of these IDs may be wrong (can't find DEVICE_AR_2C_NHI's 0x1575 in the linux code, and I don't know which hardware @scottl was primarily testing), but which ones are flip-flopped? they mostly seem to match to me.

Mar 3 2026, 8:46 PM
ngie added inline comments to D52861: thunderbolt: Support generic USB4 NHIs.
Mar 3 2026, 7:34 PM
ngie added a comment to D55635: Thunderbolt: add initial Titan Ridge support.

One thing I found interesting in this exercise is that the PCI IDs are flip flopped between FreeBSD and Linux: the NHI PCI IDs on FreeBSD are the TB PCIB PCI IDs and vice versa.

Mar 3 2026, 7:23 PM
ngie updated the summary of D55635: Thunderbolt: add initial Titan Ridge support.
Mar 3 2026, 6:54 PM
ngie updated the diff for D55635: Thunderbolt: add initial Titan Ridge support.

Fix up the PCI ID for DEVICE_TR_2C_NHI (bad-copy paste on my part)

Mar 3 2026, 6:50 PM
ngie updated the test plan for D55635: Thunderbolt: add initial Titan Ridge support.
Mar 3 2026, 6:45 PM
ngie requested review of D55635: Thunderbolt: add initial Titan Ridge support.
Mar 3 2026, 6:42 PM
ngie created P703 Command-Line Input.
Mar 3 2026, 6:05 PM
ngie created P702 Command-Line Input.
Mar 3 2026, 6:02 PM
ngie committed rG912864912b71: Run `make obj` before running `make test-includes` (authored by ngie).
Run `make obj` before running `make test-includes`
Mar 3 2026, 6:00 AM
ngie closed D55499: Run `make obj` before running `make test-includes`.
Mar 3 2026, 6:00 AM
ngie abandoned D54062: Explicitly normalize on Unix line-endings with FreeBSD sources.

Abandon: this differential received a lot of non-positive feedback. It's best not to push this forward.

Mar 3 2026, 5:40 AM
ngie committed rGc47cefba8312: Only build USB-related modules if MK_USB != no (authored by ngie).
Only build USB-related modules if MK_USB != no
Mar 3 2026, 4:51 AM
ngie closed D55576: Only build USB-related modules if MK_USB != no.
Mar 3 2026, 4:51 AM
ngie committed rG876d2b8392e6: acpi: build dev/acpi_support/acpi_wmi_if.m on ARM64 (authored by ngie).
acpi: build dev/acpi_support/acpi_wmi_if.m on ARM64
Mar 3 2026, 4:11 AM
ngie closed D55535: acpi: build dev/acpi_support/acpi_wmi_if.m on ARM64.
Mar 3 2026, 4:10 AM

Mar 2 2026

ngie accepted D55608: diff3: Produce correct exit status.
Mar 2 2026, 2:44 AM

Mar 1 2026

ngie added inline comments to D55608: diff3: Produce correct exit status.
Mar 1 2026, 10:04 PM
ngie added inline comments to D55608: diff3: Produce correct exit status.
Mar 1 2026, 10:03 PM
ngie added inline comments to D55608: diff3: Produce correct exit status.
Mar 1 2026, 9:42 PM
ngie requested changes to D55608: diff3: Produce correct exit status.

I'm sorry -- it's still too early for my brain to be effective at code reviewing. I'll retract my prior acceptance until we get some clarity on some of the changes (some of the changes going from 1->2 look correct, but I'm not sure about some of the edge cases in skip/readin).

Mar 1 2026, 8:00 PM
ngie accepted D55608: diff3: Produce correct exit status.

Sorry -- forgot to sign-off in my last submission. An answer to my prior question/request shouldn't block this change landing since this change should definitely be made (regardless of how it's expressed) as it makes the code more "functionally correct". A code mod switching 0/1/2 to a structured enum, e.g., DIFF_EX_SAME, DIFF_EX_DIFF, DIFF_EX_ERROR can be done at a later point as part of a larger cleanup/code mod.

Mar 1 2026, 7:50 PM
ngie added a comment to D55608: diff3: Produce correct exit status.

Not a huge fan of complexity, but would it make sense to turn these into an enum in a later revision for human readability? I'm game for making the change after you're done if you're busy with other things.

Mar 1 2026, 7:47 PM