-
Notifications
You must be signed in to change notification settings - Fork 33
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
tpart_vec returns 1s for non-existent partitions using Tegra TX2 processor #81
Comments
I wonder if this is a firmware bug. Doesn't seem like tpart_vec should be returning with other bits set. I suspect the bug is new seeing otherwise it would have never worked at all. But masking it in software seems like a good workaround. Again, a patch would be appreciated. |
Patch is attached. Based upon latest on master branch. |
Um, can you do it in git? And submit a PR? |
How do I get permission to push to the repository? When I try to push a new branch, I get "permission denied". Sorry, this is the first time that I have contributed to this project and not sure how it works. |
You need to create a fork and push to it. Once you have a branch there you can submit a pull request back to our tree. See this. |
In switchtec_ntb_init_sndev, tpart_vec reads 0x0000FFFFFFFFFFE for partition 0 in a 2 partition configuration (2 NT endpoints). It seems as though the driver is expecting it to read 0x2. When 0x0000FFFFFFFFFFFE is read, the init fails the following check.
I suggest the following modification to tpart_vec. This would use the ep_map register to mask the valid bits within tpart_vec.
The text was updated successfully, but these errors were encountered: