Page MenuHomeFreeBSD

mhorne (Mitchell Horne)
User

Projects

User Details

User Since
Mar 22 2019, 4:46 AM (366 w, 4 d)

Recent Activity

Yesterday

mhorne updated the test plan for D56204: clk_fixed: quiet a warning message.
Tue, Mar 31, 8:15 PM
mhorne requested review of D56204: clk_fixed: quiet a warning message.
Tue, Mar 31, 8:12 PM
mhorne requested review of D56203: ofw: bool-ify OF_hasprop().
Tue, Mar 31, 8:12 PM
mhorne committed rG84c68dbb59df: bcm2835_virtgpio: Add driver for virtual GPIO controller on some RPi models (authored by t_uemura_macome.co.jp).
bcm2835_virtgpio: Add driver for virtual GPIO controller on some RPi models
Tue, Mar 31, 7:58 PM
mhorne committed rGbe79a42275ca: malloc.9: adjust flag table indentation (authored by mhorne).
malloc.9: adjust flag table indentation
Tue, Mar 31, 7:58 PM
mhorne closed D51456: Add support for bcm2835-virtgpio GPIO controller on some RPi models..
Tue, Mar 31, 7:57 PM
mhorne accepted D51456: Add support for bcm2835-virtgpio GPIO controller on some RPi models..

I'm sorry this got forgotten. I think this is ready, so I'm going to merge it now so that it doesn't get dropped again.

Tue, Mar 31, 7:41 PM
mhorne accepted D56163: Stop refering to non-existing manpage strlcpy(9)..
Tue, Mar 31, 4:19 PM
mhorne requested changes to D56171: Convert copystr to strlcpy.

Hi, thanks for taking this on, it would be nice to see this conversion completed.

Tue, Mar 31, 4:19 PM
mhorne updated subscribers of D56182: website/i18n: make 'Legacy Release' an i18n keyword.
Tue, Mar 31, 3:13 PM
mhorne requested review of D56183: releases sidenav: label 14.3 as "Legacy".
Tue, Mar 31, 3:11 PM
mhorne requested review of D56182: website/i18n: make 'Legacy Release' an i18n keyword.
Tue, Mar 31, 3:11 PM
mhorne accepted D56153: mdoc.7: Revert upstream changes to Lb/LIBRARY.

Seems like a few have already spoken. Thanks for being attentive here.

Tue, Mar 31, 2:46 PM
mhorne accepted D56104: releases: Expand rel-latest macro.

The IGNORE seems like a fine solution for now, and can be changed to fit how these macros actually get used. I suspect the active/legacy release lists will still require frequent micro-management. (this is now your purview? ;) )

Tue, Mar 31, 2:45 PM
mhorne accepted D54467: _exit.2: Cross-reference atexit(3).
Tue, Mar 31, 2:39 PM · manpages
mhorne added inline comments to D54467: _exit.2: Cross-reference atexit(3).
Tue, Mar 31, 2:26 PM · manpages

Mon, Mar 30

mhorne accepted D56054: documentation: Bourne shell -> POSIX shell.
Mon, Mar 30, 4:38 PM
mhorne added a comment to D56104: releases: Expand rel-latest macro.

Thanks for working on these macros. I think in many places they are highly desirable.

Mon, Mar 30, 2:49 PM
mhorne accepted D56054: documentation: Bourne shell -> POSIX shell.

Not an authority on shells and their lineage, but I certainly agree with your assessment in the description.

Mon, Mar 30, 2:44 PM

Mon, Mar 23

mhorne committed rG2318ea10a3af: hwpmc.4: correct stale default values and update diagnostics (authored by paulo_nlink.com.br).
hwpmc.4: correct stale default values and update diagnostics
Mon, Mar 23, 8:23 PM
mhorne committed rGb3a18736ec2f: hwpmc: improve diagnostic messages for invalid tunables (authored by paulo_nlink.com.br).
hwpmc: improve diagnostic messages for invalid tunables
Mon, Mar 23, 8:23 PM
mhorne committed rGdf47355fae72: libpmc: Add support for IBS qualifiers (authored by Ali Mashtizadeh <mashti@uwaterloo.ca>).
libpmc: Add support for IBS qualifiers
Mon, Mar 23, 8:22 PM
mhorne committed rG39515d8b623a: hwpmc: Use rdtsc instead of rdtscp for timestamps (authored by Ali Mashtizadeh <mashti@uwaterloo.ca>).
hwpmc: Use rdtsc instead of rdtscp for timestamps
Mon, Mar 23, 8:22 PM
mhorne closed D56050: hwpmc.4: correct stale default values and update diagnostics.
Mon, Mar 23, 8:22 PM
mhorne closed D56029: hwpmc: improve diagnostic messages for invalid tunables.
Mon, Mar 23, 8:22 PM
mhorne accepted D56050: hwpmc.4: correct stale default values and update diagnostics.
Mon, Mar 23, 5:31 PM
mhorne accepted D56029: hwpmc: improve diagnostic messages for invalid tunables.

Thanks. I will commit, with a couple of style/whitespace tweaks.

Mon, Mar 23, 3:10 PM
mhorne abandoned D41278: hwpmc_amd: improve assertions in amd_pcpu_fini().
Mon, Mar 23, 2:08 PM
mhorne abandoned D41276: hwpmc_amd: tighten up MSR definitions.
Mon, Mar 23, 2:08 PM
mhorne abandoned D41277: hwpmc_amd: check extended CPUID bits.
Mon, Mar 23, 2:08 PM
mhorne added a comment to D41277: hwpmc_amd: check extended CPUID bits.

I just started looking through the backlog I think we can abandon this change now?

Mon, Mar 23, 2:08 PM
mhorne accepted D56017: libpmc/pmu-events: Add support for new json fields.
Mon, Mar 23, 2:02 PM

Wed, Mar 18

mhorne added inline comments to D55907: clk/broadcom: Add CPRMAN clkdev backend and peripheral clock node.
Wed, Mar 18, 4:38 PM
mhorne added a comment to D55908: clk/broadcom: Add PLL and PLL channel clock nodes.

Similar comments to D55907. The structure looks good, but I did not review the clock method logic.

Wed, Mar 18, 4:37 PM
mhorne added reviewers for D55907: clk/broadcom: Add CPRMAN clkdev backend and peripheral clock node: manu, mmel.

This looks straightforward to me. I did not review the recalc / set_freq methods in detail.

Wed, Mar 18, 4:33 PM
mhorne added a comment to D55909: clk/broadcom: Add stub clock node for unimplemented clock sources.

Can you use the existing clk_fixed class for these clocks? It seems like it. See sys/dev/clk/clk_fixed.h.

Wed, Mar 18, 4:15 PM
mhorne added a comment to D55910: clk/broadcom: Add CPRMAN clkdev backend and peripheral clock node.

This appears to be a duplicate of D55907. Is there a difference?

Wed, Mar 18, 4:10 PM

Mon, Mar 16

mhorne committed rGe39d3a6b3233: pmc.h: bump PMC_VERSION_MINOR (authored by mhorne).
pmc.h: bump PMC_VERSION_MINOR
Mon, Mar 16, 11:40 PM
mhorne committed rG209d9fbe50c1: pmcstat: Implement PMC_CAP_SYSWIDE (authored by Ali Mashtizadeh <mashti@uwaterloo.ca>).
pmcstat: Implement PMC_CAP_SYSWIDE
Mon, Mar 16, 11:40 PM
mhorne committed rG44a983d249d0: libpmc: Query hwpmc for caps (authored by Ali Mashtizadeh <mashti@uwaterloo.ca>).
libpmc: Query hwpmc for caps
Mon, Mar 16, 11:40 PM
mhorne committed rGf0e0c4c52971: jevents: include file path in whitelist error message (authored by mhorne).
jevents: include file path in whitelist error message
Mon, Mar 16, 11:40 PM
mhorne closed D55830: jevents: include file path in whitelist error message.
Mon, Mar 16, 11:40 PM

Thu, Mar 12

mhorne requested review of D55830: jevents: include file path in whitelist error message.
Thu, Mar 12, 3:53 PM
mhorne committed rGce9aff829e02: hwpmc_amd: fix amd_get_msr() MSR offset for newer counter bases (authored by paulo_nlink.com.br).
hwpmc_amd: fix amd_get_msr() MSR offset for newer counter bases
Thu, Mar 12, 3:30 PM
mhorne closed D55607: hwpmc_amd: fix amd_get_msr() MSR offset for newer counter bases.
Thu, Mar 12, 3:29 PM · pmc
mhorne committed rGa2b2ce2c15bb: DEFINE_IFUNC.9: update NOTES (authored by mhorne).
DEFINE_IFUNC.9: update NOTES
Thu, Mar 12, 2:49 PM
mhorne closed D55815: DEFINE_IFUNC.9: Drop obsolete NOTES.
Thu, Mar 12, 2:49 PM

Wed, Mar 11

mhorne accepted D55607: hwpmc_amd: fix amd_get_msr() MSR offset for newer counter bases.

The change seems correct to me, but the test plan does not; pmcstat does not make any use of the pmc_get_msr() code path. Perhaps you have some other use-case or test program that you used?

Wed, Mar 11, 5:27 PM · pmc
mhorne updated the diff for D55815: DEFINE_IFUNC.9: Drop obsolete NOTES.

Tweak comment instead, to retain the useful info.

Wed, Mar 11, 4:47 PM
mhorne added a comment to D53804: riscv cpu_fork(), saving fpe state.

I am sorry to speak up only now, after the review sat open for so long. But in looking over the change it seems to be incomplete.

Wed, Mar 11, 4:35 PM · riscv
mhorne added inline comments to D55815: DEFINE_IFUNC.9: Drop obsolete NOTES.
Wed, Mar 11, 4:31 PM
mhorne requested review of D55815: DEFINE_IFUNC.9: Drop obsolete NOTES.
Wed, Mar 11, 4:23 PM
mhorne accepted D55641: pmc: Import Intel Meteor Lake events.
Wed, Mar 11, 2:01 PM

Feb 24 2026

mhorne accepted D55490: kern/sched_shims.c: back to ifunc.

Thanks. This was humbling.

Feb 24 2026, 4:37 PM
mhorne added a comment to D55433: apm.8: Stop creating a new manual page section.

The move into the generic place seems good.

Feb 24 2026, 4:36 PM

Feb 18 2026

mhorne accepted D55284: intrng: Shuffle unhandled interrupts too.
Feb 18 2026, 3:11 PM

Feb 16 2026

mhorne added a comment to D55284: intrng: Shuffle unhandled interrupts too.

Looks good. The main thing is that we don't throw off the balance by including interrupt sources which exist but will definitely remain unused (the isrc == NULL case). Here the allocation is a good indicator that a driver is attached and it will/can be used.

Feb 16 2026, 4:07 PM
mhorne accepted D55284: intrng: Shuffle unhandled interrupts too.

Looks good. The main thing is that we don't throw off the balance by including interrupt sources which exist but will definitely remain unused (the isrc == NULL case). Here the allocation is a good indicator that a driver is attached and it will/can be used.

Feb 16 2026, 4:05 PM

Feb 12 2026

mhorne added a comment to D55201: libkern.h: remove HAVE_INLINE_* macros.
In D55201#1263765, @mav wrote:

I've requested removal of those constants from OpenZFS 2.3.6. In 2.4.0 they are not used already. So in few weeks there will be at least one release from each active branch not depending on them any more.

Feb 12 2026, 3:24 PM

Feb 11 2026

mhorne accepted D55214: Update relevant man pages with h616 support.

Perhaps aw_mmc(4) as well?

Feb 11 2026, 3:04 PM

Feb 9 2026

mhorne requested review of D55201: libkern.h: remove HAVE_INLINE_* macros.
Feb 9 2026, 8:04 PM
mhorne committed rG1c9ca4cf7184: ObsoleteFiles.inc: remove stale allwinner pages (authored by herbert_mailbox.org).
ObsoleteFiles.inc: remove stale allwinner pages
Feb 9 2026, 8:00 PM
mhorne committed rG9c800a103c03: ObsoleteFiles.inc: correct entry for zpfind.9.gz (authored by herbert_mailbox.org).
ObsoleteFiles.inc: correct entry for zpfind.9.gz
Feb 9 2026, 8:00 PM
mhorne committed rG4a7d42f35107: riscv: Add macro for hfence.gvma instruction (authored by doonbsd_gmail.com).
riscv: Add macro for hfence.gvma instruction
Feb 9 2026, 7:42 PM
mhorne committed rGdb0c8752ec05: riscv: smarter DMAP construction (again) (authored by mhorne).
riscv: smarter DMAP construction (again)
Feb 9 2026, 7:42 PM
mhorne accepted D55192: frame.h: mark struct trapframe to be preserved for non-x86.
Feb 9 2026, 3:46 PM

Feb 5 2026

mhorne added a comment to D41573: arm64/disassem.c: add instruction definitions without additional encodings.

I'll push this in soon.

Feb 5 2026, 5:40 PM
mhorne committed rG39148cbead21: usr.sbin/jail/Makefile: remove riscv linker workaround (authored by mhorne).
usr.sbin/jail/Makefile: remove riscv linker workaround
Feb 5 2026, 4:53 PM
mhorne closed D55083: usr.sbin/jail/Makefile: remove riscv linker workaround.
Feb 5 2026, 4:53 PM
mhorne added a comment to D55083: usr.sbin/jail/Makefile: remove riscv linker workaround.

We still have aarch64-gcc12 through aarch64-gcc14 in .cirrus.yml (and nothing newer), but I think the older GCC versions don't work for amd64 any longer either. This change is fine with me but I'll let @jhb comment on whether have to care about older GCC still.

Feb 5 2026, 4:51 PM
mhorne committed rG0d3652f67d24: sched_shim: Drop the no-ifunc case (authored by mhorne).
sched_shim: Drop the no-ifunc case
Feb 5 2026, 4:33 PM
mhorne committed rGcf41d1113377: riscv: implement kernel ifunc resolution (authored by mhorne).
riscv: implement kernel ifunc resolution
Feb 5 2026, 4:33 PM
mhorne closed D55114: sched_shim: Drop no-ifunc case.
Feb 5 2026, 4:33 PM
mhorne closed D55082: riscv: implement kernel ifunc resolution.
Feb 5 2026, 4:33 PM
mhorne added a comment to D55095: powerpc64: Fix disappearing low memory on radix MMU systems (POWER9).

oh that's a good catch!

What about regions, pregions, numa_pregions, etc? Are there any other shared variables that need to be unified here?

I checked; the only function we use from the HPT side of things is moea64_bootstrap_alloc(), therefore this is the only variable that needs to stay in sync. While I can't say I particularly like this brittle architecture, I suspect it's going to be changed so infrequently that it's not worth rewriting everything at this point.

Feb 5 2026, 4:31 PM · PowerPC

Feb 4 2026

mhorne added inline comments to D55082: riscv: implement kernel ifunc resolution.
Feb 4 2026, 8:20 PM
mhorne added inline comments to D55114: sched_shim: Drop no-ifunc case.
Feb 4 2026, 8:19 PM
mhorne requested review of D55114: sched_shim: Drop no-ifunc case.
Feb 4 2026, 8:17 PM

Feb 3 2026

mhorne added inline comments to D55082: riscv: implement kernel ifunc resolution.
Feb 3 2026, 5:03 PM
mhorne requested review of D55083: usr.sbin/jail/Makefile: remove riscv linker workaround.
Feb 3 2026, 4:01 PM
mhorne accepted D55016: devel/freebsd-gcc*: Update kernel printf format checking for %b.

Not knowledgeable here but it seems correct.

Feb 3 2026, 3:56 PM
mhorne accepted D55081: pmc: Import Intel Granite Rapids events.
Feb 3 2026, 3:51 PM
mhorne requested review of D55082: riscv: implement kernel ifunc resolution.
Feb 3 2026, 3:48 PM
mhorne committed rGc215eef34550: libpmc: Fix the L3 counters for AMD Zen 1-4 (authored by ali_mashtizadeh.com).
libpmc: Fix the L3 counters for AMD Zen 1-4
Feb 3 2026, 3:30 PM

Feb 2 2026

mhorne committed rGea2d34436286: native-xtools: use static LLVM libraries (authored by mhorne).
native-xtools: use static LLVM libraries
Feb 2 2026, 3:45 PM
mhorne committed rGcc9d0192edfd: native-xtools: use static LLVM libraries (authored by mhorne).
native-xtools: use static LLVM libraries
Feb 2 2026, 3:45 PM

Jan 30 2026

mhorne accepted D54969: Makefile.inc1: Don't mark GCC broken for riscv64.

Thanks a lot for handling this.

Jan 30 2026, 5:59 PM
mhorne accepted D54968: riscv: Add ffs.c and ffsdi2.c.
Jan 30 2026, 5:58 PM
mhorne accepted D54967: libkern: Add libcalls for ffs and __ffsdi2.

Fine by me.

Jan 30 2026, 5:58 PM
mhorne accepted D54966: riscv: Don't use the '#' modifier with '%b'.
Jan 30 2026, 5:04 PM
mhorne committed rG78274fd36e3f: native-xtools: use static LLVM libraries (authored by mhorne).
native-xtools: use static LLVM libraries
Jan 30 2026, 4:59 PM
mhorne accepted D54965: riscv: Enable the zifencei extension explicitly in -march.
Jan 30 2026, 4:57 PM
mhorne accepted D54963: stand: Add compiler builtins needed by GCC for RISC-V.
Jan 30 2026, 4:53 PM
mhorne accepted D54962: stand: Use the correct OUTPUT_ARCH in the linker script for RISC-V.
Jan 30 2026, 4:53 PM

Jan 28 2026

mhorne added a comment to D54915: aw_gpio: Add support for H616.

FYI, there is a small set of allwinner manpages (aw_gpio(4), aw_mmc(4), etc.) that maintain the list of compatible strings and SOC_ALLWINNER_* options.

Jan 28 2026, 5:49 PM

Jan 26 2026

mhorne committed rG972c488bf411: riscv: Add macro for hfence.gvma instruction (authored by doonbsd_gmail.com).
riscv: Add macro for hfence.gvma instruction
Jan 26 2026, 4:24 PM
mhorne closed D54857: riscv: Add macro for hfence.gvma instruction.
Jan 26 2026, 4:24 PM
mhorne accepted D54857: riscv: Add macro for hfence.gvma instruction.
Jan 26 2026, 4:08 PM
mhorne committed rG38e5564ecef5: native-xtools: use static LLVM libraries (authored by mhorne).
native-xtools: use static LLVM libraries
Jan 26 2026, 3:14 PM
mhorne closed D54815: native-xtools: use static LLVM libraries.
Jan 26 2026, 3:14 PM