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

Enhance pcieutil to check actual presence of pcie device #191

Open
prgeor opened this issue Jun 1, 2021 · 1 comment · May be fixed by #429
Open

Enhance pcieutil to check actual presence of pcie device #191

prgeor opened this issue Jun 1, 2021 · 1 comment · May be fixed by #429
Assignees

Comments

@prgeor
Copy link
Collaborator

prgeor commented Jun 1, 2021

pcieutil checks the sysfs entry to conclude if a pcie device is present or not. The sysfs entry won't be updated for non-hotplug pcie device if say, a downstream port of a pcie switch (to which a pcie device is connected) receives a "hot-reset". In this case the pcie device will be disconnected from the bus, but sysfs entry doesn't reflect the missing device.

@prgeor
Copy link
Collaborator Author

prgeor commented Jun 1, 2021

Hot reset on downstream port of a pcie switch can happen when the upstream port reports a "DL_Down" state which in turn can happen when the upstream port has lost connection to the upstream device due to an error that is not recoverable by the physical layer and data link layer.

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 a pull request may close this issue.

2 participants