Giter VIP home page Giter VIP logo

Comments (5)

smunaut avatar smunaut commented on August 23, 2024 1

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.

zyp avatar zyp commented on August 23, 2024

I've been doing this with the CLE-215+, works for me.

from litepcie.

enjoy-digital avatar enjoy-digital commented on August 23, 2024

@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.

racerxdl avatar racerxdl commented on August 23, 2024

@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.

racerxdl avatar racerxdl commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.