Page MenuHomeFreeBSD

ngie (Enji Cooper)
User

Projects

User Details

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

Recent Activity

Sun, Jul 26

ngie accepted D55649: coreboot: Add coreboot firmware table driver.
  • @ziaee needs to provide a ship-it for the manpage changes.
Sun, Jul 26, 5:01 PM
ngie added a comment to D58099: atf-check: Add shortcut for not-exit:0.

This still feels ambiguous in a non-desirable way to me, but I can see the value in making this possible so I want to give this the space to get more feedback instead of me serving as an unnecessary impediment.

  • Please send out a message with a brief summary to hackers@ and testing@.
  • Please add tests for the new feature:
    • Positive case: '! false' in m_argv[0]: negation behavior should be applied.
    • Negative case: 'true !' in m_argv[1]: negation behavior should not be applied.
  • I would leave existing tests that could be simplified with the new feature as-is until enough time has been given to get feedback on the new feature.
  • I would set the MFC timer to a higher value like 2 weeks or a month.
Sun, Jul 26, 4:58 PM
ngie added inline comments to D58463: libthr: implement pthread_cond_clockwait(3).
Sun, Jul 26, 4:28 PM
ngie accepted D58463: libthr: implement pthread_cond_clockwait(3).

The test changes seem very reasonable. Just one style(9) suggestion to make the information easier for humans to find test names.

Sun, Jul 26, 4:27 PM
ngie added a comment to D58349: pkg: Add tests.

pkg already provides tests. Should we leverage those instead of having another set of different tests?

Sun, Jul 26, 4:23 PM

Sat, Jul 25

ngie added a comment to D58448: brcmfmac: simplify conditional logic in module Makefile.
In D58448#1341093, @bz wrote:
In D58448#1340980, @bz wrote:

The module is not built at all so I wonder if you actually built it with mfsbsd.

I have other outstanding diffs on a branch which are required to get brcm to build/install: https://github.com/ngie-eign/freebsd-src/tree/brcm-polish . I'm trying to get a working driver on my mid-2010s MacBooks.

brcmfmac compiles on arm64 and amd64; that's not the issue; loading firmware will fail on arm64 (and possibly amd64) because of trouble with copies to IO space.

BUT the driver will do NOTHING even if you get it loaded as a massive piece of compat code is missing, so there is little point in even trying to at this point... unless you want to go and write that code clean room.

Sat, Jul 25, 5:00 PM
ngie committed rGbc81728c00b2: [test] libatexit: leverage __{BEGIN,END}_DECLS (authored by ngie).
[test] libatexit: leverage __{BEGIN,END}_DECLS
Sat, Jul 25, 4:57 PM
ngie committed rG64038db825d6: libc: tests: add static to resolve -Wmissing-prototypes (authored by Zhang Qiyue <peter-open-source.probing805@aleeas.com>).
libc: tests: add static to resolve -Wmissing-prototypes
Sat, Jul 25, 4:32 PM
ngie added a comment to D58451: linux_firmware: remove `enoentok` logic in `*firmware_request(..)`.
In D58451#1340983, @bz wrote:

The fact that there was a different behaviour with the extra bool means there was a reason for this.
We cannot unconditionally clear this and change behaviour as we still support Linux 6.1-lts drm-kmod and others.
This will need more careful investigation.

Sat, Jul 25, 4:14 PM
ngie added a comment to D58448: brcmfmac: simplify conditional logic in module Makefile.
In D58448#1340980, @bz wrote:

The module is not built at all so I wonder if you actually built it with mfsbsd.

That said, If we do this we should similarly apply this to iwlwifi, rtw88, rtw89, mt76, ath1/2/3k Makefile BUT I do have outstanding changes to them in my local tree.
Would you mind if I do have a look at my local changes first before we apply this to all of them?

Sat, Jul 25, 4:04 PM
ngie added inline comments to D57087: nvme: add Apple T2 ANS2 NVMe quirks.
Sat, Jul 25, 4:22 AM · apple (x86), drivers
ngie added inline comments to D57087: nvme: add Apple T2 ANS2 NVMe quirks.
Sat, Jul 25, 2:06 AM · apple (x86), drivers
ngie added inline comments to D57087: nvme: add Apple T2 ANS2 NVMe quirks.
Sat, Jul 25, 1:15 AM · apple (x86), drivers
ngie added inline comments to D57087: nvme: add Apple T2 ANS2 NVMe quirks.
Sat, Jul 25, 12:27 AM · apple (x86), drivers

Fri, Jul 24

ngie added inline comments to D58451: linux_firmware: remove `enoentok` logic in `*firmware_request(..)`.
Fri, Jul 24, 11:04 PM
ngie updated the test plan for D58451: linux_firmware: remove `enoentok` logic in `*firmware_request(..)`.
Fri, Jul 24, 11:02 PM
ngie requested review of D58451: linux_firmware: remove `enoentok` logic in `*firmware_request(..)`.
Fri, Jul 24, 11:01 PM
ngie updated the test plan for D58450: brcmfmac: reformat FreeBSD vs Linux line.
Fri, Jul 24, 11:00 PM
ngie requested review of D58450: brcmfmac: reformat FreeBSD vs Linux line.
Fri, Jul 24, 10:59 PM
ngie updated the test plan for D58449: brcmfmac: activate debug functionality only if knobs set.
Fri, Jul 24, 10:56 PM
ngie added a reviewer for D58449: brcmfmac: activate debug functionality only if knobs set: bz.
Fri, Jul 24, 10:56 PM
ngie requested review of D58449: brcmfmac: activate debug functionality only if knobs set.
Fri, Jul 24, 10:55 PM
ngie updated the test plan for D58448: brcmfmac: simplify conditional logic in module Makefile.
Fri, Jul 24, 10:48 PM
ngie requested review of D58448: brcmfmac: simplify conditional logic in module Makefile.
Fri, Jul 24, 10:47 PM
ngie committed rGa594783bac90: linux_firmware: reformat error print-out (authored by ngie).
linux_firmware: reformat error print-out
Fri, Jul 24, 10:46 PM
ngie closed D58380: linux_firmware: reformat error print-out.
Fri, Jul 24, 10:46 PM
ngie created P715 Command-Line Input.
Fri, Jul 24, 10:17 PM
ngie accepted D58418: pwait: Don't use init as a target.
Fri, Jul 24, 10:14 PM

Thu, Jul 23

ngie committed rGa18e773d2776: tests/sys/pmc: only build if MK_PMC != no (authored by ngie).
tests/sys/pmc: only build if MK_PMC != no
Thu, Jul 23, 8:11 PM
ngie closed D58401: tests/sys/pmc: only build if MK_PMC != no.
Thu, Jul 23, 8:11 PM
ngie created P714 Command-Line Input.
Thu, Jul 23, 2:39 AM

Wed, Jul 22

ngie updated the test plan for D58401: tests/sys/pmc: only build if MK_PMC != no.
Wed, Jul 22, 8:04 PM
ngie requested review of D58401: tests/sys/pmc: only build if MK_PMC != no.
Wed, Jul 22, 8:03 PM
ngie committed rG4db3872aabc3: Only build secure/libexec/ssh-sk-helper if MK_USB == no (authored by ngie).
Only build secure/libexec/ssh-sk-helper if MK_USB == no
Wed, Jul 22, 7:34 PM
ngie closed D58246: Only build secure/libexec/ssh-sk-helper if MK_USB == no.
Wed, Jul 22, 7:34 PM
ngie added inline comments to D57087: nvme: add Apple T2 ANS2 NVMe quirks.
Wed, Jul 22, 5:58 AM · apple (x86), drivers
ngie added a comment to D57087: nvme: add Apple T2 ANS2 NVMe quirks.

Ok, this is weird... This is actually a "Apple S3X NVMe Controller". I'll look at the logic carefully and see if something's awry here.

Wed, Jul 22, 4:48 AM · apple (x86), drivers
ngie added inline comments to D57087: nvme: add Apple T2 ANS2 NVMe quirks.
Wed, Jul 22, 4:29 AM · apple (x86), drivers
ngie added a comment to D57087: nvme: add Apple T2 ANS2 NVMe quirks.

Before we touch code, please boot to macos and let it update the firmware.

A Lot of time i found bugs in apple hardware, tougth it was quirk, then could not reproduce it once the firmware was updated. (just install the latest version possible, the update flow , update the EFI, SMC and firmwares ...

I bought a 2016 macbook, i will receive it this week. I suspect we need to handle T1.

PS: this quirk is needed for every 2018-2020 computer.

Wed, Jul 22, 4:05 AM · apple (x86), drivers
ngie added inline comments to D16132: cmb(1) / cmb(3): import combinatorics utility and library.
Wed, Jul 22, 12:29 AM
ngie added a comment to D16132: cmb(1) / cmb(3): import combinatorics utility and library.

I would steer clear of naming variables nitems in the code because we have a macro that is named that already in sys/param.h.

Wed, Jul 22, 12:26 AM
ngie added inline comments to D16132: cmb(1) / cmb(3): import combinatorics utility and library.
Wed, Jul 22, 12:24 AM
ngie added a comment to D16132: cmb(1) / cmb(3): import combinatorics utility and library.

Just taking a quick pass after you pointed me at the review -- I really like this idea -- solid :)!

Wed, Jul 22, 12:20 AM

Tue, Jul 21

ngie added inline comments to D57087: nvme: add Apple T2 ANS2 NVMe quirks.
Tue, Jul 21, 7:00 PM · apple (x86), drivers
ngie added reviewers for D58380: linux_firmware: reformat error print-out: bz, adrian.
Tue, Jul 21, 4:12 PM
ngie requested review of D58380: linux_firmware: reformat error print-out.
Tue, Jul 21, 4:11 PM
ngie added a comment to D57087: nvme: add Apple T2 ANS2 NVMe quirks.

This change causes my non-T2 MacBook Pro ('16 MBP) to panic at boot with "received completion for unknown cmd": https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296946 .

Tue, Jul 21, 2:52 PM · apple (x86), drivers

Fri, Jul 17

ngie added a comment to D57894: www/mod_security: make YAJL support optional.

@joneum : ping?

Fri, Jul 17, 7:01 PM
ngie added a comment to D58262: tests: skip gracefully when the tested binary's own package isn't installed.
In D58262#1337132, @imp wrote:

Side thought: it would be nice if these were actually broken down into subpackages, e.g., indent-tests, etc.

Not sure about this, but beyond the scope.

I also have one or two other changes to make this work I'll roll in before committing.

Fri, Jul 17, 6:10 PM
ngie committed rG993fbb604c9f: Remove fips-module related diff (authored by ngie).
Remove fips-module related diff
Fri, Jul 17, 2:48 AM
ngie committed rG8a33b1d98e22: Remove `$FreeBSD$` from upstream-provided config file (authored by ngie).
Remove `$FreeBSD$` from upstream-provided config file
Fri, Jul 17, 2:47 AM
ngie committed rG0b5f2b4885a3: Remove `$FreeBSD$` from upstream-provided config file (authored by ngie).
Remove `$FreeBSD$` from upstream-provided config file
Fri, Jul 17, 2:46 AM
ngie added a comment to D58056: exterr: allow exterr to fit pointers on CHERI targets.
In D58056#1336833, @kib wrote:

This change broke the build on armv7 (32-bit ARM). I addressed the definition/declaration mismatch in rG5cafd6213f14.

This is the supposed fix, I am waiting for tinderbox to finish.

diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c
index c867867f2618..c16e806e0bd7 100644
--- a/sys/kern/sys_generic.c
+++ b/sys/kern/sys_generic.c
@@ -2353,8 +2353,8 @@ kern_exterrctl(struct thread *td, u_int op, u_int flags, void *ptr)
 }
 
 int
-exterr_set(int eerror, int category, const char *mmsg, uintptr_t pp1,
-    uintptr_t pp2, int line)
+exterr_set(int eerror, int category, const char *mmsg, uint64ptr_t pp1,
+    uint64ptr_t pp2, int line)
 {
   struct thread *td;
 
Fri, Jul 17, 2:43 AM
ngie committed rG5cafd6213f14: exterr_set: sync the definition with the header declaration (authored by ngie).
exterr_set: sync the definition with the header declaration
Fri, Jul 17, 2:32 AM
ngie added a comment to D58056: exterr: allow exterr to fit pointers on CHERI targets.

This change broke the build on ARM64/GENERIC.

Fri, Jul 17, 2:20 AM

Thu, Jul 16

ngie committed rGf2e6a8b9e50c: libproc: link against libctf if MK_CTF != no instead of MK_CDDL != no (authored by ngie).
libproc: link against libctf if MK_CTF != no instead of MK_CDDL != no
Thu, Jul 16, 10:02 PM
ngie committed rGfc186c24b1e7: rc.d/dumpon: minor hardening/tightening up (authored by ngie).
rc.d/dumpon: minor hardening/tightening up
Thu, Jul 16, 4:25 PM
ngie closed D57899: rc.d/dumpon: minor hardening/tightening up.
Thu, Jul 16, 4:25 PM

Wed, Jul 15

ngie updated the test plan for D57899: rc.d/dumpon: minor hardening/tightening up.
Wed, Jul 15, 10:35 PM
ngie added a comment to D58262: tests: skip gracefully when the tested binary's own package isn't installed.

Side thought: it would be nice if these were actually broken down into subpackages, e.g., indent-tests, etc.

Wed, Jul 15, 8:23 PM
ngie accepted D58262: tests: skip gracefully when the tested binary's own package isn't installed.
Wed, Jul 15, 8:23 PM
ngie added inline comments to D56167: bsdinstall(8): add desktop script.
Wed, Jul 15, 3:53 PM
ngie committed rG8bdc312dac55: virtio: Accept VIRTIO_F_RING_RESET in the modern PCI transport (authored by kfv_kfv.io).
virtio: Accept VIRTIO_F_RING_RESET in the modern PCI transport
Wed, Jul 15, 6:58 AM
ngie committed rG5d0488b29dc5: virtio: Report feature masks on negotiation failure (authored by kfv_kfv.io).
virtio: Report feature masks on negotiation failure
Wed, Jul 15, 6:58 AM
ngie committed rGf9a4dd60b0cf: virtio: Add feature bit definitions up to VirtIO v1.3 (authored by kfv_kfv.io).
virtio: Add feature bit definitions up to VirtIO v1.3
Wed, Jul 15, 6:58 AM
ngie updated the summary of D57899: rc.d/dumpon: minor hardening/tightening up.
Wed, Jul 15, 1:04 AM
ngie updated the diff for D57899: rc.d/dumpon: minor hardening/tightening up.

Apply suggestions from @des and @jilles.

Wed, Jul 15, 1:04 AM
ngie added inline comments to D57899: rc.d/dumpon: minor hardening/tightening up.
Wed, Jul 15, 12:57 AM
ngie updated the summary of D58246: Only build secure/libexec/ssh-sk-helper if MK_USB == no.
Wed, Jul 15, 12:47 AM
ngie updated the diff for D58246: Only build secure/libexec/ssh-sk-helper if MK_USB == no.
  • Remove redundant SRCS entry added in original diff.
  • Add MK_USB == no entries to OptionalObsoleteFiles.inc .
Wed, Jul 15, 12:46 AM
ngie requested review of D58246: Only build secure/libexec/ssh-sk-helper if MK_USB == no.
Wed, Jul 15, 12:39 AM

Tue, Jul 14

ngie added inline comments to D56167: bsdinstall(8): add desktop script.
Tue, Jul 14, 10:54 PM
ngie updated subscribers of D56167: bsdinstall(8): add desktop script.

I want to echo some of the concerns @jrtc27 had about these files being best suited for packages (or at the very least being distributed as small set of files for a short period of time until they can be incorporated into the installer) instead of being hardcoded in the installer -- otherwise you're chasing whatever the [current] defaults are in the upstream projects and the configuration themselves do not change.
This level of complexity was part of how sysinstall bitrotted over time, so we should avoid this kind of anti-pattern as much as possible.
Back in the day there used to be a meta-port for X11 (then xorg) drivers. Can something like that be done to avoid a lot of the hardcoded logic? Also.. how about moving the driver selection logic into a separate/standalone script that's distributed with a package (as well). I could see something like that having a large degree of utility outside of bsdinstall for general purpose use.

Tue, Jul 14, 2:11 PM

Mon, Jul 13

ngie added inline comments to D58209: thunderbolt: Support writing to router config space.
Mon, Jul 13, 10:31 PM

Thu, Jul 9

ngie removed a reviewer for D58047: acpi: parse resources of not-present devices that are kept enabled: ngie.
Thu, Jul 9, 11:17 PM · drivers
ngie resigned from D58047: acpi: parse resources of not-present devices that are kept enabled.

Ugh. Didn't mean to "accept" the revision yet - I'm sorry :(.

Thu, Jul 9, 11:16 PM · drivers
ngie accepted D58047: acpi: parse resources of not-present devices that are kept enabled.
Thu, Jul 9, 11:16 PM · drivers
ngie added a comment to D58099: atf-check: Add shortcut for not-exit:0.

This is a really nice, simple feature request -- I love it!

Thu, Jul 9, 10:43 PM
ngie updated subscribers of D58047: acpi: parse resources of not-present devices that are kept enabled.
Thu, Jul 9, 10:37 PM · drivers
ngie added inline comments to D58047: acpi: parse resources of not-present devices that are kept enabled.
Thu, Jul 9, 10:36 PM · drivers

Jul 2 2026

ngie accepted D46236: devel/py-setuptools: update to 81.0.0.

Disclaimers: I do not have a ports commit bit and my testing is likely limited.

Jul 2 2026, 8:24 PM

Jun 27 2026

ngie added a comment to D57844: asmc: try PIO before MMIO to avoid false T2 detection.

@guest-seuros: can this change land independent of D57853?

Jun 27 2026, 7:12 PM · apple (x86), drivers
ngie added inline comments to D57853: asmc: add system state and board identity sysctls.
Jun 27 2026, 7:11 PM · drivers, apple (x86)
ngie added inline comments to D57844: asmc: try PIO before MMIO to avoid false T2 detection.
Jun 27 2026, 6:58 PM · apple (x86), drivers
ngie updated subscribers of D57899: rc.d/dumpon: minor hardening/tightening up.
Jun 27 2026, 6:35 AM
ngie added a reviewer for D57899: rc.d/dumpon: minor hardening/tightening up: des.
Jun 27 2026, 6:35 AM
ngie requested review of D57899: rc.d/dumpon: minor hardening/tightening up.
Jun 27 2026, 6:34 AM

Jun 26 2026

ngie updated the test plan for D57894: www/mod_security: make YAJL support optional.
Jun 26 2026, 11:31 PM
ngie added inline comments to D57844: asmc: try PIO before MMIO to avoid false T2 detection.
Jun 26 2026, 11:07 PM · apple (x86), drivers
ngie added inline comments to D57844: asmc: try PIO before MMIO to avoid false T2 detection.
Jun 26 2026, 10:40 PM · apple (x86), drivers
ngie updated the test plan for D57894: www/mod_security: make YAJL support optional.
Jun 26 2026, 10:09 PM
ngie added a comment to D57894: www/mod_security: make YAJL support optional.

Thanks for working on this!

I have one question regarding the YAJL option. I’m not entirely sure if I understand this correctly.

The change introduces:

YAJL_CONFIGURE_ON= --with-yajl
YAJL_CONFIGURE_OFF= --without-yajl

However, CONFIGURE_ARGS still appears to unconditionally pass:

--with-yajl=${LOCALBASE}

Could you clarify how these interact? I wasn’t sure whether this is intentional, or whether the unconditional --with-yajl=${LOCALBASE} should also become conditional now that YAJL support is optional.

Thanks!

Jun 26 2026, 10:05 PM
ngie updated the summary of D57894: www/mod_security: make YAJL support optional.
Jun 26 2026, 10:01 PM
ngie updated the summary of D57894: www/mod_security: make YAJL support optional.
Jun 26 2026, 10:01 PM
ngie retitled D57894: www/mod_security: make YAJL support optional from www/mod_security: make GDBM/YAJL support optional to www/mod_security: make YAJL support optional.
Jun 26 2026, 10:01 PM
ngie updated the diff for D57894: www/mod_security: make YAJL support optional.
  • Remove gdbm option as it's not actually required [directly] by the package [1].
  • Correct logic to truly make YAJL support conditional.
Jun 26 2026, 9:56 PM
ngie added a reviewer for D57894: www/mod_security: make YAJL support optional: joneum.
Jun 26 2026, 8:30 PM
ngie requested review of D57894: www/mod_security: make YAJL support optional.
Jun 26 2026, 8:29 PM

Jun 24 2026

ngie accepted D57595: asmc: Refactor sensor detection and sysctl registration.
Jun 24 2026, 6:20 PM · drivers, apple (x86)
ngie added a comment to D57754: libnetbsd: Avoid bringing in all of param.h.

What are the conflicting symbols BTW?

Jun 24 2026, 7:40 AM