Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3867544pxb; Tue, 17 Nov 2020 05:47:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwvz0KS6W4sB6VscCCdjL9eNczaXGvfxytrrn5DBQowkR7trLojAs2hxKr/BlYu4on+1sy X-Received: by 2002:aa7:df81:: with SMTP id b1mr20247300edy.365.1605620820483; Tue, 17 Nov 2020 05:47:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605620820; cv=none; d=google.com; s=arc-20160816; b=yKc7qJPtOjxwO48CxDY6EVHxzD0PkK2FnN43/XwLo93TLAO/PQid3SRkOoPNGozFSw 2Ghk9vhSF/59C89ZdN9hkZhGsvdZlFFnbAkLbnB4M06X8Y7r5XHOE4iuwF5k24zFHRxP To2BAR7O1RMQkERP/7o1o///GmTd6JO0nAdJ+FtqY2TngxM3rXzmKH0/SB700DMGID1r 4/rCCar2oUH3HzrpJ9o4wKhRkQjyy02cW+2qIUQGb/d1QpBKrTr0FQI2pJYQ4sIICog1 XuZYiBH419CE6HUWJLqOLrKhrT3i0C6u59iprxdcs5tqQkOpZZRPRrXehMXTg5od+JUK jHBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Lw2bRGDPg3eEgolZ7bNp6lG+Xn9ujXS+2d7vwP+2aP4=; b=tPi5eXUhLnwcsvlguLEyRZzzuUPeQuduZFx7DsVLPeAxzOGpR1zFqk1+mMcCdR791r LlRCPDIaT5teAaXZREbwMuppWkHMKdEbFS0utlBbbF7owi4uYzm95tAAg8tyu9y+QmU+ YepMUGpvZ5WphQrL8PU7xZaCgmDOnSCgqEfH21U/KUTkumuwsgCWvbwuXzseBZ1jYHyA 9ic0O6RhuL1PvLjftb2eJSKESmQsWcWK8jQ3e1ycuSd8KduAe/YAtaDENiebCmtd6LuH yoe8TJEO+AnEnyrmU4nr/SGUpHdIrKGxMvM6W9O15g99RU8Hja6IjemgXpn5tMwzqwK7 DKFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OA04LgIo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a11si13146218ejd.391.2020.11.17.05.46.36; Tue, 17 Nov 2020 05:47:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OA04LgIo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732743AbgKQNnU (ORCPT + 99 others); Tue, 17 Nov 2020 08:43:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:55212 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387455AbgKQNmm (ORCPT ); Tue, 17 Nov 2020 08:42:42 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 31156216C4; Tue, 17 Nov 2020 13:42:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605620560; bh=07HrhYS8pNujc6fOy3FoHs3StiHhIlXZgNSILI2WYeg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OA04LgIorfI7N6qRM0sQAXpxmaN8IjxbGG4oqAoGQuyJ/xXifOQkZ7f0Kv6PxJ21j d1XwgxjC29RIQcoTxVltRN9zaA+fm4pqPQ/Oy63n2bbFfCw3Azq+JKTU6LOGbegM6U VRy/Ivuy9BICfqipqb6UFwt0nYk9o9esydfCHS0U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Linu Cherian , Mathieu Poirier Subject: [PATCH 5.9 253/255] coresight: etm: perf: Sink selection using sysfs is deprecated Date: Tue, 17 Nov 2020 14:06:33 +0100 Message-Id: <20201117122151.246421753@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201117122138.925150709@linuxfoundation.org> References: <20201117122138.925150709@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Linu Cherian commit bb1860efc817c18fce4112f25f51043e44346d1b upstream. When using the perf interface, sink selection using sysfs is deprecated. Signed-off-by: Linu Cherian Signed-off-by: Mathieu Poirier Link: https://lore.kernel.org/r/20200916191737.4001561-14-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/hwtracing/coresight/coresight-etm-perf.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/hwtracing/coresight/coresight-etm-perf.c +++ b/drivers/hwtracing/coresight/coresight-etm-perf.c @@ -222,8 +222,6 @@ static void *etm_setup_aux(struct perf_e if (event->attr.config2) { id = (u32)event->attr.config2; sink = coresight_get_sink_by_id(id); - } else { - sink = coresight_get_enabled_sink(true); } mask = &event_data->mask;