diff options
author | xinhui pan <xinhui.pan@amd.com> | 2019-05-07 11:53:31 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-24 12:20:51 -0500 |
commit | 466b179346094e01deccd051a215fe782b59ca68 (patch) | |
tree | 1115216509db370875ed4ee29bc13b4d361bfeb5 /virt | |
parent | 3058770ae3526ef4fc02afad796a43aee140cd2a (diff) | |
download | linux-stable-466b179346094e01deccd051a215fe782b59ca68.tar.gz linux-stable-466b179346094e01deccd051a215fe782b59ca68.tar.bz2 linux-stable-466b179346094e01deccd051a215fe782b59ca68.zip |
drm/amdgpu: add badpages sysfs interafce
add badpages node.
it will output badpages list in format
gpu pfn : gpu page size : flags
example
0x00000000 : 0x00001000 : R
0x00000001 : 0x00001000 : R
0x00000002 : 0x00001000 : R
0x00000003 : 0x00001000 : R
0x00000004 : 0x00001000 : R
0x00000005 : 0x00001000 : R
0x00000006 : 0x00001000 : R
0x00000007 : 0x00001000 : P
0x00000008 : 0x00001000 : P
0x00000009 : 0x00001000 : P
flags can be one of below characters
R: reserved.
P: pending for reserve.
F: failed to reserve for some reasons.
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions