Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp249684rwd; Wed, 14 Jun 2023 15:29:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4hvqJ0D/srNqpREq2o/fuasAR+nQOoVjJacFXBSuuswFI0D+/sQOd/1qYA4hHxJbK0GNHn X-Received: by 2002:adf:f050:0:b0:30f:c1ab:f72b with SMTP id t16-20020adff050000000b0030fc1abf72bmr9637031wro.62.1686781767157; Wed, 14 Jun 2023 15:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686781767; cv=none; d=google.com; s=arc-20160816; b=PzxjXQpw/r32jDKBvdZbgGdPzpXwoinXTEK2mACDB/s1/oYuN5RADAe9/SiKAUVKAP fCSB+wlwzlGx3Z2aAEb4ipx9lUUEaHuMmq66AyCxl+E/FWx1vIGftUlxH27U3qEMUr3E nlUFvqGZzko10qFxDL8d7M17+KKcecwksmzmaPM5mb39tRlN8VpHKTtXbNpsQKODLAfc +q+ILDEA5XyuFPvFfspJ7oGyBK0LF3T47QTEampXJwmDMEAHD8xd+N0Gxwsd9jliYES5 HKXn1haFXq0xPgROFt9+Ky7JiScATyBgDulj97ZblInA7poUSZYQwlG/l355/HOj6CJ+ c6Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=r81QiVT2i2luVZHx3BURUz++dO0oP+AXcPolYhDwPKA=; b=dCDro+sqqhpJIySKJkQEDSEwb3OV0gQSwO9GaTae/iasCtDyRVda5xzGrvH34vb9Q+ nYkHvCpk0IRSJY4AA0530x7YVpY5/Yiz+5AY9NKT91xK5odMCmSgRcBbdjanuIlC7iku DZqe5GMWzxA+zHQUWwkFbahJiR2ILmZAx/ifmd5VzYQlm6/iec66NZIU4ZAKp6bO00so QU4RucN/0eMdjmZyhr/b+U5gmF5bYV84OSZdDpZhrTioyGtPwFdP1S0xjtCxmOxk5Oiq F8mnm6MfphltC6kgdR67UmqAHAs5eoTdJTC3OLjvbmMK8TBXU++z2f3toDpr8W4q2aCr 0sTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iiXTsu5M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020a50eb4b000000b00514b21c93f1si10063820edp.357.2023.06.14.15.29.02; Wed, 14 Jun 2023 15:29:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iiXTsu5M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234236AbjFNWSP (ORCPT + 99 others); Wed, 14 Jun 2023 18:18:15 -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: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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--