]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/secboot: base support for PMU falcon
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 27 Oct 2016 05:24:34 +0000 (14:24 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:12 +0000 (17:05 +1000)
commitfba861eb17e52dfe81ffb3191807c153d6458dca
tree11d89269136c6c64391d098d956d198c2bf22b33
parente2ea1134164d841d1c8b87ceef5910d5c9e88bc2
drm/nouveau/secboot: base support for PMU falcon

Adapt secboot's behavior if a PMU firmware is present, in particular
the way LS falcons are reset. Without PMU firmware, secboot needs to be
performed again from scratch so all LS falcons are reset. With PMU
firmware, we can ask the PMU's ACR unit to reset a specific falcon
through a PMU message.

As we must preserve the old behavior to avoid breaking user-space, add a
few conditionals to the way falcons are reset.

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