-
Notifications
You must be signed in to change notification settings - Fork 35
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
Why do I unbind the dsa0 cause the machine crash and reboot #7
Comments
Which kernel version are you using? You need this commit that is in 5.14-rc6 |
Are you using the latest accel-config, 3.4.1?
On 9/6/2021 11:16 PM, Tianchen Xiong
wrote:
updated to the upstream-fix, 5.14-rc1 , but cant't using the
accel-config?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#7 (comment)",
"url": "#7 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
yes, using the latest accel-config, the configs in test 2g2q_user is not suitable . when loading this config, as using the shared wq dsa0.0 , it will cause write mode fail , load config error , but as using the dedicated wq dsa0.1 , it will be ok . |
You are using the 5.14 based kernel. Upstream reverted ENQCMD
support starting 5.13. We have not been able to get that addressed
yet. So without ENQCMD, no shared wq support.
On 9/7/2021 8:18 AM, Tianchen Xiong
wrote:
yes, using the latest accel-config, the configs in test
2g2q_user is not suitable . when loading this config, as using
the shared wq dsa0.0 , it will cause write mode fail , load
config error , but as using the dedicated wq dsa0.1 , it will be
ok .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#7 (comment)",
"url": "#7 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
dsa_test does not support operation outside of SVM. You need vSVM on guest, which is not upstream. To do operation in current guest mode, you'll need to program gPA or gIOVA to the descriptor after pinning the memory for the source, destination, and the completion descriptor. |
So where should I do this ? In kernel ? or dma engine? |
This is all userspace. |
How to program gPA or gIOVA to the descriptor in userspace for dsa_test?? |
That is something you need to figure out. It's not an easy thing.
Not only that, you'll need to find a way to pin the user pages. I
suggest take a look at SPDK. I think they do something like this
and they have DSA support now.
On 9/16/2021 1:29 AM, Tianchen Xiong
wrote:
How to program gPA or gIOVA to the descriptor in userspace?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#7 (comment)",
"url": "#7 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
The command as follows :
echo 0000:6a:01.0 > /sys/bus/pci/devices/0000:6a:01.0/driver/unbind
(The 0000:6a:01.0 is the dsa0)
The text was updated successfully, but these errors were encountered: