This is an automated email from Gerrit. Tarek BOCHKATI ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5686
-- gerrit commit 67c16531911fed7688a0777f73a85d0b7f3d750d Author: Tarek BOCHKATI <[email protected]> Date: Sun May 17 16:13:24 2020 +0100 aarch64: permit the read of SCTLR in HYP mode also, use the proper LOG_LEVEL to highlight that SCTLR cannot be read. Change-Id: I089aae37f5b065ab8b41b05edaaf6062b93dab78 Signed-off-by: Tarek BOCHKATI <[email protected]> diff --git a/src/target/aarch64.c b/src/target/aarch64.c index 87176f6..4e90e4d 100644 --- a/src/target/aarch64.c +++ b/src/target/aarch64.c @@ -1029,16 +1029,17 @@ static int aarch64_post_debug_entry(struct target *target) instr = ARMV8_MRS(SYSTEM_SCTLR_EL3, 0); break; - case ARM_MODE_SVC: - case ARM_MODE_ABT: case ARM_MODE_FIQ: case ARM_MODE_IRQ: + case ARM_MODE_SVC: + case ARM_MODE_ABT: + case ARM_MODE_HYP: case ARM_MODE_SYS: instr = ARMV4_5_MRC(15, 0, 0, 1, 0, 0); break; default: - LOG_INFO("cannot read system control register in this mode"); + LOG_ERROR("cannot read system control register in this mode"); return ERROR_FAIL; } -- _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
