]> 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)
commite33b168ba24d4636a61a116fd613a3654624836e
tree11d89269136c6c64391d098d956d198c2bf22b33
parent288deffdee72557eeac78d25dff489e570b0f8ed
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