]> 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)
commit92a83b2b285e99277d13831239ced78866aa746c
treeabc27a119cdcd33d9047b84d8c17ca5bd663f488
parentc6b342a3d5618174f958e3b37e0fa75053c6701f
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