[PATCH 0/2] RK3588 rockchip-dfi enhancements
Nicolas Frattaroli
nicolas.frattaroli at collabora.com
Fri Jun 20 09:08:53 PDT 2025
On Friday, 30 May 2025 15:38:07 Central European Summer Time Nicolas Frattaroli wrote:
> This series consists of two related patches. The first fixes the memory
> cycle counter on RK3588, which read half of what it should've been
> reading. You can easily verify this with
>
> perf stat -a -e rockchip_ddr/cycles/ sleep 1
>
> and then dividing the result by the number of Hertz the ddr init settles
> on, which for LPDDR4X on RK3588 appears to be 2112MHz.
>
> The second adds support for measuring memory bandwidth with LPDDR5
> memory. Results have been validated by comparing its reported bandwidth
> with that reported by stress-ng --stream 8 --timeout 15, which line up
> almost perfectly.
>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli at collabora.com>
> ---
> Nicolas Frattaroli (2):
> PM / devfreq: rockchip-dfi: double count on RK3588
> PM / devfreq: rockchip-dfi: add support for LPDDR5
>
> drivers/devfreq/event/rockchip-dfi.c | 91 ++++++++++++++++++++++++++++--------
> include/soc/rockchip/rk3588_grf.h | 8 +++-
> include/soc/rockchip/rockchip_grf.h | 1 +
> 3 files changed, 79 insertions(+), 21 deletions(-)
> ---
> base-commit: ba2b2250bbaf005016ba85e345add6e19116a1ea
> change-id: 20250530-rk3588-dfi-improvements-f646424715d2
>
> Best regards,
>
I see someone has merged patch 1 into -next without leaving a message,
but patch 2 was not picked.
Could this mysterious patron saint of PM / devfreq make themselves
heard and let me know whether they would like to see a second revision
of patch 2, and if so, what said revision should address?
I am asking specifically as I would like to continue working on the
driver in a follow-up series, and BYEWORD_UPDATE already complicates
the situation by being another in-flight patch.
Kind regards,
Nicolas Frattaroli
More information about the linux-arm-kernel
mailing list