coresight: next v4.12-rc4
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 17 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 17 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/17] coresight: next v4.12-rc4
Quoted 31 lines · On Thu, 15 Jun 2017 15:02:21 +0100 Suzuki K Poulose <[email protected]>…
Quoted 30 lines · Kim Phillips
Quoted 26 lines · On Thu, 15 Jun 2017 14:08:09 +0100 Suzuki K Poulose <[email protected]>…
Quoted 12 lines · Leo Yan
Hi Kim,
On Tue, Jun 13, 2017 at 04:17:12PM -0500, Kim Phillips wrote:
[...]
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
Also, do the current juno platforms not have CPU debug modules? I'd like to test the new driver.
By all means - Leo pointed out the patch adding the CPU debug entries in the DT file for Juno.
Quoted 6 lines
Quoted 3 lines
Thanks, I applied it, was able to
toggle/sys/kernel/debug/coresight_cpu_debug/enable, but wasn't sure how to trigger the cpu debug output...You could trigger panic flow with command, then can see CPU debug output:
echo c >/proc/sysrq-triggerI think, may be we should provide a handle to trigger the CPU debug dump manually, rather than using it only for panic. Something like :
echo 1 >
/sys/kernel/debug/coresight_cpu_debug/triggerThoughts ?
Quoted 8 lines
Quoted 2 lines
what's the use-case? I just wanted to do a simple test, and although it halted my machine, the sysrq-trigger switch did the job.
Get the CPU dump without crashing the system, when the CPU is looping indefinitely (with interrupts disabled) ? sysrq-t doesn't tell you where the task/CPU is at if it is in running state. This can augment the details by providing the PC. Sure, you can also do this by crashing the system as above. But it doesn't hurt to provide the same without the crash.
Can sysrq-t be amended, or another sysrq- dump mechanism - like 'v' which apparently causes an ETM buffer dump [ARM-specific] - be used instead?
Quoted 9 lines
Quoted 5 lines
I'm personally not a huge fan of adding more switches, rather for doing the right thing on behalf of the user in the first place. E.g., in the case of cpu debug, if configured =y, I don't think it would necessarily harm the simple user to have it always be enabled, at boot time and beyond, thereby doing away with the .../coresight_cpu_debug/enable
The reasoning behind this is to avoid keeping the debug power domain on until someone really wants it enabled, so that one can use a single kernel image in production/development and be able to switch things on at runtime.
OK, thanks for explaining the trade-off.
Quoted 6 lines
Quoted 3 lines
switch and kernel command line option. If there are users that want to turn it on and off dynamically, that can be done by loading and unloading the module.
Sure, if someone is building it as a module, they have the luxury. But this may not be always useful, e.g, crashes at early boot.
the thinking was that one could set it to =y at that point, but, yes, point taken.
Kim