lkml.org 
[lkml]   [2022]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] coresight: no-op refactor to make INSTP0 check more idiomatic
From
On 03/02/2022 11:53, James Clark wrote:
> The spec says this:
>
> P0 tracing support field. The permitted values are:
> 0b00 Tracing of load and store instructions as P0 elements is not
> supported.
> 0b11 Tracing of load and store instructions as P0 elements is
> supported, so TRCCONFIGR.INSTP0 is supported.
>
> All other values are reserved.
>
> The value we are looking for is 0b11 so simplify this. The double read
> and && was a bit obfuscated.
>
> Suggested-by: Suzuki Poulose <suzuki.poulose@arm.com>
> Signed-off-by: James Clark <james.clark@arm.com>

Thanks, Queued.

Cheers
Suzuki

\
 
 \ /
  Last update: 2022-02-03 13:11    [W:0.059 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site