arm64: compat: Add CNTFRQ trap handler
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 27 Sep 2018 16:15:33 +0000 (17:15 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 1 Oct 2018 12:36:03 +0000 (13:36 +0100)
commit32a3e635fb0ecc1b197d54f710e76c6481cf19f0
treeabcec37734e52a8c3fd693c3631ba8f7a24732ef
parent50de013d22e4e112d7b0778a0e7d032f16c46778
arm64: compat: Add CNTFRQ trap handler

Just like CNTVCT, we need to handle userspace trapping into the
kernel if we're decided that the timer wasn't fit for purpose...
64bit userspace is already dealt with, but we're missing the
equivalent compat handling.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/esr.h
arch/arm64/kernel/traps.c