From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8615C433DF for ; Mon, 22 Jun 2020 16:34:44 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A33D520767 for ; Mon, 22 Jun 2020 16:34:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A33D520767 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=cert.pl Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jnPOh-00020K-K3; Mon, 22 Jun 2020 16:34:15 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jnPOg-00020E-0H for xen-devel@lists.xenproject.org; Mon, 22 Jun 2020 16:34:14 +0000 X-Inumbo-ID: 343945a6-b4a6-11ea-bb8b-bc764e2007e4 Received: from bagnar.nask.net.pl (unknown [195.187.242.196]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 343945a6-b4a6-11ea-bb8b-bc764e2007e4; Mon, 22 Jun 2020 16:34:12 +0000 (UTC) Received: from bagnar.nask.net.pl (unknown [172.16.9.10]) by bagnar.nask.net.pl (Postfix) with ESMTP id CD238A23FE; Mon, 22 Jun 2020 18:34:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bagnar.nask.net.pl (Postfix) with ESMTP id CAA8DA1D3A; Mon, 22 Jun 2020 18:34:10 +0200 (CEST) Received: from bagnar.nask.net.pl ([127.0.0.1]) by localhost (bagnar.nask.net.pl [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id v16cT_qraLV1; Mon, 22 Jun 2020 18:34:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bagnar.nask.net.pl (Postfix) with ESMTP id 5261FA23FE; Mon, 22 Jun 2020 18:34:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at bagnar.nask.net.pl Received: from bagnar.nask.net.pl ([127.0.0.1]) by localhost (bagnar.nask.net.pl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id uoKYThEnuR4e; Mon, 22 Jun 2020 18:34:10 +0200 (CEST) Received: from belindir.nask.net.pl (belindir-ext.nask.net.pl [195.187.242.210]) by bagnar.nask.net.pl (Postfix) with ESMTP id 2CE73A1D3A; Mon, 22 Jun 2020 18:34:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by belindir.nask.net.pl (Postfix) with ESMTP id 15E8D218C6; Mon, 22 Jun 2020 18:33:40 +0200 (CEST) Received: from belindir.nask.net.pl ([127.0.0.1]) by localhost (belindir.nask.net.pl [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id vReO675wXacE; Mon, 22 Jun 2020 18:33:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by belindir.nask.net.pl (Postfix) with ESMTP id 8483921A10; Mon, 22 Jun 2020 18:33:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at belindir.nask.net.pl Received: from belindir.nask.net.pl ([127.0.0.1]) by localhost (belindir.nask.net.pl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LtOUdmnuBOAN; Mon, 22 Jun 2020 18:33:34 +0200 (CEST) Received: from belindir.nask.net.pl (belindir.nask.net.pl [172.16.10.10]) by belindir.nask.net.pl (Postfix) with ESMTP id 5E74320562; Mon, 22 Jun 2020 18:33:34 +0200 (CEST) Date: Mon, 22 Jun 2020 18:33:34 +0200 (CEST) From: =?utf-8?Q?Micha=C5=82_Leszczy=C5=84ski?= To: Roger Pau =?utf-8?Q?Monn=C3=A9?= Message-ID: <895766097.11433345.1592843614252.JavaMail.zimbra@cert.pl> In-Reply-To: <20200622162237.GN735@Air-de-Roger> References: <122238637.9820857.1592523264685.JavaMail.zimbra@cert.pl> <1005194077.9820950.1592523663199.JavaMail.zimbra@cert.pl> <4e040500-0532-2231-f5b7-c61e97a0a0c5@suse.com> <800738193.11403725.1592836530558.JavaMail.zimbra@cert.pl> <87576264-e7df-2590-f141-351d76baac7a@suse.com> <1130937743.11428389.1592841763323.JavaMail.zimbra@cert.pl> <5b7dd58f-2dc1-32bc-3add-d896631734a4@suse.com> <20200622162237.GN735@Air-de-Roger> Subject: Re: [PATCH v2 4/7] x86/vmx: add do_vmtrace_op MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.16.10.10] X-Mailer: Zimbra 8.6.0_GA_1194 (ZimbraWebClient - GC83 (Win)/8.6.0_GA_1194) Thread-Topic: x86/vmx: add do_vmtrace_op Thread-Index: f7GTr4GfAQdWl0vLqzhU8plHMDvsqg== X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Kevin Tian , Stefano Stabellini , Julien Grall , Jun Nakajima , Wei Liu , Andrew Cooper , Ian Jackson , George Dunlap , "Kang, Luwei" , Jan Beulich , Tamas K Lengyel , Xen-devel Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" ----- 22 cze 2020 o 18:25, Roger Pau Monn=C3=A9 roger.pau@citrix.com napisa= =C5=82(a): > On Mon, Jun 22, 2020 at 06:16:57PM +0200, Jan Beulich wrote: >> On 22.06.2020 18:02, Micha=C5=82 Leszczy=C5=84ski wrote: >> > ----- 22 cze 2020 o 17:22, Jan Beulich jbeulich@suse.com napisa=C5=82(= a): >> >> On 22.06.2020 16:35, Micha=C5=82 Leszczy=C5=84ski wrote: >> >>> ----- 22 cze 2020 o 15:25, Jan Beulich jbeulich@suse.com napisa=C5= =82(a): >> > It's also not "many gigabytes". In most use cases a buffer of 16/32/64= MB >> > would suffice, I think. >>=20 >> But that one such buffer per vCPU, isn't it? Plus these buffers >> need to be physically contiguous, which is an additional possibly >> severe constraint. >=20 > FTR, from my reading of the SDM you can use a mode called ToPA where > the buffer is some kind of linked list of tables that map to output > regions. That would be nice, but IMO it should be implemented in a > next iteration after the basic support is in. >=20 > Roger. Yes. I keep that in mind but right now I would like to go for the minimum viable implementation, while ToPA could be added in the next patch series. Best regards, Micha=C5=82 Leszczy=C5=84ski CERT Polska