-
Notifications
You must be signed in to change notification settings - Fork 120
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
Check PCIe bus rescan after loading bitstream. #36
Comments
I've been doing this with the CLE-215+, works for me. |
@zyp thanks, indeed i also just tested it successfully on Ubuntu 18.04:
|
@enjoy-digital I don't think it works on all machines though. Here the BAR doesn't get remmaped if I don't reboot. The device correctly get removed and when I issue rescan, they show up again, but it can't be used. Here is a HP Server that I'm using to test it. |
In case anyone is still looking for such info : doing a |
Just confirmed that it does work issuing a remove in root bridge as @smunaut pointed out. Just need to be carefull for Allocated BAR size, which kernel doesnt always find a place to fit it. But it does correctly accept a new device. |
It seems to be possible: https://stackoverflow.com/questions/32334870/how-to-do-a-true-rescan-of-pcie-bus but hasn't been tested.
The text was updated successfully, but these errors were encountered: