From nobody Sat May 30 11:15:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1779955007; cv=none; d=zohomail.com; s=zohoarc; b=Hu6NqKMC4AEp8xT03Z0p6smo/dG64iF8H9E3SM8oSWyXoBC4ykl6IjxGYXAGrvHFmuIhsjDG4gHntQ/1f/P04yLTy1YzU1STNTOQS91QYbfFSFZh7qtzgrmeNXw7vGvKm8zUk5CDA3sAUJXI+QdzdSVETJvQUdcqNoW4eF9JLKs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1779955007; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=RPYjBEaEb+IC2SvCGYrFHDkk4Q7GQvn/RowkjsSuslI=; b=jZ+4Px2tcwlFp5La+WzMFfoDplcoPBiqJf0nCm38KKKXxo698BwMtE3gVsBtc6KkXZ0GIAZsVc0AJhcXT+Q3yYbtWLXwDWSsCHwbg3WcRSgWs54FxybpfJqghhLjKz2tIBRvVxqr/2dbFx7QvEFrU68BivNXHKi2MlXuvEjocnY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1779955007883432.37750025837806; Thu, 28 May 2026 00:56:47 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1320982.1588026 (Exim 4.92) (envelope-from ) id 1wSVbB-00089E-Ct; Thu, 28 May 2026 07:56:13 +0000 Received: by outflank-mailman (output) from mailman id 1320982.1588026; Thu, 28 May 2026 07:56:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wSVbB-00088r-8z; Thu, 28 May 2026 07:56:13 +0000 Received: by outflank-mailman (input) for mailman id 1320982; Thu, 28 May 2026 07:56:12 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wSVbA-00087E-4v for xen-devel@lists.xenproject.org; Thu, 28 May 2026 07:56:12 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wSVb9-00HB53-ER for xen-devel@lists.xenproject.org; Thu, 28 May 2026 09:56:11 +0200 Received: from [10.42.69.4] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6a17f50e-bab6-0a2a0a5309dd-0a2a4504892c-22 for ; Thu, 28 May 2026 09:56:11 +0200 Received: from [209.85.128.45] (helo=mail-wm1-f45.google.com) by tlsNG-ebf023.mxtls.expurgate.net with ESMTPS (eXpurgate 4.56.1) (envelope-from ) id 6a17f51b-1dec-0a2a45040019-d155802de510-3 for ; Thu, 28 May 2026 09:56:11 +0200 Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-48e8132c6d0so78780755e9.1 for ; Thu, 28 May 2026 00:56:11 -0700 (PDT) Received: from localhost.localdomain (5.116.208.46.dyn.plus.net. [46.208.116.5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45edb5b2ba9sm11540146f8f.31.2026.05.28.00.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2026 00:56:10 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version 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" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=20251104 header.d=gmail.com header.i="@gmail.com" header.h="Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779954971; x=1780559771; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RPYjBEaEb+IC2SvCGYrFHDkk4Q7GQvn/RowkjsSuslI=; b=LvekofBOZHG32Aq3Ixu3TQP2sFAYtR0qIt4sUyos5GgVseyBOLcQ1mgv3sSZ4yVwKw sLZT6VTerYQ+Hvr4RfzvUkm5LhDcSz95+1ctM/Pbw7/i5ZQ9ODJgF8KtkBfPCD2akdZF YVvTs5CvwYBZ7t/3Uw2R6hmVdBkmYZYdywaGa/QBTMXVQcFvlGg+tuRJ40hiQPoEsZ7T cYHNI7ddD7Z+D5IHAbr7/WA98W9RpLmhEiMdOvECKqSbfxd2qKU75TJdJVD6uCEShiAE QJ6XQfqvnfSjMdNt/gMXjGczQ5QfFIWZjPTvuqQLIyvUGPEa91x6UUOpHS9xXOmBoFTI cyTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779954971; x=1780559771; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=RPYjBEaEb+IC2SvCGYrFHDkk4Q7GQvn/RowkjsSuslI=; b=M4WE8VH3zcdPd7yvDm1U4DsmjrKSFTkiN2wX84zOComgeI6uCQpwoKj+eMPzxPHwm1 eYxe5Lq6BYzxJNoLu3VTJkJA+6cmpM394aKlj2SNCjRoUJKirV882CmO8c3cbIgs5i5W neEtkgiIO0F/F1sqAerPo3RiLfGrbamHCfUCbigH84YiYKfOvrkSCULSN59gQ9BOlD55 OrJtRNgx8HCleoeCEFIDY2GW0u14wSayMFlabZ0uSuo97mJLbtZcOC8EAbyl0cqSecz0 1fzOxZI3hginhCU48pOzU3sQ06papQq0yacttgHw/t48JbwC50ncmdljzKyqiQGsJ0Bf L2oA== X-Gm-Message-State: AOJu0YxxqW8fynFB8hK9zmd+2e1bcE4Sv9NzwFIGRR7ncIsDFn3kugQ4 y8VRQWa00WE2HPuuWggpvQjX5fIEQXRMg0c1kGfidxsWjHAQSfzf47OOZ752oOhu X-Gm-Gg: Acq92OEr+PuLonIzCMsTIrAQm3v2m54MGyPgoVN0JnqqcOYmKJS2+t3w0KiNG2DIAVh a8SLJ92hnLEJ7aX2qfL7obWMjqiWoJq63v5lRwiHSvdX00Iqvhht0C2Ko7ewql+uXzhOcDqTu7z WddchnoldAVcfmf7LSD43610Uu4NY+OrTNjOjSJe5+DqwXfcJGK6mFw66KJnht9EUy2TmIOlBAl 9XGHfzBBWeco61xOwoHXlE3K+DvubknGmlJE/Zvgnr9mFaDsjotvugf4G/rLXOZDGBvAZmJ9oU9 npU7gY+u/P9D+q+LWZp/qSSzVkaQz4jWZORsfm7YkQ7DF7UHpi2VvfpgsRE5v0rYOhLaofXaYQ5 iaS0ZOXWTRwxoHHea8dc/+a9ZolKQBgJ9huiTZT+TQfLGnrnA9RaLa6iCx2ChXn3Kn9Kgwwn9i4 CTH9xUgP/s8Oo4hMOEPIkih9SSpHjeV4f4wvm+38UJlzxe/P3hhcYTbgDBS/7Hqv3Hq4hc0wwSF 8p+mmXDMbP55am19lXuFg9rJ4uvTZzSvU5o X-Received: by 2002:a05:600c:4ecc:b0:490:3d62:f5e1 with SMTP id 5b1f17b1804b1-490426cbba2mr434727415e9.22.1779954970446; Thu, 28 May 2026 00:56:10 -0700 (PDT) From: Frediano Ziglio X-Google-Original-From: Frediano Ziglio To: xen-devel@lists.xenproject.org Cc: Frediano Ziglio , Andrew Cooper , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini Subject: [PATCH 1/2] public/xen.h: Update page table layout comments Date: Thu, 28 May 2026 08:55:34 +0100 Message-ID: <20260528075539.10209-2-frediano.ziglio@cloud.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260528075539.10209-1-frediano.ziglio@cloud.com> References: <20260528075539.10209-1-frediano.ziglio@cloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-purgate-ID: tlsNG-ebf023/1779954971-42F653FF-BCC30779/0/0 X-purgate-type: clean X-purgate-size: 846 X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1779955010097158500 Content-Type: text/plain; charset="utf-8" From: Frediano Ziglio Bit 12 was always used for the MFN. Extend range for MFN. Signed-off-by: Frediano Ziglio --- xen/include/public/xen.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h index 2149b8dd38..d4f238c10b 100644 --- a/xen/include/public/xen.h +++ b/xen/include/public/xen.h @@ -283,8 +283,7 @@ DEFINE_XEN_GUEST_HANDLE(xen_ulong_t); * if this is a X86_64 machine and four page table layout is used, the lay= out * of val is: * - 63 if set means No execute (NX) - * - 46-13 the machine frame number - * - 12 available for guest + * - 51-12 the machine frame number * - 11 available for guest * - 10 available for guest * - 9 available for guest --=20 2.43.0 From nobody Sat May 30 11:15:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1779955008; cv=none; d=zohomail.com; s=zohoarc; b=cM6yGQJDucqAZj+2c2KSDH+SB1GETz+taO1k4q8hOGbMuuM9UPmAnxva+50QvWUBjR+d+PDlAs+IRu1VEP1R1fI38irPQOIFLGMDrvTN8nFbjafgxxhnM1BHmSZTPrHsxwpn613bAaspw6tK98Ud5QBf2xWKeaWGztHXY/ZUcGU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1779955008; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=6zxob5e9+08M5AGGU6zb1ERtgiDGrGjDXUcd+YRtRQ4=; b=TSE+HmH4VpGzsfyR7ouufnejQ09tJYxnwfNUlaSahnn2hADNIJWtCSaGvA6u1xWa2nP4SzNUcdYfWBHe9+8Zt0aLbKA+fDPTesabHLn5tbdnize1DHYcxb1NRlOTZ5K4C2AVHrB7EG0XToN00Y4f20kYzbWAanPMD7+hJtw18Bk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1779955008196649.0737258482483; Thu, 28 May 2026 00:56:48 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1320983.1588039 (Exim 4.92) (envelope-from ) id 1wSVbC-00005U-Hb; Thu, 28 May 2026 07:56:14 +0000 Received: by outflank-mailman (output) from mailman id 1320983.1588039; Thu, 28 May 2026 07:56:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wSVbC-00005N-Ez; Thu, 28 May 2026 07:56:14 +0000 Received: by outflank-mailman (input) for mailman id 1320983; Thu, 28 May 2026 07:56:12 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wSVbA-00087K-RV for xen-devel@lists.xenproject.org; Thu, 28 May 2026 07:56:12 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wSVbA-00HB53-7K for xen-devel@lists.xenproject.org; Thu, 28 May 2026 09:56:12 +0200 Received: from [10.42.69.5] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6a17f514-bab6-0a2a0a5309dd-0a2a4505ca38-32 for ; Thu, 28 May 2026 09:56:12 +0200 Received: from [209.85.221.51] (helo=mail-wr1-f51.google.com) by tlsNG-c201ff.mxtls.expurgate.net with ESMTPS (eXpurgate 4.56.1) (envelope-from ) id 6a17f51c-aaa8-0a2a45050019-d155dd33f036-3 for ; Thu, 28 May 2026 09:56:12 +0200 Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-45eecb8bf67so37124f8f.2 for ; Thu, 28 May 2026 00:56:12 -0700 (PDT) Received: from localhost.localdomain (5.116.208.46.dyn.plus.net. [46.208.116.5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45edb5b2ba9sm11540146f8f.31.2026.05.28.00.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2026 00:56:11 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version 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" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=20251104 header.d=gmail.com header.i="@gmail.com" header.h="Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779954972; x=1780559772; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6zxob5e9+08M5AGGU6zb1ERtgiDGrGjDXUcd+YRtRQ4=; b=DU9xCGKjmPceWLYSuunjOSPl76t9nE3MxPVOa5Nw4knuBX0xLZSa1/IrBlkzm61Uf1 YfqMJq60/rbUOvWdR9v0JQYH1SGiZj6Onh4bYAeSBSPWZCtpCyeV2nMacbdy9rxdpF/F KJWfbZyC78sefXeDf74aQYujrnK+CovK5gPy4ipJ2uzKZuV78gEgmOzlyVUHgarvwDZq x9PSnSNbuVqq03Da8BR3OxDLGC0Ac6/SHSDnpBCk5Hf5tnBlzzAwqxMSnLQ7+v9XwIrW U5MRGLGgm1EXbEv3481ZcZckIsemfMHrxvIq94ehe019a9bv+f7zQa/vWX70p4Vggti7 FCYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779954972; x=1780559772; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6zxob5e9+08M5AGGU6zb1ERtgiDGrGjDXUcd+YRtRQ4=; b=KhtCxEkH08UtxVCQ8R774b1K53TDSx5i8sOg9f4J9nwnyHpAqaN5dIwrlv8ePRHUBY vQ/YTzJ70REQW3q2kHDuldRCs11dZTAy/kB9o3ZkQUSnxdArYT3tzr1T456lul7GWFJv 4a61hN7k7CgcxfNosjHXfZOtY6EOlYHQ6DbGvZ5EQuus2wR0TzGqYUlKwOLkU57IhrWn BuMSHtANGC0F01woDVWMrJrlw6aqfjNnoziQO2tF83tFSPRKwRWk0x/DXcM9T70BHHsX XfCbn4UIpkauAccomRNA/zZlb138xxTt1jCUBjHtvztuuUSMKs7+UrmeF4a5fXtIP6xg 3bHw== X-Gm-Message-State: AOJu0YyHGN911bMhDG9lYuTTz/zefvhPb2A2GURiRVVtGxBCcFRiocOc oAjsb9QDbbjQSLUyY7PBx6D2x0zwi6CpOtAaw7AtmRtJWl5pi8FqWMrcF8QAXCtq X-Gm-Gg: Acq92OG7B+jXqSTWgsGqlRqOJiEdzyHsJ5OpBnB7OVrThAPWGq3RYU0QEnCRqyD6+tC c/NXUT0skpyPe1fDJYBxomXRCBSfwpQ8Xaz+xvsZG8ks7KYLpmYlMOsE2u2u/atd7/7kDM6XqMa bZazRUNrk87J3tJ0pL7BXYSY9XKFfyAoRA0DRpgfByd3NwIZ+tK+iPwu5HHfUlGGPKmQzWNzOUf tthnNwtB7V6cJGZ/ZzDrZh+RImDxmY1jdnHZIwXI7R1nrHR7w8Oyh5XP1KkYAtCFpY6uky2FW1O XpspU7RLN98NpD7K91i9tt9ibbtp4dQAECDUAykw0XnNZR8iHb4EG7QQtdY7Vpj96rolVX5aB+a EyHTmbGDPSlM+h+1xTUHCVO8Kx6p9T8+Q/kWfZrqRgZFrBW2peNaauo1jw0lfgQosBGWkAGG5Ye Hq3wDq8lttCQLx0I98Thp2n0YiXWO3W/ln5zWBOpLIPma+5JRthUzN4/Ua0B4v0v5RhkeydlyZy SE11LBNoRGfmLpiZ9fYxgmzPnm9rQMpIdzS X-Received: by 2002:a05:6000:18ad:b0:452:a293:4d91 with SMTP id ffacd0b85a97d-45eb33551bemr43176247f8f.0.1779954971482; Thu, 28 May 2026 00:56:11 -0700 (PDT) From: Frediano Ziglio X-Google-Original-From: Frediano Ziglio To: xen-devel@lists.xenproject.org Cc: Frediano Ziglio , Andrew Cooper , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini Subject: [PATCH 2/2] public/xen.h: Update comment for mmu_update hypercall Date: Thu, 28 May 2026 08:55:35 +0100 Message-ID: <20260528075539.10209-3-frediano.ziglio@cloud.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260528075539.10209-1-frediano.ziglio@cloud.com> References: <20260528075539.10209-1-frediano.ziglio@cloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-purgate-ID: tlsNG-c201ff/1779954972-D3F66443-67B6CAB0/0/0 X-purgate-type: clean X-purgate-size: 2689 X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1779955010109158500 Content-Type: text/plain; charset="utf-8" From: Frediano Ziglio The command is filtered from the address using this code cmd =3D req.ptr & (sizeof(l1_pgentry_t)-1); l1_pgentry_t is always 64 bit so the 3 lower bits are used as a command, not only 2 bits. Signed-off-by: Frediano Ziglio --- xen/include/public/xen.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h index d4f238c10b..0537d1f8f3 100644 --- a/xen/include/public/xen.h +++ b/xen/include/public/xen.h @@ -218,16 +218,16 @@ DEFINE_XEN_GUEST_HANDLE(xen_ulong_t); * x =3D=3D 0 =3D> PFD =3D=3D DOMID_SELF * x !=3D 0 =3D> PFD =3D=3D x - 1 * - * Sub-commands: ptr[1:0] specifies the appropriate MMU_* command. + * Sub-commands: ptr[2:0] specifies the appropriate MMU_* command. * ------------- - * ptr[1:0] =3D=3D MMU_NORMAL_PT_UPDATE: + * ptr[2:0] =3D=3D MMU_NORMAL_PT_UPDATE: * Updates an entry in a page table belonging to PFD. If updating an L1 ta= ble, * and the new table entry is valid/present, the mapped frame must belong = to * FD. If attempting to map an I/O page then the caller assumes the privil= ege * of the FD. * FD =3D=3D DOMID_IO: Permit /only/ I/O mappings, at the priv level of th= e caller. * FD =3D=3D DOMID_XEN: Map restricted areas of Xen's heap space. - * ptr[:2] -- Machine address of the page-table entry to modify. + * ptr[:3] -- Machine address of the page-table entry to modify. * val -- Value to write. * * There also certain implicit requirements when using this hypercall. The @@ -264,17 +264,17 @@ DEFINE_XEN_GUEST_HANDLE(xen_ulong_t); * mentioned above. The argument is MMUEXT_UNPIN_TABLE for all levels and = the * pagetable MUST not be in use (meaning that the cr3 is not set to it). * - * ptr[1:0] =3D=3D MMU_MACHPHYS_UPDATE: + * ptr[2:0] =3D=3D MMU_MACHPHYS_UPDATE: * Updates an entry in the machine->pseudo-physical mapping table. - * ptr[:2] -- Machine address within the frame whose mapping to modify. + * ptr[:3] -- Machine address within the frame whose mapping to modify. * The frame must belong to the FD, if one is specified. * val -- Value to write into the mapping entry. * - * ptr[1:0] =3D=3D MMU_PT_UPDATE_PRESERVE_AD: + * ptr[2:0] =3D=3D MMU_PT_UPDATE_PRESERVE_AD: * As MMU_NORMAL_PT_UPDATE above, but A/D bits currently in the PTE are OR= ed * with those in @val. * - * ptr[1:0] =3D=3D MMU_PT_UPDATE_NO_TRANSLATE: + * ptr[2:0] =3D=3D MMU_PT_UPDATE_NO_TRANSLATE: * As MMU_NORMAL_PT_UPDATE above, but @val is not translated though FD * page tables. * --=20 2.43.0