Page MenuHomeFreeBSD

j_yoon.choi_samsung.com (Jaeyoon Choi)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 3 2025, 1:07 AM (24 w, 3 d)

Recent Activity

Thu, Jun 19

j_yoon.choi_samsung.com added a reviewer for D50933: ufshci: enable the ufshci module to load at boot time: imp.
Thu, Jun 19, 8:45 AM
j_yoon.choi_samsung.com requested review of D50933: ufshci: enable the ufshci module to load at boot time.
Thu, Jun 19, 8:41 AM

Fri, Jun 13

j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.
In D50370#1160086, @imp wrote:
In D50370#1159535, @imp wrote:

I think this is ready to commit (or at least to start to try)... What do you think?

Yes, I think this is ready to commit!

I don't understand the commit process. Is there anything I need to do to commit?

Since you don't yet have commit permissions, I'll need to do that. I'll download it to my tree, make sure it compiles everywhere (or is disabled) and then push it into the repo. I just wanted to make sure that you didn't have anything else planned before I started that process...

Fri, Jun 13, 3:51 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.
In D50370#1159535, @imp wrote:

I think this is ready to commit (or at least to start to try)... What do you think?

Yes, I think this is ready to commit!

Fri, Jun 13, 3:15 AM

Thu, Jun 12

j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.
In D50370#1159535, @imp wrote:

I think this is ready to commit (or at least to start to try)... What do you think?

Thu, Jun 12, 2:35 PM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Change UIC power mode ready time from 500ms to 2000ms

Thu, Jun 12, 3:51 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

Apply review comments.

Thu, Jun 12, 3:18 AM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Apply review comments

Thu, Jun 12, 3:15 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

Thank you for the kind review.
Your suggestions were very helpful in preparing this patch. :)

Thu, Jun 12, 2:59 AM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Apply review comment, Remove unnecessary functions

Thu, Jun 12, 1:10 AM

Wed, Jun 11

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Rename functions

Wed, Jun 11, 11:47 PM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Fix a uic command bug

Wed, Jun 11, 9:51 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

I measured the key performance metrics on the real device and confirmed that the results meet my goals.
For Write, if WriteBooster is applied, the bandwitch will increase.
Here are the results I measured on each device.

Wed, Jun 11, 9:49 AM

Mon, Jun 9

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Fix a memory leak bug

Mon, Jun 9, 2:23 AM

Thu, Jun 5

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Remove debug code

Thu, Jun 5, 8:22 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

This patch is now ready for full review.
Thank you for your patience.

Thu, Jun 5, 7:22 AM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Apply clang-format

Thu, Jun 5, 6:55 AM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

The UFSHCI driver now works on the Samsung Galaxy Book S and Lenovo Duet3.

Thu, Jun 5, 2:47 AM

Wed, Jun 4

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Check the completion notification register when processing request completion

Wed, Jun 4, 7:34 AM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Number of bugs found during testing on Lenovo duet3

Wed, Jun 4, 7:23 AM

Mon, Jun 2

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Fix a bug in interrupt enable register, Add Lenovo Duet3 11ian device id

Mon, Jun 2, 8:44 AM

Thu, May 29

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Refactoring quirks

Thu, May 29, 5:54 AM

Wed, May 28

j_yoon.choi_samsung.com added inline comments to D50370: ufshci: Introduce the ufshci(4) driver.
Wed, May 28, 9:40 AM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Move the quirk check routine to PCI attach.

Wed, May 28, 9:37 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

The latest version of the UFS spec is paid, but you can download version 2.1 for free. Except for the MCQs, 4.1 and 2.1 are almost identical.
Please refer to them in your review.

Wed, May 28, 12:40 AM

Tue, May 27

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Apply review comments

Tue, May 27, 10:16 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

Thanks for the kind review! Most comments have been applied.
I'll mark the remaining ones as done after applying the review.
Thanks again!

Tue, May 27, 10:14 AM
j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Apply clang-format

Tue, May 27, 1:14 AM

May 23 2025

j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

We've updated style(9) to permit // comments but don't want styles mixed within a file/component. The //s here look like mostly temporary/debug code that won't be committed.

Comments starting with // may be used in both C and C++.  Styles should
not be mixed within a file or component.

There's also a file for clang-format which should produce acceptable results.

We can focus on architectural / high level approach review initially and do a style(9) pass once ready to commit.

May 23 2025, 2:33 AM
j_yoon.choi_samsung.com added inline comments to D50370: ufshci: Introduce the ufshci(4) driver.
May 23 2025, 2:09 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

Obligatory style review:

  • I see commented out code; either delete it or use #if(def) to gate it with an internal debug define
  • FreeBSD uses /* C-style comments */ not // C++-style comments but I see a few instances of the latter
  • Continuation lines aren't being consistently indented (I'm struggling to figure out what rule you've followed, even); they should be indented by four spaces relative to the block-level indent
  • For combinations of bitwise operations etc where the operator precedence can be unintuitive we generally include redundant parentheses to avoid the need to think about whether it's correct without them (both for reading and writing)

You may find tools/build/checkstyle9.pl helpful, it can probably tell you about some of these, and maybe more I've not spotted. As an adaptation of QEMU's style checker it's not perfect though, so if it looks to be producing unexpected output then feel free to ignore those suggestions.

May 23 2025, 1:58 AM
j_yoon.choi_samsung.com added inline comments to D50370: ufshci: Introduce the ufshci(4) driver.
May 23 2025, 1:53 AM
j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

first pass - this on the surface looks like a well formatted / written driver. no magic numbers, consistent indenting, commented code, handling errors, thanks!

May 23 2025, 1:29 AM

May 22 2025

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Add manual completion, Add comments to req_queue

May 22 2025, 5:43 AM

May 21 2025

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Update UFS/UFSHCI version to 4.1, Add a Intel Lakefield quirk

May 21 2025, 8:45 AM

May 20 2025

j_yoon.choi_samsung.com updated the diff for D50370: ufshci: Introduce the ufshci(4) driver.

Fix typo, update data_direction in UTRD, Add delay for HCE enable

May 20 2025, 2:21 AM

May 16 2025

j_yoon.choi_samsung.com added a comment to D50370: ufshci: Introduce the ufshci(4) driver.

I’d like to request an early review.
The items listed below are still incomplete, but I plan to finish them and update the patch while the review is in progress.

May 16 2025, 12:54 AM
j_yoon.choi_samsung.com added reviewers for D50370: ufshci: Introduce the ufshci(4) driver: imp, julian.
May 16 2025, 12:43 AM
j_yoon.choi_samsung.com requested review of D50370: ufshci: Introduce the ufshci(4) driver.
May 16 2025, 12:37 AM