From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932671AbdCIPfN (ORCPT ); Thu, 9 Mar 2017 10:35:13 -0500 Received: from foss.arm.com ([217.140.101.70]:44750 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754766AbdCIPfJ (ORCPT ); Thu, 9 Mar 2017 10:35:09 -0500 From: Suzuki K Poulose To: mathieu.poirier@linaro.org Cc: linux-arm-kernel@lists.infradead.org, Chunyan Zhang , linux-kernel@vger.kernel.org, Suzuki K Poulose Subject: [PATCH 0/2] coresight: Allow sharing of STM Date: Thu, 9 Mar 2017 15:27:10 +0000 Message-Id: <1489073232-5093-1-git-send-email-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes the coresight generic layer to handle the reference counting for the STM source properly, to allow multiple applications to share the STM. Without this series, the STM is disabled when the first user closes its connection, causing trace data losses. Suzuki K Poulose (2): coresight: Disable the path only when the source is disabled coresight: Fix reference count for software sources drivers/hwtracing/coresight/coresight.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) -- 2.7.4