From patchwork Tue May 14 12:24:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 164175 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2554925ili; Tue, 14 May 2019 05:26:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnvCiQmi17cFY7MHAaQVwcLxdsZOaSRu6HFxfP0F9wkEOsQRIUkcvXUtpmR5lJS83+ivh0 X-Received: by 2002:a6b:b415:: with SMTP id d21mr18306040iof.189.1557836764675; Tue, 14 May 2019 05:26:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557836764; cv=none; d=google.com; s=arc-20160816; b=PLor4isGQ1e956W3YM1dRQxRGDSCxRHOVvsULbeLPER5IAHXplgTxGd7vbpPNm/7pA u38WrLC8q2sa+UIaTUKRhqSsakFCE0CMzr8N7RA5p9szzkarj1rmFb42a7+yNZTLH5zN glqnzGGP3f9xJ7/e8G5WLIUyUaHhx86zBLXkvIpi8N4RGe+dOSTVjR4niTkRs7mjFJ5s tmRRcFK6KsLBBHh3pANUVwCONREICJboszbmzd9HFmlqniVV4iHkCcO48pLG737+XNQv +Y3EBQL1TZpYAEFe133nB6Z3NXZc3EoTT1YSJEb9k8iInvKSEDB0xpu0QcEOaK0ChAd+ E0sA== 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=QkU6B8hvDAnAyWxay+WV/pe4UzKhHOhGS6tRi4NTTuA=; b=jp9YcJ/fXoZPIC9Go80rF/5YIxrIpo3nvJaIaKcBxXVPynhgXbiXoNEcjw6ARIqyqK X7ls8NcSLaPEKzkHhbkoGJ6omGVDaL15J6YlH+VFq9eIY5jf6X25JurWKI07m5mF/yA6 rFM5dYKEcWxFKpOcWqhb2jOaHNOFuVAmlSTMeAAsPLmg+MULR/qjRd7EI2F92UJsoOg5 oUiAUWYOdlW4vYvC6vd5iSL2ZeP/qO4XN1CXHxPb2tMaOtiRJCUrMsIJmllRIBf3dWKC yVagTcb4w5WinvfdxzV3BIgEEKmZ6Ytx36XGQvHEKe7ulDHKDr7xs734EZIuV5A37Un0 FoQg== 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 k72si1402908itk.69.2019.05.14.05.26.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 05:26:04 -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 1hQWUa-0002YE-8U; Tue, 14 May 2019 12:25:12 +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 1hQWUZ-0002X0-3c for xen-devel@lists.xenproject.org; Tue, 14 May 2019 12:25:11 +0000 X-Inumbo-ID: 50f2a68a-7643-11e9-92c8-4b21c486e5ca Received: from foss.arm.com (unknown [217.140.101.70]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTP id 50f2a68a-7643-11e9-92c8-4b21c486e5ca; Tue, 14 May 2019 12:25:10 +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 495AE15BE; Tue, 14 May 2019 05:25:10 -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 383323F71E; Tue, 14 May 2019 05:25:09 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Tue, 14 May 2019 13:24:42 +0100 Message-Id: <20190514122456.28559-6-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190514122456.28559-1-julien.grall@arm.com> References: <20190514122456.28559-1-julien.grall@arm.com> Subject: [Xen-devel] [PATCH MM-PART2 RESEND v2 05/19] 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 , Stefano Stabellini , 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 Acked-by: Stefano Stabellini --- - Re-order the patch with "xen/arm: Rework secondary_start prototype" --- 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 8a98607459..cb8a3bf829 100644 --- a/xen/arch/arm/arm32/head.S +++ b/xen/arch/arm/arm32/head.S @@ -447,7 +447,6 @@ launch: sub sp, #CPUINFO_sizeof /* Make room for CPU save record */ mov r0, r10 /* Marshal args: - phys_offset */ mov r1, r8 /* - DTB address */ - mov r2, r7 /* - CPU ID */ teq r12, #0 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 4fe904c51d..075013878e 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -584,7 +584,6 @@ launch: mov x0, x20 /* Marshal args: - phys_offset */ mov x1, x21 /* - FDT */ - mov x2, x24 /* - CPU ID */ cbnz x22, 1f b start_xen /* and disappear into the land of C */ 1: diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index faaf029b99..2f714d8b37 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -733,8 +733,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;