Quiescing Card and Driver

General

Prior to removing a card from the system, two things must occur:

  1. The device's driver must cease accessing the card.

  2. The card must cease generation transaction and interrupts.

How this is accomplished is OS-specific, but the following must take place:

  • The OS must stop issuing new requests to the device's driver or must instruct the driver to stop accepting new requests.

  • The driver must terminate or complete all outstanding requests.

  • The card must be disabled from generating interrupts or transactions.

When the OS commands the driver to quiesce itself and its device, the OS must not expect the device to remain in the system (in other words, it could be removed and not replaced with a similar card).

Pausing a Driver ...

Get PCI Express System Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.