From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: [PATCHv5 0/2] x86/xen: fix dom0 boot with tboot Date: Fri, 16 Aug 2013 15:42:54 +0100 Message-ID: <1376664176-27535-1-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Boris Ostrovsky , David Vrabel List-Id: xen-devel@lists.xenproject.org The first patch (for 3.11 and which should be considered for stable), fixes boot failures caused by UNUSABLE regions in the e820 machine memory map. This typically occurs if tboot is used. The second patch (for 3.12) is clean up some an inadvertant change to the mappings setup during early init, as introduced in 3.5. There is no need for this to be backported though. Changes in v5: - Use the original approach of removing UNUSABLE regions as the previous fix did not work when backported to older kernels. Changes in v4: - Extend 1:1 mapping region to cover 0 - 1MiB. find_ibft_region() scans from 512 KiB and if this overlapped with a reserved region it would crash. Changes in v3: - Avoid the 1:1 mapping (except for the ISA region) by the early setup instead of removing UNUSABLE regions. Changes in v2: - Refactor getting the correct memory map. David