[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5] RFC: x86/pvh: Make Xen PVH entrypoint PIC for x86-64
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Wed, 27 Mar 2024 10:15:30 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kNHdxsz/A+O0scydcjNzdJegkiK444ynTZTaIymkn3k=; b=Jmi1P5Hxs0cWCqkkrKCQx5W/NIZiZLvZaEXgP2u+KZJ8ni93Ga43SCemFRhRpppANANRT7F5/PkgUD5F6A8FDs85t4Dr25Qbw5aS4ht3m1adKawwsH6zWnu9Gi3ZEFE1gOLfPKaLDLfrAbTdWX+dkgdE0yLhhkBmUPYSRlYJfWyjHuY2YEDYnvUkXVGmKbbBAblj9l6YRo7Xlf98pICz+n9qrVdAKOdQKqe6TaOgNyjnkilfxTkN2DNCf8mrYktbcMk5kqOjIanlCDsvXfkXCUfJ4Q6yIXBjhqSr/4NHRkwsYH0mVIOf/GNbKWMohj3mNAwXcieDSzz29OvaBj6oqQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N3hJKTK3tGj6cc5mFgSXtn5x8O7HgCpvIYr0wHnSDxIeDhHhBkHmDf5qFInAOtAAReLnpLJF2Ua8fMD1RZWNSTkydXpU8njFzpcQ/BKHAip2kotKYDV+xqW56jm4y+2c0EB0efqvmdgIMazR5CwpcphGzuWOzzTk9dPJa+TOJonR3Sj/Q9O7m5JV5Jiy+fl5MeWXFCn4AcVnDnOBxi9ykHEa9L6dj9l8hXb4TBVh1mE5H5bGB8EAk6aExuajFVnZbjykEEvDHnqgnWU7Z1RajdupQOuWvoK+KB6BaV+DQ5n8N1RMIxxzclk2p91yQ/8C1sZ1au3wqmnnMtbULCXj8g==
- Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Wed, 27 Mar 2024 14:15:45 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2024-03-27 04:20, Jan Beulich wrote:
On 26.03.2024 22:47, Jason Andryuk wrote:
--- a/include/xen/interface/elfnote.h
+++ b/include/xen/interface/elfnote.h
@@ -185,9 +185,25 @@
*/
#define XEN_ELFNOTE_PHYS32_ENTRY 18
+/*
+ * Physical loading constraints for PVH kernels
+ *
+ * Used to place constraints on the guest physical loading addresses and
+ * alignment for a PVH kernel.
+ *
+ * The presence of this note indicates the kernel supports relocating itself.
+ *
+ * The note may include up to three 32bit values in the following order:
+ * - a maximum address for the entire image to be loaded below (default
+ * 0xffffffff)
+ * - a minimum address for the start of the image (default 0)
+ * - a required start alignment (default 0x200000)
This looks to be stale now.
Yes - I did not update this file.
The patch is functional as the ELF Note fields in
arch/x86/platform/pvh/head.S were re-ordered to match the Xen side.
Regards,
Jason
|