From patchwork Tue Jun 5 17:12:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 137784 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1217128lji; Tue, 5 Jun 2018 10:15:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJjo3/wlZuOY7oWt886tZJennVCGKQUdaSu36NjUih321sERaAeP5fLJAJEpu4EtlUzMH4q X-Received: by 2002:a24:d984:: with SMTP id p126-v6mr48340itg.49.1528218931518; Tue, 05 Jun 2018 10:15:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528218931; cv=none; d=google.com; s=arc-20160816; b=nktLMP8vTOiDjBZKyU+yeDxnlgiEV3l37dgy6WKsa+SJ57oUQj9IyLHmtsHIg8Jx5h e41ointfY1X0IH9e6fJPUUVsyo/sfNHFRaAdM/uWrLxfZz9hO3LkznTL1+0pwJTFTqh+ Z/pHM5eVqiIPik3gtp4FCwsqQ3FiehVnu1/9GEBpMmfomWW3PgxEhh7282fQL/v2DYNl falmpaR807y8+JjkBRxTr9GAaYQpZiTBY//p/Q4X6Qs0fxa0iR4McgA7n5gVsz7AmtQN lkSFux1s4DvHVdyOHTVMzfaj2CfIe5L1rnGfHOWJUHJxEgUxCb088yxlhLc2V1xBrLm8 As2A== 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 :arc-authentication-results; bh=/NiV5Du1XGRDwB5g+4+8f2/TzlVswI26ZWex6qtK9b8=; b=j5JH7iq33NnnSlhDDUQKlsiQH+W/TE/ULT4XPADQ6L6TrwsZC5Ir1LKBe4Nz1FpWRe nDR2v6/jkp0WKxQFSsip/IW/Yk1R9IotVUXdrS+T6jb1tbedIkkYdMEMNw6jnV7u5ZX+ xSJtVw+2Bf4XM/lD++sR8LRZznqh5SPCgIR1cXH15SNVdqv7KZGkboavQ+BUvdb/ZQ0g qwonPHBnGkzUX++m/iB+HaIxIpd1ld/DNbS8H3F40/fS3ypfMlBBycScWA2uuR5zBeo0 Sndca2D60nwQO3nZC/lpbR4buyMQ15jVIWjJvfi9O5IuDvuEFO/5i5Ez8KgMb+FbLo9M vnvQ== 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 o125-v6si39345675iof.265.2018.06.05.10.15.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Jun 2018 10:15:31 -0700 (PDT) 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 1fQFVt-0007vP-Fb; Tue, 05 Jun 2018 17:12:53 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1fQFVr-0007uu-BJ for xen-devel@lists.xen.org; Tue, 05 Jun 2018 17:12:51 +0000 X-Inumbo-ID: 5c7943a0-68e3-11e8-9728-bc764e045a96 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTP id 5c7943a0-68e3-11e8-9728-bc764e045a96; Tue, 05 Jun 2018 19:10:35 +0200 (CEST) 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 7A6D91435; Tue, 5 Jun 2018 10:12:49 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.206.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8BE033F25D; Tue, 5 Jun 2018 10:12:47 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org, xen-devel@lists.xen.org Date: Tue, 5 Jun 2018 18:12:30 +0100 Message-Id: <20180605171237.30601-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH 0/7] xen/arm: Shrink down Xen on Arm 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: Stefano Stabellini , Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Hi all, This series remove some unused code from Xen and also move some part under __init if only used during boot. The major change of this patch is removing support libelf in Xen (see #4 and #5). Cheers, Julien Grall (7): xen/arm: Remove the variable dom0_11_mapping and open-code the value xen/arm: domain_build: Move in init all code/data of domain_build.c xen/arm: kernel: Move in init all the code/data of kernel.c xen/arm: Drop support for loading ELF Dom0 kernel xen: Don't build libelf for Arm xen/libfdt: Put all libfdt in init xen/arm: setup: Move in init code only used at boot in setup.c xen/arch/arm/Makefile | 4 +- xen/arch/arm/domain_build.c | 137 ++++++++++++++++++++++--------------------- xen/arch/arm/kernel.c | 103 ++++---------------------------- xen/arch/arm/kernel.h | 10 +--- xen/arch/arm/setup.c | 10 ++-- xen/arch/x86/Kconfig | 1 + xen/common/Kconfig | 3 + xen/common/Makefile | 2 +- xen/common/libfdt/Makefile | 10 +++- xen/include/asm-arm/domain.h | 4 +- 10 files changed, 107 insertions(+), 177 deletions(-)