Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp470490rdb; Mon, 29 Jan 2024 07:50:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPSu4EyPC4pcYvbkqwwnjDi4PhuMfwpJzjQl+yZeweAeDWTtaQLKCbeBFqkFEmfZ50JpWY X-Received: by 2002:ad4:5744:0:b0:68c:4840:d117 with SMTP id q4-20020ad45744000000b0068c4840d117mr3923901qvx.106.1706543438450; Mon, 29 Jan 2024 07:50:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706543438; cv=pass; d=google.com; s=arc-20160816; b=lbnjSyYQ1Y4e4bjzVl1px5S3FPE6cMUG00Sht0p/S4BM4oqbAlnYkugSJ19g4D88co I0Mil32YrP6/lvVZM3DsQXwC5Jhf07fhm0AyUCmwWcJNatgi43wBHt6yjVrwbgJRNDJp yQeEP+fvbZWQaBOUeb/oWKGLYM9lpu2y2qLNUsTW114Hjz7aDfhe9ya0rBethgvu+Iy9 S7z5nl/r/Nt2JbwOEv4rUCHa/o1xEC6MfaWbPb9eMUGKfbwsuzQQmkHw35oGq1bPMaRn bGeT2d6q3NqepSYrNih7jVhUoKPOxeOXshkqk///sX5QZ5t6czOA0H1HjURoV49sI0VS IIBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=wM/1EWmh0l+7sAM4i4Ews7jS0KSMsT0W/eIZs6Q7Kcs=; fh=YVTETp8cXtXvurBAg0p9Y7xNv3oS3uAn/3CFDkuDNro=; b=LbTcWXWlrMFTEX8yJVv1Vv6mopQUbaMZC3Zsc7uNT1ShrrUgmrWY4gaAS7+HkvVqkM ML/zH6xhH0xnhpj/90dI2mmX7aIg44QDuXvAEc9wW8JKD+XDrQR1BscAOYgPKjt0Kqno 9YV1E0ZxU7JFKmw1pboT/7Q2YWvwRs20BKws70bccsaeF00tuEArjfelCjqgNxQovmbf AxacVyWmLZVwZKZ2NokQwjGNToYJhp0324d2rdC1PhX07xLbHf7jl9KKOVBbUHt9s/yr jKeBjmK2p3sw2Ik5GCmjIGoLXlI2X6/ICJ4ILqzOhbIiQdcLFTgzEL+Batssp3bt7tvw KGew== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-43033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m11-20020ad45dcb000000b0068c51eea3c9si1435876qvh.146.2024.01.29.07.50.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 07:50:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43033-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; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-43033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 7E2361C23F3E for ; Mon, 29 Jan 2024 15:50:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18C2015530B; Mon, 29 Jan 2024 15:50:23 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91419153BE2; Mon, 29 Jan 2024 15:50:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706543422; cv=none; b=Et6uOZhZPpx93P4PJHr1po0V/Fnjr3x0no8jA9ScOgCNVODURzzefuTiYTASPZSKqHhRoyuFFpPlEJ29tmTi6N2Smvj3t3ydyJJBw3rSt78X/PEmjNWepoDvzPFut/mAN9IRfbr7kw0Nh/rTgkMDbYEoAR6bvpfiQyroN+IPnqc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706543422; c=relaxed/simple; bh=VmvZDhKYfgrRdCXKs7qjeIO7NOgbgsUQBfZdk3ARslU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tbahPpA4SmP8zAGrfqUy6EdSMrUmhhl4Y9+MF9qkYkV3Opa7js5kZ9t3IL0KXIvZdCC9WllFn8OEXE+qSZi9FHFWX1hWshSCDYZYZyjsBErydduvYlfUnbsH42EZKoQQZvuWQ4BdIzsgbjGk7k+mAAn9D4KxOs0chSi/y4ypuVk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CC82BDA7; Mon, 29 Jan 2024 07:51:03 -0800 (PST) Received: from pluto (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EF7343F738; Mon, 29 Jan 2024 07:50:17 -0800 (PST) Date: Mon, 29 Jan 2024 15:50:15 +0000 From: Cristian Marussi To: Sibi Sankar Cc: sudeep.holla@arm.com, rafael@kernel.org, viresh.kumar@linaro.org, morten.rasmussen@arm.com, dietmar.eggemann@arm.com, lukasz.luba@arm.com, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, quic_mdtipton@quicinc.com, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH V2 1/4] firmware: arm_scmi: Add perf_notify_support interface Message-ID: References: <20240117104116.2055349-1-quic_sibis@quicinc.com> <20240117104116.2055349-2-quic_sibis@quicinc.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: <20240117104116.2055349-2-quic_sibis@quicinc.com> On Wed, Jan 17, 2024 at 04:11:13PM +0530, Sibi Sankar wrote: > Add a new perf_notify_support interface to the existing perf_ops to export > info regarding limit/level change notification support. > Hi Sibi, as I mentioned previously, in order not to add a needless stream of SCMI Perf accessors I posted this: https://lore.kernel.org/linux-arm-kernel/20240129151002.1215333-1-cristian.marussi@arm.com/T/#u to expose all the Perf domains infos via the usual info_get(), similarly to how other SCMI protocols do already. I think that reworking this series on that, you can certainly drop this patch and just check the _notify booleans on the retrieved domain info. Thanks, Cristian