diff options
author | Will Deacon <will.deacon@arm.com> | 2015-08-20 11:47:13 +0100 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-02-01 12:22:03 -0500 |
commit | 1d4c425164b922424b3f86f93f3f0b7f85293fa7 (patch) | |
tree | 8928f06936e1c555312a8bce96d5bfcb23c1c267 /arch/arm64/lib/strnlen.S | |
parent | e70aade221a271f91e2d71901b2d602df2faee15 (diff) |
arm64: mdscr_el1: avoid exposing DCC to userspace
[ Upstream commit d8d23fa0f27f3b2942a7bbc7378c7735324ed519 ]
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: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch/arm64/lib/strnlen.S')
0 files changed, 0 insertions, 0 deletions