Skip to content

RAS support for GC 12.1 devices

Alex Deucher amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest109 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/109drm/amd/ras: Add ras notification eventdrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c+8 -00 replies
2/109drm/amd/ras: Rename CPER section descriptor structdrivers/gpu/drm/amd/ras/core/ras_cper.c drivers/gpu/drm/amd/ras/core/ras_cper.h+5 -50 replies
3/109drm/amd/ras: register mce notifier to obtain ras error infodrivers/gpu/drm/amd/ras/ras_mgr/Makefile drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.c drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.h +1 more+192 -10 replies
4/109drm/amd/ras: add interface to support parsing aca bank ecc infodrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h+22 -00 replies
5/109drm/amd/ras: Parse error type of MCE and encode CPERdrivers/gpu/drm/amd/ras/core/log_ring.h drivers/gpu/drm/amd/ras/core/ras_cper.c+29 -00 replies
6/109drm/amd/ras: Introduce BOOT CPER encoding functiondrivers/gpu/drm/amd/ras/core/log_ring.c drivers/gpu/drm/amd/ras/core/log_ring.h drivers/gpu/drm/amd/ras/core/ras_cper.c +1 more+76 -40 replies
7/109drm/amd/ras: Add interface to get ras eeprom table versiondrivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/eeprom.c drivers/gpu/drm/amd/ras/core/eeprom.h +1 more+21 -00 replies
8/109drm/amd/ras: Add dedicated interface to obtain cper infodrivers/gpu/drm/amd/ras/core/cmd.c drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c+41 -90 replies
9/109drm/amd/ras: optimize mp1 dump bank interfacedrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/ras_mp1.c drivers/gpu/drm/amd/ras/core/ras_mp1.h +1 more+23 -150 replies
10/109drm/amd/ras: support separate logging of gfx aid and xcd errorsdrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h+23 -230 replies
11/109drm/amd/ras: Optimize and remove redundant codedrivers/gpu/drm/amd/ras/core/aca.c+48 -750 replies
12/109drm/amd/ras: Supports recording data source timestamps to EEPROMdrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/ras.h +1 more+13 -00 replies
13/109drm/amd/ras: Improve function interface to record different types of datadrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/cmd.c drivers/gpu/drm/amd/ras/core/log_ring.c +3 more+53 -380 replies
14/109drm/amd/ras: Change variable name to avoid confusiondrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/ras.h +1 more+18 -180 replies
15/109drm/amd/ras: add common interface to query ras subunit versiondrivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/ras.h+48 -00 replies
16/109drm/amd/ras: Add aca parser v5_0drivers/gpu/drm/amd/ras/core/Makefile drivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h +2 more+422 -00 replies
17/109drm/amd/ras: Add fifo to cache ras data from mce notificationdrivers/gpu/drm/amd/ras/core/Makefile drivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/core.c +4 more+208 -10 replies
18/109drm/amd/ras: Add mce ras error typedrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/ras.h +1 more+14 -40 replies
19/109drm/amd/ras: Handling ras mce notification eventdrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.c+110 -20 replies
20/109drm/amd/ras: Add ras ip configuration for A + Adrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/core.c +5 more+54 -240 replies
21/109drm/amd/ras: Add ras_psp v15_0 for A + Adrivers/gpu/drm/amd/ras/core/Makefile drivers/gpu/drm/amd/ras/core/ras_psp.c drivers/gpu/drm/amd/ras/core/ras_psp_v15_0.c +1 more+81 -00 replies
22/109drm/amd/ras: Add ras block id mappingdrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/cmd.c +7 more+184 -450 replies
23/109drm/amd/ras: Support querying RAS driver capabilitiesdrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/aca_v1_0.c +8 more+204 -60 replies
24/109drm/amd/ras: Add ras command to obtain ras capabilitiesdrivers/gpu/drm/amd/ras/core/cmd.c drivers/gpu/drm/amd/ras/core/cmd.h+53 -30 replies
25/109drm/amd/ras: Support poison consumption handling for A + A sriov guestdrivers/gpu/drm/amd/amdgpu/amdgpu_umc.c drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_process.c+19 -100 replies
26/109drm/amdgpu: Handle ras interrupts using unified interfacedrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c+1 -30 replies
27/109drm/amdgpu: Support obtaining ras capabilitiesdrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h+31 -20 replies
28/109drm/amd/ras: Remove unused function interfacesdrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.h+0 -390 replies
29/109drm/amdgpu: factor PSP v1.0 firmware bin descriptor parsingdrivers/gpu/drm/amd/amdgpu/amdgpu_kms.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h+55 -460 replies
30/109drm/amdgpu: load standalone RL firmware on psp v15_0_8drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c+29 -00 replies
31/109drm/amdgpu: load TA firmware for psp v15_0_8drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c+5 -00 replies
32/109drm/amdgpu: update UMC active_mask to u64drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h+18 -150 replies
33/109drm/amdgpu: add ext_umc_mask to RAS TA initdrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/ta_ras_if.h+3 -10 replies
34/109drm/amd/ras: add ext_umc_mask to RAS TA initdrivers/gpu/drm/amd/ras/core/ras_psp.c drivers/gpu/drm/amd/ras/core/ras_psp.h drivers/gpu/drm/amd/ras/core/ta_if.h +1 more+5 -10 replies
35/109drm/amdgpu: Make extra space in psp->cmd_buf_bo usabledrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c+36 -270 replies
36/109drm/amd/ras: Isolate ras mce handler with CONFIG_X86_MCE_AMDdrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.c+8 -00 replies
37/109drm/amd/ras: add interface to query nps mode and vram typedrivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_psp.c +5 more+69 -410 replies
38/109drm/amd/ras: add helper to convert aca bank to eeprom recorddrivers/gpu/drm/amd/ras/core/eeprom.h drivers/gpu/drm/amd/ras/core/ras_umc.c drivers/gpu/drm/amd/ras/core/ras_umc.h+22 -00 replies
39/109drm/amd/ras: ras mp1 introduces common interfacesdrivers/gpu/drm/amd/ras/core/ras_mp1.c drivers/gpu/drm/amd/ras/core/ras_mp1.h+161 -50 replies
40/109drm/amd/ras: Support retrieving bad page info from mp1_v15_0drivers/gpu/drm/amd/ras/core/Makefile drivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_mp1.c +7 more+280 -40 replies
41/109drm/amd/ras: add interfaces to manage multiple EEPROMsdrivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.h+536 -00 replies
42/109drm/amd/ras: Refactor EEPROM parameter config to support multiple ras EEPROMsdrivers/gpu/drm/amd/ras/core/eeprom.c drivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_eeprom_i2c.c +1 more+154 -1040 replies
43/109drm/amd/ras: Ras eeprom supports new eeprom management interfacesdrivers/gpu/drm/amd/ras/core/eeprom.c+87 -00 replies
44/109drm/amd/ras: switch to use new eeprom management interfacesdrivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c drivers/gpu/drm/amd/ras/core/Makefile drivers/gpu/drm/amd/ras/core/aca.c +9 more+122 -2100 replies
45/109drm/amdgpu/ras: Rework fw eeprom handling for new management interfacedrivers/gpu/drm/amd/ras/core/eeprom_fw.c drivers/gpu/drm/amd/ras/core/eeprom_fw.h drivers/gpu/drm/amd/ras/core/ras.h +2 more+169 -4720 replies
46/109drm/amd/ras: unify umc record logging paths for runtime and preloaddrivers/gpu/drm/amd/ras/core/ras_umc.c drivers/gpu/drm/amd/ras/core/ras_umc.h+76 -1190 replies
47/109drm/amd/ras: add interface to obtain FW eeprom records at runtimedrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/ras_process.c drivers/gpu/drm/amd/ras/core/ras_umc.c +1 more+47 -10 replies
48/109drm/amd/ras: preload and handle bad pages at boot timedrivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/eeprom.c drivers/gpu/drm/amd/ras/core/ras.h +6 more+132 -320 replies
49/109drm/amd/ras: add interface to report bad page infodrivers/gpu/drm/amd/ras/core/ras_umc.c drivers/gpu/drm/amd/ras/core/ras_umc.h+47 -10 replies
50/109drm/amd/ras: Support obtaining bad page info at boot time for ras_mp1_v15_0drivers/gpu/drm/amd/ras/core/ras_mp1_v15_0.c+70 -10 replies
51/109drm/amd/ras: Add gpu rma exception handlingdrivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/ras_process.c+18 -20 replies
52/109drm/amd/ras: use record count instead of bad page count for EEPROM threshold checkingdrivers/gpu/drm/amd/ras/core/eeprom.c+6 -220 replies
53/109drm/amd/ras: remove unused code from ras eepromdrivers/gpu/drm/amd/ras/core/eeprom.c drivers/gpu/drm/amd/ras/core/eeprom.h drivers/gpu/drm/amd/ras/core/ras.h+1 -2280 replies
54/109drm/amd/ras: Add null check to prevent null pointer exceptiondrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c+13 -70 replies
55/109drm/amdgpu: Add bad page preloading and pre-reservation supportdrivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +2 more+15 -70 replies
56/109drm/amdgpu: fix duplicate ras debugfs node creation on driver reloaddrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c+5 -10 replies
57/109drm/amdgpu/ras: prepare ras_psp for ras_mgr-owned TA reloaddrivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_psp.c drivers/gpu/drm/amd/ras/core/ras_psp.h +1 more+89 -790 replies
58/109drm/amdgpu/ras: reload RAS TA from ras mgr resumedrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c+74 -00 replies
59/109drm/amdgpu: refactor memory handling to support both external and internal allocationdrivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_psp.c drivers/gpu/drm/amd/ras/core/ras_psp.h +1 more+173 -800 replies
60/109drm/amdgpu/ras: support loading RAS RL and TA firmware in RAS moduledrivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_psp.c drivers/gpu/drm/amd/ras/core/ras_psp.h +2 more+265 -1940 replies
61/109drm/amdgpu: add switch to select firmware loading path for RAS RL and TAdrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c+19 -10 replies
62/109drm/amd/ras: overlap VF RAS_CMD buffer and legacy RAS telemetry memory regionsdrivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h+13 -90 replies
63/109drm/amd/pm: update RAS-specific interface to support multi-parameterdrivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +2 more+46 -130 replies
64/109drm/amd/ras: update mp1_v13_0 to use smu ras multi-parameter interfacedrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mp1_v13_0.c+13 -70 replies
65/109drm/amd/ras: support multi-parameter communication with mp1 in ras_mp1_v15_0drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h drivers/gpu/drm/amd/ras/core/ras.h +4 more+99 -690 replies
66/109drm/amd/ras: harden error handling and fix resource/lock issuesdrivers/gpu/drm/amd/ras/core/eeprom_fw.c drivers/gpu/drm/amd/ras/core/ras_mp1.c drivers/gpu/drm/amd/ras/core/ras_umc.c+22 -100 replies
67/109drm/amd/ras: fix silent error swallowing in get_record_count pathsdrivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/eeprom.c drivers/gpu/drm/amd/ras/core/eeprom_fw.c +2 more+17 -140 replies
68/109drm/amd/ras: add address translation interface for umc_v15_0drivers/gpu/drm/amd/ras/core/Makefile drivers/gpu/drm/amd/ras/core/ras_umc.c drivers/gpu/drm/amd/ras/core/ras_umc.h +2 more+295 -10 replies
69/109drm/amdgpu: add new interface in guest driver for getting RAS capability when uniras enableddrivers/gpu/drm/amd/amdgpu/amdgpu_virt.c drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h+63 -50 replies
70/109drm/amd/ras: fix driver unload failure when uniras is enableddrivers/gpu/drm/amd/ras/core/ras_psp.c+1 -20 replies
71/109drm/amd/ras: use single socket per GPU device to store ACA RAS error infodrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/ras.h +2 more+49 -630 replies
72/109drm/amd/ras: update aca bank decoding for A + Adrivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/ras_aca_v5_0.c drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c+11 -370 replies
73/109drm/amd/ras: add PCIE_PL ACA block mappingdrivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/ras_aca_v5_0.c+15 -00 replies
74/109drm/amd/ras: map boot log events to CPER typedrivers/gpu/drm/amd/ras/core/ras_cper.c+2 -00 replies
75/109drm/amd/ras: add rascore BERT record walkerdrivers/gpu/drm/amd/ras/core/Makefile drivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_bert.c +1 more+86 -00 replies
76/109drm/amd/ras: process cached BERT boot errorsdrivers/gpu/drm/amd/ras/ras_mgr/Makefile drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.c drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.h +1 more+192 -00 replies
77/109drm/amd/ras: add management interface to support psp bad page address translationdrivers/gpu/drm/amd/ras/core/eeprom.h drivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_psp.c +4 more+87 -80 replies
78/109drm/amdgpu/ras: use flip-bit mask to generalize bad page address derivationdrivers/gpu/drm/amd/ras/core/eeprom.h drivers/gpu/drm/amd/ras/core/ras_umc.c drivers/gpu/drm/amd/ras/core/ras_umc.h +2 more+181 -590 replies
79/109drm/amd/ras: introduce row page address buffer alloc/free interfacesdrivers/gpu/drm/amd/ras/core/cmd.h drivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/ras_umc.c +2 more+99 -650 replies
80/109drm/amd/ras: limit eeprom ras table validation to init and post-writedrivers/gpu/drm/amd/ras/core/eeprom.c drivers/gpu/drm/amd/ras/core/eeprom.h+29 -40 replies
81/109drm/amd/ras: resolve compiler warning for stack frame exceeding 1024 bytesdrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c+17 -70 replies
82/109drm/amd/ras: replace variable with function to check poison supportdrivers/gpu/drm/amd/ras/core/aca_v1_0.c drivers/gpu/drm/amd/ras/core/ras_aca_v5_0.c+2 -20 replies
83/109drm/amd/ras: update interface to support multiple ras query methodsdrivers/gpu/drm/amd/ras/core/cmd.c drivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/ras.h +1 more+7 -50 replies
84/109drm/amd/ras: add missing ras core block namesdrivers/gpu/drm/amd/ras/core/core.c+20 -00 replies
85/109drm/amd/ras: add BERT CPER table helpersdrivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_bert.c drivers/gpu/drm/amd/ras/core/ras_bert.h +1 more+131 -160 replies
86/109drm/amd/ras: record crashdump BERT sections as boot CPERdrivers/gpu/drm/amd/ras/core/ras_bert.c+59 -20 replies
87/109drm/amd/ras: improve ras log timestamp precisiondrivers/gpu/drm/amd/ras/core/log_ring.c drivers/gpu/drm/amd/ras/core/ras_cper.c drivers/gpu/drm/amd/ras/ras_mgr/ras_sys.h+6 -30 replies
88/109drm/amd/ras: add module parameter for unirasdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/ras.h +3 more+83 -150 replies
89/109drm/amdgpu: extend ras feature mask to 64-bit for A + Adrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c+8 -80 replies
90/109drm/amd/ras: refactor ras cper to simplify adding new cper eventsdrivers/gpu/drm/amd/ras/core/cmd.c drivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/ras.h +3 more+395 -2100 replies
91/109drm/amd/ras: fix ras cmd returning incorrect cper countdrivers/gpu/drm/amd/ras/core/cmd.c+11 -100 replies
92/109drm/amd/ras: unify variable naming conventionsdrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c+9 -90 replies
93/109drm/amd/ras: add interface and improve extensibilitydrivers/gpu/drm/amd/ras/core/core.c drivers/gpu/drm/amd/ras/core/log_ring.c drivers/gpu/drm/amd/ras/core/log_ring.h +1 more+28 -50 replies
94/109drm/amd/ras: populate cper aca register info for rma devicedrivers/gpu/drm/amd/ras/core/aca.c drivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/aca_v1_0.c +2 more+75 -190 replies
95/109drm/amd/ras: filter out invalid pages from extended page addressesdrivers/gpu/drm/amd/ras/core/ras_umc.c+9 -40 replies
96/109drm/amd/ras: fix and improve bad page count calculationdrivers/gpu/drm/amd/ras/core/ras_umc.c drivers/gpu/drm/amd/ras/core/ras_umc.h+16 -220 replies
97/109drm/amd/ras: increase page buffer size for A+Adrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c+26 -120 replies
98/109drm/amd/ras: move BERT boot errors to BERT sw initdrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.c drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.h drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.c +1 more+68 -450 replies
99/109drm/amd/ras: allow waking RAS processing without an eventdrivers/gpu/drm/amd/ras/core/ras_process.c+8 -51 reply
100/109drm/amd/ras: classify ACA v5 MCE statusdrivers/gpu/drm/amd/ras/core/ras_aca_v5_0.c+17 -00 replies
101/109drm/amd/ras: preserve CPU MCE context in the log ringdrivers/gpu/drm/amd/ras/core/aca.h drivers/gpu/drm/amd/ras/core/log_ring.h drivers/gpu/drm/amd/ras/core/ras_mce.c+29 -30 replies
102/109drm/amd/ras: define processor and memory CPER formatsdrivers/gpu/drm/amd/ras/core/ras_cper.h+93 -60 replies
103/109drm/amd/ras: generate AMD crashdump CPER recordsdrivers/gpu/drm/amd/ras/core/ras_cper.c+23 -30 replies
104/109drm/amd/ras: generate processor CPER recordsdrivers/gpu/drm/amd/ras/core/ras_cper.c+212 -00 replies
105/109drm/amd/ras: generate Platform Memory CPER recordsdrivers/gpu/drm/amd/ras/core/ras_cper.c+69 -00 replies
106/109drm/amd/ras: collect CPU MCE metadatadrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.c+7 -30 replies
107/109drm/amd/ras: parse and route BERT sectionsdrivers/gpu/drm/amd/ras/core/ras.h drivers/gpu/drm/amd/ras/core/ras_bert.c+331 -70 replies
108/109drm/amd/ras: assign BERT platform record ownershipdrivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.c+16 -40 replies
109/109drm/amd/ras: fix CPER command record retrievaldrivers/gpu/drm/amd/ras/core/cmd.c drivers/gpu/drm/amd/ras/core/cmd.h+19 -60 replies

Reviews trailers per patch

98 of 109 patches have a Reviewed-by or Acked-by.

PatchHawking ZhangMukul JoshiYiPeng ChaiYang WangStanley.YangTao Zhou
1/109R-b
2/109R-b
3/109R-b
4/109R-b
5/109R-b
6/109R-b
7/109R-b
8/109R-b
9/109R-b
10/109R-b
11/109R-b
12/109R-b
13/109R-b
14/109R-b
15/109R-b
16/109R-b
17/109R-b
18/109R-b
19/109R-b
20/109R-b
21/109R-b
22/109R-b
23/109R-b
24/109R-b
25/109R-b
26/109R-b
27/109R-b
28/109R-b
29/109R-b
30/109R-b
31/109R-b
32/109R-b
33/109R-b
34/109R-b
35/109R-b
36/109R-b
37/109R-b
38/109R-b
39/109R-b
40/109R-b
41/109R-b
42/109R-b
43/109R-b
44/109R-b
45/109R-b
46/109R-b
47/109R-b
48/109R-b
49/109R-b
50/109R-b
51/109R-b
52/109R-b
53/109R-b
54/109R-b
55/109R-b
56/109R-b
57/109R-b
58/109R-b
59/109R-b
60/109R-b
61/109R-b
62/109R-b
63/109R-b
64/109R-b
65/109R-b
66/109R-b
67/109R-b
68/109R-b
69/109R-b
70/109R-b
71/109R-b
72/109R-b
73/109R-b
74/109R-b
75/109R-b
76/109R-b
77/109R-b
78/109R-b
79/109R-b
80/109R-b
81/109R-b
82/109R-b
83/109R-b
84/109R-b
85/109R-b
86/109R-b
87/109R-b
88/109R-b
89/109R-b
90/109R-b
91/109R-b
92/109R-b
93/109R-b
94/109R-b
95/109R-b
96/109R-b
97/109R-b
98/109
99/109R-b
100/109
101/109
102/109
103/109
104/109
105/109
106/109
107/109
108/109
109/109

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 000/109] RAS support for GC 12.1 devices

This series adds RAS support for GC 12.1 devices including:
- PSP support
- CPER handling
- MCE handling for A+A platforms
- ACPI BERT integration
- EEPROM handling for bad pages
- UMC support
- SR-IOV support

Candice Li (6):
drm/amdgpu: factor PSP v1.0 firmware bin descriptor parsing drm/amdgpu: load standalone RL firmware on psp v15_0_8 drm/amdgpu: load TA firmware for psp v15_0_8 drm/amdgpu: update UMC active_mask to u64 drm/amdgpu: add ext_umc_mask to RAS TA init drm/amd/ras: add ext_umc_mask to RAS TA init

Felix Kuehling (1):
drm/amdgpu: Make extra space in psp->cmd_buf_bo usable

Jiahao Li (2):
drm/amd/ras: overlap VF RAS_CMD buffer and legacy RAS telemetry memory
regions
drm/amdgpu: add new interface in guest driver for getting RAS
capability when uniras enabled

Xiang Liu (24):
drm/amd/ras: Rename CPER section descriptor struct drm/amd/ras: register mce notifier to obtain ras error info drm/amd/ras: Introduce BOOT CPER encoding function drm/amdgpu/ras: prepare ras_psp for ras_mgr-owned TA reload drm/amdgpu/ras: reload RAS TA from ras mgr resume drm/amd/ras: add PCIE_PL ACA block mapping drm/amd/ras: map boot log events to CPER type drm/amd/ras: add rascore BERT record walker drm/amd/ras: process cached BERT boot errors drm/amd/ras: add missing ras core block names drm/amd/ras: add BERT CPER table helpers drm/amd/ras: record crashdump BERT sections as boot CPER drm/amd/ras: move BERT boot errors to BERT sw init drm/amd/ras: allow waking RAS processing without an event drm/amd/ras: classify ACA v5 MCE status drm/amd/ras: preserve CPU MCE context in the log ring drm/amd/ras: define processor and memory CPER formats drm/amd/ras: generate AMD crashdump CPER records drm/amd/ras: generate processor CPER records drm/amd/ras: generate Platform Memory CPER records drm/amd/ras: collect CPU MCE metadata drm/amd/ras: parse and route BERT sections drm/amd/ras: assign BERT platform record ownership drm/amd/ras: fix CPER command record retrieval

YiPeng Chai (76):
drm/amd/ras: Add ras notification event
drm/amd/ras: add interface to support parsing aca bank ecc info drm/amd/ras: Parse error type of MCE and encode CPER drm/amd/ras: Add interface to get ras eeprom table version drm/amd/ras: Add dedicated interface to obtain cper info drm/amd/ras: optimize mp1 dump bank interface
drm/amd/ras: support separate logging of gfx aid and xcd errors drm/amd/ras: Optimize and remove redundant code drm/amd/ras: Supports recording data source timestamps to EEPROM drm/amd/ras: Improve function interface to record different types of
data
drm/amd/ras: Change variable name to avoid confusion drm/amd/ras: add common interface to query ras subunit version drm/amd/ras: Add aca parser v5_0
drm/amd/ras: Add fifo to cache ras data from mce notification drm/amd/ras: Add mce ras error type
drm/amd/ras: Handling ras mce notification event drm/amd/ras: Add ras ip configuration for A + A drm/amd/ras: Add ras_psp v15_0 for A + A
drm/amd/ras: Add ras block id mapping
drm/amd/ras: Support querying RAS driver capabilities drm/amd/ras: Add ras command to obtain ras capabilities drm/amd/ras: Support poison consumption handling for A + A sriov guest drm/amdgpu: Handle ras interrupts using unified interface drm/amdgpu: Support obtaining ras capabilities drm/amd/ras: Remove unused function interfaces drm/amd/ras: Isolate ras mce handler with CONFIG_X86_MCE_AMD drm/amd/ras: add interface to query nps mode and vram type drm/amd/ras: add helper to convert aca bank to eeprom record drm/amd/ras: ras mp1 introduces common interfaces drm/amd/ras: Support retrieving bad page info from mp1_v15_0 drm/amd/ras: add interfaces to manage multiple EEPROMs drm/amd/ras: Refactor EEPROM parameter config to support multiple ras
EEPROMs
drm/amd/ras: Ras eeprom supports new eeprom management interfaces drm/amd/ras: switch to use new eeprom management interfaces drm/amdgpu/ras: Rework fw eeprom handling for new management interface drm/amd/ras: unify umc record logging paths for runtime and preload drm/amd/ras: add interface to obtain FW eeprom records at runtime drm/amd/ras: preload and handle bad pages at boot time drm/amd/ras: add interface to report bad page info drm/amd/ras: Support obtaining bad page info at boot time for

    ras_mp1_v15_0
  drm/amd/ras: Add gpu rma exception handling
  drm/amd/ras: use record count instead of bad page count for EEPROM
    threshold checking
  drm/amd/ras: remove unused code from ras eeprom
  drm/amd/ras: Add null check to prevent null pointer exception
  drm/amdgpu: Add bad page preloading and pre-reservation support
  drm/amdgpu: fix duplicate ras debugfs node creation on driver reload
  drm/amdgpu: refactor memory handling to support both external and
    internal allocation
  drm/amdgpu/ras: support loading RAS RL and TA firmware in RAS module
  drm/amdgpu: add switch to select firmware loading path for RAS RL and
    TA
  drm/amd/pm: update RAS-specific interface to support multi-parameter
  drm/amd/ras: update mp1_v13_0 to use smu ras multi-parameter interface
  drm/amd/ras: support multi-parameter communication with mp1 in
    ras_mp1_v15_0

drm/amd/ras: harden error handling and fix resource/lock issues drm/amd/ras: fix silent error swallowing in get_record_count paths drm/amd/ras: add address translation interface for umc_v15_0 drm/amd/ras: fix driver unload failure when uniras is enabled drm/amd/ras: use single socket per GPU device to store ACA RAS error
info
drm/amd/ras: update aca bank decoding for A + A drm/amd/ras: add management interface to support psp bad page address
translation
drm/amdgpu/ras: use flip-bit mask to generalize bad page address
derivation
drm/amd/ras: introduce row page address buffer alloc/free interfaces drm/amd/ras: limit eeprom ras table validation to init and post-write drm/amd/ras: resolve compiler warning for stack frame exceeding 1024
bytes
drm/amd/ras: replace variable with function to check poison support drm/amd/ras: update interface to support multiple ras query methods drm/amd/ras: improve ras log timestamp precision drm/amd/ras: add module parameter for uniras
drm/amdgpu: extend ras feature mask to 64-bit for A + A drm/amd/ras: refactor ras cper to simplify adding new cper events drm/amd/ras: fix ras cmd returning incorrect cper count drm/amd/ras: unify variable naming conventions drm/amd/ras: add interface and improve extensibility drm/amd/ras: populate cper aca register info for rma device drm/amd/ras: filter out invalid pages from extended page addresses drm/amd/ras: fix and improve bad page count calculation drm/amd/ras: increase page buffer size for A+A

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c       |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c       |  11 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c       | 177 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h       |  16 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c       |  88 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h       |   3 +
 .../gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c    |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c       |   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c       |  46 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h       |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c      |  39 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h      |   2 +
 drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h   |  49 +-
 drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c      |  10 +
 drivers/gpu/drm/amd/amdgpu/ta_ras_if.h        |   1 +
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c     |  18 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h |  13 +-
 .../drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c  |   7 +-
 drivers/gpu/drm/amd/ras/core/Makefile         |   9 +-
 drivers/gpu/drm/amd/ras/core/aca.c            | 341 +++----
 drivers/gpu/drm/amd/ras/core/aca.h            |  41 +-
 drivers/gpu/drm/amd/ras/core/aca_v1_0.c       |  41 +-
 drivers/gpu/drm/amd/ras/core/cmd.c            | 145 ++-
 drivers/gpu/drm/amd/ras/core/cmd.h            |  32 +-
 drivers/gpu/drm/amd/ras/core/core.c           | 281 ++++--
 drivers/gpu/drm/amd/ras/core/eeprom.c         | 472 ++++------
 drivers/gpu/drm/amd/ras/core/eeprom.h         |  27 +-
 drivers/gpu/drm/amd/ras/core/eeprom_fw.c      | 576 ++++--------
 drivers/gpu/drm/amd/ras/core/eeprom_fw.h      |  67 +-
 drivers/gpu/drm/amd/ras/core/log_ring.c       |  56 +-
 drivers/gpu/drm/amd/ras/core/log_ring.h       |  46 +-
 drivers/gpu/drm/amd/ras/core/ras.h            | 127 ++-
 drivers/gpu/drm/amd/ras/core/ras_aca_v5_0.c   | 394 +++++++++
 drivers/gpu/drm/amd/ras/core/ras_aca_v5_0.h   |  62 ++
 drivers/gpu/drm/amd/ras/core/ras_bert.c       | 546 ++++++++++++
 drivers/gpu/drm/amd/ras/core/ras_bert.h       |  33 +
 drivers/gpu/drm/amd/ras/core/ras_cper.c       | 834 ++++++++++++++----
 drivers/gpu/drm/amd/ras/core/ras_cper.h       | 175 +++-
 drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c | 418 +++++++++
 drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.h | 124 +++
 drivers/gpu/drm/amd/ras/core/ras_gfx.c        |  10 +-
 drivers/gpu/drm/amd/ras/core/ras_mce.c        | 151 ++++
 drivers/gpu/drm/amd/ras/core/ras_mce.h        |  51 ++
 drivers/gpu/drm/amd/ras/core/ras_mp1.c        | 147 ++-
 drivers/gpu/drm/amd/ras/core/ras_mp1.h        |  52 +-
 drivers/gpu/drm/amd/ras/core/ras_mp1_v13_0.c  |  12 +-
 drivers/gpu/drm/amd/ras/core/ras_mp1_v15_0.c  | 249 ++++++
 drivers/gpu/drm/amd/ras/core/ras_mp1_v15_0.h  |  30 +
 drivers/gpu/drm/amd/ras/core/ras_nbio.c       |   9 +-
 drivers/gpu/drm/amd/ras/core/ras_process.c    |  36 +-
 drivers/gpu/drm/amd/ras/core/ras_psp.c        | 570 ++++++++----
 drivers/gpu/drm/amd/ras/core/ras_psp.h        | 109 ++-
 drivers/gpu/drm/amd/ras/core/ras_psp_v13_0.c  |  76 ++
 drivers/gpu/drm/amd/ras/core/ras_psp_v15_0.c  | 133 +++
 drivers/gpu/drm/amd/ras/core/ras_psp_v15_0.h  |  31 +
 drivers/gpu/drm/amd/ras/core/ras_umc.c        | 624 ++++++++-----
 drivers/gpu/drm/amd/ras/core/ras_umc.h        |  45 +-
 drivers/gpu/drm/amd/ras/core/ras_umc_v12_0.c  | 123 ++-
 drivers/gpu/drm/amd/ras/core/ras_umc_v15_0.c  | 220 +++++
 drivers/gpu/drm/amd/ras/core/ras_umc_v15_0.h  |  69 ++
 drivers/gpu/drm/amd/ras/core/ta_if.h          |  35 +
 drivers/gpu/drm/amd/ras/ras_mgr/Makefile      |   5 +-
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.c | 191 ++++
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.h |  30 +
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_cmd.c  |  38 +
 .../amd/ras/ras_mgr/amdgpu_ras_eeprom_i2c.c   | 128 ++-
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.c  | 268 ++++++
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.h  |  31 +
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c  | 298 ++++---
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.h  |   6 +-
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mp1.c  |  71 ++
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mp1.h  |  30 +
 .../amd/ras/ras_mgr/amdgpu_ras_mp1_v13_0.c    |  17 +-
 .../drm/amd/ras/ras_mgr/amdgpu_ras_process.c  |   8 +-
 .../gpu/drm/amd/ras/ras_mgr/amdgpu_ras_sys.c  |  88 +-
 .../drm/amd/ras/ras_mgr/amdgpu_virt_ras_cmd.c |  42 +-
 drivers/gpu/drm/amd/ras/ras_mgr/ras_sys.h     |   2 +
 79 files changed, 7247 insertions(+), 2148 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_aca_v5_0.c
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_aca_v5_0.h
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_bert.c
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_bert.h
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.h
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_mce.c
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_mce.h
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_mp1_v15_0.c
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_mp1_v15_0.h
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_psp_v15_0.c
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_psp_v15_0.h
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_umc_v15_0.c
 create mode 100644 drivers/gpu/drm/amd/ras/core/ras_umc_v15_0.h
 create mode 100644 drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.c
 create mode 100644 drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_bert.h
 create mode 100644 drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.c
 create mode 100644 drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mce.h
 create mode 100644 drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mp1.c
 create mode 100644 drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mp1.h
Signature · 1 line
2.55.0