Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp176286pxf; Wed, 10 Mar 2021 03:42:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGrw2+v4OXlgzcN68NLH9ZVZVARx8IBFxL57S3/37feT67Z8x2McwQ37UieYheYuCUAB/B X-Received: by 2002:a50:a086:: with SMTP id 6mr2732634edo.70.1615376564290; Wed, 10 Mar 2021 03:42:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615376564; cv=none; d=google.com; s=arc-20160816; b=ojUlqxfHWDvCf3MAZCmq1XrzHMT8GJFgKipe8RYEj+RoS9S1oHBZgZJ961HyZboKzv zagWeTuNTQTAPRYuvwHV65w80rIQ//CYRnW1PNw3VjDCdcH2QbE1TAFans06CTlfml42 xxJIo3XgHiFCFBOoQqHiZOCgNrMGBsQBqyjlR2XOl7ye7gTQYtj8xZXseoynehQlT1t3 sZw3129UCdyRXn00ZVEBYyEQ2bYQWyAQHJXw46hPFkkuhHyq+krN5l/7gaQVzoSYoDjs NZ4GVF+5WWYf0dFKDprV9PKXiFcxGPjZGRFUTK0Ss0MRflxQXh815usmu2dlsaQd8Obs G5Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sTIWPDU1LuEjegZuB2l+M/nsxYZ8BRSTTNvJAvdg8lg=; b=u9X3lRc7i//VXawq/BCNdY+LBLV30bwF4joFXItY7wHzoyUfx2oH9wCVyWGDlmdFoh TTalq9ddnltVvOOgrwcIcEq7pLmYprCUNZQuVuL1xS9QXfTYV1QUvpdyQZIRyU9QqjHi 6v+AVbRoYc/aQBTkQrK6gln58SuQ3Fc1wZfAI1klCYICf1B0objLYAtX4hAlSMemh03J WTRkeL/tM96lYQ4z1yESvG9PKjvkWBWgpbfiYmTClOx02gIUdr1CXZsbUaqSjwCgih1T Zi8oQXq722wQBPuZozA/lpB1uo/5Ou+ddRfPRdqouH16rvutAIuflbycqPtC33BF3YyI fLYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sm6vpbGq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si11496530edy.342.2021.03.10.03.42.20; Wed, 10 Mar 2021 03:42:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sm6vpbGq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230270AbhCJLko (ORCPT + 99 others); Wed, 10 Mar 2021 06:40:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:53176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbhCJLkM (ORCPT ); Wed, 10 Mar 2021 06:40:12 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8F8CF64FE5; Wed, 10 Mar 2021 11:39:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615376373; bh=xQ6SwjdUQv3ba3jHsYuK98gEzP7tGEoWw94EqmlnRM0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sm6vpbGqGs7qn9uy1gSaWNPAgj9OMrvjQELGunOM4QL6qrKm1Q0OpMjskfoFhKwQf 8avgwdLN68LLC1CFYZTVxK+I2FmO/Fk7Z+d+krVwVl2DXR54ti3QU4ZaxjPtjJ0waZ 7aJMh/RKK4jk+4HcaoxDb/75wYicYJSJrOUkfhn107gkCsXwIJb821XmTNqxa1suIp 9B4czlCw+XJ4T/hdMhS3tkKKIBpvT1RGJnPXynxh5MYakHCN6suXVdhmv01nQkewPP V/LanN7VBzfkkcK62U1GhcgPZcMohxOrvfdrsRsJrKH+3NWPPjx+NndzIQ6U40H2hj mUbhuJ99GWdhQ== From: Will Deacon To: Rob Herring , Mark Rutland Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-kernel@vger.kernel.org, Julien Thierry , Arnaldo Carvalho de Melo , Alexander Shishkin , Namhyung Kim , Peter Zijlstra , linux-arm-kernel@lists.infradead.org, Ingo Molnar , Jiri Olsa , Alexandru Elisei Subject: Re: [PATCH] arm64: perf: Fix 64-bit event counter read truncation Date: Wed, 10 Mar 2021 11:39:19 +0000 Message-Id: <161537450433.1678552.10313003900540512459.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210310004412.1450128-1-robh@kernel.org> References: <20210310004412.1450128-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Mar 2021 17:44:12 -0700, Rob Herring wrote: > Commit 0fdf1bb75953 ("arm64: perf: Avoid PMXEV* indirection") changed > armv8pmu_read_evcntr() to return a u32 instead of u64. The result is > silent truncation of the event counter when using 64-bit counters. Given > the offending commit appears to have passed thru several folks, it seems > likely this was a bad rebase after v8.5 PMU 64-bit counters landed. Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: perf: Fix 64-bit event counter read truncation https://git.kernel.org/arm64/c/7bb8bc6eb550 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev