Page MenuHomeFreeBSD

mhorne (Mitchell Horne)
User

Projects

User Details

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

Recent Activity

Sun, May 31

mhorne accepted D57177: sys/dts: Add SD card overlays for the BananaPi-F3 SoC.

Unfortunately no, I'm running the vendor's build (uboot 2022.10) since upstream support is not quite there yet.
I think that's going to change soon though, several K1-related patch series have been created in the last couple of months (e.g., CCU driver).
I have a set of scripts that I use to build the final image from the vendor's artifacts until mainline uboot is ready, I plan on converting those into a wiki page soon.

Sun, May 31, 5:53 PM
mhorne committed rG03c69dd90122: pmc: add sapphire rapids model (authored by anaelle.cazuc_stormshield.eu).
pmc: add sapphire rapids model
Sun, May 31, 5:51 PM
mhorne closed D57263: pmc: add sapphire rapids model.
Sun, May 31, 5:51 PM

Thu, May 28

mhorne added a comment to D57263: pmc: add sapphire rapids model.

Can you please confirm the author field for the commit:

Thu, May 28, 4:35 PM
mhorne committed rG4dfc78e0e3bb: crashinfo: Create core.txt.last symlink (authored by rbranco_suse.com).
crashinfo: Create core.txt.last symlink
Thu, May 28, 4:22 PM

Wed, May 27

mhorne accepted D57263: pmc: add sapphire rapids model.
Wed, May 27, 6:33 PM
mhorne committed rGccda002ca10f: rk_gpio: implement PIC masking methods and mask unhandled IRQs (authored by b1nc0d3x_gmail.com).
rk_gpio: implement PIC masking methods and mask unhandled IRQs
Wed, May 27, 6:24 PM
mhorne committed rGd1488cd762be: bcm2835_sdhci: Clean up DMA resources on attach failure (authored by Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>).
bcm2835_sdhci: Clean up DMA resources on attach failure
Wed, May 27, 6:23 PM

Mon, May 25

mhorne accepted D56918: zzz: Rewrite to use new power device.

LGTM. Indeed, D57239 was the key difference.

Mon, May 25, 6:42 PM
mhorne accepted D57239: acpi: On /dev/power suspend, trigger userspace notifications.

LGTM, and it works! Thanks for chasing it down.

Mon, May 25, 6:41 PM

Sun, May 24

mhorne accepted D57175: riscv: Add spacemit SoC files to the build.
Sun, May 24, 5:20 PM
mhorne added a comment to D57177: sys/dts: Add SD card overlays for the BananaPi-F3 SoC.

Seems good to bring these in.

Sun, May 24, 5:19 PM
mhorne accepted D57178: sdhci: Initial support for the SpacemiT K1 sdhci controller.
Sun, May 24, 5:10 PM

Thu, May 21

mhorne added a comment to D56918: zzz: Rewrite to use new power device.

I tried it out. The machine didn't suspend, instead it just froze :/

I haven't looked at the pathways for this new power device yet, but I will try to familiarize myself with it. That's all I can report today.

aie, can you confirm this works with acpiconf -s 3? Is this what you were using previously? Also, could you show me your kern.power sysctl tree?

thanks for trying this out and reviewing!

Thu, May 21, 2:09 PM

Wed, May 20

mhorne added a comment to D56918: zzz: Rewrite to use new power device.

I tried it out. The machine didn't suspend, instead it just froze :/

Wed, May 20, 5:42 PM
mhorne added a comment to D56918: zzz: Rewrite to use new power device.

I think my laptop works with ACPI S3; I will try this out!

Wed, May 20, 3:07 PM

Tue, May 19

mhorne added a comment to D55907: clk/broadcom: Add CPRMAN clkdev backend and peripheral clock node.

Hi, thanks for your patience. I have not forgotten about this series.

Tue, May 19, 5:19 PM
mhorne updated subscribers of D56914: hwpmc: Add Zen6 IBS ctl2 filters and alternate disable.
Tue, May 19, 4:02 PM
mhorne added a comment to D56914: hwpmc: Add Zen6 IBS ctl2 filters and alternate disable.

I did not look in detail at all of the code, but here is some initial comments.

Tue, May 19, 4:01 PM
mhorne closed D56430: x86-assembly: generate/update .po files.
Tue, May 19, 2:26 PM
mhorne committed R9:fdab2c3455cb: x86-assembly: generate/update .po files (authored by mhorne).
x86-assembly: generate/update .po files
Tue, May 19, 2:26 PM
mhorne closed D45963: x86-assembly: fix broken links.
Tue, May 19, 2:26 PM
mhorne committed R9:d2fc711c4863: x86-assembly: fix broken links (authored by mhorne).
x86-assembly: fix broken links
Tue, May 19, 2:26 PM
mhorne closed D45961: dev-handbook: Split x86 assembly chapter into new article.
Tue, May 19, 2:26 PM
mhorne closed D45962: x86-assembly: update the article a bit.
Tue, May 19, 2:26 PM
mhorne committed R9:204da0afff16: x86-assembly: update the article a bit (authored by mhorne).
x86-assembly: update the article a bit
Tue, May 19, 2:26 PM
mhorne committed R9:936011df3b9c: dev-handbook: Split x86 assembly chapter into new article (authored by mhorne).
dev-handbook: Split x86 assembly chapter into new article
Tue, May 19, 2:26 PM

Mon, May 18

mhorne added inline comments to D57024: Translate to Spanish the website theme.
Mon, May 18, 5:50 PM
mhorne committed R9:3f018dc958ff: Website - i18n: fix "Legacy Release" keyword (authored by mhorne).
Website - i18n: fix "Legacy Release" keyword
Mon, May 18, 5:49 PM
mhorne added a comment to D56182: website/i18n: make 'Legacy Release' an i18n keyword.

Thanks @vladlen, @ziaee. I just pushed the fix in commit 3f018dc958.

Mon, May 18, 5:49 PM

Thu, May 14

mhorne added a comment to D56971: linux/io: handle memtype_wc mapping for !DMAP range.

Only tangentially related, have you hit this one with your GPU?

panic: set_pages_wb: numpages 2
cpuid = 6
time = 1778680160
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00fe91a8f0
vpanic() at vpanic+0x149/frame 0xfffffe00fe91aa20
panic() at panic+0x43/frame 0xfffffe00fe91aa80
ttm_pool_shrink() at ttm_pool_shrink+0x12f/frame 0xfffffe00fe91aab0
ttm_pool_shrinker_scan() at ttm_pool_shrinker_scan+0x18/frame 0xfffffe00fe91aae0
linuxkpi_vm_lowmem() at linuxkpi_vm_lowmem+0x7d/frame 0xfffffe00fe91ab30
vm_pageout_worker() at vm_pageout_worker+0x396/frame 0xfffffe00fe91aeb0
vm_pageout() at vm_pageout+0x1d7/frame 0xfffffe00fe91aef0
fork_exit() at fork_exit+0x82/frame 0xfffffe00fe91af30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00fe91af30

The ttm_pool bits seem to setup pools at every pagesize on the system and we very periodically have to actually purge something from them. That seems to be the *only* place we use set_pages_wb (at least in drm-kmod) and I'm not sure I see anything obvious that would prevent the use of the psind > 0 pools.

Thu, May 14, 2:33 PM
mhorne committed rG988c03980452: linux/io: handle memtype_wc mapping for !DMAP range (authored by mhorne).
linux/io: handle memtype_wc mapping for !DMAP range
Thu, May 14, 2:26 PM
mhorne closed D56971: linux/io: handle memtype_wc mapping for !DMAP range.
Thu, May 14, 2:26 PM

Wed, May 13

mhorne committed rG54d0ae979d95: gpart.8: add entry for xbootldr partition type (authored by mhorne).
gpart.8: add entry for xbootldr partition type
Wed, May 13, 7:38 PM
mhorne closed D56969: gpart.8: add entry for xbootldr type.
Wed, May 13, 7:37 PM
mhorne updated the diff for D56971: linux/io: handle memtype_wc mapping for !DMAP range.

check the entire range

Wed, May 13, 7:26 PM

Tue, May 12

mhorne requested review of D56971: linux/io: handle memtype_wc mapping for !DMAP range.
Tue, May 12, 2:50 PM
mhorne added a comment to D56969: gpart.8: add entry for xbootldr type.

I tried to capture the sense of the specification, rather than specific (Linux/systemd) usage. Please double check it.

Tue, May 12, 2:15 PM
mhorne requested review of D56969: gpart.8: add entry for xbootldr type.
Tue, May 12, 2:13 PM
mhorne committed rGdab8138e13de: g_part,mkimg: Add additional GPT partition types (authored by bscott_bunyatech.com.au).
g_part,mkimg: Add additional GPT partition types
Tue, May 12, 2:01 PM
mhorne committed rG351fad05e075: if_eqos_starfive: Read MAC address from device tree (authored by bscott_bunyatech.com.au).
if_eqos_starfive: Read MAC address from device tree
Tue, May 12, 2:01 PM
mhorne closed D56784: Add additional partition types to mkimg utility to allow creaation of riscv images.
Tue, May 12, 2:01 PM
mhorne closed D56782: Correctly set the MAC address for ethernet interfaces on Starfive VisionFiv2 2, riscv64 SBC.
Tue, May 12, 2:01 PM

Mon, May 11

mhorne accepted D56784: Add additional partition types to mkimg utility to allow creaation of riscv images.
Mon, May 11, 4:52 PM
mhorne accepted D56924: riscv/pmap.c: Add a ddb command for inspecting PTE hierachy.

LGTM

Mon, May 11, 3:13 PM
mhorne accepted D56923: riscv: Add SpacemiT K1 vendor and CPU IDs.
Mon, May 11, 3:05 PM

Thu, May 7

mhorne added inline comments to D45961: dev-handbook: Split x86 assembly chapter into new article.
Thu, May 7, 5:52 PM
mhorne updated the diff for D45962: x86-assembly: update the article a bit.

Update article tags.

Thu, May 7, 5:51 PM
mhorne added a comment to D45961: dev-handbook: Split x86 assembly chapter into new article.

Shall I move ahead with this set of changes? If anyone wants me to wait on their review, please say so.

Thu, May 7, 5:39 PM
mhorne updated the summary of D45961: dev-handbook: Split x86 assembly chapter into new article.
Thu, May 7, 5:38 PM
mhorne added a comment to D56430: x86-assembly: generate/update .po files.

I don't really understand how the .po files work, @ebrandi usually regenerates them all at once every few months.

The .po files are generated using po4a (https://www.po4a.org/), and then they load all of them to the weblate instance.
And when the translation is finished, they convert the .po files into .adoc using also po4a

Thu, May 7, 5:37 PM
mhorne accepted D56782: Correctly set the MAC address for ethernet interfaces on Starfive VisionFiv2 2, riscv64 SBC.

Thanks again. When I have the chance I will test this and merge the change (likely early next week).

Thu, May 7, 5:31 PM

Wed, May 6

mhorne requested changes to D56782: Correctly set the MAC address for ethernet interfaces on Starfive VisionFiv2 2, riscv64 SBC.

Thanks for digging into this.

Wed, May 6, 6:34 PM
mhorne requested changes to D56784: Add additional partition types to mkimg utility to allow creaation of riscv images.

Looks good, with one required change.

Wed, May 6, 5:46 PM

Apr 30 2026

mhorne committed rG0ed292531e04: debug.sh.8: Add FILES section (authored by temcbun_gmail.com).
debug.sh.8: Add FILES section
Apr 30 2026, 1:51 PM
mhorne closed D56659: debug.sh.8: Add FILES section.
Apr 30 2026, 1:50 PM · Contributor Reviews (src), manpages, docs
mhorne committed rG16dd59298288: ddb.4: add 'show preload' entry (authored by mhorne).
ddb.4: add 'show preload' entry
Apr 30 2026, 1:45 PM
mhorne added inline comments to D56646: Make links to drivers man in hardware.adoc.
Apr 30 2026, 12:35 PM · releng

Apr 28 2026

mhorne committed rG146b30bad9f6: hwpmc: Add extra_mask sysctls per counter type (authored by afscoelho_gmail.com).
hwpmc: Add extra_mask sysctls per counter type
Apr 28 2026, 6:50 PM
mhorne committed rG39f48829a045: hwpmc: Add IBS capability control policy (authored by afscoelho_gmail.com).
hwpmc: Add IBS capability control policy
Apr 28 2026, 6:50 PM
mhorne committed rGa9a562a08e77: hwpmc_ibs: Add external error handling (authored by afscoelho_gmail.com).
hwpmc_ibs: Add external error handling
Apr 28 2026, 6:50 PM

Apr 27 2026

mhorne added a comment to D56646: Make links to drivers man in hardware.adoc.

VERY GOOD!

Apr 27 2026, 1:58 PM · releng
mhorne awarded D56646: Make links to drivers man in hardware.adoc a Like token.
Apr 27 2026, 1:58 PM · releng
mhorne accepted D56659: debug.sh.8: Add FILES section.
Apr 27 2026, 1:37 PM · Contributor Reviews (src), manpages, docs

Apr 24 2026

mhorne committed rG576c6e9620df: pmc: Implement the feature bits for recent Zen 4/5 (authored by ali_mashtizadeh.com).
pmc: Implement the feature bits for recent Zen 4/5
Apr 24 2026, 3:34 PM
mhorne accepted D54444: committers-guide: Switch license to SPDX only.

I know the "Copyright before SPDX" issue was discussed and decided (maybe ad nauseam). I admit I still have little understanding of why, but I note that much more will need to be done to make it known. New code being committed to the src tree still has the SPDX first, as this is the nearly universal precedent.
So, just saying, you who are interested will need to advertise this decision more widely.

Apr 24 2026, 3:10 PM

Apr 21 2026

mhorne added a comment to D56517: sys/cdefs.h: Introduce __maybe_unused attribute.

Please also add an entry to the share/man/man9/cdefs.9 man page.

Apr 21 2026, 2:45 PM
mhorne committed rGfd45987f1f66: hwpmc: Implement IBS process sampling (authored by ali_mashtizadeh.com).
hwpmc: Implement IBS process sampling
Apr 21 2026, 2:13 PM
mhorne added a comment to D56512: newgrp.1: Fix typo in .Dd.

Based on the original submission it is not a typo (D48877). It took one year for the merge to happen. I suggest just to leave it as is.

Apr 21 2026, 1:28 PM · Contributor Reviews (src), manpages, docs

Apr 20 2026

mhorne added inline comments to D53804: riscv cpu_fork(), saving fpe state.
Apr 20 2026, 8:51 PM · riscv
mhorne added a comment to D56414: riscv: vector extension support.

Cool! A couple initial things.

Apr 20 2026, 8:24 PM

Apr 17 2026

mhorne added a comment to D45961: dev-handbook: Split x86 assembly chapter into new article.

If you move this to an article.
Please after putting it in production, remember to ask clusteradm@ to create a redirect in nginx

Apr 17 2026, 2:36 PM

Apr 16 2026

mhorne updated the diff for D56430: x86-assembly: generate/update .po files.

Rebase on top of content changes: D45962 and D45963.

Apr 16 2026, 7:10 PM
mhorne requested review of D56430: x86-assembly: generate/update .po files.
Apr 16 2026, 7:00 PM
mhorne added reviewers for D45961: dev-handbook: Split x86 assembly chapter into new article: ziaee, docs, vladlen.
Apr 16 2026, 6:54 PM
mhorne updated the diff for D45963: x86-assembly: fix broken links.

Rebase.

Apr 16 2026, 6:52 PM
mhorne updated the diff for D45962: x86-assembly: update the article a bit.

Rebase.

Apr 16 2026, 6:52 PM
mhorne updated the diff for D45961: dev-handbook: Split x86 assembly chapter into new article.

Rebase. Handle moving the new Russian translation.

Apr 16 2026, 6:52 PM
mhorne committed rG48a05f833c7d: stand/libofw: make OF_hasprop() part of the library (authored by mhorne).
stand/libofw: make OF_hasprop() part of the library
Apr 16 2026, 5:51 PM
mhorne closed D56429: stand/libofw: make OF_hasprop() part of the library.
Apr 16 2026, 5:50 PM
mhorne added a comment to D56429: stand/libofw: make OF_hasprop() part of the library.

Looks good; do we have a manpage with the other OF_ methods?

Apr 16 2026, 4:37 PM
mhorne committed rG95d661225dfc: malloc.9: adjust flag table indentation (authored by mhorne).
malloc.9: adjust flag table indentation
Apr 16 2026, 4:36 PM
mhorne committed rGb77bd0e70d2f: freebsd32: Fix freebsd11_nstat copyout condition (authored by Weixie Cui <cuiweixie@gmail.com>).
freebsd32: Fix freebsd11_nstat copyout condition
Apr 16 2026, 4:36 PM
mhorne updated the summary of D56429: stand/libofw: make OF_hasprop() part of the library.
Apr 16 2026, 4:21 PM
mhorne requested review of D56429: stand/libofw: make OF_hasprop() part of the library.
Apr 16 2026, 4:16 PM
mhorne committed rGce6b4973ba8c: raspberry_virtgpio: fix OF_hasprop() usage (authored by mhorne).
raspberry_virtgpio: fix OF_hasprop() usage
Apr 16 2026, 4:16 PM
mhorne committed rG47b0ac1cadc9: OF_getprop.9: update OF_hasprop() signature (authored by mhorne).
OF_getprop.9: update OF_hasprop() signature
Apr 16 2026, 4:16 PM
mhorne committed rGfb10574334ca: 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
Apr 16 2026, 3:31 PM
mhorne committed rG14b182448926: conf: Mark vchiq as depending on fdt (authored by andrew).
conf: Mark vchiq as depending on fdt
Apr 16 2026, 3:31 PM
mhorne committed rG290a7adfb1df: hwpmc: improve diagnostic messages for invalid tunables (authored by paulo_nlink.com.br).
hwpmc: improve diagnostic messages for invalid tunables
Apr 16 2026, 3:31 PM
mhorne committed rG928091964581: hwpmc.4: correct stale default values and update diagnostics (authored by paulo_nlink.com.br).
hwpmc.4: correct stale default values and update diagnostics
Apr 16 2026, 3:31 PM
mhorne committed rG3f68410ae7a5: freebsd32: Fix freebsd11_nstat copyout condition (authored by Weixie Cui <cuiweixie@gmail.com>).
freebsd32: Fix freebsd11_nstat copyout condition
Apr 16 2026, 3:31 PM
mhorne committed rG0a5c45744e21: mq_open(2): document sysctl limit EINVAL and ENFILE conditions (authored by Kit Dallege <xaum.io@gmail.com>).
mq_open(2): document sysctl limit EINVAL and ENFILE conditions
Apr 16 2026, 3:31 PM
mhorne committed rG00e025341abb: malloc.9: adjust flag table indentation (authored by mhorne).
malloc.9: adjust flag table indentation
Apr 16 2026, 3:31 PM
mhorne committed rG88c2e9749db6: ObsoleteFiles.inc: remove stale allwinner pages (authored by herbert_mailbox.org).
ObsoleteFiles.inc: remove stale allwinner pages
Apr 16 2026, 3:31 PM
mhorne committed rG21a8bd08db9a: ObsoleteFiles.inc: correct entry for zpfind.9.gz (authored by herbert_mailbox.org).
ObsoleteFiles.inc: correct entry for zpfind.9.gz
Apr 16 2026, 3:31 PM
mhorne committed rGf72a16118608: hwpmc: Use rdtsc instead of rdtscp for timestamps (authored by Ali Mashtizadeh <mashti@uwaterloo.ca>).
hwpmc: Use rdtsc instead of rdtscp for timestamps
Apr 16 2026, 3:31 PM
mhorne committed rG43f87c1ba8a0: usr.sbin/jail/Makefile: remove riscv linker workaround (authored by mhorne).
usr.sbin/jail/Makefile: remove riscv linker workaround
Apr 16 2026, 3:30 PM
mhorne committed rGf0b8806a73fd: 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
Apr 16 2026, 3:30 PM
mhorne committed rGb60cd486a652: ofw: bool-ify OF_hasprop() (authored by mhorne).
ofw: bool-ify OF_hasprop()
Apr 16 2026, 2:22 PM