[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 2/4] xen: Add files needed for minimal ppc64le build


  • To: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Fri, 16 Jun 2023 21:27:32 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=sE+dnkk0SpkOruea8rP1dHOSYF3FZqhXsSLIckzJ6wA=; b=hSe1XoFmGh5qr3iBZX+py+1aqJwzX05meHTPxoGHPir2QRtY4/X6D81rFn/+oR9BrjbDpsPtDqPn407aQn0oQ6bXIGiITI9/1zSVrPnSSHREV7ibHKMNKtNe5b93Lxvki8SQR4PJQRzyaDj8MoW/1KgclUo7LVxz2MFDglvdoRVBXx5bTApxXhJIVU3UQYp+/qscqc6Y37J6a7uHuQ8X44hiOQZAar/2uRahbF98qi++QIdow/kX0GDkX2SBzdfAcNU5dISxofO2Ah45bb7kJNuqEPG0YemSl/Vo2poNiMoE77A6fimAyuKQG2jo99CaQW9vtmLo/jiReJ0CdP4s7g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q7Z6fqhqmrGyjsbrAwSdoj/NIF+vta73eD2q1WIrg/eUs5O5qxTqX99u9SIGbxf4gLXm4yhyYNmIx9nl4FdFsqyayNWPJPKxxfdHxEwQO3cA2Dfrnj4XniKOJsZ89TR20eegaYL9TLyl/eNs4mtE2seO4EagZSL9MFrV+xkY45RN2HjQNUJbPIUmdH0OPbVQ46f0P77ybOIyPY0WgkpsMWB9Cr+EzpzY65iamYTQEoU6TkQttlfNxjazjbuNXxtU9N+7IEBSBUSjaekSLUsuzxpwyd43QqSLT3Hh9HWJsEz+XSygLQdaD5ubwR00T7+Y2AcEY1DtILij6DPUMLRl4g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: tpearson@xxxxxxxxxxxxxxxxxxxxx, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Fri, 16 Jun 2023 20:27:54 +0000
  • Ironport-data: A9a23:SlCcIaNQO0q49L/vrR0ylsFynXyQoLVcMsEvi/4bfWQNrUpw1WQDm zBOCG6Eb/jYMTfzfNx1Pom18R5Q78Xcn4dnGQto+SlhQUwRpJueD7x1DKtS0wC6dZSfER09v 63yTvGacajYm1eF/k/F3oDJ9CU6jufQAOKnUoYoAwgpLSd8UiAtlBl/rOAwh49skLCRDhiE/ Nj/uKUzAnf8s9JPGjxSs/rrRC9H5qyo42tG5wJmPpingXeF/5UrJMNHTU2OByOQrrl8RoaSW +vFxbelyWLVlz9F5gSNy+uTnuUiG9Y+DCDW4pZkc/HKbitq/0Te5p0TJvsEAXq7vh3S9zxHJ HehgrTrIeshFvWkdO3wyHC0GQkmVUFN0OevzXRSLaV/ZqAJGpfh66wGMa04AWEX0r5KI3F/7 qcxEzI2TDCejMe767SAV/Y506zPLOGzVG8ekldJ6GiBSNwAHtXESaiM4sJE1jAtgMwIBezZe 8cSdTtoalLHfgFLPVAUTpk5mY9EhFGmK2Ee9A3T+vJxujCOpOBy+OGF3N79U9qGX8hK2G2fo XrL5T/RCRAGLt2PjzGC9xpAg8eWxH6lBdxNTebQGvhCuXOQ5mEXKRgsdVbhgseLq0/vW4lFE hlBksYphe1onKCxdfHmVhuxu2KNpR8bc8BZC/E98gyLxavS7guDB24LCDVGbbQOpMIwADAny FKNt9foHiB09q2YT2qH8bWZpi/0PjIaRUcefSINVxAC5fH5qZkviQjCSNliFqO4lNzzFnf7x DXihCo0iqgXjMUL/76m5l2BiDWpzrDLUwo06wP/Tm+jqARja+aNfJe04FLW6fJBKoexTVSbu nUA3c+E44gmEpWlhCGLBuIXE9mUC+2tNTTdhRtlGcYn/jH0o3q7J9kIvXd5OVtjNdsCdXnxe kjPtAhN5ZhVeny3catwZIH3AMMvpUT9KenYujnvRoImSvBMmMWvpUmCuWb4M7jRrXUR
  • Ironport-hdrordr: A9a23:A+X3+apbvxg148MmaJMfPAgaV5oReYIsimQD101hICG9JPbo8P xG+85rtiMc6QxwZJhOo7u90cW7K080lqQV3WByB9iftVLdyQ+VxehZhOPfKlvbdhEWndQy6U 4PScRD4HKbNykdsS5XijPIcerJYbO8gcWVuds=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 16/06/2023 6:48 pm, Shawn Anastasio wrote:
> diff --git a/xen/arch/ppc/ppc64/head.S b/xen/arch/ppc/ppc64/head.S
> new file mode 100644
> index 0000000000..0b289c713a
> --- /dev/null
> +++ b/xen/arch/ppc/ppc64/head.S
> @@ -0,0 +1,27 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> +
> +.section .text.header, "ax", %progbits
> +
> +ENTRY(start)
> +    /*
> +     * Depending on how we were booted, the CPU could be running in either
> +     * Little Endian or Big Endian mode. The following trampoline from Linux
> +     * cleverly uses an instruction that encodes to a NOP if the CPU's
> +     * endianness matches the assumption of the assembler (LE, in our case)
> +     * or a branch to code that performs the endian switch in the other case.
> +     */

Sorry, I also meant to ask.  How prevalent is Big Endian in practice in
the Power world?

It's another area (like 4k pages) where I expect there to be plenty of
fun to be had with the codebase.

~Andrew



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.