]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/secboot: support optional falcons
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 18 Nov 2016 08:47:08 +0000 (17:47 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:12 +0000 (17:05 +1000)
commit106f5c632a9276eb49542734311f01cc5b8f1bdd
treef668fbb1293e8b3635034f303986a5b2b0d12fdf
parent993efcaa64c0d82a3d3fcc19490a0faca668d8ec
drm/nouveau/secboot: support optional falcons

PMU support has been enabled for r352 ACR, but it must remain optional
if we want to preserve existing user-space that do not include it. Allow
ACR to be instanciated with a list of optional LS falcons, that will not
produce a fatal error if their firmware is not loaded. Also change the
secure boot bootstrap logic to be able to fall back to legacy behavior
if it turns out the boot falcon's LS firmware cannot be loaded.

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