Page MenuHomeFreeBSD

aokblast (ShengYi Hung)
AoK_Blast

Projects

User Details

User Since
Jun 21 2022, 7:17 PM (191 w, 5 d)

Recent Activity

Sat, Feb 21

aokblast closed D55401: devel/bear: Upgrade to 4.0.3.
Sat, Feb 21, 1:40 AM
aokblast committed R11:014126f409f8: devel/bear: Upgrade to 4.0.3 (authored by aokblast).
devel/bear: Upgrade to 4.0.3
Sat, Feb 21, 1:40 AM
aokblast abandoned D54859: devel/bear: Upgrade to 4.0.2.

Abandon since we have 4.0.3 port.

Sat, Feb 21, 1:40 AM

Fri, Feb 20

aokblast requested review of D55401: devel/bear: Upgrade to 4.0.3.
Fri, Feb 20, 4:13 PM

Wed, Feb 18

aokblast closed D54474: smp: Use bitwise operation to count cpu number.
Wed, Feb 18, 9:42 AM
aokblast committed rGe387d9438ba0: smp: Use bitwise operation to count cpu number (authored by aokblast).
smp: Use bitwise operation to count cpu number
Wed, Feb 18, 9:42 AM

Sun, Feb 8

aokblast accepted D55007: hwpstate_amd(4): Sane defaults for min/max perf on insane capabilities.
Sun, Feb 8, 1:50 AM
aokblast added inline comments to D55008: hwpstate_amd(4): Factor out setting the CPPC_REQUEST register.
Sun, Feb 8, 1:39 AM

Sat, Feb 7

aokblast accepted D55010: hwpstate_amd(4): Add knobs to get/set all fields of CPPC_REQUEST.
Sat, Feb 7, 3:13 AM
aokblast added inline comments to D55007: hwpstate_amd(4): Sane defaults for min/max perf on insane capabilities.
Sat, Feb 7, 3:06 AM
aokblast accepted D55009: hwpstate_amd(4): 'epp' sysctl leaf to operate on real EPP hardware values.

LGTM for me but I think we should merge the intel's one at the same time.

Sat, Feb 7, 3:06 AM
aokblast accepted D55005: hwpstate_amd(4): Register dump: Fine-grained error reporting.

Ok I see it is reused in other patch

Sat, Feb 7, 2:52 AM
aokblast accepted D55006: hwpstate_amd(4): attach(): More diagnostic on CPPC enable.
Sat, Feb 7, 2:51 AM
aokblast added inline comments to D55005: hwpstate_amd(4): Register dump: Fine-grained error reporting.
Sat, Feb 7, 2:49 AM
aokblast accepted D55008: hwpstate_amd(4): Factor out setting the CPPC_REQUEST register.

LGTM with a comment.

Sat, Feb 7, 2:45 AM

Sun, Feb 1

aokblast accepted D55004: hwpstate_amd(4): Revamp the softc.
Sun, Feb 1, 8:04 AM
aokblast accepted D55002: hwpstate_amd(4): Rename EPP handler, convert to unsigned int.
Sun, Feb 1, 8:02 AM
aokblast added inline comments to D55001: hwpstate_amd(4): Assert PSTATE_CPPC is on in corresponding sysctl handlers.
Sun, Feb 1, 8:01 AM
aokblast accepted D55003: hwpstate_amd(4): attach(): Fix style.
Sun, Feb 1, 7:59 AM
aokblast accepted D55000: hwpstate_amd(4): Rename register dump sysctl handler.
Sun, Feb 1, 7:59 AM
aokblast added inline comments to D54999: hwpstate_amd(4): Factor out printing CPPC registers, fix CPPC_REQUEST's.
Sun, Feb 1, 7:57 AM
aokblast accepted D54998: hwpstate_amd(4): Rename CPPC register macros.
Sun, Feb 1, 7:56 AM
aokblast accepted D54997: hwpstate_amd(4): Fix BITS_WITH_VALUE()/SET_BITS_VALUE() to obey the mask.
Sun, Feb 1, 7:53 AM

Sat, Jan 24

aokblast added a reviewer for D54859: devel/bear: Upgrade to 4.0.2: lwhsu.
Sat, Jan 24, 2:51 PM
aokblast requested review of D54859: devel/bear: Upgrade to 4.0.2.
Sat, Jan 24, 2:50 PM
aokblast closed D54755: devel/bear: Upgrade to 4.0.1.
Sat, Jan 24, 2:30 PM
aokblast committed R11:7d7e0facd995: devel/bear: Upgrade to 4.0.1 (authored by aokblast).
devel/bear: Upgrade to 4.0.1
Sat, Jan 24, 2:30 PM

Jan 18 2026

aokblast updated the diff for D54757: depend-cleanup.sh: Move pwd to a safer place.

Delete content instead of removing the whole directory

Jan 18 2026, 5:32 AM
aokblast added inline comments to D54757: depend-cleanup.sh: Move pwd to a safer place.
Jan 18 2026, 2:38 AM
aokblast added a comment to D54757: depend-cleanup.sh: Move pwd to a safer place.

I don’t understand, other than it sounding like bear is broken

Sorry, the commit message is not clear. I try to explain with more detail. Please tell me if you need anymore information.

When

pwd == $OBJTOP

, and after

run rm -rf "$OBJTOP"

getcwd(3) will return with error since the directory is deleted.

Under this condition:

When shell is executing:

mkdir -p "$OBJTOP"

bear intercepts the libc exec(3) function call and call getcwd in here. As a result, it causes an error.

So... bear makes assumptions that are false and breaks perfectly fine build system code

Jan 18 2026, 2:37 AM

Jan 17 2026

aokblast added a comment to D54757: depend-cleanup.sh: Move pwd to a safer place.

I don’t understand, other than it sounding like bear is broken

Jan 17 2026, 2:47 PM
aokblast updated the summary of D54757: depend-cleanup.sh: Move pwd to a safer place.
Jan 17 2026, 1:33 PM
aokblast updated the summary of D54757: depend-cleanup.sh: Move pwd to a safer place.
Jan 17 2026, 1:33 PM
aokblast updated the summary of D54757: depend-cleanup.sh: Move pwd to a safer place.
Jan 17 2026, 1:28 PM
aokblast requested review of D54757: depend-cleanup.sh: Move pwd to a safer place.
Jan 17 2026, 1:26 PM
aokblast added a reviewer for D54755: devel/bear: Upgrade to 4.0.1: lwhsu.
Jan 17 2026, 11:05 AM
aokblast requested review of D54755: devel/bear: Upgrade to 4.0.1.
Jan 17 2026, 11:05 AM

Jan 16 2026

aokblast added a comment to D54551: smp: add smp_rendezvous_cpu helper function.

Looks ok, but I'd use int in the function signature.

Jan 16 2026, 2:40 PM
aokblast committed rG87c4d6555b41: hwpstate_amd: Use ipi instead of sched_bind + thread_lock (authored by aokblast).
hwpstate_amd: Use ipi instead of sched_bind + thread_lock
Jan 16 2026, 2:39 PM
aokblast committed rG5b61ef94d65a: smp: add smp_rendezvous_cpu helper function (authored by aokblast).
smp: add smp_rendezvous_cpu helper function
Jan 16 2026, 2:39 PM
aokblast closed D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.
Jan 16 2026, 2:39 PM
aokblast closed D54551: smp: add smp_rendezvous_cpu helper function.
Jan 16 2026, 2:39 PM

Jan 10 2026

aokblast added reviewers for D54551: smp: add smp_rendezvous_cpu helper function: markj, lwhsu.
Jan 10 2026, 8:39 AM
aokblast closed D54378: net/lldap: update to 0.6.2.
Jan 10 2026, 5:48 AM
aokblast closed D54377: www/wasm-bindgen-cli: Update to v0.2.100.
Jan 10 2026, 5:48 AM
aokblast committed R11:4f9fc5e5fdca: net/lldap: update to 0.6.2 (authored by aokblast).
net/lldap: update to 0.6.2
Jan 10 2026, 5:48 AM
aokblast committed R11:a0ab5943aabb: www/wasm-bindgen-cli: Update to v0.2.100 (authored by aokblast).
www/wasm-bindgen-cli: Update to v0.2.100
Jan 10 2026, 5:48 AM
aokblast updated the diff for D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.

Minor fixes

Jan 10 2026, 5:21 AM
aokblast updated the diff for D54377: www/wasm-bindgen-cli: Update to v0.2.100.

Remove License message

Jan 10 2026, 2:12 AM

Jan 6 2026

aokblast updated the diff for D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.

Move commit back

Jan 6 2026, 4:06 AM
aokblast updated the diff for D54551: smp: add smp_rendezvous_cpu helper function.

Move commit back

Jan 6 2026, 4:06 AM
aokblast updated the diff for D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.

Seperate differential

Jan 6 2026, 4:01 AM
aokblast requested review of D54551: smp: add smp_rendezvous_cpu helper function.
Jan 6 2026, 4:00 AM
aokblast updated the diff for D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.

Minor fixes

Jan 6 2026, 3:59 AM

Jan 5 2026

aokblast added inline comments to D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.
Jan 5 2026, 5:12 PM
aokblast updated the diff for D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.

Use x86_msr_op

Jan 5 2026, 5:11 PM
aokblast added inline comments to D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.
Jan 5 2026, 4:37 PM
aokblast updated the diff for D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.

Simplify dump_sysctl_cb
Add helper functions for single cpu

Jan 5 2026, 4:37 PM
aokblast added reviewers for D54528: hwpstate{_amd,intel}(4): Move common knobs to a separate file: markj, olce, khng.
Jan 5 2026, 3:23 PM
aokblast requested review of D54528: hwpstate{_amd,intel}(4): Move common knobs to a separate file.
Jan 5 2026, 3:23 PM

Jan 4 2026

aokblast added reviewers for D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock: khng, markj.
Jan 4 2026, 3:23 PM
aokblast added inline comments to D49587: hwpstate: add CPPC support for pstate driver on AMD.
Jan 4 2026, 3:22 PM
aokblast added a reviewer for D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock: olce.
Jan 4 2026, 3:18 PM
aokblast requested review of D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.
Jan 4 2026, 3:18 PM

Jan 3 2026

aokblast added a comment to D54474: smp: Use bitwise operation to count cpu number.

Thanks! Thought I sucessfully booted up on a AMD64 machine, this patch touches the basic logic of smp so I will think twice before landing it.

Jan 3 2026, 4:50 PM
aokblast added a reviewer for D54474: smp: Use bitwise operation to count cpu number: markj.
Jan 3 2026, 4:37 PM
aokblast requested review of D54474: smp: Use bitwise operation to count cpu number.
Jan 3 2026, 4:37 PM
aokblast added a comment to D54466: ichwd: Add manual for i6300esb watchdog.

Thanks aokblast!

This belongs in DESCRIPTION section.
The mdoc(7) manual specifies what goes in SYNOPSIS.

Also, each new sentence starts on a new line.

Jan 3 2026, 7:28 AM
aokblast updated the diff for D54466: ichwd: Add manual for i6300esb watchdog.

Minor fixes

Jan 3 2026, 7:28 AM
aokblast added a reviewer for D54466: ichwd: Add manual for i6300esb watchdog: docs.
Jan 3 2026, 6:13 AM
aokblast requested review of D54466: ichwd: Add manual for i6300esb watchdog.
Jan 3 2026, 6:13 AM
aokblast committed rG3642ba2a9840: hwpstate_amd: Fix compile error (authored by aokblast).
hwpstate_amd: Fix compile error
Jan 3 2026, 6:11 AM
aokblast closed D54465: hwpstate_amd: Fix compile error.
Jan 3 2026, 6:11 AM
aokblast added a reviewer for D54465: hwpstate_amd: Fix compile error: lwhsu.
Jan 3 2026, 5:08 AM
aokblast requested review of D54465: hwpstate_amd: Fix compile error.
Jan 3 2026, 5:08 AM
aokblast committed rG3e6e4e4a0d42: hwpstate: add CPPC support for pstate driver on AMD (authored by aokblast).
hwpstate: add CPPC support for pstate driver on AMD
Jan 3 2026, 2:54 AM
aokblast closed D49587: hwpstate: add CPPC support for pstate driver on AMD.
Jan 3 2026, 2:53 AM

Dec 27 2025

aokblast added a reviewer for D54378: net/lldap: update to 0.6.2: lwhsu.
Dec 27 2025, 3:17 AM
aokblast added a reviewer for D54377: www/wasm-bindgen-cli: Update to v0.2.100: lwhsu.
Dec 27 2025, 3:16 AM
aokblast requested review of D54378: net/lldap: update to 0.6.2.
Dec 27 2025, 3:16 AM
aokblast requested review of D54377: www/wasm-bindgen-cli: Update to v0.2.100.
Dec 27 2025, 3:11 AM

Dec 21 2025

aokblast added inline comments to D49587: hwpstate: add CPPC support for pstate driver on AMD.
Dec 21 2025, 1:49 AM
aokblast updated the diff for D49587: hwpstate: add CPPC support for pstate driver on AMD.

Trust sc->req in set_epp and add () in KASSERT

Dec 21 2025, 1:47 AM

Dec 19 2025

aokblast updated the diff for D49587: hwpstate: add CPPC support for pstate driver on AMD.

Use hwpstate_amd instead of hwpstate
Not short-circuiting for cpu

Dec 19 2025, 4:11 PM
aokblast added inline comments to D49587: hwpstate: add CPPC support for pstate driver on AMD.
Dec 19 2025, 4:04 PM
aokblast added inline comments to D49587: hwpstate: add CPPC support for pstate driver on AMD.
Dec 19 2025, 2:42 PM

Dec 14 2025

aokblast added a reviewer for D54173: Place an advisory lock on devices opened by libusb_open(3).: USB.
Dec 14 2025, 6:45 AM
aokblast added a comment to D54173: Place an advisory lock on devices opened by libusb_open(3)..

Now I have a dilemma.

I can add exclusivity inside libusb20.c or push down one more layer and add this to the backend in libusb20_ugen20.c. To do this in the backend, device_open_t gets a third parameter for the flag. It's a six-for-one, half-dozen-for-the-other kind of decision.

The scope for this change is exclusivity. No plans to touch existing enumeration behavior.

I'll have to create a separate review. Everything will link back to the same bug.

Dec 14 2025, 6:44 AM
aokblast updated the diff for D54211: libusb: change callback register handler to int.

Minor fixes

Dec 14 2025, 1:28 AM

Dec 13 2025

aokblast added a reviewer for D54211: libusb: change callback register handler to int: USB.
Dec 13 2025, 3:16 PM
aokblast requested review of D54211: libusb: change callback register handler to int.
Dec 13 2025, 3:16 PM
aokblast added a comment to D54173: Place an advisory lock on devices opened by libusb_open(3)..

Haven't test it. But I have a comment. It would be great if we can solve multiple device issue like this.

Dec 13 2025, 2:31 PM

Dec 12 2025

aokblast added a comment to D49587: hwpstate: add CPPC support for pstate driver on AMD.

Thanks for the comments! Hope it looks better now.

Dec 12 2025, 4:54 PM
aokblast updated the diff for D49587: hwpstate: add CPPC support for pstate driver on AMD.
  1. Fix indentation
  2. Remove hwpstate_cppc_settings structure
  3. Update sc->req in all cpu cores
  4. Fix sc->req style nits
  5. Consistent CAPS and REQUESTS macro
Dec 12 2025, 4:54 PM

Dec 5 2025

aokblast added a comment to D49587: hwpstate: add CPPC support for pstate driver on AMD.

@olce I think exposing the epp setting interface only in only cpu0 makes sence and therefore I make some changes.

Mmm... It's not that providing it only on CPU 0 does not make sense, but actually having a different knob for each CPU can be useful (admittedly in corner cases), and would be consistent with hwpstate_intel. But that's of course not a blocker, this can be added back later on.

Going to review the new version.

@markj Please also help me review it when you have time, thanks! Also, I remember that you have told me that it is better to send ipi instead of binding the CPU, but I forget the url of your sample code. Could you please provide it in here?

If Mark gives no answer in a few days, I'll suggest something.

Dec 5 2025, 6:30 PM
aokblast updated the diff for D49587: hwpstate: add CPPC support for pstate driver on AMD.

Minor fixes

Dec 5 2025, 6:26 PM
aokblast added a comment to D49587: hwpstate: add CPPC support for pstate driver on AMD.

@olce I think exposing the epp setting interface only in only cpu0 makes sence and therefore I make some changes. @markj Please also help me review it when you have time, thanks! Also, I remember that you have told me that it is better to send ipi instead of binding the CPU, but I forget the url of your sample code. Could you please provide it in here?

Dec 5 2025, 3:18 PM
aokblast updated the diff for D49587: hwpstate: add CPPC support for pstate driver on AMD.

Expose the epp interface in only cpu 0 and modify all cpu value.

Dec 5 2025, 3:14 PM
aokblast accepted D54074: release: Add comms/usbmuxd for ipheth(4) being fully functional.

Make sense to me.

Dec 5 2025, 10:50 AM

Nov 29 2025

aokblast added a comment to D52166: bhyve: implement single USB device passthrough support.
In D52166#1232521, @bz wrote:

It's gotten silent here. May I ask what the plan is? Is there a chance to get this work into 16?

Nov 29 2025, 4:57 AM