drm/nouveau/secboot: prevent address trimming
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 24 Jan 2017 10:29:39 +0000 (19:29 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:11 +0000 (17:05 +1000)
commit913b97f94478db1c93cc5a1f07fa03ee4e2d5f8b
treec76dfcda003e3591c5ce978cf2a73fb3716b80db
parent098ee77224bc76026e736e05407ff46c78f13d22
drm/nouveau/secboot: prevent address trimming

Using 32-bit integers would trim the WPR address if it is allocated above 4GB.

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