From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796399993; b=jwFs8uLpzpeyhXD83r5vafYng6E+edc4/mY71d6DOSMSSeXnehAYVYbGvjq1Wc8pTmiY yRIeddAiVnteRTvy2vP3jnq4WeWwgxsUk+49igd9kT+K4BOinY9u4pYRhTWlDIpI1fLqK sNcdMv5OpI3ovxoxxl86BlJYYIjujy+QdUE1lHmvIOEXUM3DERQl/OH0JHqSVI21ieGb8 bRJRiYtZP0ahbfgpQQhr3aHPvo2a3yngirPbrwFc7ksJbbjrcpopTZqJL4fkds6NOF3nW 3UEQVkQLVPwW6F+lQLUnAi5+7j3WTvgwkva52gYvGYNED6XW/ms1wRluANWYDrNAWvw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796399993; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=n5ta9jroqCbdX3LqNWFNA7iq+DOtVb173AYuDgZ3d2Y=; b=MBT+oWQVNncXEzn3yk8kamQH6oZ4k+kQafoXntvbaBaXexUXd48y9xYM5fkUzKZrcaQc R5MQlCynZxtTskcKSxuTrQa03BWb5ihIgGQKgPhqei4+04tqKb2HVoA1tpHJotdyn06n2 f3SKmD4cL4qcAWb9a5vwH53BB3pLPXOek+0SbbsROhR284PFbPwHROG0yynepNidULjx3 r0g9H5KVn7SA8Y2ZoMDBGCx7xaaQxkGvKXwLNnkflG9b7Mdef8H5uZaniMWb1Z16Ds5q5 obA0q8feywcrWE69P59viko6Jx0Ln584dGyPXSIM0YlPyprEvRhn+/yUf9zoFg1fIEw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DfNlxuaB; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D872606A32C for ; Fri, 4 Dec 2026 15:59:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DfNlxuaB Received: by smtp.kernel.org (Postfix) with ESMTPSA id D07511F000C2; Fri, 4 Dec 2026 15:59:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796399992; bh=n5ta9jroqCbdX3LqNWFNA7iq+DOtVb173AYuDgZ3d2Y=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=DfNlxuaBjnTneT9eGh0CvXocuJ8FIzhvEtnOdzb3cYA1IVNBj6GMiU0fcFZ7QtjCn zgOcMiIeXJH+Q8V4bP+OMMw2FtXsAQEMLg2d5VchJgfQqqdRxHfjR3x1Mu79A68xKk bachtk5041d0WbxFB6GodJxcyMmUwte17HMhfBM5worMv6hlNLy8brwBQKJpqLyZYz DXV0k+x9Ex9MWxLuO6IXmklMTi3XSfrk3JWS0TSotCZuaItSsHAoV7oJAGHN+ID/Vi HxZ2FPexszbmhY7AjSx4yZiXhWYMzke5mSPvGs4x1iAY1SvKVp5EwXdbodRmcc1UhH gvYurMvRqO1Sw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] perf/arm-cmn: Terminate the discovered node array Reply-To: sashiko-reviews@lists.linux.dev To: "Leo Yan" Cc: linux-perf-users@vger.kernel.org In-Reply-To: <20261204-b4-arm_cmn_fix_node_sentinel-v1-1-021075ebdcd7@arm.com> References: <20261204-b4-arm_cmn_fix_node_sentinel-v1-1-021075ebdcd7@arm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 15:59:52 +0000 X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > Discovery writes a child's type into the next free entry before deciding > whether to keep it. If the last type written belongs to a skipped child, > the entry retains a nonzero type, so node walks can run past the end of > the array. >=20 > Reset the type to CMN_TYPE_INVALID when discarding a child without > supported PMU events. This restores the zero type that terminates the > array. >=20 > Fixes: da5f7d2c8019 ("perf/arm-cmn: Streamline node iteration") > Signed-off-by: Leo Yan Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204-b4-arm_cmn= _fix_node_sentinel-v1-1-021075ebdcd7@arm.com?part=3D1