From patchwork Thu Nov 29 11:37:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 152388 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2270519ljp; Thu, 29 Nov 2018 03:40:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/WOEY83mlQlW1ZIEgtCSbMPM6JkKarHeOMeUKJWUWvYlMdxGfHyQIDU6FT8S7YMu0xLpWuK X-Received: by 2002:a25:6ac1:: with SMTP id f184-v6mr872808ybc.435.1543491628699; Thu, 29 Nov 2018 03:40:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543491628; cv=none; d=google.com; s=arc-20160816; b=ZZbzpZHfBatH6HoBeUhfHQIsvNkGBKEpEHAaLFed6R+bKLbekATW4r5vY5VMioR+Ez j9Prwi+u9cSs1xYDRnjNwA8P9H5jtz83toCVyOqyJSXNn6PIB52bIBoPERsUH4E4wxvN MXYlKcwlfXGMxKCao/LBUkodL4O29P1cZBe/fcAMNNOze2HtNFrFchl+3UB9UjKPNtVz bqcKfZxRgxOhCGPD3uRJ+Ru4aUHvhYw/fJ66vfaPLi/vki55W9nAPEk+7fg1lLZc3cXc 7MEDci7w9wg4V2zpR8s3d1UGldgzdjQtQeMZ7BjgKjHywQNNtlG3E7hLZErh7EvmqhxU cyZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:message-id:date:to:from; bh=1sVaWApbZAmh/62h3e8Hgz6uhNXfEuLRRWG5eodHdmw=; b=bsC/OlXiEsjAt+UQbSVi0tZqP1InfirU98FYk7GsEadnCL8/KGnGm322lZwi9Nj8YO +Qjt0laeJBi0/+8NCwKrDdKPCZj70/nGaZF4j0HDHQsVGXil0V58so+jFIRrvFkxEv2w uZL93ZB5aVZumPu1CbTg+cxnbIpVumXJ/cn3U1a0bp6hCIunLYUtVoEzHyxgyG5ySf1k AuIDjfjDKWaz/4/ObUNLd9UPN8ZCayWZ4aFw/jpLfBEl6DjfNNn7iaq2TyY6hkg0dhxv 2IuwLRiSQi8hkSo3W9kqJkaw7GHhXSoC8fk7k591YP1JIcGpij9AjAN87OWjxTARBsfw 9+6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id d11si1057280ywc.418.2018.11.29.03.40.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 03:40:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gSKdm-00080E-53; Thu, 29 Nov 2018 11:37:54 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1gSKdk-000809-PR for xen-devel@lists.xenproject.org; Thu, 29 Nov 2018 11:37:52 +0000 X-Inumbo-ID: 3478e29e-f3cb-11e8-b860-12d6303a7972 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id 3478e29e-f3cb-11e8-b860-12d6303a7972; Thu, 29 Nov 2018 11:37:52 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A2123A78; Thu, 29 Nov 2018 03:37:51 -0800 (PST) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4978D3F5AF; Thu, 29 Nov 2018 03:37:50 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Thu, 29 Nov 2018 11:37:42 +0000 Message-Id: <20181129113744.2797-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH for-4.12 0/2] xen/arm: mm: Boot fixes X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: sstabellini@kernel.org, andre.przywara@arm.com, Matthew Daley , Jan-Peter Larsson , Shameerali Kolothum Thodi , Julien Grall MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Hi all, This patch series fixes 2 bug in the boot code for the memory management. The first patch should resolve Xen stall when setting SCTLR.XN on some platforms. The second patch should allow to boot Xen again the Hikey board. Cheers, Cc: Shameerali Kolothum Thodi Cc: Jan-Peter Larsson Cc: Matthew Daley Julien Grall (2): xen/arm: mm: Set-up page permission for Xen mappings earlier on xen/arm: Stop relocating Xen xen/arch/arm/arm32/head.S | 54 +++----------------------------------- xen/arch/arm/arm64/head.S | 50 +++++------------------------------ xen/arch/arm/mm.c | 67 ++++++++++++++++++----------------------------- xen/arch/arm/setup.c | 65 +++------------------------------------------ xen/include/asm-arm/mm.h | 2 +- 5 files changed, 39 insertions(+), 199 deletions(-) Tested-by: Matthew Daley