Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37439120rwd; Tue, 11 Jul 2023 14:27:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlFdfzinfaL442IKXITADt69BtHIITR373hzb8MCaZS86KNRubjqSqEv3xhXkdAmQX+vg3fg X-Received: by 2002:a17:906:a242:b0:982:8ec0:15a3 with SMTP id bi2-20020a170906a24200b009828ec015a3mr14824914ejb.67.1689110846692; Tue, 11 Jul 2023 14:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689110846; cv=none; d=google.com; s=arc-20160816; b=txCcv6vXlQk/aZo0RUAqWbPLmT9WseLPKZau7Q3zjQJuv9l0g3fIetLqQ0vG+Z9EzY DMUvUZCRtokArAjzRAi2nLzyHw0iMbyotcG+iPBaryPLu4CiAz3HjO9kj9civWSYUnCX kyeQwoRvJLdkDslZzbiMyaJrleL54LDu8i5A5mYJt0QOZknmeo+fXasIukgjK/poyvbu 74OXQBXpYYbO0WCI9jZhh6iA7BdyQ+2Yss/qoAKAlTX39XoieoMDzMAnCKU58fNpg/wv t3FAp42vQ/4mdmcfvIov2GGxY12BywUkzxvDZmOqSu4R41Q0sQC5ygysplUeuTRzWkYw BAIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vwTATQP068L/ne+SRlgCgF6JMBo++yW0PawfgQUt9f8=; fh=xfLLRiC5t+J9W/Q655gaoPljGMtKwM5T9YtDl9N+/DQ=; b=sNWzxlSRV/SlRz24XQJ4kzMlrmz+SDVz3g0pvVPk6rdQEcTyNZ0RNoRi7uX4Fz6bfW mK7CNQlaQmewdYWxHAMAdCAWLD3MN/0bozvGHcCY1Ha1mRjEgTG438BkKMtifVjSSElc JOxS5tS+iGGakTy19ejJVI+qdUT1YGihMib5VQ/YNDu91D1Wk5195VCA0EQIpL2Hrc2a z9nVOUm6X+9Mg2XGc3tyUeMrWO1VFVau3yFyiohazVaBGo5fNBjFfYc8uSRHqkDhf6X4 HN2dYb5EddRHoOqV24+sGGIndrsTSIAbgI/tWEkzECYYe5Q1Xcg0jHNN4nBk2m9i8UjU 2Qgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=p6mxf5Pg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r23-20020a170906c29700b00992c30f5887si3417561ejz.474.2023.07.11.14.27.02; Tue, 11 Jul 2023 14:27:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=p6mxf5Pg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbjGKU5j (ORCPT + 99 others); Tue, 11 Jul 2023 16:57:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229843AbjGKU5h (ORCPT ); Tue, 11 Jul 2023 16:57:37 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAECA10F1; Tue, 11 Jul 2023 13:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=vwTATQP068L/ne+SRlgCgF6JMBo++yW0PawfgQUt9f8=; b=p6mxf5PgwU5RlSWIQcx1pTf/Vo 31Ot85kz7hgP87y+UjSc0q3/sCcarLpMLGxusjnRLTA/caEVJ+hkhG80lUmRjmjbOAmCvxmIaN1gD Z8jXdXtZUlGwZiDUJp/qPZdtNMfoVSZGDeJ7qFy6fzwrRiyaZMC7voK3B25QaMKTpYkXStxWuifQw W8byMGY4LEJSKpVAXw4+TzEH4md0bcUA90x55LoTUIaZyuObQSariw2oYYbsTuX+uv6cKrn2wSIKf jJxY+7FIM3vnyl9asgiGiF1HUwD8AxYlWdnXVJh+E7ZY4XQfxrUE984Cl44jRV+0wO/IAI4LoLehp eZ5QtcDw==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qJKQQ-00Fsa1-23; Tue, 11 Jul 2023 20:57:34 +0000 Message-ID: <7a50239c-f4e7-a624-7fe7-709c5c6498d3@infradead.org> Date: Tue, 11 Jul 2023 13:57:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v2 08/10] docs: ABI: sysfs-bus-event_source-devices-hv_gpci: Document affinity_domain_via_domain sysfs interface file Content-Language: en-US To: Kajol Jain , mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, maddy@linux.ibm.com, atrajeev@linux.vnet.ibm.com, disgoel@linux.ibm.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230710092717.55317-1-kjain@linux.ibm.com> <20230710092717.55317-9-kjain@linux.ibm.com> From: Randy Dunlap In-Reply-To: <20230710092717.55317-9-kjain@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 7/10/23 02:27, Kajol Jain wrote: > Add details of the new hv-gpci interface file called > "affinity_domain_via_domain" in the ABI documentation. > > Signed-off-by: Kajol Jain > --- > .../sysfs-bus-event_source-devices-hv_gpci | 32 +++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_gpci b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_gpci > index 3b63d66658fe..d8e65b93d1f7 100644 > --- a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_gpci > +++ b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_gpci > @@ -176,3 +176,35 @@ Description: admin read only > more information. > > * "-EFBIG" : System information exceeds PAGE_SIZE. > + > +What: /sys/devices/hv_gpci/interface/affinity_domain_via_domain > +Date: July 2023 > +Contact: Linux on PowerPC Developer List > +Description: admin read only > + This sysfs file exposes the system topology information by making HCALL > + H_GET_PERF_COUNTER_INFO. The HCALL is made with counter request value > + AFFINITY_DOMAIN_INFORMATION_BY_DOMAIN(0xB0). > + > + * This sysfs file will be created only for power10 and above platforms. > + > + * User needs root privileges to read data from this sysfs file. > + > + * This sysfs file will be created, only when the HCALL returns "H_SUCESS", typo > + "H_AUTHORITY" and "H_PARAMETER" as the return type. s/and/or/ > + > + HCALL with return error type "H_AUTHORITY", can be resolved during Drop the comma: ^ > + runtime by setting "Enable Performance Information Collection" option. > + > + * The end user reading this sysfs file must decode the content as per > + underlying platform/firmware. > + > + Possible error codes while reading this sysfs file: > + > + * "-EPERM" : Partition is not permitted to retrieve performance information, > + required to set "Enable Performance Information Collection" option. > + > + * "-EIO" : Can't retrieve system information because of invalid buffer length/invalid address > + or because of some hardware error. Refer getPerfCountInfo documentation for Refer to > + more information. > + > + * "-EFBIG" : System information exceeds PAGE_SIZE. -- ~Randy