[PATCH v9 10/20] coresight: syscfg: Use spinlock to protect active variables