Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2337391rwl; Thu, 6 Apr 2023 08:53:27 -0700 (PDT) X-Google-Smtp-Source: AKy350Z890vQD0/F4Vy1WJ9bWaUxTV+bvPKOVl3IEwtS1d9WdYunrTdcFSAwcVVm8TBYjxTx31Rj X-Received: by 2002:aa7:8f34:0:b0:624:7aac:ab7 with SMTP id y20-20020aa78f34000000b006247aac0ab7mr9823860pfr.18.1680796406882; Thu, 06 Apr 2023 08:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680796406; cv=none; d=google.com; s=arc-20160816; b=1HgfrAToSk3rwQ4SCemrNmHq0u6XxsZt8W4i68XuykoRCfVm5Z+YsMgTndpTukl4N0 hal7V6JgR1IpRHso8Bjo8+bXYc0Ww+emmeMFl8TUlzCPtD1roz61URT0LHgU95iyrlh2 u5TNPBjXcBFQ2WNEhzlgrwokGAIYkPgT6THrJq3PmOExFuj33/uwOGmB7b0atoC2RZ9Y k7J4Mt22AJPD5GFCRKkP/7Dg2hoAiqsK8mLfi+MYjcB4OAL6JFpqjBpoLU7Fe9ocS2IP QGF9t9R6RQneWdtMyO2Aq6SOi6mpB6MBwDY7/CZbtbJLmRtLjQJ2bm99O7m8zhoznygS 3Q6g== 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=7hn/eOdsiynb+c3xNQZGXsnx4nrCbIlgcSwPGGmV+sE=; b=lBha4Va1BXjzkt2L2OSkYLck70vEdWTBNy+QLs+emKFDabcS/7g9104tjIhFtHSu3c /TgGe6Lc5FfHFfg8ryOFe6uNSnUyRkTtfw/2ACuFhKEiGM4QLSPZh3JnG501X8dQ0Fh0 82acHzgdtX+q3WJdEKf9oRCPz8K0BRYLsDbIfa+14GOpPPCBXteootzuAcAZQ0MOaoyy pKNTLQDgwXBbl9PydtSFPLWS0DVi6simqm6kgZxZzkSA4cxQHV7Na3WHX6e1PTbpc9PT LvIvE39EoObBnlnhUxTmmG5rn+HNC0fkat1ZnvQ2cWWWLta1mBb4wXEcJHjnfbTMJNmf uivg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=m5sKgSdE; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a63494f000000b0050faad0977dsi1489171pgk.594.2023.04.06.08.53.09; Thu, 06 Apr 2023 08:53:26 -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=@kernel.org header.s=k20201202 header.b=m5sKgSdE; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239197AbjDFPwK (ORCPT + 99 others); Thu, 6 Apr 2023 11:52:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239210AbjDFPwF (ORCPT ); Thu, 6 Apr 2023 11:52:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CEE2A5DA for ; Thu, 6 Apr 2023 08:52:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 170DF649A9 for ; Thu, 6 Apr 2023 15:52:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F5F1C433AA; Thu, 6 Apr 2023 15:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680796323; bh=ERS1YpeepvOufPE8Rdz1Grvp76972MyDOg7BR8UNQH0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m5sKgSdESXxXeIfaXRdTQ7WKSN4j4U9lF3eo8SCMvGLIkWaSyDc03Ae5wYPHRT7lL pHbjw8j7EsEmcVUM0XSJX3TpUtBsmt3i4r4B6kpTLictPJQjoMvX3n8cj2McKPBz4g lPa16cp/kHoDHoL1CjYtOQAM5WR7qc9/lbiqfB5q3+9Ir0vKQSHzsY0nRYpaFhX7Dj QsRoefiwYtCkPmGXzWXZEM5OfbE/3qkyWqbYN2Mfv0fpgp5YeVXw1ZPOQOSoQ50lIS t/lV66sjwdK6eAycGY/Osxj9YGQFNjBu2dBvBslLsIWuGUZzdan5+8SVCMNABNN3FG Dehl3jR8umgNg== From: Will Deacon To: Robin Murphy Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf/arm-cmn: Validate cycles events fully Date: Thu, 6 Apr 2023 16:51:50 +0100 Message-Id: <168079367146.1637504.4760001819973823388.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <3124e8c276a1f513c1a415dc839ca4181b3c8bc8.1680522545.git.robin.murphy@arm.com> References: <3124e8c276a1f513c1a415dc839ca4181b3c8bc8.1680522545.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 On Mon, 3 Apr 2023 12:49:05 +0100, Robin Murphy wrote: > DTC cycle count events don't have anything to validate or initialise in > themselves, but we should not forget to still validate their whole group > context. Otherwise, we may fail to correctly reject a contrived group > containing an impossible number of cycles events. > > Applied to will (for-next/perf), thanks! [1/1] perf/arm-cmn: Validate cycles events fully https://git.kernel.org/will/c/23b2fd839489 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev