From nobody Fri Apr 19 20:45:44 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1565634137; cv=none; d=zoho.com; s=zohoarc; b=klrrvlDkEeQE4bwNJ9bqJc7zXiVTrHZrGAriU2vJ41lZW99GWQbdjQSyG7QBpMDf3cKSSp54ELJQNpdKd9jLlHghrHrMysR3Wv88vNbocu489QNNrf8VlTBvqex8R1SQRr+WXpdzkrGk9sJgxuJILUD/mhCvUFCQBoD3XJ3NkgQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1565634137; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=Aggy5o0idVNo+jgDxLDSVmg1HL+HVwmqBIf2D3d/XB4=; b=mvildrBRX2kC4VVRWVPgu6ghG2j4F6beTDJ30CdWExby7px0Y1WVpgCHvvqT9mHeBu5ixMTeiLIWFg+qyyUf/QA3+JjpbfV8/jICY9oyAs9ZRzsJ/bgDnYGGoigL95wpirkogoAyAsoNUYFF80fVRZ/ekCmAyJlSYP2w4kw9aNY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1565634137083726.8927744385755; Mon, 12 Aug 2019 11:22:17 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hxEws-0004eg-7e; Mon, 12 Aug 2019 18:21:38 +0000 Received: from [172.99.69.81] (helo=us1-rack-iad1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hxEwq-0004eW-Sp for xen-devel@lists.xenproject.org; Mon, 12 Aug 2019 18:21:36 +0000 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 042bc638-bd2e-11e9-a228-0719648d03ac; Mon, 12 Aug 2019 18:21:35 +0000 (UTC) X-Inumbo-ID: 042bc638-bd2e-11e9-a228-0719648d03ac DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1565634095; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YyHNuPRyqaosd/+tWhz+df+oqb5irw6RFDbNkMo2spY=; b=ZjRigJPlVLqXdKt0yWAKXq8SbYz4TefIievPjpnyNuSRkTzphcBaHC7A MHTAyuqMf3XpykOu+Igb9VKVuN+H+jYBGY089dtRomE9FJ56/Vi1V/UXf AZjOiQGDLSgrSvXc9qm3V+304sxrvPDfungffxznZVspUXuv2Vz3w9kjd Y=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=andrew.cooper3@citrix.com; spf=Pass smtp.mailfrom=Andrew.Cooper3@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of andrew.cooper3@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="andrew.cooper3@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of Andrew.Cooper3@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="Andrew.Cooper3@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: 0nxikEo/PLFB39haPvkHGO5iqtAqGZbZRGMSWHKawVdK+cyUvnRKzW7HTxl1sBoRZmqXddZSDL xCEbSa4nrDcuqd03ingt32JMntW89KUeVJaxnrRzgQGtMB6IHlnznPcsjBG1XM+uJQLdE4hkFD rdR5tzGk63aNx8qdq5T6t1TM4+agyfziE9L+t4vvX7ahKSD904jXPrflbFa2YUzYHs0MolmuOQ G2oXp55Wlw7X2jYtaVvcz8+eUeIq9GBjfMl+DFw/xujECebvXpM6UWuvSdOGdJD0aNuaBLuBsi o84= X-SBRS: 2.7 X-MesageID: 4371888 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.64,378,1559534400"; d="scan'208";a="4371888" From: Andrew Cooper To: Xen-devel Date: Mon, 12 Aug 2019 19:21:24 +0100 Message-ID: <20190812182125.18094-3-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190812182125.18094-1-andrew.cooper3@citrix.com> References: <20190812182125.18094-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] x86/desc: Move boot_gdtr into .rodata X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Andrew Cooper , Wei Liu , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) It is never written to. This was an oversight when it was moved from asm into C. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Wei Liu CC: Roger Pau Monn=C3=A9 --- xen/arch/x86/desc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/desc.c b/xen/arch/x86/desc.c index 42ccdc2f8c..dfeb1beaa8 100644 --- a/xen/arch/x86/desc.c +++ b/xen/arch/x86/desc.c @@ -89,7 +89,7 @@ seg_desc_t boot_compat_gdt[PAGE_SIZE / sizeof(seg_desc_t)= ] =3D * References boot_cpu_gdt_table for a short period, until the CPUs switch * onto their per-CPU GDTs. */ -struct desc_ptr boot_gdtr =3D { +const struct desc_ptr boot_gdtr =3D { .limit =3D LAST_RESERVED_GDT_BYTE, .base =3D (unsigned long)(boot_gdt - FIRST_RESERVED_GDT_ENTRY), }; --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel