Project

General

Profile

Feature #38978

NVMe hot-plug and un-plug

Added by Alexander Motin 7 months ago. Updated 8 days ago.

Status:
In Progress
Priority:
No priority
Assignee:
Alexander Motin
Category:
Hardware
Target version:
Estimated time:
Severity:
Med High
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

NVMe needs support for both hot-plug and un-plug.

For hot-plug there are two potential issues: a) make PCI report that something happened, and b) hope there is enough resources reserved to allocate from (which may be difficult).

For un-plug obviously clean teardown is needed, and one of the problem is that device is no longer responding to accesses, since it is no longer there.

History

#1 Updated by Alexander Motin 7 months ago

  • Description updated (diff)
  • Status changed from Unscreened to Screened

#2 Updated by Alexander Motin 8 days ago

  • Status changed from Screened to In Progress
  • Target version changed from Backlog to 11.2-U3
  • Parent task deleted (#31596)

I've made few fixes there, including r343447 already in 11.3-stable branch. Unfortunately resource allocation problem on plug-in is complicated and may still require reboot, number of others should be handled now.

#3 Updated by Alexander Motin 8 days ago

Just for notice, FreeBSD head finally enabled PCI BARs reallocation (https://svnweb.freebsd.org/changeset/base/344022), that, if works fine, may be a step towards PCI resource reservation.

Also available in: Atom PDF