From patchwork Mon Nov 5 22:26:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 150223 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3162505ljp; Mon, 5 Nov 2018 14:26:37 -0800 (PST) X-Google-Smtp-Source: AJdET5f8VWOD9+x96nkuvhFs2SaFIPnYbfBv7dKWUrd0lLYXkt391UONigjpZSwYl4zMni7GWORK X-Received: by 2002:a62:8012:: with SMTP id j18-v6mr23633832pfd.202.1541456797226; Mon, 05 Nov 2018 14:26:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541456797; cv=none; d=google.com; s=arc-20160816; b=lgy4ZgM71slINdlgVzdcHZS4J7YjiFGpw6kcmb8UbgYNxyjyambWiNmyGxEiVIKORF RRNzOFnXC6xb6e7b87tBM98C2lg1islg9SwsecN/7UNxMSwbOaVfpbmmQmLAsluRrv8y 8lnz9Nr8Fa1pUFZ2lAJH9DgaFA5YVzsXphOjnn0td/OFeop/64SY6PlrJlxYHSqKUEy9 9IpFKU8uOcq59cz6GfBp5x5MNJ8sCbY8jZSnjwf47G5IRk+Jwu+zI0Mc3/0JgNwwTCIE vycld5y+2qBH5fZwGw6yctpbwUiV7fOEv7YemuujVnbFhJ9SMhMcVzPYrDon21wXKdFU NpJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=y+ddjEzD3JlIhTblXhZGXsMqfZXc/g+LWxolFBNW6WA=; b=N4p3jl6puhcIwBXx4S1VH0JtrgTAiDSTUxZ9B7aEr8CNrY6oEU8yqc2gyJyPUL2e9l weLEnlQh+PQi8Ho6p2NQ9QyHNy46gdd2D6d0P+4WlycouTVd3h5VN4pPHXAyrUoB5Xg4 +quT5Ca9RSUrxbs5VZk/fZnFLXo3ACdE72S7R2iVL2sSyHyX8J41iVn1Z0zXuSJuQdot epXXtyr20rMwBHZuYnNmWm70fxhLJU0NZoNJwKcATvHyxhLsN8kmn0vbqetOjuIEJh5Z FEt4pSFnBa7McYjRhkg0qjCbWMB3ak+YRBgTyfAceaYZsUCb2RKuZOtuwPLc6mLcVZKS GVPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L4OgzKh8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x68-v6si11917302pfc.0.2018.11.05.14.26.35; Mon, 05 Nov 2018 14:26:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L4OgzKh8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730035AbeKFHs2 (ORCPT + 32 others); Tue, 6 Nov 2018 02:48:28 -0500 Received: from mail-pl1-f182.google.com ([209.85.214.182]:42733 "EHLO mail-pl1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbeKFHs2 (ORCPT ); Tue, 6 Nov 2018 02:48:28 -0500 Received: by mail-pl1-f182.google.com with SMTP id t6-v6so5137792plo.9 for ; Mon, 05 Nov 2018 14:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=y+ddjEzD3JlIhTblXhZGXsMqfZXc/g+LWxolFBNW6WA=; b=L4OgzKh8cY1F03AuKCDZ2AoOwdF1EaKPYH57dn1BPPf6xtO6kKKK/1HEX4Avxw/p1Q bWqJiZ+TnP+28qomcfN//dRnVdiw/fF8dMWf2r9MlnU9ixDmxcOpaSZsLPkxSNqGsUpd RhLXCl75aMBVlgFgj+IjW7Xc6TVj91i7oHTO8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=y+ddjEzD3JlIhTblXhZGXsMqfZXc/g+LWxolFBNW6WA=; b=WGt1G7Ozdoi/C55lndUNbJMvt1aAfFyE43IM/qCY/fzzesGv4jn6it0oprh2L30/Pn qousNd43DLsedjwgbBBINrYtBNzh87NkdaSGzRRW4UfeD9L00RYz62paKp6ua3gl4Jjj vEljmYhSWEpsnrmnMh7LHUUx2cWsPYAg8VktYEYwLON5adW7LZJVnMwDI3XIxeYzgOOW dMge/uOdAct3y2mj98ZEbSLcxC/puXZmOdm3gZwf+xLfkWZ1rlZtTUeTRoVTcPV7BFbZ DogHuI8KxfobPBGtyVDJOJMl5zPVQN/hkrHEhDsOzZMQ8djyBwV+eTdE8mEu6JFfPYVS umTQ== X-Gm-Message-State: AGRZ1gLj7iUWIuuMsDdYV3Jtpd5pO4Ms8hQaaftwyhFLc7tSq0o3A7Li d3J6BModZ0v9YlYOF5gRIjYQvw== X-Received: by 2002:a17:902:8342:: with SMTP id z2-v6mr23412122pln.147.1541456793397; Mon, 05 Nov 2018 14:26:33 -0800 (PST) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id q26-v6sm58669804pfi.165.2018.11.05.14.26.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Nov 2018 14:26:32 -0800 (PST) From: Mathieu Poirier To: linux-arm-kernel@lists.infradead.org Cc: alexander.shishkin@linux.intel.com, leo.yan@linaro.org, suzuki.poulose@arm.com, coresight@lists.linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] coresight: Fix miscellaneous problems with CLAIM tags Date: Mon, 5 Nov 2018 15:26:27 -0700 Message-Id: <1541456790-28282-1-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This set addresses 3 problems observed with the CLAIM tag feature. The first patch adds support for CLAIM tags to the ETB10 drivers. The second and third patch deal with releasing the tags on ETF and ETM3x devices. Review and testing would be appreciated. Regards, Mathieu Mathieu Poirier (3): coresight: etb10: Add support for CLAIM tag coresight: etf: Release CLAIM tag after disabling the HW coresight: etm3x: Release CLAIM tag when operated from perf drivers/hwtracing/coresight/coresight-etb10.c | 23 +++++++++++++++++------ drivers/hwtracing/coresight/coresight-etm3x.c | 2 ++ drivers/hwtracing/coresight/coresight-tmc-etf.c | 2 +- 3 files changed, 20 insertions(+), 7 deletions(-) -- 2.7.4