]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/secboot: check that WPR region is properly set
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 15 Nov 2016 07:26:09 +0000 (16:26 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:12 +0000 (17:05 +1000)
commit14ebf98e5846a86604b6c7f6bdc76897e212c2f3
treeabc27a119cdcd33d9047b84d8c17ca5bd663f488
parent106f5c632a9276eb49542734311f01cc5b8f1bdd
drm/nouveau/secboot: check that WPR region is properly set

The ACR firmware may return no error but fail nonetheless. Such cases
can be detected by verifying that the WPR region has been properly set
in FB. If this is not the case, this is an error, but the unload
firmware should still not be run.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c