]> 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)
commitc6b342a3d5618174f958e3b37e0fa75053c6701f
treef668fbb1293e8b3635034f303986a5b2b0d12fdf
parent421f7a7623d59620661fcf29629e76496a26cc4a
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