Page MenuHomeFreeBSD
Feed Advanced Search

Today

minsoochoo0122_proton.me accepted D56919: intelhfi - Intel TD/HFI driver - Part1b: Add IA32_PM_ENABLE bit flag define for specialregs.h..

Makes sense, LGTM.

Mon, May 11, 3:55 PM
minsoochoo0122_proton.me added inline comments to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..
Mon, May 11, 2:14 PM · Contributor Reviews (src)

Yesterday

minsoochoo0122_proton.me added a comment to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..

I have two questions from the log file:

  • All cores have similar perf/eff scores, which is good because it means all cores are doing similar work. Just want to verify that this is a expected result.
  • Capacities should be scaled to 1024, the max one being 1024. But another issue see is that although this cpu has 6 P cores, 8 E cores, and 2 LP-E cores (22 threads in total), the capacity output doesn't match that classification.
Sun, May 10, 8:13 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated subscribers of D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..

I suggest keeping intelhfi sysctls even though we have hmp for the following reasons:

  • Someone might want to debug hardware by reading values directly from the driver.
  • Some people might not want to have HMP enabled in their kernel (e.g. they think hybrid scheduling is premature) but still want to observe values reported by intelhfi.
Sun, May 10, 2:47 PM · Contributor Reviews (src)
minsoochoo0122_proton.me requested changes to D56919: intelhfi - Intel TD/HFI driver - Part1b: Add IA32_PM_ENABLE bit flag define for specialregs.h..
Sun, May 10, 2:29 PM
minsoochoo0122_proton.me set the repository for D56919: intelhfi - Intel TD/HFI driver - Part1b: Add IA32_PM_ENABLE bit flag define for specialregs.h. to rG FreeBSD src repository.
Sun, May 10, 2:29 PM
minsoochoo0122_proton.me added reviewers for D56919: intelhfi - Intel TD/HFI driver - Part1b: Add IA32_PM_ENABLE bit flag define for specialregs.h.: kib, olce.
Sun, May 10, 2:29 PM

Thu, May 7

minsoochoo0122_proton.me added inline comments to D56547: hmp(4): add provider interface.
Thu, May 7, 2:55 AM

Wed, May 6

minsoochoo0122_proton.me added a comment to D56547: hmp(4): add provider interface.

I should've tested, but I don't have direct access to machine right now. I'm trying to test this on bhyve instead, so please give me a few hours to work on that.

Wed, May 6, 10:05 PM
minsoochoo0122_proton.me updated the diff for D56547: hmp(4): add provider interface.

Return 0 not true

Wed, May 6, 10:02 PM
minsoochoo0122_proton.me added a comment to D56837: Makefile.vm: Split error condition.

Also, what is WITHOUT_QEMU exactly? It's not documented under src.conf(5).

Wed, May 6, 2:09 AM
minsoochoo0122_proton.me added a comment to D56837: Makefile.vm: Split error condition.

I did buildworld and buildkernel with no root though.

If you're explicitly passing NO_ROOT to the build you have to add WITHOUT_QEMU as well

Wed, May 6, 2:05 AM

Tue, May 5

minsoochoo0122_proton.me added a comment to D56837: Makefile.vm: Split error condition.

Not sure why this happens since I did make vm-image with sudo. I did buildworld and buildkernel with no root though.

Tue, May 5, 9:34 PM
minsoochoo0122_proton.me added a comment to D56837: Makefile.vm: Split error condition.

@emaste I get

Tue, May 5, 9:33 PM

Fri, May 1

minsoochoo0122_proton.me updated the diff for D56548: hmp(4): add man page.

Update description

Fri, May 1, 12:19 PM
minsoochoo0122_proton.me added inline comments to D56548: hmp(4): add man page.
Fri, May 1, 12:18 PM

Thu, Apr 30

minsoochoo0122_proton.me updated the diff for D56548: hmp(4): add man page.

add sponsored by to commit message

Thu, Apr 30, 1:14 PM
minsoochoo0122_proton.me updated the diff for D56548: hmp(4): add man page.

update man page for probe() and init() changes.

Thu, Apr 30, 6:04 AM
minsoochoo0122_proton.me updated the diff for D56547: hmp(4): add provider interface.

again, upload correct diff

Thu, Apr 30, 6:03 AM
minsoochoo0122_proton.me updated the diff for D56547: hmp(4): add provider interface.

upload correct patch

Thu, Apr 30, 6:00 AM
minsoochoo0122_proton.me updated the diff for D56547: hmp(4): add provider interface.

probe() and init() now returns int.

Thu, Apr 30, 5:54 AM
minsoochoo0122_proton.me added a comment to D56547: hmp(4): add provider interface.
  • The hmp_init() provider function is currently of type void and does not receive a return value. However, intelhfi's initialization allocates memory for things like the table cache area, and it can fail. Therefore, I'm thinking of implementing a mechanism where, if the intelhfi's _init() provider function fails, it returns a non-zero integer, and the HMP side calls hmp_default_init() to fall back into that state. What do you think?
Thu, Apr 30, 4:55 AM

Mon, Apr 27

minsoochoo0122_proton.me added a reviewer for D56167: bsdinstall(8): add desktop script: siva.
Mon, Apr 27, 9:51 AM

Sat, Apr 25

minsoochoo0122_proton.me accepted D56517: sys/cdefs.h: Introduce __maybe_unused attribute.

LGTM!

Sat, Apr 25, 12:14 AM

Fri, Apr 24

minsoochoo0122_proton.me added a comment to D56250: kvm: introduce kvm_convert_to_elf().
In D56250#1295915, @jhb wrote:

Hmmm, cross debugging of cross-architectures does work on a FreeBSD host?

Fri, Apr 24, 4:48 AM
minsoochoo0122_proton.me added a comment to D56547: hmp(4): add provider interface.

It seems that the current HMP mechanism doesn't allow for dynamic loading of providers like intelhfi using kldload.
I understand that the probe() and init() callbacks registered with HMP_PROVIDER_DECLARE are called only when HMP is initialized during the initial stages of kernel startup, and they evaluate which provider to use.

I understand that HMP providers don't require dynamic loading or unloading for their purpose, hence this approach. Is my understanding correct?

(Currently, intelhfi is being developed as a device driver, so changing to this approach would require some adjustments.)

Fri, Apr 24, 3:38 AM

Thu, Apr 23

minsoochoo0122_proton.me added inline comments to D56517: sys/cdefs.h: Introduce __maybe_unused attribute.
Thu, Apr 23, 2:20 PM
minsoochoo0122_proton.me added inline comments to D56517: sys/cdefs.h: Introduce __maybe_unused attribute.
Thu, Apr 23, 12:28 PM

Wed, Apr 22

minsoochoo0122_proton.me updated the diff for D56548: hmp(4): add man page.

Reflect provider and sysctl updates

Wed, Apr 22, 10:47 PM
minsoochoo0122_proton.me updated the diff for D56547: hmp(4): add provider interface.

Separate capacity and score providers and update sysctls

Wed, Apr 22, 10:47 PM
minsoochoo0122_proton.me updated the diff for D56546: hmp(4): introduce Heterogeneous MultiProcessing support.

Update sysctl

Wed, Apr 22, 10:46 PM

Tue, Apr 21

minsoochoo0122_proton.me accepted D56517: sys/cdefs.h: Introduce __maybe_unused attribute.

There's currently four individual definitions of __maybe_unused the source tree, I'm just moving them to a central place as suggested by Ed.

Tue, Apr 21, 1:43 PM
minsoochoo0122_proton.me added a comment to D56517: sys/cdefs.h: Introduce __maybe_unused attribute.

Since we have [[maybe_unused]] in C23, could you elaborate why we need this to be in <sys/cdefs.h>?

Tue, Apr 21, 11:43 AM
minsoochoo0122_proton.me accepted D56512: newgrp.1: Fix typo in .Dd.

LGTM

Tue, Apr 21, 11:37 AM · Contributor Reviews (src), manpages, docs
minsoochoo0122_proton.me added a comment to D56546: hmp(4): introduce Heterogeneous MultiProcessing support.

@koinec_yahoo.co.jp Could you please work on intelhfi based on this patch series?

Tue, Apr 21, 11:14 AM
minsoochoo0122_proton.me added a comment to D53910: website: complete refresh of beastie theme.

Two things to add:

Tue, Apr 21, 10:59 AM
minsoochoo0122_proton.me added inline comments to D54674: sys: introduce hmp(4).
Tue, Apr 21, 10:46 AM
minsoochoo0122_proton.me updated the diff for D56547: hmp(4): add provider interface.

Reflect moving sysctl in parent revision

Tue, Apr 21, 10:37 AM
minsoochoo0122_proton.me updated the diff for D56546: hmp(4): introduce Heterogeneous MultiProcessing support.

Move sysctl

Tue, Apr 21, 10:36 AM
minsoochoo0122_proton.me added reviewers for D56548: hmp(4): add man page: imp, olce, ziaee.
Tue, Apr 21, 10:32 AM
minsoochoo0122_proton.me added reviewers for D56547: hmp(4): add provider interface: imp, olce.
Tue, Apr 21, 10:31 AM
minsoochoo0122_proton.me added a comment to D56546: hmp(4): introduce Heterogeneous MultiProcessing support.

Changes from D56547:

Tue, Apr 21, 10:31 AM
minsoochoo0122_proton.me added reviewers for D56546: hmp(4): introduce Heterogeneous MultiProcessing support: imp, olce, adrian.
Tue, Apr 21, 10:28 AM
minsoochoo0122_proton.me abandoned D54674: sys: introduce hmp(4).

I overhauled the implementation which has quite different from this change. Superseded by D56546.

Tue, Apr 21, 10:26 AM
minsoochoo0122_proton.me abandoned D56549: hmp(4): add man page.

Duplicate of D56548 created by arc bug.

Tue, Apr 21, 10:23 AM
minsoochoo0122_proton.me requested review of D56549: hmp(4): add man page.
Tue, Apr 21, 10:22 AM
minsoochoo0122_proton.me requested review of D56548: hmp(4): add man page.
Tue, Apr 21, 10:22 AM
minsoochoo0122_proton.me requested review of D56547: hmp(4): add provider interface.
Tue, Apr 21, 10:21 AM
minsoochoo0122_proton.me requested review of D56546: hmp(4): introduce Heterogeneous MultiProcessing support.
Tue, Apr 21, 10:21 AM
minsoochoo0122_proton.me abandoned D54830: sched_ule: mark scheduler interface functions as weak symbols.
Tue, Apr 21, 10:16 AM · Contributor Reviews (src)

Mon, Apr 20

minsoochoo0122_proton.me updated the diff for D56256: usr.bin: introduce dump2elf(1).

Display message on success

Mon, Apr 20, 12:20 PM
minsoochoo0122_proton.me updated the summary of D56256: usr.bin: introduce dump2elf(1).
Mon, Apr 20, 10:27 AM
minsoochoo0122_proton.me updated the diff for D56256: usr.bin: introduce dump2elf(1).

update commit message

Mon, Apr 20, 10:26 AM
minsoochoo0122_proton.me updated the diff for D56250: kvm: introduce kvm_convert_to_elf().

update commit message

Mon, Apr 20, 10:26 AM
minsoochoo0122_proton.me retitled D56256: usr.bin: introduce dump2elf(1) from usr.bin: introduce md2elf(1) to usr.bin: introduce dump2elf(1).
Mon, Apr 20, 10:24 AM
minsoochoo0122_proton.me retitled D56250: kvm: introduce kvm_convert_to_elf() from kvm: introduce kvm_minidump_to_elf() to kvm: introduce kvm_convert_to_elf().
Mon, Apr 20, 10:24 AM
minsoochoo0122_proton.me updated the diff for D56256: usr.bin: introduce dump2elf(1).

Since D56250 has changed to accomodate full dumps as well, rename this utility to dump2elf and update code and man page accordingly.

Mon, Apr 20, 10:22 AM
minsoochoo0122_proton.me updated the diff for D56250: kvm: introduce kvm_convert_to_elf().

The point of this feature is to facilitate cross-platform debugging, thus this needs to accept full dumps as well. As a result, the name has changed from kvm_minidump_to_elf() to kvm_convert_to_elf(). Live kernel (/dev/mem) is still unsupported since kvm_walk_pages() doesn't work for that.

Mon, Apr 20, 10:21 AM
minsoochoo0122_proton.me updated the test plan for D56250: kvm: introduce kvm_convert_to_elf().
Mon, Apr 20, 6:53 AM
minsoochoo0122_proton.me updated the diff for D56256: usr.bin: introduce dump2elf(1).

Use kvm_openfiles() instead

Mon, Apr 20, 6:48 AM
minsoochoo0122_proton.me abandoned D56516: usr.bin: introduce md2elf(1).

Duplicate of D56256.

Mon, Apr 20, 6:47 AM
minsoochoo0122_proton.me requested review of D56516: usr.bin: introduce md2elf(1).
Mon, Apr 20, 6:45 AM
minsoochoo0122_proton.me updated the diff for D56250: kvm: introduce kvm_convert_to_elf().

update copyright notice

Mon, Apr 20, 4:32 AM

Sun, Apr 19

minsoochoo0122_proton.me added a comment to D54674: sys: introduce hmp(4).

Also, based on my impression of the design of this module, do you have any ideas or approaches for integrating it into sched_ule?

Sun, Apr 19, 3:10 PM

Wed, Apr 15

minsoochoo0122_proton.me added inline comments to D56412: i386+gcc: gcc12 is the minimum version.
Wed, Apr 15, 2:52 PM

Apr 11 2026

minsoochoo0122_proton.me updated the diff for D54674: sys: introduce hmp(4).

Fix typo in license header

Apr 11 2026, 7:27 AM

Apr 7 2026

minsoochoo0122_proton.me added inline comments to D55922: RISC-V IOMMU support.
Apr 7 2026, 1:25 PM

Apr 5 2026

minsoochoo0122_proton.me updated the diff for D54674: sys: introduce hmp(4).

reflect @bz's suggestion on commit message

Apr 5 2026, 2:58 PM
minsoochoo0122_proton.me added inline comments to D54674: sys: introduce hmp(4).
Apr 5 2026, 2:06 PM
minsoochoo0122_proton.me updated the diff for D54674: sys: introduce hmp(4).

make hmp optional

Apr 5 2026, 2:04 PM
minsoochoo0122_proton.me added a comment to D44455: intelhfi - Intel TD/HFI driver - Part3: Add CPU core performance/efficiency score variable to SMP's cpu_group struct..

Regarding the modification to save the acquired score values ​​from struct cpu_group to pcpu, I'd like to use the HMP (https://reviews.freebsd.org/D54674) API rather than creating a new, intelhfi's specific variable in pcpu for saving the values.
Are there any problems with this approach? If so, please let me know.

Apr 5 2026, 12:47 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54674: sys: introduce hmp(4).

Rebase and fix

Apr 5 2026, 12:36 PM
minsoochoo0122_proton.me added inline comments to D54674: sys: introduce hmp(4).
Apr 5 2026, 12:30 PM
minsoochoo0122_proton.me added a comment to D54674: sys: introduce hmp(4).

For now, let's share hmp_score_t for both capacity and score (same for macros like HMP_SCORE_SCALE). When we need to separate them (e.g. we confront architecture that has different type expectation for score and capacity), we can add capacity-specific types and values.

Apr 5 2026, 10:30 AM
minsoochoo0122_proton.me requested changes to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..
Apr 5 2026, 4:02 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a reviewer for D44663: stdalign.h: Disable for C23: imp.
Apr 5 2026, 3:57 AM · Contributor Reviews (src)
minsoochoo0122_proton.me abandoned D43246: Import libb2 0.98.1 and add FREEBSD-upgrade.

I think I'm not qualified for MFV: someone with trust (= commit bit) in the community should take this work instead.

Apr 5 2026, 3:56 AM · Contributor Reviews (src)
minsoochoo0122_proton.me retitled D54674: sys: introduce hmp(4) from sys: add hmp to sys: introduce hmp(4).
Apr 5 2026, 3:55 AM
minsoochoo0122_proton.me abandoned D19253: Add a tool to convert kernel minidump to elf coredump.

Abandoning in favour of D56250 and D56256

Apr 5 2026, 3:54 AM
minsoochoo0122_proton.me commandeered D19253: Add a tool to convert kernel minidump to elf coredump.

Author isn't working on this anymore so I'm taking control of this revision.

Apr 5 2026, 3:54 AM

Apr 4 2026

minsoochoo0122_proton.me added a reviewer for D56256: usr.bin: introduce dump2elf(1): Contributor Reviews (src).
Apr 4 2026, 3:19 PM
minsoochoo0122_proton.me requested review of D56256: usr.bin: introduce dump2elf(1).
Apr 4 2026, 3:19 PM
minsoochoo0122_proton.me updated the summary of D56250: kvm: introduce kvm_convert_to_elf().
Apr 4 2026, 3:11 AM
minsoochoo0122_proton.me updated the diff for D56250: kvm: introduce kvm_convert_to_elf().

Add coauthorship

Apr 4 2026, 3:10 AM
minsoochoo0122_proton.me added a reviewer for D56250: kvm: introduce kvm_convert_to_elf(): Contributor Reviews (src).
Apr 4 2026, 3:07 AM
minsoochoo0122_proton.me added a comment to D56250: kvm: introduce kvm_convert_to_elf().

This is improvement for D19253, but I moved this to libkvm so utilities like savecore(8) can invoke this easily.

Apr 4 2026, 3:06 AM
minsoochoo0122_proton.me requested review of D56250: kvm: introduce kvm_convert_to_elf().
Apr 4 2026, 2:59 AM

Apr 1 2026

minsoochoo0122_proton.me abandoned D54895: kdb(1): Introduce kdb(1).
Apr 1 2026, 11:06 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D54895: kdb(1): Introduce kdb(1).

After some considerations, I decided to abandon this revision based on the fact that kgdb(1) is a port and not in the base system. This means that if there is a need for this script, it should be provided via ports not through the base system. Also, I haven't heard any voice that wants this so it seems I'm trying to solve a problem that doesn't exist for now.

Apr 1 2026, 11:06 AM · Contributor Reviews (src)

Mar 30 2026

minsoochoo0122_proton.me accepted D44459: intelhfi - Intel TD/HFI driver - Part7: Add kerneldoc's Doxyfile.
Mar 30 2026, 12:12 AM · Contributor Reviews (src)

Mar 23 2026

minsoochoo0122_proton.me requested changes to D44455: intelhfi - Intel TD/HFI driver - Part3: Add CPU core performance/efficiency score variable to SMP's cpu_group struct..

After talk with other FreeBSD dev at AsiaBSDCon, we concluded that score should be stored in pcpu structure, not in cpu_group for the following reasons:

Mar 23 2026, 3:52 AM · Contributor Reviews (src)

Mar 22 2026

minsoochoo0122_proton.me requested changes to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..
Mar 22 2026, 3:54 AM · Contributor Reviews (src)
minsoochoo0122_proton.me accepted D44455: intelhfi - Intel TD/HFI driver - Part3: Add CPU core performance/efficiency score variable to SMP's cpu_group struct..

LGTM, although we need approval from committer.

Mar 22 2026, 2:25 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..
Mar 22 2026, 2:16 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated subscribers of D44459: intelhfi - Intel TD/HFI driver - Part7: Add kerneldoc's Doxyfile.
Mar 22 2026, 2:07 AM · Contributor Reviews (src)
minsoochoo0122_proton.me accepted D44459: intelhfi - Intel TD/HFI driver - Part7: Add kerneldoc's Doxyfile.

LGTM

Mar 22 2026, 2:02 AM · Contributor Reviews (src)

Mar 19 2026

minsoochoo0122_proton.me added inline comments to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..
Mar 19 2026, 3:17 AM · Contributor Reviews (src)
minsoochoo0122_proton.me requested changes to D44455: intelhfi - Intel TD/HFI driver - Part3: Add CPU core performance/efficiency score variable to SMP's cpu_group struct..

Could you rebase main?

Mar 19 2026, 3:15 AM · Contributor Reviews (src)
minsoochoo0122_proton.me requested changes to D44459: intelhfi - Intel TD/HFI driver - Part7: Add kerneldoc's Doxyfile.

Could you rebase main?

Mar 19 2026, 3:11 AM · Contributor Reviews (src)

Mar 14 2026

minsoochoo0122_proton.me added a comment to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..

Can we enable/disable the whole module when one or both of HMP and SMP aren't enabled? I don't see why we need to build this driver when HMP and SMP don't exist.

Thank you for the advice.
As you advised, there's no need to build this driver without specifying the SMP option, so I removed "#if defined(SMP)".

However, to prevent accidental builds, I've added a build error using "#error" if it's undefined, but I'm not sure if this is the correct practice. Any advice would be appreciated.
Also, I think it would be better to remove "#if defined(HMP)" when the ULE scheduler support and the HMP interface code support you separately posted are officially merged, but what about leaving it in during development?

Note that even without including opt_sched.h, if SMP is defined in the kernel configuration, the build error caused by #error will not occur.

Mar 14 2026, 6:28 PM · Contributor Reviews (src)