From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 8896D98653B for ; Wed, 19 Jan 2022 18:01:25 +0000 (UTC) Date: Wed, 19 Jan 2022 18:01:00 +0000 From: Jean-Philippe Brucker Message-ID: References: <20220112055755.41011-1-jasowang@redhat.com> <20220112055755.41011-3-jasowang@redhat.com> MIME-Version: 1.0 In-Reply-To: Subject: Re: [virtio-dev] Re: [PATCH V2 2/2] virtio-pci: add PASID configuration extended capability Content-Type: text/plain; charset=us-ascii Content-Disposition: inline To: Jason Wang Cc: Stefan Hajnoczi , Virtio-Dev , mst , eperezma , Cindy Lu List-ID: On Mon, Jan 17, 2022 at 01:57:47PM +0800, Jason Wang wrote: > How about something like: > > " > Except for the MSI transactions, the device MUST use PASID TLP prefix > for the following memory transactions initiated by the virtqueue that > belong to a virtqueue group if a valid PASID is assigned and PASID is > enabled in the PASID extended capability: > > \begin{itemize} > \item Memory Requests (including AtomicOp Requests) with Untranslated > Addresses > \item Address Translation Requests > \item Page Request Messages > \end{itemize} > > The device MUST NOT use PASID TLP prefix for the MSI memory > transactions. > Sure, that looks good. Maybe splitting it would make it easier to explain. If we force the driver to enable the PASID cap before using PASID: "The driver MUST NOT assign a PASID to a virtqueue group if the PASID extended capability is not enabled." Then the device description is not concerned about the PASID cap: "If a valid PASID is assigned to a virtqueue group, the device MUST use a PASID TLP prefix for memory transactions of the following types initiated by any virtqueue in the group: ... The device MUST NOT use a PASID TLP prefix for MSI memory transactions. " Thanks, Jean --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org