]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel
authorHoria Geantă <horia.geanta@nxp.com>
Mon, 5 Dec 2016 09:06:58 +0000 (11:06 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 7 Dec 2016 11:55:17 +0000 (19:55 +0800)
commit39eaf759466f4e3fbeaa39075512f4f345dffdc8
treedab5cd98db3202110e8e6c11ec4ae0922599feff
parent9e5f7a149e00d211177f6de8be427ebc72a1c363
crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel

Start with a clean slate before dealing with bit 16 (pointer size)
of Master Configuration Register.
This fixes the case of AArch64 boot loader + AArch32 kernel, when
the boot loader might set MCFGR[PS] and kernel would fail to clear it.

Cc: <stable@vger.kernel.org>
Reported-by: Alison Wang <alison.wang@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-By: Alison Wang <Alison.wang@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c