IGSC_IFR_R...T_STATUSES(3)

πŸ“¦
version 1.3.1 Β· 3 versions
, in epel 10

πŸ’… IGSC_IFR_R...T_STATUSES(3) πŸ’…

okay so this is the Library Functions Manual page for IGSC_IFR_R...T_STATUSES(3), and the NAME line is literally IGSC_IFR_RUN_TEST_STATUSES β€” IGSC_IFR_RUN_TEST_STATUSES. We're doing IFR run test statuses and memory PPR status stuff, and it's giving hardware-coded main character energy. 🫢


🌸 NAME 🌸

IGSC_IFR_RUN_TEST_STATUSES β€” IGSC_IFR_RUN_TEST_STATUSES

✨ SYNOPSIS ✨

🧚 Topics

  • Gsfp

πŸŽ€ Data Structures

  • struct igsc_device_mbist_ppr_status
  • struct igsc_ppr_status

🌈 Enumerations

  • enum igsc_ppr_test_status_mask β€” the memory PPR status structures PPR test status bit masks, and the exact values are:
enum igsc_ppr_test_status_mask { IGSC_PPR_STATUS_TEST_EXECUTED_MASK =
    0x1, IGSC_PPR_STATUS_TEST_SUCCESS_MASK = 0x2,
    IGSC_PPR_STATUS_FOUND_HW_ERROR_MASK = 0x4,
    IGSC_PPR_STATUS_HW_ERROR_REPAIRED_MASK = 0x8 }

πŸ’– Functions

  • IGSC_EXPORT int igsc_memory_ppr_devices (IN struct igsc_device_handle *handle, OUT uint32_t *device_count) β€” Retrieves GFSP number of memory PPR devices.
  • IGSC_EXPORT int igsc_memory_ppr_status (IN struct igsc_device_handle *handle, OUT struct igsc_ppr_status *ppr_status) β€” Retrieves GFSP memory PPR status structure data.

🧚 IGSC_IFR_RUN_TEST_STATUSES 🧚

The IFR Run Test Command Statuses β€” here's the enum, bestie:

enum ifr_test_run_status { IFR_TEST_STATUS_SUCCESS = 0,
    IFR_TEST_STATUS_PASSED_WITH_REPAIR,
    IFR_TEST_STATUS_PASSED_WITH_RECOVERY,
    IFR_TEST_STATUS_SUBSLICE_FAILURE,
    IFR_TEST_STATUS_NON_SUBSLICE_FAILURE, IFR_TEST_STATUS_ERROR }
  • IGSC_EXPORT int igsc_ifr_get_status (IN struct igsc_device_handle *handle, OUT uint8_t *result, OUT uint32_t *supported_tests, OUT uint32_t *ifr_applied, OUT uint8_t *tiles_num) β€” Retrieves the status of GSC IFR device.
  • IGSC_EXPORT int igsc_ifr_run_test (IN struct igsc_device_handle *handle, IN uint8_t test_type, IN uint8_t tiles, OUT uint8_t *result, OUT uint8_t *run_status, OUT uint32_t *error_code) β€” Runs IFR test on GSC IFR device.

πŸ¦‹ Detailed Description πŸ¦‹

The original gives this heading and literally no extra prose under it, bestie. That's the whole vibe. πŸ’€

πŸŽ€ Data Structure Documentation πŸŽ€

struct igsc_device_mbist_ppr_status

Device PPR status structure

Definition at line 1829 of file igsc_lib.h.

πŸ“ Data Fields: πŸ“

  • uint32_t mbist_test_status β€” 0 – Pass, Any set bit represents that MBIST on the matching channel has failed
  • uint32_t num_of_ppr_fuses_used_by_fw β€” Number of PPR fuses used by the firmware
  • uint32_t num_of_remaining_ppr_fuses β€” Number of remaining PPR fuses

struct igsc_ppr_status

PPR status structure

Definition at line 1838 of file igsc_lib.h.

πŸ“ Data Fields: πŸ“

  • uint8_t boot_time_memory_correction_pending β€” 0 - No pending boot time memory correction, 1 - Pending boot time memory correction
  • struct igsc_device_mbist_ppr_status device_mbist_ppr_status[] β€” Array of PPR statuses per device
  • uint32_t mbist_completed β€” 0 - Not Applied, Any set bit represents mbist completed
  • uint32_t num_devices β€” real number of devices in the array (on Xe_HP SDV, PVC <= 8)
  • uint8_t ppr_mode β€” 0 – PPR enabled, 1 – PPR disabled, 2 – PPR test mode, 3 – PPR auto run on next boot
  • uint32_t ras_ppr_applied β€” 0 - ppr not applied, 1 - ppr applied, 2 - ppr exhausted
  • uint8_t reserved β€” no description given in the original, bestie
  • uint8_t test_run_status β€” test status
See also: enum igsc_ppr_test_status_mask

πŸ”₯ Enumeration Type Documentation πŸ”₯

enum ifr_test_run_status

🌟 Enumerator 🌟

  • IFR_TEST_STATUS_SUCCESS β€” Test passed successfully
  • IFR_TEST_STATUS_PASSED_WITH_REPAIR β€” Test passed, recoverable error found and repaired. No subslice swap needed
  • IFR_TEST_STATUS_PASSED_WITH_RECOVERY β€” Test passed, recoverable error found and repaired. Subslice swap needed.
  • IFR_TEST_STATUS_SUBSLICE_FAILURE β€” Test completed, unrecoverable error found (Subslice failure and no spare Subslice available).
  • IFR_TEST_STATUS_NON_SUBSLICE_FAILURE β€” Test completed, unrecoverable error found (non-Subslice failure).
  • IFR_TEST_STATUS_ERROR β€” Test error

Definition at line 1290 of file igsc_lib.h.

enum igsc_ppr_test_status_mask

memory PPR status structures PPR test status bit masks

Definition at line 1819 of file igsc_lib.h.

πŸ’– Function Documentation πŸ’–

igsc_ifr_get_status

IGSC_EXPORT int igsc_ifr_get_status (IN struct igsc_device_handle * handle,
    OUT uint8_t * result, OUT uint32_t * supported_tests, OUT uint32_t *
    ifr_applied, OUT uint8_t * tiles_num)

Retrieves the status of GSC IFR device.

🌸 Parameters 🌸

  • handle β€” A handle to the device.
  • result β€” Test result code
  • supported_tests β€” Bitmask holding the tests supported on the platform.
  • ifr_applied β€” Bitmask holding the in field repairs was applied during boot.
  • tiles_num β€” Number of tiles on the specific SOC.

πŸ’« Returns πŸ’«

IGSC_SUCCESS if successful, otherwise error code.

igsc_ifr_run_test

IGSC_EXPORT int igsc_ifr_run_test (IN struct igsc_device_handle * handle, IN
    uint8_t test_type, IN uint8_t tiles, OUT uint8_t * result, OUT uint8_t *
    run_status, OUT uint32_t * error_code)

Runs IFR test on GSC IFR device.

🌸 Parameters 🌸

  • handle β€” A handle to the device.
  • test_type β€” Requested test to run
  • result β€” Test result code
  • tiles β€” Tiles on which to run the test
  • run_status β€” Test run status
  • error_code β€” The error code of the test that was run (0 - no error)

πŸ’« Returns πŸ’«

IGSC_SUCCESS if successful, otherwise error code.

igsc_memory_ppr_devices

IGSC_EXPORT int igsc_memory_ppr_devices (IN struct igsc_device_handle *
    handle, OUT uint32_t * device_count)

Retrieves GFSP number of memory PPR devices.

🌸 Parameters 🌸

  • handle β€” A handle to the device.
  • device_count β€” pointer to number of memory PPR devices, the number is returned by the FW

πŸ’« Returns πŸ’«

IGSC_SUCCESS if successful, otherwise error code.

igsc_memory_ppr_status

IGSC_EXPORT int igsc_memory_ppr_status (IN struct igsc_device_handle *
    handle, OUT struct igsc_ppr_status * ppr_status)

Retrieves GFSP memory PPR status structure data.

🌸 Parameters 🌸

  • handle β€” A handle to the device.
  • ppr_status β€” pointer to PPR status structure, which contains num_devices field representing the number of allocated items in the device_mbist_ppr_status[] array.

πŸ’« Returns πŸ’«

IGSC_SUCCESS if successful, otherwise error code.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Intel Graphics System Controller Firmware Update Library from the source code.


πŸ’– cute sign-off time: the source/version in the footer is Intel Graphics System Controller Firmware, and the footer also repeats IGSC_IFR_R...T_STATUSES(3). Date? The original footer doesn't show one, so I'm not gonna invent it β€” no cap. 🫢✨

πŸ“¦ where this page comes from