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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BA79BC3ABBF for ; Tue, 6 May 2025 10:20:57 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.977019.1364103 (Exim 4.92) (envelope-from ) id 1uCFPq-0007GR-9x; Tue, 06 May 2025 10:20:46 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 977019.1364103; Tue, 06 May 2025 10:20:46 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uCFPq-0007GK-7D; Tue, 06 May 2025 10:20:46 +0000 Received: by outflank-mailman (input) for mailman id 977019; Tue, 06 May 2025 10:20:44 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uCFPo-0007GE-T9 for xen-devel@lists.xenproject.org; Tue, 06 May 2025 10:20:44 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1uCFPo-00CcIS-02; Tue, 06 May 2025 10:20:44 +0000 Received: from [2a02:8012:3a1:0:7157:32ca:2aea:33a3] by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uCFPn-00G1ov-2G; Tue, 06 May 2025 10:20:43 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=z1EbbgfKUDdWS8X/RCAcaXdL1nh7DiBzwmIhUd0THD8=; b=43FHNgIEGoPgonOUhZXW3n2Mpp it4qGurjr4dC1WnKQxf/S3lMX+3Cq7Da1lyRKZAhovrJDlSnpPv2CE1vhsKzk0FstBcwpRlA3RdkB HtWaUKBD1IO6jeUvrhDxhCNueEgDHei55MKDtSH7+q2VkaonKmNHhl9hdvX/YTKGFaMc=; Message-ID: <035eeb54-e03b-463d-8ed8-b7041505322e@xen.org> Date: Tue, 6 May 2025 11:20:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 8/9] xen: introduce flag when a domain requires cache control Content-Language: en-GB To: Roger Pau Monne , xen-devel@lists.xenproject.org Cc: Anthony PERARD , Andrew Cooper , Michal Orzel , Jan Beulich , Stefano Stabellini , Juergen Gross , Christian Lindig , David Scott , Bertrand Marquis , Volodymyr Babchuk References: <20250506083148.34963-1-roger.pau@citrix.com> <20250506083148.34963-9-roger.pau@citrix.com> From: Julien Grall In-Reply-To: <20250506083148.34963-9-roger.pau@citrix.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Roger, On 06/05/2025 09:31, Roger Pau Monne wrote: > Such flag is added to the domain create hypercall, and a matching option is > added to xl and libxl to set the flag: `cache_control`. When the flag is > set, the domain is allowed the usage of cache control operations. Can you clarify whether you are talking about using the hypercall to flush the cache or the instructions? Cheers, -- Julien Grall