Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1054860lqo; Fri, 17 May 2024 09:18:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAL0FgJQDuDotNfTDqV5vnJL26hDr8f1LS/ZfOZuUBQzNiCcgHdxdd4/SgMglZZVTcqitjD3j5VVwO+skwVB/epSvRK4A+n8EYh2YLmw== X-Google-Smtp-Source: AGHT+IGVZZ8V+wuc0aioJckMubfdTNBaH0Dhug337ycIV+3OYvD3sZfpifJjCR3S7L9pWrF85K8x X-Received: by 2002:a05:620a:22b2:b0:792:c13e:2996 with SMTP id af79cd13be357-792c758fff3mr1974196585a.29.1715962686862; Fri, 17 May 2024 09:18:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715962686; cv=pass; d=google.com; s=arc-20160816; b=RSkWGWCP/UZbzH9drqfughwH3gx3CgHU4hEhu9QL+jSYqLhjRotdxk3gDvYkUOJYtc sJRJu1OKJvFAqohQ1UyKXioWY04RbKCvbZN3h+f/LEdZiEiYTVNL1EnSdGN4KVRh5oym QfjNvKvlkEixtbi0tzkGsUMJPRxt23lXXNphHhfUDo1/4d61EVz3sYZS6bji3lvUaT1T 1jAjrMsy0rmBfSNuN3Yeptc2/6c66egkB84uoTULwrFg3s8RMRU9ZElXH+42XjUsnTJp EN9cRh3DONKnzTFbBSU/UcEioo1n6OEcnJv+pVUHOgf0aIK3NLbo96s0+8Eo0GdWRBzo qI5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Qw5HH41YYkIGmL/EIt8XkFWkOmd9Z9szJHg0F8II0wQ=; fh=XhjNcEbYTGPAVNKfVxMyRQHAlLHcsWigDKSM3I/q7pw=; b=xXbPKUB5guk/Wisxj+x3ZBnaGChAFCKXDSEaIWMhDCotof1L5QDVRg0mo7oHK6HdGd y0070hqe/ZBqMTpqFYT8RWroEL1MlUeBmcBOWzjW0jzTS2mgioZFUVt0I3SfSoTX+7/d 7jOH70cbc77ZQg+rkFceIXO34/sRF1wiijMwoZ3n6qvt/agYYVApBgaeftVZl851tBGi W6qrA8SKQFktgyFhvd9Xei1u+o1L6ogysl3VlY3FJmvplYQnXo6V4urzBy8wHrkV6+yv NolNCN2oCHkAkkTPOkbvoJAvFoh5gPdQ6z2g5cexOMnQxT86eKwxQgtWElLkDiBPB271 aZsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JJzeUxZ1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182342-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182342-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792ed3a1557si824043585a.656.2024.05.17.09.18.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 09:18:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182342-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JJzeUxZ1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182342-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182342-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 918B41C21592 for ; Fri, 17 May 2024 16:18:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 87E9712FB2C; Fri, 17 May 2024 16:18:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JJzeUxZ1" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3A4C41C68 for ; Fri, 17 May 2024 16:18:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715962681; cv=none; b=GtpFDpteevaPMiDjNGXbMPdDI5fBIli3vf9cA7748jQcbkASUNwQU+0vYnNgXKLTIoA+oiiKyrgtCPY+TZw4JqittKiExEWxk0Nf+ZnXsr5rCp1mwchluZAYecGLBHdfaDBhsiQO25oX6Oxgi0Cu0tPWUV5gY6DBFmbiOYNeXX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715962681; c=relaxed/simple; bh=ZpOimh8bxjQZRSssxiuFJNp4h8dRYPJftPmNZvlgwo4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=D5gIyzBrwhPZNc0bWDUXwkofp0kR6aM+OsbPUEDTPx3k0VAKeedhb1yJQHRvgCeT5O5HOCRKP1RBIwhn2UuElo3sXjIsu2OanM9rex4ci7l+3KMOPIQBUxMng3i7Y3UVWXS2MSLy4i4mSYGn2soA6WdGaWJHGvt+IfmY1lznGTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JJzeUxZ1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C046C32781; Fri, 17 May 2024 16:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715962681; bh=ZpOimh8bxjQZRSssxiuFJNp4h8dRYPJftPmNZvlgwo4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JJzeUxZ16Jc/S2bfY3smOoHrABTr0xo9dKVnElX+4n66gffMl6dkIlSkEFNjLA2go /RS3bk/lj73nIDi5pLEStDpH0k6XdXZ0Hl9BZLus8PeSqHz/VyRLBq1sLRaFeTveeq PhDpE15+QOs2bxYVkFXYhcTSOsrkTYZFpmRQAl4GJYWJHHpvoaDYb32cthzNYGIYex jXOy3DibjAMdgpmRePBo58X5hphHlGGden11JlXU2QHWzBKi6WNDqrn6zXLDfm7+8Q M3OIyX9fZ0vjaZg7UBmn23p6XzaAtyMz4S7AUD2yxCQYdqI3G82cpHRohseoz200fd PyqS2MKlhj6yw== From: Will Deacon To: Mark Rutland , Namhyung Kim Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Ingo Molnar , Peter Zijlstra , LKML , linux-arm-kernel@lists.infradead.org, Greg Thelen , Robin Murphy , Tuan Phan Subject: Re: [PATCH] perf/arm-dmc620: Fix lockdep assert in ->event_init() Date: Fri, 17 May 2024 17:17:55 +0100 Message-Id: <171594724543.1439580.13624166301923414961.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20240514180050.182454-1-namhyung@kernel.org> References: <20240514180050.182454-1-namhyung@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Tue, 14 May 2024 11:00:50 -0700, Namhyung Kim wrote: > for_each_sibling_event() checks leader's ctx but it doesn't have the ctx > yet if it's the leader. Like in perf_event_validate_size(), we should > skip checking siblings in that case. > > Applied to arm64 (for-next/core), thanks! [1/1] perf/arm-dmc620: Fix lockdep assert in ->event_init() https://git.kernel.org/arm64/c/a4c5a457c610 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev