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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5241C433EF for ; Tue, 16 Nov 2021 17:15:18 +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 7DB706321B for ; Tue, 16 Nov 2021 17:15:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7DB706321B Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=xenproject.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.226465.391396 (Exim 4.92) (envelope-from ) id 1mn22y-0001iD-En; Tue, 16 Nov 2021 17:15:04 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 226465.391396; Tue, 16 Nov 2021 17:15:04 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mn22y-0001i6-BT; Tue, 16 Nov 2021 17:15:04 +0000 Received: by outflank-mailman (input) for mailman id 226465; Tue, 16 Nov 2021 17:15:03 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mn22x-0001i0-Jk for xen-devel@lists.xenproject.org; Tue, 16 Nov 2021 17:15:03 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mn22x-0000Qo-Iq for xen-devel@lists.xenproject.org; Tue, 16 Nov 2021 17:15:03 +0000 Received: from iwj (helo=mariner.uk.xensource.com) by xenbits.xenproject.org with local-bsmtp (Exim 4.92) (envelope-from ) id 1mn22x-0008Gm-Hz for xen-devel@lists.xenproject.org; Tue, 16 Nov 2021 17:15:03 +0000 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.89) (envelope-from ) id 1mn22i-0000oT-Ox; Tue, 16 Nov 2021 17:14:48 +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=xenproject.org; s=20200302mail; h=References:In-Reply-To:Subject:Cc:To:Date :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:From; bh=3LPmevwv6RPCOZkV8ejeBtam2JjH5bBBRsymDpXAKHU=; b=pG9zB0OdTyTUfYZYcNpKDvXMDx HlXWuzr4kOPQe7L53iyzycItrfg6f9vxZvf3SVosXYpRFb8UdWH0y9W70TMEOx+hlnLYU5pAOV4bB ijTqutNjFYq/GOonbTYLe+jNnommdYinS0Z7AgNtwtpTviRDZ3z+rDvgkpPTEaLvR/0g=; From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <24979.59134.479277.441001@mariner.uk.xensource.com> Date: Tue, 16 Nov 2021 17:14:38 +0000 To: Julien Grall Cc: Roger Pau Monne , xen-devel@lists.xenproject.org, Wei Liu , Andrew Cooper , George Dunlap , Jan Beulich , Stefano Stabellini , Anthony PERARD , Juergen Gross , Christian Lindig , David Scott , Volodymyr Babchuk , Bertrand Marquis Subject: Re: [PATCH for-4.16 1/4] domctl: introduce a macro to set the grant table max version In-Reply-To: <7a8b5bd1-6b34-eb32-72e4-f55cee5905ed@xen.org> References: <20211115121741.3719-1-roger.pau@citrix.com> <20211115121741.3719-2-roger.pau@citrix.com> <7a8b5bd1-6b34-eb32-72e4-f55cee5905ed@xen.org> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) Julien Grall writes ("Re: [PATCH for-4.16 1/4] domctl: introduce a macro to set the grant table max version"): > On 15/11/2021 12:17, Roger Pau Monne wrote: > > Such macro just clamps the passed version to fit in the designated > > bits of the domctl field. The main purpose is to make it clearer in > > the code when max grant version is being set in the grant_opts field. > > > > Existing users that where setting the version in the grant_opts field > > are switched to use the macro. > > > > No functional change intended. > > > > Requested-by: Jan Beulich > > Signed-off-by: Roger Pau Monné > > Acked-by: Julien Grall Reviewed-by: Ian Jackson Release-Acked-by: Ian Jackson