From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0992C4332F for ; Wed, 16 Nov 2022 09:12:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233112AbiKPJMN (ORCPT ); Wed, 16 Nov 2022 04:12:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230280AbiKPJMJ (ORCPT ); Wed, 16 Nov 2022 04:12:09 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC2CA384 for ; Wed, 16 Nov 2022 01:12:07 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id r127-20020a1c4485000000b003cfdd569507so82386wma.4 for ; Wed, 16 Nov 2022 01:12:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=AFKNffFtY5kVNiVAk/P0FpVr/0HH1RSFq3GyOsjl5tQ=; b=h9qTz0llQJKd8Wu07bgW3+OinYebUJT1kws3CflBy0DNuJf4Rya9Cpt1UAtMK89Amb Q+ClwmcMcnNa2lQPccb1DN/6HvGO/QBoTlrzx/ZRZB7x8luevj5fbpwfcKgNW1FkqsJC Id+p0MSsktBYab/asVWJRalJpmiXUiZfTmAVvtHIldmoMqJV9+yI9x3O/K9XJ8RTvUND nxMcu/HDMnQmEGu7WEnnNtxi3KCzwIoZc2IokOLO9Uvr9yVzlyvwlD295oLAiDZjBzWz 3DYzeOGpfFCKGYT7RQooACVRgsnCizqPDC8DXfb9VkDw1JCE1ECjQPgRPdSurY2NtURj Mmsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AFKNffFtY5kVNiVAk/P0FpVr/0HH1RSFq3GyOsjl5tQ=; b=CmTfltXoK6oTN8aMNmK7BQR4sAzxWy4SJ7FnayYBoaSOrtandI9+xthTGgT8rqg3af mKt4mQgcXdkLDvpM1tCQ9cS9yc0wCuOgY/ff0WP9aizfOtYWSoNkgRHXSV/XxRTe9Euj BcuRgo4Q3BRry1H+tfQYThM6OtCw6GzlaJv6Ir8A9NPXOglif/uVegTU9wwoHhLUVSSE 20zTEHtq8z5/yulhuLHPlpIdlBNG0yNxoC8IL5fh4sVkt8IHRFdsGUxhRYp92uz5Vvac cebXcXauVlk3Ju7+utXV2CjCSI1ZwW9w4PvAO2z4B2UWAsn9hJ3sjN2nfSb/TPOizqYn 9Hrg== X-Gm-Message-State: ANoB5pkIqzZK1rj7ECppa5NP06i9d0BLxedd3GREQCKPZsgS8IrovNfU FgoGNIMFDsdX5DABsLMDnMdXeHlIsP9OoA== X-Google-Smtp-Source: AA0mqf5t46DwNbPq/deiJj7VX2YDZydyiPZU7UHc+HERaqziYQW+JqmhZ7bXP+3FVESs9hZnwo+K8w== X-Received: by 2002:a05:600c:5116:b0:3cf:8d52:a216 with SMTP id o22-20020a05600c511600b003cf8d52a216mr1436895wms.77.1668589926468; Wed, 16 Nov 2022 01:12:06 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:2a03:71a6:7a9d:9c71? ([2a01:e0a:982:cbb0:2a03:71a6:7a9d:9c71]) by smtp.gmail.com with ESMTPSA id bv13-20020a0560001f0d00b0022cce7689d3sm11683820wrb.36.2022.11.16.01.12.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Nov 2022 01:12:06 -0800 (PST) Message-ID: Date: Wed, 16 Nov 2022 10:12:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v10 1/2] perf/amlogic: Add support for Amlogic meson G12 SoC DDR PMU driver Content-Language: en-US To: Jiucheng Xu , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Jonathan Corbet , Will Deacon , Mark Rutland , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Shuai Xue , John Garry , Wan Jiabing , Chris Healy , Jianxin Pan , Kelvin Zhang , Chris Healy References: <20221116003133.1049346-1-jiucheng.xu@amlogic.com> Organization: Linaro Developer Services In-Reply-To: <20221116003133.1049346-1-jiucheng.xu@amlogic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/11/2022 01:31, Jiucheng Xu wrote: > This patch adds support Amlogic meson G12 series SoC > DDR bandwidth PMU driver framework and interfaces. > > The PMU not only can monitor the total DDR bandwidth, > but also the bandwidth which is from individual IP module. > > Example usage: > > $ perf stat -a -e meson_ddr_bw/total_rw_bytes/ -I 1000 sleep 10 > > - or - > > $ perf stat -a -e \ > meson_ddr_bw/total_rw_bytes/,\ > meson_ddr_bw/chan_1_rw_bytes,arm=1/ -I 1000 \ > sleep 10 > > g12 SoC support 4 channels to monitor DDR bandwidth > simultaneously. Each channel can monitor up to 4 IP modules > simultaneously. > > For Instance, If you want to get the sum of DDR bandwidth > from CPU, GPU, USB3.0 and VDEC. You can use the following > command parameters to display. > > $ perf stat -a -e \ > meson_ddr_bw/chan_2_rw_bytes,arm=1,gpu=1,usb3_0=1,nna=1/ -I 1000 \ > sleep 10 > > Other events are supported, and advertised via perf list. > > Signed-off-by: Jiucheng Xu > Tested-by: Chris Healy > --- Why did you drop the bindings patch ? I only applied the DT patch. Neil