]> xenbits.xensource.com Git - xen.git/commit
efi/boot: Don't free ebmalloc area at all
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Feb 2017 14:07:09 +0000 (14:07 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 1 Mar 2017 11:27:04 +0000 (11:27 +0000)
commit52bba67f8b8790ae8c9881f742a54b69336de1c1
treeea832004bdd6c3b21dd2472674c5703252df6b6e
parentb5484937e56edae56156fdd9dd1258a933073dfe
efi/boot: Don't free ebmalloc area at all

Freeing part of the BSS back for general use proves to be problematic.  It is
not accounted for in xen_in_range(), causing errors when constructing the
IOMMU tables, resulting in a failure to boot.

Other smaller issues are that tboot treats the entire BSS as hypervisor data,
creating and checking a MAC of it on S3, and that, by being 1MB in size,
freeing it guarentees to shatter the hypervisor superpage mappings.

This is a stopgap fix to unblock master, while alternatives are discussed.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/efi/boot.c