Page MenuHomeFreeBSD

aokblast (ShengYi Hung)
AoK_Blast

Projects (2)

User Details

User Since
Jun 21 2022, 7:17 PM (187 w, 3 d)

Recent Activity

Sun, Jan 18

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

Delete content instead of removing the whole directory

Sun, Jan 18, 5:32 AM
aokblast added inline comments to D54757: depend-cleanup.sh: Move pwd to a safer place.
Sun, Jan 18, 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

Sun, Jan 18, 2:37 AM

Sat, Jan 17

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

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

Fri, Jan 16

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

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

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

Sat, Jan 10

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

Minor fixes

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

Remove License message

Sat, Jan 10, 2:12 AM

Tue, Jan 6

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

Move commit back

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

Move commit back

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

Seperate differential

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

Minor fixes

Tue, Jan 6, 3:59 AM

Mon, Jan 5

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

Use x86_msr_op

Mon, Jan 5, 5:11 PM
aokblast added inline comments to D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.
Mon, Jan 5, 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

Mon, Jan 5, 4:37 PM
aokblast added reviewers for D54528: hwpstate: Use dynamic sysctl initialization: markj, olce, khng.
Mon, Jan 5, 3:23 PM
aokblast requested review of D54528: hwpstate: Use dynamic sysctl initialization.
Mon, Jan 5, 3:23 PM

Sun, Jan 4

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

Sat, Jan 3

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.

Sat, Jan 3, 4:50 PM
aokblast added a reviewer for D54474: smp: Use bitwise operation to count cpu number: markj.
Sat, Jan 3, 4:37 PM
aokblast requested review of D54474: smp: Use bitwise operation to count cpu number.
Sat, Jan 3, 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.

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

Minor fixes

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

Sat, Dec 27

aokblast added a reviewer for D54378: net/lldap: update to 0.6.2: lwhsu.
Sat, Dec 27, 3:17 AM
aokblast added a reviewer for D54377: www/wasm-bindgen-cli: Update to v0.2.100: lwhsu.
Sat, Dec 27, 3:16 AM
aokblast requested review of D54378: net/lldap: update to 0.6.2.
Sat, Dec 27, 3:16 AM
aokblast requested review of D54377: www/wasm-bindgen-cli: Update to v0.2.100.
Sat, Dec 27, 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
aokblast added a reviewer for D52476: ichwd: address unused function warning by marking as __unused: markj.
Sep 10 2025, 4:34 PM
aokblast requested review of D52476: ichwd: address unused function warning by marking as __unused.
Sep 10 2025, 4:34 PM

Sep 8 2025

aokblast added a reviewer for D52423: hdac: Add patch for new Framework 16 inch laptop.: git_danielschaefer.me.
Sep 8 2025, 11:31 AM
aokblast added reviewers for D52423: hdac: Add patch for new Framework 16 inch laptop.: christos, lwhsu, markj.
Sep 8 2025, 11:29 AM
aokblast requested review of D52423: hdac: Add patch for new Framework 16 inch laptop..
Sep 8 2025, 11:28 AM

Sep 7 2025

aokblast added a comment to D52166: bhyve: implement single USB device passthrough support.

Hello, I think I need to at least get a usb 3 hub to test this feature since I haven’t had any super speed device. I will take a look at the candidates hub. However, I am occupied by other stuff recently. Maybe you won’t get any feedback very soon (Maybe a months afterI promise that I will be back ASAP since I would like to finish this feature. Sorry for your inconvenience on helping me test this!

Sep 7 2025, 5:05 PM

Sep 4 2025

aokblast added a comment to D52166: bhyve: implement single USB device passthrough support.

Sorry, I know that it is a little bit annoying. But since I don't have such device. Could you please try again?

No worries, I want to make sure this gets done right. I'll be your beta tester for this. 👍

I'm rebuilding my src tree now.

Thanks. I really need to get a device with stream in their descriptor. Could you please try again.

So, there is good news and bad news.

Good news is, the boot time went down significantly to 6 seconds.

The bad news, the device is still not detected by the guest OS.

Another report: https://gist.github.com/kenrap/2ad9fc1a216e0c6f7eb089c4f3b44c5f

Sep 4 2025, 5:03 PM
aokblast added a comment to D52166: bhyve: implement single USB device passthrough support.

Sorry, I know that it is a little bit annoying. But since I don't have such device. Could you please try again?

No worries, I want to make sure this gets done right. I'll be your beta tester for this. 👍

I'm rebuilding my src tree now.

Sep 4 2025, 3:35 PM
aokblast updated the diff for D52166: bhyve: implement single USB device passthrough support.

Release max number of Pstreams

Sep 4 2025, 3:34 PM
aokblast added a comment to D52166: bhyve: implement single USB device passthrough support.

Sorry, I know that it is a little bit annoying. But since I don't have such device. Could you please try again?

Sep 4 2025, 2:02 PM
aokblast updated the diff for D52166: bhyve: implement single USB device passthrough support.

Fix primary stream id failed

Sep 4 2025, 2:01 PM