[PATCH] coresight-etm4x: Change ETM setting.

2016-04-08 Thread lipengcheng
From: Pengcheng Li Force ETM idle acknowleghe when CPU enter WFI. writel_relaxed(0x2, drvdata->base + TRCAUXCTLR); Because linux kernel execute on EL1,so we just need to open EL1 trace,close EL1 trace. drvdata->vinst_ctrl |= BIT(20); Because this operation exceed the

[PATCH] coresight-etm4x: Change ETM setting.

2016-04-08 Thread lipengcheng
From: Pengcheng Li Force ETM idle acknowleghe when CPU enter WFI. writel_relaxed(0x2, drvdata->base + TRCAUXCTLR); Because linux kernel execute on EL1,so we just need to open EL1 trace,close EL1 trace. drvdata->vinst_ctrl |= BIT(20); Because this operation exceed the range of boolean,so we