Comments (5)
In case anyone is still looking for such info : doing a remove
on the root bridge corresponding to that PCIe slot and then doing a rescan often works better because it forces reconfiguration of the memory zones being mapped / enabled through it.
from litepcie.
I've been doing this with the CLE-215+, works for me.
from litepcie.
@zyp thanks, indeed i also just tested it successfully on Ubuntu 18.04:
echo 1 | sudo tee /sys/bus/pci/devices/0000\:02\:00.0/remove
echo 1 | sudo tee /sys/bus/pci/rescan
from litepcie.
@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.
from litepcie.
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.
from litepcie.
Related Issues (20)
- litecpie dma test result in error HOT 3
- there is no packet separation capability for dma HOT 3
- flawed DMA driver HOT 1
- Is it ASIC proven? HOT 1
- CrossClockDomain FIFO depth too shallow causes inefficiencies HOT 1
- Compute Express Link (CXL) support HOT 2
- Support of Non-Transparent Bridge (NTB) for inter-domain communication through PCIe interfaces. HOT 3
- No Rx TLP with s7pciephy
- Problems with inter clock timing
- [NiteFury] Device not enumerating with x1 x2 HOT 4
- dma_test with external loopback HOT 1
- Implementing a versatile PCIe switch using LitePCIe HOT 1
- MSI stalls on Ultrascale+ HOT 2
- DMA prog mode status register race condition / early-update HOT 2
- [Feature request] Implementation of a Root Complex HOT 1
- DMAReader not working after update to 2023.12 HOT 8
- PCIe on UltraScalePlus with 256 bit width is broken HOT 4
- Expanding spiflash functionality in c++ driver with I2C bitbang and SPIMaster functions HOT 6
- The tlast signal doesn't seem to be working
- SIGKILL when doing a dma_test with zero-copy?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litepcie.