arm64: mdscr_el1: avoid exposing DCC to userspace
commit d8d23fa0 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> [ kamal: 4.2-stable prereq for 60792ad3 arm64: kernel: enforce pmuserenr_el0 initialization and restore ] Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Showing
Please register or sign in to comment