RE: [PATCH] libgloss/aarch64: Add support for Armv8-R AArch64

Kyrylo Tkachov <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <DB7PR08MB30020E0394CED58943A3553C933B0@DB7PR08MB3002.eurprd08.prod.outlook.com>

> -----Original Message-----
> From: Newlib <[email protected]> On Behalf Of Alex Coplan
> Sent: 18 September 2020 15:43
> To: [email protected]
> Cc: Richard Earnshaw <[email protected]>
> Subject: [PATCH] libgloss/aarch64: Add support for Armv8-R AArch64
> 
> Hello,
> 
> This patch adds support for Armv8-R AArch64. We update the AArch64 CPU
> boot code to work on Armv8-R if __ARM_ARCH_PROFILE is set to 'R'.
> Armv8-R AArch64 has no EL3, so we don't set vbar_el3, and adjust the
> code to set up the MPU for Armv8-R.
> 
> We also add a specs file for use with Armv8-R AArch64 models.
> 
> Testing:
>  * Ran AArch64 GCC testsuite using --with-arch=armv8-r together with the
>    new specs file and boot code in an Armv8-R AArch64 model.
>  * Ran newlib testsuite, no regressions.
> 
> OK for master?
> 

FWIW this looks good to me but I'm not a maintainer.
Thanks,
Kyrill

> Thanks,
> Alex
> 
> ---
> 
> 2020-09-18  Alex Coplan  <[email protected]>
> 
> libgloss/ChangeLog:
> 
> 	* aarch64/Makefile.in: Install new specs file.
> 	* aarch64/cpu-init/Makefile.in: Also build boot code for Armv8-R.
> 	* aarch64/cpu-init/rdimon-aem-el3.S: Add support for Armv8-R.
> 	* aarch64/elf-aem-v8-r.specs: New.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.