arm64: Add handling of CNTVCTSS traps
authorMarc Zyngier <maz@kernel.org>
Sun, 17 Oct 2021 12:42:24 +0000 (13:42 +0100)
committerWill Deacon <will@kernel.org>
Tue, 19 Oct 2021 09:56:20 +0000 (10:56 +0100)
commitae976f063b605dd558571eff40c8229ffbc39e24
tree618d016513fcc49abb65c6f870fe8791a8da5007
parent9ee840a96042cef9f7d36337ce05144d6c013858
arm64: Add handling of CNTVCTSS traps

Since CNTVCTSS obey the same control bits as CNTVCT, add the necessary
decoding to the hook table. Note that there is no known user of
this at the moment.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211017124225.3018098-17-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/esr.h
arch/arm64/kernel/traps.c