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

Add stub get_pcie_replay_count for navi gpus #37

Closed
wants to merge 1 commit into from

Conversation

DarkKirb
Copy link

@DarkKirb DarkKirb commented Nov 4, 2020

this PR adds a stub "nv_get_pcie_replay_count" function that prevents nullptr() from being called in kernelspace on systems with navi gpus.

This PR will fix #15

this commit adds a stub "nv_get_pcie_replay_count" function that prevents nullptr() from being called in kernelspace on systems with navi gpus.

This commit fixes freebsd#15
@evadot
Copy link
Contributor

evadot commented Nov 4, 2020

This was fixed by torvalds/linux@2af8153 upstream and wasn't merge to the 5.4 lts branch.
I'll cherry-pick this commit to master and to 5.4-lts.
Thanks for finding the problem.

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

Successfully merging this pull request may close these issues.

Panic when running sysctl sys.device.drmn0.pcie_replay_count with amdgpu
2 participants