Skip to contentSkip to conversation

coresight: funnel: inport schedule by priority can not take work

PATCH New Chao Xu 1 participant 1 message Oct 25

Subsystems (2)
lore
Share & tools
lore

Chao Xu

author
#0 lore raw

PATCH 1/1 coresight: funnel: inport schedule by priority can not take work

Before enable funnel, priority must be set. Changing the port priorities in real time is not supported. If the priority control register is written when one or more of ports are enable, then the write is silently rejected.

---
 drivers/hwtracing/coresight/coresight-funnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwtracing/coresight/coresight-funnel.c +1 -1
index af40814ce560..17f985798d7f 100644
@@ -66,8 +66,8 @@ static int dynamic_funnel_enable_hw(struct funnel_drvdata *drvdata, int port)
 	functl &= ~FUNNEL_HOLDTIME_MASK;
 	functl |= FUNNEL_HOLDTIME;
 	functl |= (1 << port);
-	writel_relaxed(functl, drvdata->base + FUNNEL_FUNCTL);
 	writel_relaxed(drvdata->priority, drvdata->base + FUNNEL_PRICTL);
+	writel_relaxed(functl, drvdata->base + FUNNEL_FUNCTL);
 done:
 	CS_LOCK(drvdata->base);
 	return rc;
Signature · 1 line
2.43.0