introduction.rst 935 B

123456789101112131415161718192021222324252627
  1. ============
  2. Introduction
  3. ============
  4. The firmware API enables kernel code to request files required
  5. for functionality from userspace, the uses vary:
  6. * Microcode for CPU errata
  7. * Device driver firmware, required to be loaded onto device
  8. microcontrollers
  9. * Device driver information data (calibration data, EEPROM overrides),
  10. some of which can be completely optional.
  11. Types of firmware requests
  12. ==========================
  13. There are two types of calls:
  14. * Synchronous
  15. * Asynchronous
  16. Which one you use vary depending on your requirements, the rule of thumb
  17. however is you should strive to use the asynchronous APIs unless you also
  18. are already using asynchronous initialization mechanisms which will not
  19. stall or delay boot. Even if loading firmware does not take a lot of time
  20. processing firmware might, and this can still delay boot or initialization,
  21. as such mechanisms such as asynchronous probe can help supplement drivers.