]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/discovery: add additional validation
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Mar 2022 05:23:33 +0000 (01:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Apr 2022 21:47:33 +0000 (17:47 -0400)
commitc427e33936a858f1dca24d81a882404416304768
tree51ccc1de315fbcd6af3f3ca7c5d8178fa412e559
parent893f77bafc97cbbaac22db8be2e58e2ffbe1b2c4
drm/amdgpu/discovery: add additional validation

Check the table signatures and checksums and verify that
the tables exist before accessing them.

v2: disable MALL table for now

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c