All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] Fix changeset 19577 on the wrong range of percpu area
@ 2009-06-29  6:48 Wang, Shane
  0 siblings, 0 replies; only message in thread
From: Wang, Shane @ 2009-06-29  6:48 UTC (permalink / raw)
  To: Keir.Fraser; +Cc: xen-devel

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

Changeset 19577 made the wrong memory range of percpu area in tboot, which causes memory integrity generation and S3 fail with TXT.
This patch is to fix it.

Signed-off-by: Shane Wang <shane.wang@intel.com>

[-- Attachment #2: percpu_fix.patch --]
[-- Type: application/octet-stream, Size: 600 bytes --]

diff -r 81371b5a5483 xen/arch/x86/tboot.c
--- a/xen/arch/x86/tboot.c	Wed Jun 24 12:06:38 2009 -0700
+++ b/xen/arch/x86/tboot.c	Mon Jun 29 07:25:21 2009 -0700
@@ -311,7 +311,6 @@ void tboot_shutdown(uint32_t shutdown_ty
         /* per-cpu data */
         g_tboot_shared->mac_regions[2].start = (uint64_t)__pa(&__per_cpu_start);
         g_tboot_shared->mac_regions[2].size =
-            g_tboot_shared->mac_regions[2].start +
             (((uint64_t)last_cpu(cpu_possible_map) + 1) << PERCPU_SHIFT);
         /* bss */
         g_tboot_shared->mac_regions[3].start = (uint64_t)__pa(&__bss_start);

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-29  6:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-29  6:48 [Patch] Fix changeset 19577 on the wrong range of percpu area Wang, Shane

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.