lkml.org 
[lkml]   [2021]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSet 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

\
 
 \ /
  Last update: 2021-01-06 11:32    [W:0.038 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site