Skip to content

Commit b1ffdd7

Browse files
lipengcheng8mathieupoirier
authored andcommitted
coresight: etm4x: modify q_support type
Because this operation exceed the range of boolean, so we should modify q_support to unit8 bit. drvdata->q_support = BMVAL(etmidr0, 15, 16) Signed-off-by: Li Pengcheng <lipengcheng8@huawei.com> Signed-off-by: Li Zhong <lizhong11@hisilicon.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 6327a454a8ab0dcab24a647367d216c1b84020c6)
1 parent 0a1d16c commit b1ffdd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hwtracing/coresight/coresight-etm4x.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ struct etmv4_drvdata {
372372
u8 ccitmin;
373373
u8 s_ex_level;
374374
u8 ns_ex_level;
375+
u8 q_support;
375376
bool sticky_enable;
376377
bool boot_enable;
377378
bool os_unlock;
@@ -380,7 +381,6 @@ struct etmv4_drvdata {
380381
bool trccond;
381382
bool retstack;
382383
bool trccci;
383-
bool q_support;
384384
bool trc_error;
385385
bool syncpr;
386386
bool stallctl;

0 commit comments

Comments
 (0)