Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1590791rdb; Wed, 31 Jan 2024 03:29:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6KV6NZFLpxiU1g4waZoDYbRGjb+5j9bgBzm5DUwQ4JjjhK4NdCV8lFgRoyHVv9Sac/hrx X-Received: by 2002:a17:906:5fce:b0:a36:3f34:9476 with SMTP id k14-20020a1709065fce00b00a363f349476mr1009712ejv.44.1706700554984; Wed, 31 Jan 2024 03:29:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706700554; cv=pass; d=google.com; s=arc-20160816; b=PE3KItntnSqIdbuu/eTBH6QXP545f0Lh3m5fy0M0jn1lk7jlL4PzatMdfFZwh8iCqk Vncl+vtIIsnOSDb3/6QfMikpIMVj1Z/DsN0TcRkdIxWGDH7Gw+JNdD5U7s/Q6rvaLXrl G2fEdi+ZH5rvnpcXTwdllBFXH6Dwm7EtItpaTZmU4wAkAPAGrcgDYgoILalKWUyM/LLF nPBIEztbTkGNOqLPBNsjiAWNm6FWarscZlny80RrX+w4KMqTtOUbyLkfp0Mc/L7NaANQ G9sG+hCWt/29yEnrLxnLQ5kFNzl5lMgjrcUSVJbkJXGhjbAsj1jCDQleuGVSM4AjPaTp drxA== 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=1/hEes1/N7kyQErIbsS3pWVmCAd0YNXT7nQ1theHqoU=; fh=tL1uUrZozsD9G8aUyyJFrj8SuTSUIBPmm+9pSHDjLYM=; b=vnMnXCARI54l0aF2/FipkA7hBG2m74DgjV4Apiusa7fHNyw0Zfc2pwtQbj6AM/x1uw KE9J18kA8fH/mPsh5PatfaBaRgOti1M+5fAvK7slAtDYw6cF75BhU0zzc4XkLqRr3CWl nJz/Lr9H68ulp/Ag1C7MX+2IzGYLf0q9ktpbQ2kHD+9Dl2arCec6KqUy3KttoZd8ttPK ZVsoTOiupURJhN96zcNyPmt2bkwLDe/YDRCI1tB+YXXiswk4nyXp9RfrVIoeZkiOc9do o2HsUE/r6pROMCnxWvdx9ZiA71qy6rt3PG2QZvAVSLiKeoYDLGX0Um7Ch5wS2/I5s8yQ /yDg==; dara=google.com 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-46343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46343-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com X-Forwarded-Encrypted: i=1; AJvYcCVnGarC+KpXg9n42qgif/WUe+8ld2DiKmNOlxIUMimyTHXtkOi60dL0B8Ci0VjGEIU6aDoZp+TZLq8WxRwAvCuqmL4oIgcLXq2r/rf++Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ca7-20020a170906a3c700b00a35433023desi4394536ejb.921.2024.01.31.03.29.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 03:29:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-46343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46343-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AA3691F2A17A for ; Wed, 31 Jan 2024 11:29:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7796274E30; Wed, 31 Jan 2024 11:29:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C50B21E522; Wed, 31 Jan 2024 11:29:00 +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=1706700543; cv=none; b=KqTMeXJKRrWeXZ7ED4vZA61Dz6KKKqKRAhvkzGzBwCKUeKHgs7jQT8nEVL4r2N3NcQLx8q23R9tcOA3Vc88B6QF8tyvu0sOJim2oFyuCpKqWAqFJtx09enpFRGVnXlKkgpX8+T7cmonbaTj/3NOYbngBIJCC+tzkmfYS43LfCjQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706700543; c=relaxed/simple; bh=QKraxa4UloPYnJDUngqsppTilrRHPIZbphWIi9YMt/Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RF7r2o7hPuld8mDnVyrEvfJnu/2JMCZ3NaydrMTPnHe5bXy5/Ih13+RqaRZ5tIxUFpWn/1DIdn8LxRrE3GmDvWnz+NYHW4mrSH2itN4dA0h6MIG3U9+7hkJXL+HmacZ9AX/60rpl651o2CUXKno2PsplADSp0wWDCm6oVrfeOz8= 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 ABF94DA7; Wed, 31 Jan 2024 03:29:43 -0800 (PST) Received: from bogus (unknown [10.57.78.35]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7FF973F762; Wed, 31 Jan 2024 03:28:57 -0800 (PST) Date: Wed, 31 Jan 2024 11:28:54 +0000 From: Sudeep Holla To: Cristian Marussi Cc: Sibi Sankar , rafael@kernel.org, Sudeep Holla , 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: <20240131112854.24euh6c6xgljsj6c@bogus> 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: On Mon, Jan 29, 2024 at 05:33:42PM +0000, Cristian Marussi wrote: > On Mon, Jan 29, 2024 at 03:50:20PM +0000, Cristian Marussi wrote: > > 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. > > Sorry, but hold on with this change, I will probably post an updated version > my patch above. > As discussed in private, I would prefer to avoid exposing all the internals to the users of SCMI perf. At the same time may we can do better if we can check the availability of notification as part of notification enablement from the SCMI driver, I need to think the details yet. -- Regards, Sudeep