Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp302448lqg; Thu, 11 Apr 2024 03:34:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHdhgpusXZdlYNCZTIcxJndWu3xNLBZNIb4rS7JIGF/vcRY8uQ5B6F5SnMBPhnFj9TIqQ3IEUUU+ty9cT+30HH5y7ugCE4Sw3OsbTWgw== X-Google-Smtp-Source: AGHT+IFfC+lqRkgzckJDpp/WxRQKKed0rgmCWBl6ioyB8vH+hlME2uLNtkO1S1d8iYD60h9pJYtT X-Received: by 2002:a05:6808:13cb:b0:3c5:ec0a:caef with SMTP id d11-20020a05680813cb00b003c5ec0acaefmr6467789oiw.21.1712831648780; Thu, 11 Apr 2024 03:34:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712831648; cv=pass; d=google.com; s=arc-20160816; b=cBQ2LK3Re4wpSASjtD7j0VI8M6jr5UAVHgeYu9MOdnDyJ0SkGnJiEHSSqtb+I06Mq3 KU/R4NasZSEF2qJMjMs3MpGj2gqKSq5EibQEr+kExIMHFMMflUqpAwL0JIBc3zvgPudx qN7NCj49Z+uTSHtIcKTZaR7H2Wp1m7rio6nr4GknuMWCu3uOBzWXKkNSiOms0KwnS3eB mI5GjkULptMKKe26r9NGyupGHwgdgvPN9bO6/E8+w+Zs1JQ3AtXE5sd/65GWy9X+u8I0 qlBMOuQ+DYv4Pk7DJyavczWRKmqmaR7DaNm8tNHEPGg9wbMYIDrEtabvXGmDCOZg4rLd pM4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=m4eroXMVAOrl9pEzp5hs636G3KUMo0z1lj9GgfCAlao=; fh=fJY2ZAB8yUKX9V7SEfhkJrijcZupiD/kVxvWoXy41sQ=; b=GXiR+5oVOtXF8zKL9ASpHYKbTrUuTuCnds9aCw8S+5gF2vhk7W4l6/PDyhZdsesu/k lcvK6N3ii914Wyi4NycIwdVKE/oCbS5Y51x7899R8yV2wl8LLlaEc9vzCa/qz+frlOy+ 1AfvLlIil4B5wCC91O2dCUYYJPnswSFflPwLMQSykjBXeWbGD+Y9lt9TAr6igvNgkp54 O2E2tleBceqAkIG2eaaGhCWmqvSaDQ2bFHCX1aXKWpHtl6bde1/FXQBjAXY1E7g0Wt+H QUS4w5nkROblWeHxjlFTgEXpoSGXkSBv6+PdZy+r4kJpcOmicgzxV3XUBiMvxDM3Zr5K Jwmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QM6Rquck; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140254-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 j17-20020a05622a039100b00434f39ed0efsi1258327qtx.68.2024.04.11.03.34.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 03:34:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140254-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=QM6Rquck; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140254-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 7C9321C2186F for ; Thu, 11 Apr 2024 10:34:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D40314C5B8; Thu, 11 Apr 2024 10:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QM6Rquck" 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 4AAC8149E1A for ; Thu, 11 Apr 2024 10:31:42 +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=1712831502; cv=none; b=pQe86Yj8pQfZ9eKTFbmVEUvM6vGhwlLPuGmO5VJghx8RwtBysJaKFT/Ie6MHJbiawKYKOhc/RTSLSQ3hKFDngm+Zhm+mXDv3sUIsW+E1S3sr0+qnY92R0jPqNT5FshFgcdjoaKUI+piZRg+BjRLZgv/I7zXuDDsSiyWJEdE45mU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712831502; c=relaxed/simple; bh=2d27AzIjl7bRIiAhdppOGrO+JSnCCLLNZjUvoT3BXNQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KR8ilnTlAc5+9MSIMLa61THpRhPH9DhXt+pkCC82vadIM+5Vt8Q3Sv0WWYR1ox3MGLT2aWrAddNpq+oq68wXC354jEhbaXKrMhUJEyDw06mjlbHmoJ1U6PoKLphr8osTo3IiNEORtfOLLUYp37nFtPtMhSTxINMIMGwvQfjJcPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QM6Rquck; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E696DC433F1; Thu, 11 Apr 2024 10:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712831502; bh=2d27AzIjl7bRIiAhdppOGrO+JSnCCLLNZjUvoT3BXNQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QM6RquckSTK7RmSEdm1KI3EVT+wPwz31nDlefiV8jjFod2Kf6g/CQC7mMFqGELtUz PWDAlccKN1yQ22rkX+MsFZgLzFo/QzgSmDgjM0Vm7hFqfv4noA8lfIOKCp1ymRA5t4 Lw575JeE/wEoUa7xFy966rDM/SxcUXkvXWIKB4VmNePNpQKH8dWMaLKquk0TJw+GK+ gTSUEuS2W8Bzs44caBE8dzccIkv0+a36MtyM61/enOcgQDaqEW+wUriL9hIdUPzyS6 qYzCGyFSENRzNP26JU0v0qIc9Z3mPJvrEEv9iKB5be52v8Ltb2Upp1iT+cUN/NkZfo 4mCSyIdiGUp/Q== Date: Thu, 11 Apr 2024 11:31:37 +0100 From: Will Deacon To: Jonathan Cameron Cc: Robin Murphy , mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf/arm-cmn: Set PMU device parent Message-ID: <20240411103137.GA26072@willie-the-truck> References: <25d4428df1ddad966c74a3ed60171cd3ca6c8b66.1712682917.git.robin.murphy@arm.com> <20240410180403.00004cff@Huawei.com> <20240410181226.000068eb@Huawei.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240410181226.000068eb@Huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) On Wed, Apr 10, 2024 at 06:12:26PM +0100, Jonathan Cameron wrote: > On Wed, 10 Apr 2024 18:04:03 +0100 > Jonathan Cameron wrote: > > > On Tue, 9 Apr 2024 18:15:17 +0100 > > Robin Murphy wrote: > > > > > Now that perf supports giving the PMU device a parent, we can use our > > > platform device to make the relationship between CMN instances and PMU > > > IDs trivially discoverable, from either nominal direction: > > > > > > root@crazy-taxi:~# ls /sys/devices/platform/ARMHC600:00 | grep cmn > > > arm_cmn_0 > > > root@crazy-taxi:~# realpath /sys/bus/event_source/devices/arm_cmn_0/.. > > > /sys/devices/platform/ARMHC600:00 > > > > > > Signed-off-by: Robin Murphy > > Nice. I'd forgotten all about this :( > > > > https://lore.kernel.org/all/20230404134225.13408-1-Jonathan.Cameron@huawei.com/ > > still has a bunch of these + there were many I never looked into. > > > > Guess I should respin that series though probably 50% at least still apply. > > Ironically other than this one, almost the only ones that didn't go in cleanly > are the hisilicon drivers where there was some churn. > > Will, if you 'want' to pick any of those up directly feel free, if not I'll sent > them out again in a few days time (and check there weren't any requests for > changes buried in that rather extensive thread!) It's probably best to send a new series regardless, but I'm happy to pick up anything touching drivers/perf/ if they don't depend on any core changes. Will