Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from ws5-mx01.kavi.com (ws5-mx01.kavi.com [34.193.7.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6081C4332F for ; Tue, 7 Nov 2023 10:02:27 +0000 (UTC) Received: from lists.oasis-open.org (oasis.ws5.connectedcommunity.org [10.110.1.242]) by ws5-mx01.kavi.com (Postfix) with ESMTP id 431EE330A9 for ; Tue, 7 Nov 2023 10:02:27 +0000 (UTC) Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 3867D986B5D for ; Tue, 7 Nov 2023 10:02:27 +0000 (UTC) Received: from host09.ws5.connectedcommunity.org (host09.ws5.connectedcommunity.org [10.110.1.97]) by lists.oasis-open.org (Postfix) with QMQP id 2EF199867F9; Tue, 7 Nov 2023 10:02:27 +0000 (UTC) Mailing-List: contact virtio-comment-help@lists.oasis-open.org; run by ezmlm List-ID: Sender: Precedence: bulk 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 21A009867FA for ; Tue, 7 Nov 2023 10:02:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at kavi.com X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="455956963" X-IronPort-AV: E=Sophos;i="6.03,283,1694761200"; d="scan'208";a="455956963" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="906367294" X-IronPort-AV: E=Sophos;i="6.03,283,1694761200"; d="scan'208";a="906367294" Message-ID: <4dccc934-a6b3-4c41-8f24-27b8eda9a3bd@intel.com> Date: Tue, 7 Nov 2023 18:02:21 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Parav Pandit , "Michael S. Tsirkin" Cc: "jasowang@redhat.com" , "eperezma@redhat.com" , "cohuck@redhat.com" , "stefanha@redhat.com" , "virtio-comment@lists.oasis-open.org" References: <20231103103437.72784-1-lingshan.zhu@intel.com> <20231103103437.72784-7-lingshan.zhu@intel.com> <20231103064730-mutt-send-email-mst@kernel.org> <445ff573-72c3-4fe4-9e07-e7fdd2dc5750@intel.com> <20231106052340-mutt-send-email-mst@kernel.org> From: "Zhu, Lingshan" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [virtio-comment] Re: [PATCH V2 6/6] virtio-pci: implement dirty page tracking On 11/6/2023 7:21 PM, Parav Pandit wrote: >> From: Michael S. Tsirkin >> Sent: Monday, November 6, 2023 4:00 PM >> >> On Mon, Nov 06, 2023 at 04:34:44AM +0000, Parav Pandit wrote: >>>> Do you know there are locked transaction and atomic operations in PCI??? >>> Can you explain how PCI does RMW locked transaction? >>> Is it one TLP or multiple? >> Parav what are you asking about here? >> pcie supports CAS and Swap which likely >> can work for this use-case - these are non posted writes. It's in the pcie spec. > PCI spec do not have atomic OR operation. > Lingshan in above comment suggested some unknown locked transaction and atomic operation. > So I was asking him which is that atomic operation and how PCI does it? > I don't know if any that can do PCI atomic OR without a workaround. 6.15 Atomic Operations (AtomicOps) This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/