[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 2/4] xen/ppc: Set up a basic C environment
- To: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Mon, 24 Jul 2023 13:32:45 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=j0nAmOsuSQru7srNN+gQZnvtGlciALlomqRWS0jt6go=; b=m93c2nDo3p2AyMHbs+CaTpszr4+iNPoC9GkpUcYjK19b/h0MXvMNYOWpL3AZGVs4P5a4nImE23OCFep5+tPXS7BCkfXJkOZ9a1C2bPbFPVuKeZ8EykGpdceWdx88ttYp1SCU9fwapETiiRHk7oF2BJ/p74G2D0CVclGbU5TePN5bslAqmE9DHRMw7gj92g+H47esg8J7voDpS7UMuEJa+XNDuUR7gtxlmdcDcxAkMJQfTtvxo2yzdYKEqAub0r9XVRYuYstE27XlJ0PG7upNXfQa8sRjKRey9cOo240IsncoG+aWt+QhsjSMG13SO/vjD+Zn4bbEvsUNStU3mvxDiQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fsr+W/tYae4RsrzHahlYMdAq/t1N+WH1yEgCsei3DcP5Ez7v98+spthHUh1BPFvGuM0tc6phLBziAvCMVyX2JQj/vdj+d39NJmk1GhjJAQZLRwJUuRx/Mx8pt/vqCs+SOJdYH5OK6laxqYj/1OS/8j8OcdH57E4StOcoR4eTCGEuoIiuGnmIF3AQfpCXBlej6aq69r7FPghCpj52ZL8qxMilgOV2i8JmR6pvLBbH4ehxf29nnbIPB0ZBlCm/Z1EpmmTRN8uIZVZu+6Y+sDVlL6sivLSpHs5aALQVnQqcuQvuEzHdRyPp077C7u4eqeOLCjFLGVAV2NnUghrx6zQCbg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Timothy Pearson <tpearson@xxxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Mon, 24 Jul 2023 11:33:23 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 21.07.2023 19:02, Shawn Anastasio wrote:
> Update ppc64/head.S to set up an initial boot stack, zero the .bss
> section, and jump to C. The required setup is done using 32-bit
> immediate address loads for now, but they will be changed to
> TOC-relative loads once the position-independent code model is enabled.
>
> Additionally, move the cpu0_boot_stack declaration to setup.c and change
> STACK_ORDER from 2 to 0. For now, ppc64 is using 64k pages and thus the
> larger STACK_ORDER is unnecessary.
>
> Finally, refactor the endian fixup trampoline into its own macro, since it
> will need to be used in multiple places, including every time we make a
> call into firmware.
>
> Signed-off-by: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
I don't think I'm qualified to really give an R-b, so
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
will need to do.
Jan
|