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 00A10EB64D8 for ; Wed, 14 Jun 2023 22:18:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230195AbjFNWSQ (ORCPT ); Wed, 14 Jun 2023 18:18:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229918AbjFNWSM (ORCPT ); Wed, 14 Jun 2023 18:18:12 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EB151FEB; Wed, 14 Jun 2023 15:18:11 -0700 (PDT) Received: from mercury (unknown [185.209.196.239]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id A606B6606F50; Wed, 14 Jun 2023 23:18:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686781089; bh=7DXXgiTAFIsDkW8tcEUWa0sgVg2mlbeJ2h59wXkLWhc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iiXTsu5MPqpZr7Zn7wzW+mT+uyAJYXFDn6WtBW1LF+tRNSBpYdYJauO6Wf/5c71fk hklLNLUA2EWNJfv4IZrtM1YqeihN9XYw0i5u1zevkDm7U3LdjE4XNCGwi7h7xJYAim OFPjynh4LYi4UnCRp66v1HSrOiSOgMDnd8VtqsuuBHZoZulVBqm59vTzjabzffH8Su jFoXvBKkDQ4xYCCYW4qMYHVU6jTbZSyEkujFr3u4GBlGk/SB2zdp5eOVrgDcV6dyzK B9vF418CqQtjKwtE2ftThAYqy+GDML1EXQGYY/vSOR9NpQB2oaktBoz554TQq92EAy D4xUS1lVJUuPg== Received: by mercury (Postfix, from userid 1000) id 55E101060A05; Thu, 15 Jun 2023 00:18:07 +0200 (CEST) Date: Thu, 15 Jun 2023 00:18:07 +0200 From: Sebastian Reichel To: Vincent Legoll Cc: Sascha Hauer , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Heiko Stuebner , Kyungmin Park , MyungJoo Ham , Will Deacon , Mark Rutland , kernel@pengutronix.de, Michael Riesch , Robin Murphy , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: Re: [PATCH v5 00/25] Add perf support to the rockchip-dfi driver Message-ID: <20230614221807.akvkncurzh5qxjvi@mercury.elektranox.org> References: <20230524083153.2046084-1-s.hauer@pengutronix.de> <20230614134034.3p3p75a3jophi2eu@mercury.elektranox.org> <20230614152721.eep5ip726ump2kpe@mercury.elektranox.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yk4kwmqovwr2qgoc" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yk4kwmqovwr2qgoc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, Jun 14, 2023 at 07:51:21PM +0000, Vincent Legoll wrote: > On Wed, Jun 14, 2023 at 3:27=E2=80=AFPM Sebastian Reichel > wrote: > > On Wed, Jun 14, 2023 at 03:40:34PM +0200, Sebastian Reichel wrote: > > > I tested the series on RK3588 EVB1. The read/write byts looks > > > sensible. Sometimes cycles reads unrealistic values, though: > > > > > > 18446744070475110400 rockchip_ddr/cycles/ > > > > I have seen this going off a few times with and without memory > > pressure. If it's way off, it always seems to follow the same > > pattern: The upper 32 bits are 0xffffffff instead of 0x00000000 > > with the lower 32 bits containing sensible data. >=20 > How often is that happening ? I saw it multiple times (4 or 5) within a few tries (I guess around 20). I could see it with and without applying load on the memory. Tests have been running globally for a second using 'sleep 1' (just like the example from Sascha Hauer in the perf patch) > BTW, it's on a musl-libc arm64 void linux userspace. In my case it's Debian unstable. -- Sebastian --yk4kwmqovwr2qgoc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmSKPJAACgkQ2O7X88g7 +povJA/+P1xq+rSLUOXSr3A69xOsTyy5R5bGkqh6CnBE35vwNWC7l8W/0FD0wPze zmYSlGqHtJXB/uwzArejLLX8LjuJmFRcbBhUCTMYBvKIYfWT9JkvYEGlUWBVJtlp Lr9g1CerL/DVZR047Ym6B7wb1K39IKFVFZCB8QWA6/Ddogj0ZAqhn510Rs+Jv6cD zXFIrNCyXlTBxeCltJCTJc8kJUPYi+jya4hXC9QxlPkbN5Ms6RrRgpNSocAxo3Q5 vg64Gu4j+nZvgGxxBr7cbJvA2FcbAQ9cCfH6kLPyTcFJj61YRn8BGG457523Ixps M72T/x7eES5WowQYXveZHddoYIV1uN8ZWLZiSgUubztlKPp34eHb6TwPCraiC/xO fdttLR3tOEFIgdnc55L4lnbHmv4vEsviAZ27GXT+h5rNMjEofcXHZMiiLZ1YOrNA H2kfue80eAhS+0fjct2wo9svB2Da+4RHTmjfqZMUJYc0JIKo4q5NQipZrlx+vkV6 Igf7n8epfsGH4hkgAqYmE78+cw/+DB9lL5CntAGBJQstOi0Ud9HaN+gGIbaNw+I1 cYJRQluhEiVE+XmIPlfI6dpClNKytr3rBEAxarGXN7VPlvcg9hAr/TKU5x7wFh0W tYMJJGXm2a2pgGFC1TjnfMQY7BFL6U4xyDRpBeV2Z11ENBKH4MY= =Feil -----END PGP SIGNATURE----- --yk4kwmqovwr2qgoc--