Page MenuHomeFreeBSD

aokblast (SHENG-YI HONG)
AoK_Blast

Projects

User does not belong to any projects.

User Details

User Since
Jun 21 2022, 7:17 PM (135 w, 6 h)

Recent Activity

Thu, Jan 16

aokblast updated the diff for D47930: contrib/libxo/libxo/*.h fix libxo header include when the source is C++.

Update with github version

Thu, Jan 16, 6:10 PM
aokblast added a comment to D48490: sys/net: fix various signature mismatch needs for KCFI.

Great! Thank you.

Thu, Jan 16, 6:04 PM
aokblast updated the summary of D48490: sys/net: fix various signature mismatch needs for KCFI.
Thu, Jan 16, 5:56 PM
aokblast updated the diff for D48490: sys/net: fix various signature mismatch needs for KCFI.

Also for uninit

Thu, Jan 16, 5:54 PM
aokblast requested review of D48490: sys/net: fix various signature mismatch needs for KCFI.
Thu, Jan 16, 5:51 PM

Wed, Jan 15

aokblast added a comment to D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5.

If everything looks good, please merge the parent revision before merging this one.

Wed, Jan 15, 1:25 PM
aokblast added a comment to D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.

I don't implement it on gdb just because I cannot make wait operation on gdb work on my PC. Thus I am unable to test. Still checking where is the problem.

Wed, Jan 15, 11:44 AM
aokblast updated the diff for D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.

Minor fix

Wed, Jan 15, 11:41 AM
aokblast updated the diff for D48461: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen4.

Restore to zen4

Wed, Jan 15, 11:30 AM
aokblast updated the diff for D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5.

Rebase with zen4 patch

Wed, Jan 15, 11:29 AM
aokblast updated the diff for D48461: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen4.

Rebase with zen4 patch

Wed, Jan 15, 11:28 AM
aokblast updated the summary of D48461: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen4.
Wed, Jan 15, 11:25 AM
aokblast requested review of D48461: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen4.
Wed, Jan 15, 11:22 AM

Wed, Jan 1

aokblast updated the diff for D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.

Remove useless thread

Wed, Jan 1, 5:15 PM
aokblast added a comment to D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.

I discover the original wait operation for gdb is not working now. I configure one vm with rfb and gdb. When gdb is with wait operation, the rfb does not have any output. But if the gdb is not waiting, the rfb will have output and gdb can attach to vm after boot up. I checkout to the main branch and it is also the case.

Wed, Jan 1, 4:12 PM
aokblast updated the diff for D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.
  • usr.sbin/bhyve: add wait operation for uart
Wed, Jan 1, 4:05 PM
aokblast updated the diff for D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.
  • Add wait operation for uart
Wed, Jan 1, 3:58 PM

Mon, Dec 30

aokblast updated the diff for D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.

Fix condition when there is no rendezvous member

Mon, Dec 30, 5:26 PM
aokblast added a comment to D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.

Another consumer of rendezvous will be the raw socket over serial console that I have implemented a couple months ago. I haven't implement the wait operation on raw socket serial console. I would like to confirm the interface of rendezvous before I implement it.

Mon, Dec 30, 5:17 PM
aokblast updated the diff for D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.

Update implementation by using only one mutex and cond variable

Mon, Dec 30, 5:01 PM

Sun, Dec 29

aokblast updated the diff for D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.

Free members

Sun, Dec 29, 9:29 AM
aokblast updated subscribers of D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.
Sun, Dec 29, 9:25 AM
aokblast requested review of D48241: usr.sbin/bhyve: add rendezvous layer for initialization step of bhyve.
Sun, Dec 29, 9:25 AM

Wed, Dec 25

aokblast updated the diff for D48199: Add ctfdiff.

Use correct license header

Wed, Dec 25, 2:23 PM
aokblast updated the diff for D48199: Add ctfdiff.

Modify copyright header

Wed, Dec 25, 1:55 PM
aokblast updated the summary of D48199: Add ctfdiff.
Wed, Dec 25, 1:42 PM
aokblast added a comment to D48199: Add ctfdiff.

The elf parse, ctf parser is all from ctfdump and refactor it into C++. However, because it is cddl, I am wondering if there is any legal concern?

Wed, Dec 25, 1:39 PM
aokblast updated the diff for D48199: Add ctfdiff.

Move into usr.bin

Wed, Dec 25, 1:36 PM
aokblast added a reviewer for D48199: Add ctfdiff: lwhsu.
Wed, Dec 25, 1:34 PM
aokblast updated the diff for D48199: Add ctfdiff.

Remove unused CTF in Makefile

Wed, Dec 25, 1:34 PM
aokblast requested review of D48199: Add ctfdiff.
Wed, Dec 25, 1:29 PM

Dec 13 2024

aokblast added a comment to D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5.

It doesn't report the correct freq from zen5 (observed from htop). We can only observe a static frequency instead of dynamically changed. I will create a patch about zen4 later

Dec 13 2024, 4:24 AM

Dec 9 2024

aokblast added a comment to D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5.

BTW, is hwpstate_amd quite older than intel one? I thought it don't have autonomous mode and it throttling all cpu into same freqs.

Dec 9 2024, 2:49 PM
aokblast updated the diff for D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5.

Update debug message for fid

Dec 9 2024, 2:47 PM
aokblast updated the diff for D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5.

Fix style and report error for fid

Dec 9 2024, 2:44 PM
aokblast updated the diff for D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5.

Fix break error and add reference

Dec 9 2024, 3:19 AM

Dec 8 2024

aokblast added a reviewer for D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5: lwhsu.
Dec 8 2024, 9:00 AM
aokblast requested review of D47985: sys/x86/cpufreq/hwpstate_amd.c: add amd pstate for zen5.
Dec 8 2024, 8:55 AM

Dec 5 2024

aokblast added reviewers for D47930: contrib/libxo/libxo/*.h fix libxo header include when the source is C++: lwhsu, phil.
Dec 5 2024, 2:11 PM
aokblast requested review of D47930: contrib/libxo/libxo/*.h fix libxo header include when the source is C++.
Dec 5 2024, 2:09 PM

Nov 28 2024

aokblast added a reviewer for D47830: Fix various opt_kbd.h related built error in hid module: kib.
Nov 28 2024, 5:48 PM
aokblast added reviewers for D47830: Fix various opt_kbd.h related built error in hid module: lwhsu, git_danielschaefer.me.
Nov 28 2024, 5:45 PM
aokblast updated the diff for D47830: Fix various opt_kbd.h related built error in hid module.

Add co-author

Nov 28 2024, 5:45 PM
aokblast requested review of D47830: Fix various opt_kbd.h related built error in hid module.
Nov 28 2024, 5:38 PM

Oct 21 2024

aokblast updated the diff for D47153: Fix ncurses codegen from awk that needs to gen keycode for keyname.

Amend commit message

Oct 21 2024, 3:37 PM
aokblast updated the diff for D47153: Fix ncurses codegen from awk that needs to gen keycode for keyname.

Fix indent

Oct 21 2024, 12:25 PM

Oct 16 2024

aokblast updated the summary of D47153: Fix ncurses codegen from awk that needs to gen keycode for keyname.
Oct 16 2024, 2:12 PM
aokblast requested review of D47153: Fix ncurses codegen from awk that needs to gen keycode for keyname.
Oct 16 2024, 2:05 PM

Sep 30 2024

aokblast updated the diff for D46831: sccache: bump version to 0.8.2.

Use Makefile.crates

Sep 30 2024, 2:00 AM

Sep 28 2024

aokblast added reviewers for D46831: sccache: bump version to 0.8.2: pizzamig, lwhsu.
Sep 28 2024, 11:50 AM
aokblast requested review of D46831: sccache: bump version to 0.8.2.
Sep 28 2024, 11:50 AM

Sep 18 2024

aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.

Elaborate commit message and manual

Sep 18 2024, 1:54 PM
aokblast added a comment to D45120: Add bhyve uart raw tcp backend.

Sorry I cannot find other use case. Do you have any idea on the use case of raw tcp? Due to the unsafeness of raw TCP. We should use this feature in localhost. And because of the lack of terminal command in raw TCP support. It is much better to use modem device rather than raw tcp in localhost. So this feature actually is for proxy only (like OpenStack) because most of these applications implement raw tcp connection rather than modem device. But if we support telnet it will be useful because it is much simpler than modem device on configuration. I am planning to do so but we need this feature first because telnet is built upon tcp.

Sep 18 2024, 1:30 PM
aokblast added a comment to D45120: Add bhyve uart raw tcp backend.

Hello, is there any update about this? Anyone want to merge this can use this to have direct patch.

Sep 18 2024, 11:51 AM

Sep 11 2024

aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.

Use ::1 for safe ipv6 address

Sep 11 2024, 12:52 PM
aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.

User 127.0.0.1 instead of 0.0.0.0 in manual

Sep 11 2024, 12:48 PM

Sep 10 2024

aokblast added a comment to D45120: Add bhyve uart raw tcp backend.

For the 0.0.0.0 problem. I think we should fix it in the separated patch as we should also modify the VNC part.
Here is the branch that follows up the upstream modification of this patch:

Sep 10 2024, 2:35 PM
aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.

Elaborate manual over TCP raw socket

Sep 10 2024, 2:29 PM
aokblast attached a referenced file: F93565464: 0001-bhyve-Add-raw-tcp-to-uart-backend.patch.
Sep 10 2024, 2:24 PM
aokblast added a comment to D45120: Add bhyve uart raw tcp backend.

Thanks for your feedback and here is the patch

Sep 10 2024, 2:19 PM
aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.

Use warn instead of warnx on system call

Sep 10 2024, 2:15 PM

Sep 9 2024

aokblast added inline comments to D45120: Add bhyve uart raw tcp backend.
Sep 9 2024, 2:45 PM
aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.

Fix some typo and double close

Sep 9 2024, 2:44 PM

Sep 8 2024

aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.

Rebase and refactor comment

Sep 8 2024, 11:24 AM

Sep 3 2024

aokblast added inline comments to D45120: Add bhyve uart raw tcp backend.
Sep 3 2024, 9:15 AM

Aug 22 2024

aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.

Prevent race condition in is_socket

Aug 22 2024, 12:28 PM
aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.
  • Add bhyve uart tcp backend
  • Add manual page
Aug 22 2024, 12:25 PM

Aug 21 2024

aokblast updated the diff for D45120: Add bhyve uart raw tcp backend.
  • Add bhyve uart tcp backend
  • Add manual page
Aug 21 2024, 2:15 PM

Aug 13 2024

aokblast added a comment to D46231: Add autoscale for gstat.

@imp Hello, I found this needed feature in your idea list. Do you have any problem or feedback?

Aug 13 2024, 1:57 PM

Aug 12 2024

aokblast added a comment to D46249: Add smbus and i2c device id for Meteor Lake.

Fix it

Aug 12 2024, 2:25 PM
aokblast updated the diff for D46249: Add smbus and i2c device id for Meteor Lake.

Comply with space style

Aug 12 2024, 2:25 PM

Aug 9 2024

aokblast added reviewers for D46249: Add smbus and i2c device id for Meteor Lake: jhb, emaste.
Aug 9 2024, 8:38 AM
aokblast updated the summary of D46249: Add smbus and i2c device id for Meteor Lake.
Aug 9 2024, 8:35 AM
aokblast updated the diff for D46249: Add smbus and i2c device id for Meteor Lake.

Add extra id for smbus

Aug 9 2024, 8:34 AM
aokblast requested review of D46249: Add smbus and i2c device id for Meteor Lake.
Aug 9 2024, 8:09 AM

Aug 7 2024

aokblast updated the diff for D46231: Add autoscale for gstat.

Remove useless newline

Aug 7 2024, 2:04 PM
aokblast updated the diff for D46231: Add autoscale for gstat.

Move SCALE outside

Aug 7 2024, 2:01 PM
aokblast updated the diff for D46231: Add autoscale for gstat.

Bump gstat manual

Aug 7 2024, 1:54 PM
aokblast updated the diff for D46231: Add autoscale for gstat.

Reduce double outside scale

Aug 7 2024, 1:32 PM

Aug 6 2024

aokblast updated the diff for D46231: Add autoscale for gstat.

Apply clang-format

Aug 6 2024, 11:36 AM
aokblast updated the diff for D46231: Add autoscale for gstat.

Rebase to main and make scale more obvious

Aug 6 2024, 11:33 AM
aokblast added a reviewer for D46231: Add autoscale for gstat: imp.
Aug 6 2024, 1:11 AM

Aug 5 2024

aokblast updated the summary of D46231: Add autoscale for gstat.
Aug 5 2024, 4:51 PM
aokblast updated the diff for D46231: Add autoscale for gstat.

Backward competible implementation

Aug 5 2024, 4:48 PM
aokblast updated the summary of D46231: Add autoscale for gstat.
Aug 5 2024, 4:34 PM
aokblast requested review of D46231: Add autoscale for gstat.
Aug 5 2024, 4:28 PM

Jul 31 2024

aokblast updated the summary of D46193: WIP: add all KCFI modification and wait for discuss.
Jul 31 2024, 4:18 PM
aokblast updated subscribers of D46193: WIP: add all KCFI modification and wait for discuss.
Jul 31 2024, 4:02 PM
aokblast updated subscribers of D46193: WIP: add all KCFI modification and wait for discuss.
Jul 31 2024, 3:59 PM
aokblast updated the summary of D46193: WIP: add all KCFI modification and wait for discuss.
Jul 31 2024, 3:57 PM
aokblast updated the summary of D46193: WIP: add all KCFI modification and wait for discuss.
Jul 31 2024, 3:52 PM
aokblast requested review of D46193: WIP: add all KCFI modification and wait for discuss.
Jul 31 2024, 3:10 PM

Jun 7 2024

aokblast added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

So do you means we only aware of the incompatible kernel and don't implement similar check for kernel module?

Jun 7 2024, 9:07 PM
aokblast added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

I think you are right, I don't think about kernel problem. And in my opinion, it is the chicken-and-egg conundrum if we implemented it in a normal ELF way (rely on VMA of section) for kernel. But it is still a mitigation for driver developer when developing kernel module. Besides, we still need uuid_addr for relocatable kernel module. I have extract my patch to contain relocatable file handling only. So I think we should preserve this patch not merge it until finding a way to verify who is the correct kernel? (by extended the kernel dump header as you mentioned or something else?)

Jun 7 2024, 7:34 PM

Jun 6 2024

aokblast updated the diff for D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

Expose uuid for kernel module in kernel to prevent incompetable coredump loaded by debugger for relocatable file

Jun 6 2024, 7:04 PM
aokblast added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

But we cannot just rely on the file to tell use where the memory is because it maybe wrong after you compile the module. For relocatable file, you don't even have VMA to tell you where is the memory. We should use uuid_addr from kernel memory. This is why I think we should have build-id feature (The file loaded is different from the one statically resides in your file system)

Jun 6 2024, 6:58 PM
aokblast added a comment to D43251: Update riscv-isa-sim to 2024-05-31 snapshot.

Got it. Thanks for your response!

Jun 6 2024, 3:15 PM
aokblast added a comment to D43251: Update riscv-isa-sim to 2024-05-31 snapshot.

Just a question, how you test on kernel, I use spike --kernel /path/to/kernel /path/to/sbi. It give me invalid address error even after I add -m0x1000000,0x2000.

Jun 6 2024, 3:06 PM
aokblast retitled D43251: Update riscv-isa-sim to 2024-05-31 snapshot from Update riscv-isa-sim to 2023-12-23 snapshot to Update riscv-isa-sim to 2024-05-31 snapshot.
Jun 6 2024, 2:24 PM
aokblast updated the diff for D43251: Update riscv-isa-sim to 2024-05-31 snapshot.

Update to 2024-05-31

Jun 6 2024, 2:23 PM