Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3872973rdg; Wed, 18 Oct 2023 08:21:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcpcrJBiLnSIJEi1a3fBSiF1hkHAXsOZUugORTFXTfxNUsRrARp3VZzooaslfBZxSMtZDK X-Received: by 2002:a17:903:191:b0:1c7:495c:87e0 with SMTP id z17-20020a170903019100b001c7495c87e0mr6845491plg.37.1697642487816; Wed, 18 Oct 2023 08:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697642487; cv=none; d=google.com; s=arc-20160816; b=O5iT4IFMlnFyAUhb0gVLyc4Wp5eBC9htRy1PE+9/1g4coh/pYRyQieyzDpD5hLDE6B fiHn1Mo5hTcBzLS8zKEodmZSpFoDw6NXiac/2gdolFeD0DtDcqiwZ4roEjKY9whdylD/ 9/hUnVOYb4uya5AyRHogNPqc3DLBn4sxHSI5jvLCvhCvTjmPvOZVp1aCJVG3o+2YFH9I xAMW/YVcHnjJ0f5cdE3kTK/xE1rRsr4bG6uT7qny2CSW7aiDYP4/fwQHD5auCZ686FWk NcBt5/Yf/e8ru3RBbc0fyz6eZ+TeysPRkcyPqaDG/Eb3uw9lEsCTDeEsiGGMthSf6sGx rU4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=HmJC8mSR2jtKScmOIWsSa/uZD7fn6Vqie6L8Kma53zU=; fh=VU19Pl+uYASyvYiTkkdIvqakahgen4RkX2rFFcF9N7w=; b=um/zEnrvdypo8pXNcXA+R0btn5+QKqtLhJfVhDqxeqxsZK0PEqiMjfV++Ui+rs7bGo xZgdwvd+VASfXpZxP8TrKcjYsL15GU+KsmITdbxHIEtzFvt6+0XpjGByCmdFLmFVP/kd 71KtH1kOimXPPCmnZdqo1rYVximEZOBxLI5YLo8duvl5j/tJCZ6nBxV32T1x8ZAV26Eg a0FfX3IQ1eKm8ccmQFnpLjnHY5H/18Visz2O7Lea7JLzlV5OU6c1A7ysYZIXwDXuqfuq f3JvqvGoAzJQSh18VljM25Eh9bkjQ6SxNsVz2vttnnIpXeMJ5NDkeYQoWQaTTtC1pp/1 ib6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZLnIhd9w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id p11-20020a170902a40b00b001c36705bce1si66405plq.474.2023.10.18.08.21.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 08:21:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZLnIhd9w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A6CCB8023930; Wed, 18 Oct 2023 08:21:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbjJRPVR (ORCPT + 99 others); Wed, 18 Oct 2023 11:21:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230391AbjJRPVQ (ORCPT ); Wed, 18 Oct 2023 11:21:16 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3A1AEA; Wed, 18 Oct 2023 08:21:14 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECACCC433C8; Wed, 18 Oct 2023 15:21:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697642474; bh=LYagyGRuLOJIx08cI88zPgXWvrkcS7iNbLmlFxrSclU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZLnIhd9wqi3ayfSZPlcIMGhn5cH+ssUY+jlIdiUjagca/1sntsjihy6sAyb8buY9i t4GDD9OTHBDHbhtx/M5Maf02ICkO51Fdi3uVKmLJBaBpv0pjue7vHK61ZyOnsTIIoC B12j9Szlhdcd/G5cbrOEGnML4dHSZnOY0wQUf2qbgvz8AIu6QIdCgQugSASxV+vsDv m14v6Z30satjrlNduGH3eSKZu5N+PorzNuckMElrfGxEw3OEQmkHgmVUCWPqE+eWQE 73tHO5fRAQpY7Su4FJRXizzHo08si1lXn7/jH0hbEB0IGzsLhRQ2ZyrnAUtu/dQsxL 6nY08XHyxiuKA== Message-ID: <6e43eb6d-351b-4c32-aba9-65ee5b8fd0ed@kernel.org> Date: Thu, 19 Oct 2023 00:21:07 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 00/26] Add perf support to the rockchip-dfi driver Content-Language: en-US To: Sascha Hauer , linux-rockchip@lists.infradead.org, Heiko Stuebner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Kyungmin Park , MyungJoo Ham , Will Deacon , Mark Rutland , kernel@pengutronix.de, Michael Riesch , Robin Murphy , Vincent Legoll , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Sebastian Reichel References: <20231018061714.3553817-1-s.hauer@pengutronix.de> From: Chanwoo Choi In-Reply-To: <20231018061714.3553817-1-s.hauer@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 08:21:24 -0700 (PDT) Hi Sascha and Heiko, I finished the review from 01 ~ 22 patches. - 01-05 patches are merged. - 06-22 patches with acked tags. Some patches modifies the 'include/soc/rockchip/*' files. After getting the ack from rockchip maintainer (Heiko Stuebner), I'll merge patches from 06 ~ 22 patches to devfreq.git. Best Regards, Chanwoo Choi On 23. 10. 18. 15:16, Sascha Hauer wrote: > This series integrates the recent review feedback from Chanwoo Choi to > v7. > > Chanwoo, I am sending the full patchset again for people to try this > series. You said that you applied 1-5 already, so please start picking > from 6/26. > > Sascha > > Sascha Hauer (26): > PM / devfreq: rockchip-dfi: Make pmu regmap mandatory > PM / devfreq: rockchip-dfi: Embed desc into private data struct > PM / devfreq: rockchip-dfi: use consistent name for private data > struct > PM / devfreq: rockchip-dfi: Add SoC specific init function > PM / devfreq: rockchip-dfi: dfi store raw values in counter struct > PM / devfreq: rockchip-dfi: Use free running counter > PM / devfreq: rockchip-dfi: introduce channel mask > PM / devfreq: rk3399_dmc,dfi: generalize DDRTYPE defines > PM / devfreq: rockchip-dfi: Clean up DDR type register defines > PM / devfreq: rockchip-dfi: Add RK3568 support > PM / devfreq: rockchip-dfi: Handle LPDDR2 correctly > PM / devfreq: rockchip-dfi: Handle LPDDR4X > PM / devfreq: rockchip-dfi: Pass private data struct to internal > functions > PM / devfreq: rockchip-dfi: Prepare for multiple users > PM / devfreq: rockchip-dfi: give variable a better name > PM / devfreq: rockchip-dfi: Add perf support > PM / devfreq: rockchip-dfi: make register stride SoC specific > PM / devfreq: rockchip-dfi: account for multiple DDRMON_CTRL registers > PM / devfreq: rockchip-dfi: add support for RK3588 > dt-bindings: devfreq: event: convert Rockchip DFI binding to yaml > dt-bindings: devfreq: event: rockchip,dfi: Add rk3568 support > dt-bindings: devfreq: event: rockchip,dfi: Add rk3588 support > dt-bindings: soc: rockchip: grf: add rockchip,rk3588-pmugrf > arm64: dts: rockchip: rk3399: Enable DFI > arm64: dts: rockchip: rk356x: Add DFI > arm64: dts: rockchip: rk3588s: Add DFI > > .../bindings/devfreq/event/rockchip,dfi.yaml | 74 ++ > .../bindings/devfreq/event/rockchip-dfi.txt | 18 - > .../rockchip,rk3399-dmc.yaml | 2 +- > .../devicetree/bindings/soc/rockchip/grf.yaml | 1 + > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 1 - > arch/arm64/boot/dts/rockchip/rk356x.dtsi | 7 + > arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 16 + > drivers/devfreq/event/rockchip-dfi.c | 814 +++++++++++++++--- > drivers/devfreq/rk3399_dmc.c | 10 +- > include/soc/rockchip/rk3399_grf.h | 9 +- > include/soc/rockchip/rk3568_grf.h | 13 + > include/soc/rockchip/rk3588_grf.h | 18 + > include/soc/rockchip/rockchip_grf.h | 18 + > 13 files changed, 863 insertions(+), 138 deletions(-) > create mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > delete mode 100644 Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt > create mode 100644 include/soc/rockchip/rk3568_grf.h > create mode 100644 include/soc/rockchip/rk3588_grf.h > create mode 100644 include/soc/rockchip/rockchip_grf.h >