From patchwork Mon Apr 22 16:49:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 162607 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp2801361jan; Mon, 22 Apr 2019 09:51:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFDkp5h7s+6O0z0yWDcIXlAeum1L09RG9kIEV0N55PKOViJeMzmfetK1cjTgyBAzQ7mH1L X-Received: by 2002:a25:7312:: with SMTP id o18mr16039915ybc.521.1555951880320; Mon, 22 Apr 2019 09:51:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555951880; cv=none; d=google.com; s=arc-20160816; b=CVABAogXPhslzq/JBnYWd96+SntvxGkrVXFujJv9M3b6bcV1hhW6d9hTwY93ZPHfho 2Q+yyW/EzWtD26qP2GIGdEG1/Vh3Dyeqe+378muWCbG7ivZsSM6gBgaMg9u1pGKy77hI 9aElcPXFIFUJedEjrX+fOPP8blFYUJXeQxnx/D+SCHqQW7/ex3q/lc2UWlHdoROt4/FJ /swXHbqHbIaUQlIjvuVzKRpuMojKOAOWGk+zmy+0mSYvv2saginKY18uKZDuo4zt7L7U P/nye79swPG4zPFWr+1tQgusqaQsFEj0jdGenOPjRAydOcEYwGUAkw+VSRIbjCAVVbIU 937g== 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:references:in-reply-to:message-id:date:to:from; bh=DcwIKbWiZRQtJ3fU8QZrm92d4ucSJ5eJV8AT2ISN4lQ=; b=crhC2lsUpisAUb8Qv4w/p6tyfXtKV7PqekllVl/ZlrEoITEjzrfYlbgUtTloOkbAC9 pD1CHu5BS6VQVhgbOBpJpSgr4pil//ujolXtf29amHIiOwdMGSTzY+nwYn9sF7XAKa+m 7CiWVGfIamYDVvU84ZmvnsCuNmj9OUTx1K2aoi4t4m2ZPhTqvacC+CiICwaR60g8IMN/ i05jFIXcev1Y+0GII/zQVIRTaaDPkx14r0GT7WW8d2FWjeNugZljuqIgRKYZC3GFAgLK FLRAYWDTXeGFhR8D2KYYVWf6ozZUhBvxl54OpC34ew+pQMwLVqtbx12z1VTS0lOA73iF sHGw== 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 13si9144461ywv.46.2019.04.22.09.51.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Apr 2019 09:51:20 -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 1hIc8n-0004VE-Ae; Mon, 22 Apr 2019 16:50:01 +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 1hIc8m-0004T7-74 for xen-devel@lists.xenproject.org; Mon, 22 Apr 2019 16:50:00 +0000 X-Inumbo-ID: aa743eac-651e-11e9-a8ce-1bd14de404b9 Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id aa743eac-651e-11e9-a8ce-1bd14de404b9; Mon, 22 Apr 2019 16:49:59 +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 519B015AB; Mon, 22 Apr 2019 09:49:59 -0700 (PDT) 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 41F2E3F557; Mon, 22 Apr 2019 09:49:58 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Mon, 22 Apr 2019 17:49:23 +0100 Message-Id: <20190422164937.21350-7-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190422164937.21350-1-julien.grall@arm.com> References: <20190422164937.21350-1-julien.grall@arm.com> Subject: [Xen-devel] [PATCH 06/20] xen/arm: Remove parameter cpuid from start_xen 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: Oleksandr_Tyshchenko@epam.com, Julien Grall , sstabellini@kernel.org, Andrii_Anisov@epam.com MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" The parameter cpuid is not used by start_xen. So remove it. Signed-off-by: Julien Grall Reviewed-by: Andrii Anisov --- xen/arch/arm/arm32/head.S | 1 - xen/arch/arm/arm64/head.S | 1 - xen/arch/arm/setup.c | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/arch/arm/arm32/head.S b/xen/arch/arm/arm32/head.S index b71d7fb11d..9f40face98 100644 --- a/xen/arch/arm/arm32/head.S +++ b/xen/arch/arm/arm32/head.S @@ -448,7 +448,6 @@ launch: teq r12, #0 moveq r0, r10 /* Marshal args: - phys_offset */ moveq r1, r8 /* - DTB address */ - moveq r2, r7 /* - CPU ID */ beq start_xen /* and disappear into the land of C */ b start_secondary /* (to the appropriate entry point) */ diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index b26126de53..cb30d6f22e 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -586,7 +586,6 @@ launch: mov x0, x20 /* Marshal args: - phys_offset */ mov x1, x21 /* - FDT */ - mov x2, x24 /* - CPU ID */ b start_xen /* and disappear into the land of C */ 1: b start_secondary /* (to the appropriate entry point) */ diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index ccb0f181ea..6dfbba2927 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -728,8 +728,7 @@ size_t __read_mostly dcache_line_bytes; /* C entry point for boot CPU */ void __init start_xen(unsigned long boot_phys_offset, - unsigned long fdt_paddr, - unsigned long cpuid) + unsigned long fdt_paddr) { size_t fdt_size; int cpus, i;