Re: [PATCH] drm/amdgpu: Report ras_num_recs in debugfs

2023-06-05 Thread Alex Deucher
On Sat, Jun 3, 2023 at 1:11 AM Luben Tuikov wrote: > > Report the number of records stored in the RAS EEPROM table in debugfs. > > This can be used by user-space to calculate the capacity of the RAS EEPROM > table since "bad_page_cnt_threshold" is also reported in the same place in > debugfs. > >

[PATCH] drm/amdgpu: Report ras_num_recs in debugfs

2023-06-02 Thread Luben Tuikov
Report the number of records stored in the RAS EEPROM table in debugfs. This can be used by user-space to calculate the capacity of the RAS EEPROM table since "bad_page_cnt_threshold" is also reported in the same place in debugfs. See commit reference 7fb6407145479d (drm/amdgpu: Add bad_page_cnt_