lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <894594bd2adb156fa8f290f4e603edbccdbbcdab.camel@mediatek.com>
Date: Wed, 10 Jan 2024 05:44:18 +0000
From: Chun-Jen Tseng (曾俊仁)
	<Chun-Jen.Tseng@...iatek.com>
To: "matthias.bgg@...il.com" <matthias.bgg@...il.com>, "wenst@...omium.org"
	<wenst@...omium.org>, "angelogioacchino.delregno@...labora.com"
	<angelogioacchino.delregno@...labora.com>, "robh+dt@...nel.org"
	<robh+dt@...nel.org>, "krzysztof.kozlowski+dt@...aro.org"
	<krzysztof.kozlowski+dt@...aro.org>, "conor+dt@...nel.org"
	<conor+dt@...nel.org>
CC: "linux-arm-kernel@...ts.infradead.org"
	<linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "linux-mediatek@...ts.infradead.org"
	<linux-mediatek@...ts.infradead.org>, "devicetree@...r.kernel.org"
	<devicetree@...r.kernel.org>, Project_Global_Chrome_Upstream_Group
	<Project_Global_Chrome_Upstream_Group@...iatek.com>
Subject: Re: [PATCH v2 1/1] arm64: dts: mediatek: mt8186: Increase CCI
 frequency

On Wed, 2023-11-29 at 14:22 +0100, AngeloGioacchino Del Regno wrote:
> Il 14/09/23 14:10, Mark Tseng ha scritto:
> > The original CCI OPP table's lowest frequency 500 MHz is too low
> > and causes
> > system stalls. Increase the frequency range to 1.05 GHz ~ 1.4 GHz
> > and adjust
> > the OPPs accordingly.
> > 
> > Fixes: 32dfbc03fc26 ("arm64: dts: mediatek: mt8186: Add CCI node
> > and CCI OPP table")
> > 
> > Signed-off-by: Mark Tseng <chun-jen.tseng@...iatek.com>
> 
> You ignored my comment [1] on the v1 of this patch.
> 
> Besides, I think that you should at least keep the 500MHz frequency
> for a
> sleep-only/idle OPP to save power.
> 
> It would also be helpful to understand why you chose this new
> frequency range,
> so if you can, please put some numbers in the commit description,
> showing the
> stall in terms of requested BW vs actual BW (as I'd imagine that a 2x
> increase
> in CCI frequency means that we need *twice* the bandwidth compared to
> what we
> have for the workloads that are stalling the system).
> 
Hi AngeloGioacchino Del Regno,

Thanks your reminder this issue. After ajdustment CCI OPP, we also do
power test benchmark and the result is PASS.

The original CCI table has stall issue.  When the Big CPU frequency set
on 2.05G and CCI frequency keep on 500MHz then run CTS MediaTest will
system stall then trigger watchdog reset SoC.

The CPU and CCI frequency setting are not in the same driver. So it
will have timing issue cause CPU stall side effect.

BRs,

Mark Tseng

> [1]: 
> https://lore.kernel.org/all/799325f5-29b5-f0c0-16ea-d47c06830ed3@collabora.com/
> 
> Regards,
> Angelo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ