lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 06 Jan 2021 18:29:53 +0800 From: tingwei@...eaurora.org To: Will Deacon <will@...nel.org>, Mark Rutland <mark.rutland@....com> Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org Subject: Set DBGCLAIM when self-host debug is enabled Hi Will and Mark, In recent implementation of save/restore ARM debug registers in EL2/EL3, we found it's necessary to know whether self-host debug is enabled so EL2/EL3 can avoid saving/restoring debug registers but no one is using debug. In ARM PSCI, it has one option to set DBGCLAIM[1] to 1 to indicate that debug is in use by a self-host debugger. Do you think it's resonable to add this to Kernel? For example, can we set DBGCLAIM[1] to 1 in enable_debug_monitors() and clear it in disable_debug_monitors(). Thanks, Tingwei -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Powered by blists - more mailing lists