Page MenuHomeFreeBSD

aokblast (ShengYi Hung)
AoK_Blast

Projects (2)

User Details

User Since
Jun 21 2022, 7:17 PM (197 w, 47 m)

Recent Activity

Sun, Mar 22

aokblast committed rG191f47bcd650: hwpstate_amd: Refactor the cpufreq code by using delegation pattenr.
Sun, Mar 22, 2:36 AM

Sat, Mar 14

aokblast committed rG9d26b82826d9: libc: Fix dtor order in __cxa_thread_atexit.
Sat, Mar 14, 4:32 AM

Wed, Mar 4

aokblast committed rG8e61067dab49: ichwd: address unused function warning by marking as __unused.
Wed, Mar 4, 3:09 PM
aokblast committed rGa34f42b083dd: vmm: Support INOUT manual decode..
Wed, Mar 4, 2:38 PM
aokblast committed rGe099cd40ba6c: ichwd: introduce i6300esbwd watch dog driver.
Wed, Mar 4, 2:22 PM
aokblast committed rG0dd289fe0b80: ipheth(4): Add CDC-NCM support for RX.
Wed, Mar 4, 2:22 PM
aokblast committed rG4bac18002ab4: smp: Use bitwise operation to count cpu number.
Wed, Mar 4, 2:22 PM
aokblast committed rGbeccc030b4fb: smp: Use bitwise operation to count cpu number.
Wed, Mar 4, 1:59 PM

Feb 21 2026

aokblast committed R11:014126f409f8: devel/bear: Upgrade to 4.0.3.
Feb 21 2026, 1:39 AM

Feb 18 2026

aokblast committed rGe387d9438ba0: smp: Use bitwise operation to count cpu number.
Feb 18 2026, 9:41 AM

Jan 24 2026

aokblast committed R11:7d7e0facd995: devel/bear: Upgrade to 4.0.1.
Jan 24 2026, 2:29 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.
Jan 16 2026, 2:39 PM
aokblast committed rG5b61ef94d65a: 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.
Jan 10 2026, 5:48 AM
aokblast committed R11:a0ab5943aabb: 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: Use dynamic sysctl initialization: markj, olce, khng.
Jan 5 2026, 3:23 PM
aokblast requested review of D54528: hwpstate: Use dynamic sysctl initialization.
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.
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.
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

Oct 9 2025

aokblast accepted D52994: xhci: Add some Alder lake device ids.

LGTM.

Oct 9 2025, 4:20 PM

Oct 3 2025

aokblast committed rGf32ffd11b547: isa_common: allow multiple device instances.
Oct 3 2025, 6:20 AM
aokblast closed D52815: isa_common: add all listed devices.
Oct 3 2025, 6:20 AM

Oct 1 2025

aokblast updated the summary of D52815: isa_common: add all listed devices.
Oct 1 2025, 2:06 PM
aokblast added reviewers for D52815: isa_common: add all listed devices: markj, lwhsu.
Oct 1 2025, 2:05 PM
aokblast added a comment to D52815: isa_common: add all listed devices.
In D52815#1206854, @imp wrote:

I suspect this is fine. ISA is all the on boatd IO that's ioport mapped that's not part of pci. It most likely is lpc based and the ACPI enumeration of that jardware should hang off this bus, not the acpi bus for the software model. But practically, this is easier and there's not enough difference to mater.

Oct 1 2025, 2:04 PM
aokblast updated subscribers of D52815: isa_common: add all listed devices.

@jhb do you think that it is fine? Since you know much about pcie, and isa is the predecessor of pci(e).

Oct 1 2025, 8:50 AM
aokblast added a comment to D52815: isa_common: add all listed devices.

I think nobody cares about isa bus stuff.
Also, no modern hardware attaches to isa bridge actually.
But it is really annoying for me to see "none" in pciconf -lv.

Oct 1 2025, 8:44 AM
aokblast requested review of D52815: isa_common: add all listed devices.
Oct 1 2025, 8:40 AM

Sep 23 2025

aokblast committed rG60b0c7e66fee: ichwd: address unused function warning by marking as __unused.
Sep 23 2025, 5:20 PM
aokblast committed rGc4f9b0df3fa7: snd_hda: Add patch for Framework 16 AMD Ryzen AI 300 Series.
Sep 23 2025, 5:20 PM

Sep 11 2025

aokblast committed rG7f81b2519aeb: snd_hda: Add patch for Framework 16 AMD Ryzen AI 300 Series.
Sep 11 2025, 4:43 PM
aokblast committed rG3449a3abab89: ichwd: address unused function warning by marking as __unused.
Sep 11 2025, 4:43 PM
aokblast closed D52423: hdac: Add patch for new Framework 16 inch laptop..
Sep 11 2025, 4:43 PM
aokblast closed D52476: ichwd: address unused function warning by marking as __unused.
Sep 11 2025, 4:43 PM

Sep 10 2025

aokblast added a comment to D52423: hdac: Add patch for new Framework 16 inch laptop..

The wrapping is a bit awkward and I think style(9)'s allowance for an exception to the 80 col width could be warranted here, if you agree.

        } else if ((id == HDA_CODEC_ALC295 && subid == FRAMEWORK_LAPTOP_0005_SUBVENDOR) ||
            (id == HDA_CODEC_ALC285 && subid == FRAMEWORK_LAPTOP_000D_SUBVENDOR)) {             
                                                                                
``
Sep 10 2025, 4:41 PM