Files
twx-linux/arch/arm64/kernel
Marc Zyngier 08cd19c602 arm64: kernel: Init MDCR_EL2 even in the absence of a PMU
commit 850540351b upstream.

Commit f436b2ac90 ("arm64: kernel: fix architected PMU registers
unconditional access") made sure we wouldn't access unimplemented
PMU registers, but also left MDCR_EL2 uninitialized in that case,
leading to trap bits being potentially left set.

Make sure we always write something in that register.

Fixes: f436b2ac90 ("arm64: kernel: fix architected PMU registers unconditional access")
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-28 03:01:35 -04:00
..
2015-11-12 15:18:07 +00:00
2015-10-12 17:46:36 +01:00
…
2015-11-26 18:15:54 +00:00
…
2015-10-05 18:30:29 +01:00
…
…
2015-10-12 17:46:36 +01:00
2016-07-27 09:47:33 -07:00
2016-07-27 09:47:33 -07:00
2016-07-27 09:47:33 -07:00
…
…