drm/nouveau/secboot: safer zeroing of BL descriptors
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 14 Dec 2016 08:02:46 +0000 (17:02 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:32 +0000 (15:14 +1000)
commitb2888c650e61d03bbfc8325662cff660b40b39ba
treebbe02c7bd2be9ee33cea1ad6bc703dc904b5115e
parent9d896f3e41a6093a843ce668c97159367c1e4573
drm/nouveau/secboot: safer zeroing of BL descriptors

Perform the zeroing of BL descriptors in the caller function instead of
trusting each generator will do it. This could avoid a few pulled hairs.

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_r361.c