aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / scripts / gpu_bench / STEP3_smu_check.bench
| 1 | # STEP3_smu_check.bench -- SMU state as the firmware left it (reads only). |
| 2 | # BAR5 DWORD indices (byte offset / 4). Source: amd_gpu_regs.h (smu_7_1_3_d.h). |
| 3 | # |
| 4 | # No writes, so the allowlist does not apply. Earlier versions wrote message 0x201 as |
| 5 | # "GetSMFWVersion"; Linux's smu7_ppsmc.h:335 has 0x201 as PPSMC_MSG_API_GetMclkFrequency and no |
| 6 | # GetSMFWVersion exists, so that write is gone. No SMC message is sent until a verified safe |
| 7 | # one is chosen. |
| 8 | |
| 9 | # All-ones on either read means the SMC is not reachable |
| 10 | # mmSMC_MESSAGE_0, byte 0x250 |
| 11 | bar5_read 0x94 |
| 12 | # mmSMC_RESP_0, byte 0x254 (PPSMC_Result_OK = 0x01, smu7_ppsmc.h:83) |
| 13 | bar5_read 0x95 |
| 14 | # mmSMC_MSG_ARG_0, byte 0x290 |
| 15 | bar5_read 0xa4 |