[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] to fix the bug for tboot on x86_32 brought by c/s 19914 and 19922



On 06/11/2009 11:29, "Shane Wang" <shane.wang@xxxxxxxxx> wrote:

> The changesets 19914 and 19922 remove the bitmap for boot allocator, which
> causes first_valid_mfn is reduced and starts from the end of xen. On the other
> hand, on x86_64, the xen heap is got considering e820 table, while on x86_32
> the xen heap is specified to be < xenheap_phys_end. This range overlaps tboot
> range.
> So, the tboot range is scrubbed by scrub_heap_pages() during start_xen() on
> x86_32. Then the result is that for TXT support on x86_32, shutdown/reboot/Sx
> doesn't work properly. (i.e. hang)

So... The problem is that xenheap on x86_32 does not respect e820? I'll fix
that if that's the issue. It will be a much smaller change, and to
arch/x86/setup.c only.

 -- Keir

> This patch is to fix that by reserving tboot range as "inuse" in xen heap on
> x86_32. Then xen code will not touch the range.



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.