Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1364504rdg; Fri, 11 Aug 2023 21:00:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHuJLJk5jRwyWkmUilGHLjee+x7RaEE94GRJtvR15VuKAD0ByIxH6/KVu2goYn/vMPh0SHB X-Received: by 2002:a05:620a:14b:b0:76c:ce1c:930c with SMTP id e11-20020a05620a014b00b0076cce1c930cmr3761527qkn.53.1691812857977; Fri, 11 Aug 2023 21:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691812857; cv=none; d=google.com; s=arc-20160816; b=qkHbtfjwpiLAf3Btdp1CSSx0oceHuFqT9RBmjkB/Hj0BAnn/Jay+hLb7P/DInfdWWi ccw+iA75UG2T5CmQ2nwD+oVPdcVsAXFL/NFuvfV1S5v5b2QBziJES5sDFI5G1nIXvCTA aBwuBkjrq4VQhHFP3jAGbG6qq/1OeiY2wBbKhZQYsGL84QOTXggOOwRXuPOmI7QB0wVe FKlUor0Sins91T+30CCyoaambWgp3Y/vlTYMqL2XMyC922V2aFqSVY9OskKhPOt2TwM9 2FNrFRdvp7nLF7prYBAOSo2Zxg2/2bPmBzDVrK3OCew6iJFY5bHIfU+IRCipqWdqfFrH VEog== 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=4z/qOob4uBWAd1rheJ69DtL9lYWGYCF4g3CdPVYsPpw=; fh=1TvQbGNncS0Wn/yMg7qB7KtKCHRxzWjqFLRFbbt1ujQ=; b=McfbuUYDyZvODIBaLzY80UDJaDfDhfQr7OXTyRoYx6Li4pE9ODIADa2r2ZFJigan6s OL/q2OvopY3XEt91DLbFeB5BjUGiCaVXHnLnAQ+yUTYeBL3XRtFX4d/2t6uUG5W7KYza PjNDSxgrQ49e3nLGRyXhZ+JGqhd0NZztRfsM3O1O0f1CL6iRMUicxifuGwy7ft/yc/w1 uRJyiZkxwO7X/0QxEz6eBmWD3Mab7P7Qo+yQJQ/BooPQ1mnzc+uCZaaovv3pLd4MUi/J GjkpY9KH3qBuky8PzZ2qAz8o5cLEDttRKsazoxcV0qGlWsbPqiyc64jImfeG2lRNaDsG 4wQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=KJfyeW5e; 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 k1-20020a63d101000000b0055c79b73046si4459811pgg.494.2023.08.11.21.00.44; Fri, 11 Aug 2023 21:00:57 -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=KJfyeW5e; 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 S236631AbjHLCg5 (ORCPT + 99 others); Fri, 11 Aug 2023 22:36:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236554AbjHLCg4 (ORCPT ); Fri, 11 Aug 2023 22:36:56 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 258FD2683; Fri, 11 Aug 2023 19:36:56 -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=4z/qOob4uBWAd1rheJ69DtL9lYWGYCF4g3CdPVYsPpw=; b=KJfyeW5epkiQBEI9VSl3qTrAfK +p4LvERsL1v9Y8e+e6uByLu3L3ZRIU24U6ZIL9oc87ACxha1YpP3QQJo7VKZdYaCW00dRWUxwBGTk zQMzM5aQU8Ra3XiO0d7jpUS8pRSHjAG39sqPlMye/gEkV0IOGXf1neNIMbtyVagKW1O+skUgdCMOG pucfobtHqoIvMiQe4075cileYS92NzfndBDOnM7pQP2n3Q0kJSnG8w99CmNz27UYseglF2vnV0Ups mV3xknhbYRcELeB+gcjHWzjRPu6aMpqO98lTNJkvXeb5ex27fFI4xJa9B8F93b4928U5X7RCv1bMV ghyWwFlg==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qUeUj-00CUud-1p; Sat, 12 Aug 2023 02:36:49 +0000 Message-ID: Date: Fri, 11 Aug 2023 19:36:48 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v5] PCI/DOE: Expose the DOE protocols via sysfs Content-Language: en-US To: Alistair Francis , bhelgaas@google.com, linux-pci@vger.kernel.org, Jonathan.Cameron@huawei.com, lukas@wunner.de Cc: alex.williamson@redhat.com, christian.koenig@amd.com, kch@nvidia.com, gregkh@linuxfoundation.org, logang@deltatee.com, linux-kernel@vger.kernel.org, chaitanyak@nvidia.com, Alistair Francis References: <20230812004453.1241736-1-alistair.francis@wdc.com> From: Randy Dunlap In-Reply-To: <20230812004453.1241736-1-alistair.francis@wdc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 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,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 8/11/23 17:44, Alistair Francis wrote: > diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci > index ecf47559f495..1002a276dac9 100644 > --- a/Documentation/ABI/testing/sysfs-bus-pci > +++ b/Documentation/ABI/testing/sysfs-bus-pci > @@ -500,3 +500,14 @@ Description: > console drivers from the device. Raw users of pci-sysfs > resourceN attributes must be terminated prior to resizing. > Success of the resizing operation is not guaranteed. > + > +What: /sys/bus/pci/devices/.../doe_protocols > +Date: August 2023 > +Contact: Linux PCI developers > +Description: > + This directory contains a list of the supported > + Data Object Exchange (DOE) features. The feature values are in the > + file name. The contents of each file is the same as the name. Either contents are or content is > + The value comes from the device and specifies the vendor and > + data object type supported. The lower byte is the data object > + type and the next two bytes are the vendor ID. -- ~Randy