Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does HMSDK Support CXL Memory Devices from different vendor apart from SKHYNIX CXL Memory Expander? #1

Open
nchaii opened this issue Jun 20, 2023 · 3 comments

Comments

@nchaii
Copy link

nchaii commented Jun 20, 2023

Hello,
We are testing other Vendor CXL samples along with HYNIX . We have observed that HMSDK kernel can only detect HYNIX devices.
Does it mean HMSDK can only work with SKhynix's CXL devices or are we missing something?

Thank you!!

@rakiekim
Copy link
Collaborator

HMSDK doesn't have any vendor specific code, but it just uses the existing NUMA based policy for CXL devices.
https://github.com/skhynix/hmsdk/wiki/User-Guide#12-system-requirements

If other vendor's CXL device requires their vendor specific changes in the Linux kernel, then both HMSDK and upstream kernels do not have a way to support it.

In addition, the HMSDK kernel(linux kernel v6.1) requires a bit of grub config changes to detect SK hynix's CXL device so please add the line below in /etc/default/grub.

GRUB_CMDLINE_LINUX="efi=nosoftreserve"  

The "efi=nosoftreserve" in the grub config is not needed since upstream Linux kernel v6.3.
The current HMSDK kernel is based on v6.1, but we plan to upgrade it to v6.3 or higher in the near future.

@nchaii
Copy link
Author

nchaii commented Jun 21, 2023

Got it .Thank you for the reply!!

@rakiekim
Copy link
Collaborator

Thanks very much for opening the first issue for our project!
Please feel free to ask anything if you need. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants