drm/nouveau/secboot: let LS post_run hooks return error
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 29 Mar 2017 09:31:11 +0000 (18:31 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 6 Apr 2017 04:39:04 +0000 (14:39 +1000)
commitd424d278b2e5c73040e476e3d854eea4d2063023
treea870cc721bcce2e78e5d8e268853e736c4fec8c3
parent2963a06a4d36af5d863c55b2d76ed91e6a922409
drm/nouveau/secboot: let LS post_run hooks return error

A LS post-run hook can meet an error meaning the failure of secure boot.
Make sure this can be reported.

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
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.h
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode.h
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/ls_ucode_msgqueue.c