Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 2/4] clk: samsung: exynos5420: add VPLL rates for 650, 700 and 750 MHz
       [not found] ` <20261106054210.2893230-3-nirvanah@nirvanahyj.com>
@ 2026-11-06 14:45   ` Henrik Grimler
  0 siblings, 0 replies; 2+ messages in thread
From: Henrik Grimler @ 2026-11-06 14:45 UTC (permalink / raw)
  To: Young-Jun Hong
  Cc: Krzysztof Kozlowski, Sylwester Nawrocki, Chanwoo Choi,
	Peter Griffin, Alim Akhtar, Stephen Boyd, Brian Masney,
	Jerome Brunet, linux-samsung-soc, linux-clk, linux-arm-kernel,
	linux-kernel

Hi Young-Jun,

On Fri, Nov 06, 2026 at 02:41:49PM +0900, Young-Jun Hong wrote:
> The VPLL drives the G3D (Mali) clock on Exynos 5420/5422. Its rate table
> stops at 600 MHz, so GPU OPPs above 600 MHz cannot be reached:
> clk_set_rate() silently keeps fout_vpll at 600 MHz.
> 
> Add the 650, 700 and 750 MHz rows (VCO 1300/1400/1500 MHz, using the same
> P/M/S style as the APLL rows).

What you mean with "using the same P/M/S style as the APLL rows"?

> Tested on Samsung ARTIK 10 (Exynos 5422): with these rows the G3D devfreq
> reaches 700 and 750 MHz, and the OpenCL accuracy suite passes 96/96 at
> 750 MHz with a board-specific 1.35 V OPP.
> 
> The analysis, the code and this changelog were produced with Claude
> Code (Anthropic), a coding assistant.

Was it tested by a human?

> Signed-off-by: Young-Jun Hong <nirvanah@nirvanahyj.com>
> ---
>  drivers/clk/samsung/clk-exynos5420.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c
> index 400a5c59815c..1b4b0ae16765 100644
> --- a/drivers/clk/samsung/clk-exynos5420.c
> +++ b/drivers/clk/samsung/clk-exynos5420.c
> @@ -1451,6 +1451,9 @@ static const struct samsung_pll_rate_table exynos5420_epll_24mhz_tbl[] = {
>  };
>  
>  static const struct samsung_pll_rate_table exynos5420_vpll_24mhz_tbl[] = {
> +	PLL_35XX_RATE(24 * MHZ, 750000000U,  125, 2, 1),
> +	PLL_35XX_RATE(24 * MHZ, 700000000U,  175, 3, 1),
> +	PLL_35XX_RATE(24 * MHZ, 650000000U,  325, 6, 1),

Do you have any references, like vendor kernel sources, to back up
these choices of dividers and scalar?

Best regards,
Henrik Grimler

>  	PLL_35XX_RATE(24 * MHZ, 600000000U,  200, 2, 2),
>  	PLL_35XX_RATE(24 * MHZ, 543000000U,  181, 2, 2),
>  	PLL_35XX_RATE(24 * MHZ, 480000000U,  160, 2, 2),
> -- 
> 2.47.3
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/4] iommu/io-pgtable-arm: use inner shareable for Mali LPAE on a non-coherent GPU
       [not found] ` <20261106054210.2893230-2-nirvanah@nirvanahyj.com>
@ 2026-11-29 10:48   ` Shigeaki Asai
  0 siblings, 0 replies; 2+ messages in thread
From: Shigeaki Asai @ 2026-11-29 10:48 UTC (permalink / raw)
  To: Young-Jun Hong
  Cc: Will Deacon, Robin Murphy, Joerg Roedel (AMD), iommu,
	linux-arm-kernel, linux-kernel, stable


On 11/6/26 14:41, Young-Jun Hong wrote:
> io-pgtable marks every ARM_MALI_LPAE PTE outer shareable (SH = 2).

Tested on an ODROID-XU4 (Exynos 5422, Mali-T628 r0p1),
kernel 7.3.4, LibreELEC with Kodi.

With this patch, the board ran for about 4 hours without freezes or
errors. H.264 1080p60 (over 10 minutes) played three times and HEVC
1080p30 (over 8 minutes) once, without any panfrost errors.

Without this patch, the Kodi GUI never appeared after the splash
screen, and the following messages were logged repeatedly:
[   25.284080] panfrost 11800000.gpu: AS_ACTIVE bit stuck
[   25.295125] panfrost 11800000.gpu: gpu soft reset timed out, attempting hard reset
...

Tested-by: Shigeaki Asai <y-asai.0816@docomonet.jp>

(I used Claude (AI) to help read the logs and to check my English.)




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-29 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261106054210.2893230-1-nirvanah@nirvanahyj.com>
     [not found] ` <20261106054210.2893230-3-nirvanah@nirvanahyj.com>
2026-11-06 14:45   ` [PATCH 2/4] clk: samsung: exynos5420: add VPLL rates for 650, 700 and 750 MHz Henrik Grimler
     [not found] ` <20261106054210.2893230-2-nirvanah@nirvanahyj.com>
2026-11-29 10:48   ` [PATCH 1/4] iommu/io-pgtable-arm: use inner shareable for Mali LPAE on a non-coherent GPU Shigeaki Asai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox