arm64: mdscr_el1: avoid exposing DCC to userspace

commit d8d23fa0f2 upstream.

We don't want to expose the DCC to userspace, particularly as there is
a kernel console driver for it.

This patch resets mdscr_el1 to disable userspace access to the DCC
registers on the cold boot path.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Will Deacon 2015-08-20 11:47:13 +01:00 • committed by Luis Henriques
commit 7cd6124114