[PATCH v1 1/8] Move ARM PL011 UART driver

2020-09-25 Thread Kinsey Moore
This UART driver is now needed for BSPs other than ARM. --- bsps/arm/headers.am| 2 -- bsps/arm/raspberrypi/console/console-config.c | 2 +- bsps/arm/realview-pbx-a9/include/bsp/console.h | 2 +- bsps/arm/xen/console/console.c

[PATCH v1 0/8] AArch64 port and BSPs

2020-09-25 Thread Kinsey Moore
This patch set includes changes to move several required drivers into bsps/shared so that they can be used by both AArch32(known in RTEMS as "arm") and AArch64 as well as possibly other future architectures. The changes made in breaking out these drivers have been tested on 10 or so affected BSPs u

[PATCH v1 5/8] bsps/shared: Add PSCI-based bspreset implementation

2020-09-25 Thread Kinsey Moore
) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of conditions and

[PATCH v1 6/8] score: Add AArch64 port

2020-09-25 Thread Kinsey Moore
/cpukit/score/cpu/aarch64/aarch64-context-validate.S @@ -0,0 +1,295 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without

[PATCH v1 8/8] bsps: Add Cortex-A53 ILP32 BSP variant

2020-09-25 Thread Kinsey Moore
Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *

[PATCH v1 2/8] spec: Add missing spintrcritical24 definition

2020-09-25 Thread Kinsey Moore
--- spec/build/bsps/tstnointrcrit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/build/bsps/tstnointrcrit.yml b/spec/build/bsps/tstnointrcrit.yml index 0460aaabb3..46f7d974c8 100644 --- a/spec/build/bsps/tstnointrcrit.yml +++ b/spec/build/bsps/tstnointrcrit.yml @@ -24,6 +24,7 @@ act

[PATCH v1 7/8] bsps: Add Cortex-A53 LP64 basic BSP

2020-09-25 Thread Kinsey Moore
0..1a3c8fe8b0 --- /dev/null +++ b/bsps/aarch64/a53/console/console.c @@ -0,0 +1,61 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, wi

[PATCH v1 4/8] bsps: Break out AArch32 GICv3 support

2020-09-25 Thread Kinsey Moore
sp/irq-arch.h @@ -0,0 +1,42 @@ +/* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the f

[PATCH v1 3/8] bsps: Break out AArch32 portions of GPT driver

2020-09-25 Thread Kinsey Moore
rch Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this l

[PATCH v1 1/2] cpu-supplement: Fix formatting and missing words

2020-09-25 Thread Kinsey Moore
--- cpu-supplement/arm.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpu-supplement/arm.rst b/cpu-supplement/arm.rst index 63aa532..26d88ea 100644 --- a/cpu-supplement/arm.rst +++ b/cpu-supplement/arm.rst @@ -34,7 +34,7 @@ for the values. Count Leading Zeroes

[PATCH v1 2/2] Add AArch64 documentation

2020-09-25 Thread Kinsey Moore
/bsps/aarch64/a53.rst @@ -0,0 +1,26 @@ +.. SPDX-License-Identifier: CC-BY-SA-4.0 + +.. Copyright (C) 2020 Kinsey Moore, On-Line Applications Research Corporation (OAR) + +.. _BSP_aarch64_qemu_a53_ilp32: +.. _BSP_aarch64_qemu_a53_lp64: + +Qemu A53 + + +This BSP supports two variants, `qemu_a53_

[PATCH v1 1/2] tester: Add a53_lp64_qemu.ini

2020-09-25 Thread Kinsey Moore
100644 index 000..f29ab13 --- /dev/null +++ b/tester/rtems/testing/bsps/a53_lp64_qemu.ini @@ -0,0 +1,38 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2020 Kinsey Moore(kinsey.mo...@oarcorp.com) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in '

[PATCH v1 2/2] tester: Add a53_ilp32_qemu.ini

2020-09-25 Thread Kinsey Moore
100644 index 000..6dfc883 --- /dev/null +++ b/tester/rtems/testing/bsps/a53_ilp32_qemu.ini @@ -0,0 +1,38 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright 2020 Kinsey Moore(kinsey.mo...@oarcorp.com) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in

RE: [PATCH v1 6/8] score: Add AArch64 port

2020-09-25 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Friday, September 25, 2020 11:20 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v1 6/8] score: Add AArch64 port On 25/09/2020 17:27, Kinsey Moore wrote: > diff --git a/cpukit/include/rtems/score/tls.h > b/cpukit/include

[PATCH v2 1/8] Move ARM PL011 UART driver

2020-09-28 Thread Kinsey Moore
This UART driver is now needed for BSPs other than ARM. --- bsps/arm/headers.am| 2 -- bsps/arm/raspberrypi/console/console-config.c | 2 +- bsps/arm/realview-pbx-a9/include/bsp/console.h | 2 +- bsps/arm/xen/console/console.c

[PATCH v2 4/8] bsps: Break out AArch32 GICv3 support

2020-09-28 Thread Kinsey Moore
sp/irq-arch.h @@ -0,0 +1,51 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsARM + * + * @brief ARM IRQ definitions + */ + +/* + * + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use

[PATCH v2 3/8] bsps: Break out AArch32 portions of GPT driver

2020-09-28 Thread Kinsey Moore
red + * + * @brief ARM-specific clock driver functions. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditi

[PATCH v2 2/2] Add AArch64 documentation

2020-09-28 Thread Kinsey Moore
/bsps/aarch64/a53.rst b/user/bsps/aarch64/a53.rst new file mode 100644 index 000..0052773 --- /dev/null +++ b/user/bsps/aarch64/a53.rst @@ -0,0 +1,26 @@ +.. SPDX-License-Identifier: CC-BY-SA-4.0 + +.. Copyright (C) 2020 Kinsey Moore, On-Line Applications Research Corporation

[PATCH v2 2/8] spec: Add missing spintrcritical24 definition

2020-09-28 Thread Kinsey Moore
--- spec/build/bsps/tstnointrcrit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/build/bsps/tstnointrcrit.yml b/spec/build/bsps/tstnointrcrit.yml index 0460aaabb3..46f7d974c8 100644 --- a/spec/build/bsps/tstnointrcrit.yml +++ b/spec/build/bsps/tstnointrcrit.yml @@ -24,6 +24,7 @@ act

[PATCH v2 5/8] bsps/shared: Add PSCI-based bspreset implementation

2020-09-28 Thread Kinsey Moore
BSP reset hook. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

[PATCH v2 8/8] bsps: Add Cortex-A53 ILP32 BSP variant

2020-09-28 Thread Kinsey Moore
mds_ilp32.yml @@ -0,0 +1,71 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: config-file +content: | + /* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redi

[PATCH v2 7/8] bsps: Add Cortex-A53 LP64 basic BSP

2020-09-28 Thread Kinsey Moore
(OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, this list of condition

[PATCH v2 1/2] cpu-supplement: Fix formatting and missing words

2020-09-28 Thread Kinsey Moore
--- cpu-supplement/arm.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpu-supplement/arm.rst b/cpu-supplement/arm.rst index 63aa532..26d88ea 100644 --- a/cpu-supplement/arm.rst +++ b/cpu-supplement/arm.rst @@ -34,7 +34,7 @@ for the values. Count Leading Zeroes

[PATCH v2 6/8] score: Add AArch64 port

2020-09-28 Thread Kinsey Moore
+ * + * @ingroup RTEMSScoreCPUAArch64 + * + * @brief Implementation of _CPU_Context_validate + * + * This file implements _CPU_Context_validate for use in spcontext01. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore

RE: [PATCH v2 1/2] cpu-supplement: Fix formatting and missing words

2020-09-29 Thread Kinsey Moore
insey -Original Message- From: Sebastian Huber Sent: Monday, September 28, 2020 23:36 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 1/2] cpu-supplement: Fix formatting and missing words On 28/09/2020 17:25, Kinsey Moore wrote: > @@ -196,11 +196,11 @@ Symmetric Multipr

RE: [PATCH v2 2/2] Add AArch64 documentation

2020-09-29 Thread Kinsey Moore
ginal Message- From: Sebastian Huber Sent: Monday, September 28, 2020 23:40 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 2/2] Add AArch64 documentation On 28/09/2020 17:25, Kinsey Moore wrote: > +Symmetric Multiprocessing > += > + > +SMP

RE: [PATCH v2 1/8] Move ARM PL011 UART driver

2020-09-29 Thread Kinsey Moore
I'll include this change in the next version of the patch. Kinsey -Original Message- From: Sebastian Huber Sent: Tuesday, September 29, 2020 05:59 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 1/8] Move ARM PL011 UART driver On 28/09/2020 17:24, Kinsey Moore wrote: &

RE: [PATCH v2 2/8] spec: Add missing spintrcritical24 definition

2020-09-29 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Tuesday, September 29, 2020 06:09 To: Kinsey Moore ; RTEMS Subject: Re: [PATCH v2 2/8] spec: Add missing spintrcritical24 definition On 28/09/2020 17:24, Kinsey Moore wrote: > --- > spec/build/bsps/tstnointrcrit.yml | 1 + >

RE: [PATCH v2 3/8] bsps: Break out AArch32 portions of GPT driver

2020-09-29 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Tuesday, September 29, 2020 06:22 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 3/8] bsps: Break out AArch32 portions of GPT driver On 28/09/2020 17:24, Kinsey Moore wrote: > create mode 100644 bsps/include/bsp/clock-

RE: [PATCH v2 7/8] bsps: Add Cortex-A53 LP64 basic BSP

2020-09-30 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Tuesday, September 29, 2020 06:49 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 7/8] bsps: Add Cortex-A53 LP64 basic BSP On 28/09/2020 17:24, Kinsey Moore wrote: > diff --git a/bsps/aarch64/shared/start/linkcmds.base >

RE: [PATCH v2 7/8] bsps: Add Cortex-A53 LP64 basic BSP

2020-10-01 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Thursday, October 1, 2020 00:05 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v2 7/8] bsps: Add Cortex-A53 LP64 basic BSP On 30/09/2020 22:04, Kinsey Moore wrote: > -Original Message- > From: Sebastian Huber > Sent

[PATCH v3 02/10] spec: Add missing spintrcritical24 definition

2020-10-03 Thread Kinsey Moore
--- spec/build/bsps/tstnointrcrit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/build/bsps/tstnointrcrit.yml b/spec/build/bsps/tstnointrcrit.yml index 0460aaabb3..46f7d974c8 100644 --- a/spec/build/bsps/tstnointrcrit.yml +++ b/spec/build/bsps/tstnointrcrit.yml @@ -24,6 +24,7 @@ act

[PATCH v3 03/10] bsps: Break out AArch32 portions of GPT driver

2020-10-03 Thread Kinsey Moore
use */ + +/** + * @file + * + * @ingroup RTEMSBSPsARMShared + * + * @brief ARM-specific clock driver functions. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or with

[PATCH v3 01/10] Move ARM PL011 UART driver

2020-10-03 Thread Kinsey Moore
This UART driver is now needed for BSPs other than ARM. --- bsps/arm/headers.am | 2 -- bsps/arm/raspberrypi/console/console-config.c| 2 +- bsps/arm/realview-pbx-a9/include/bsp/console.h | 2 +- bsps/arm/xen/console/console.c

[PATCH v3 04/10] bsps: Break out AArch32 GICv3 support

2020-10-03 Thread Kinsey Moore
q-arm-gicv3-aarch32.c @@ -0,0 +1,61 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsARMShared + * + * @brief ARM-specific IRQ handlers. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistri

[PATCH v3 06/10] bsps/arm: Break out linker script for AArch64

2020-10-03 Thread Kinsey Moore
w file mode 100644 index 00..e69461a434 --- /dev/null +++ b/bsps/shared/start/linkcmds-aarch.base @@ -0,0 +1,420 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup bsp_linker + * + * @brief Linker command base file for AArch32 and AArch64. + */ + +/* + * Copyright (C

[PATCH v3 08/10] score: Add AArch64 port

2020-10-03 Thread Kinsey Moore
spcontext01. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

[PATCH v3 05/10] bsps/shared: Add PSCI-based bspreset implementation

2020-10-03 Thread Kinsey Moore
+ * + * @brief PSCI-based BSP reset hook. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met

[PATCH v3 10/10] bsps: Add Cortex-A53 ILP32 BSP variant

2020-10-03 Thread Kinsey Moore
ntent: | + /* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the foll

[PATCH v3 09/10] bsps: Add Cortex-A53 LP64 basic BSP

2020-10-03 Thread Kinsey Moore
SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsAArch64A53 + * + * @brief Console Configuration + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, wi

[PATCH v3 07/10] spmsgq_err01: Use correct max values and fix 64bit

2020-10-03 Thread Kinsey Moore
Fix spmsgq_err01 on systems with 64-bit pointers and correct max value mismatches and inaccuracies that are more noticable on 64-bit systems. --- testsuites/sptests/spmsgq_err01/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuites/sptests/spmsgq_err01/init.c

[PATCH v3 2/2] Add AArch64 documentation

2020-10-03 Thread Kinsey Moore
/bsps/aarch64/a53.rst b/user/bsps/aarch64/a53.rst new file mode 100644 index 000..0052773 --- /dev/null +++ b/user/bsps/aarch64/a53.rst @@ -0,0 +1,26 @@ +.. SPDX-License-Identifier: CC-BY-SA-4.0 + +.. Copyright (C) 2020 Kinsey Moore, On-Line Applications Research Corporation

[PATCH v3 1/2] cpu-supplement: Fix formatting and missing words

2020-10-03 Thread Kinsey Moore
--- cpu-supplement/arm.rst | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cpu-supplement/arm.rst b/cpu-supplement/arm.rst index 63aa532..ac9e8c6 100644 --- a/cpu-supplement/arm.rst +++ b/cpu-supplement/arm.rst @@ -34,10 +34,10 @@ for the values. Count Leadi

[PATCH v4 1/2] cpu-supplement: Fix formatting and missing words

2020-10-05 Thread Kinsey Moore
--- cpu-supplement/arm.rst | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cpu-supplement/arm.rst b/cpu-supplement/arm.rst index 63aa532..ac9e8c6 100644 --- a/cpu-supplement/arm.rst +++ b/cpu-supplement/arm.rst @@ -34,10 +34,10 @@ for the values. Count Leadi

[PATCH v4 2/2] Add AArch64 documentation

2020-10-05 Thread Kinsey Moore
--- cpu-supplement/aarch64.rst | 134 + user/bsps/aarch64/a53.rst | 26 +++ user/bsps/bsps-aarch64.rst | 2 +- 3 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 cpu-supplement/aarch64.rst create mode 100644 user/bsps/aarch64/a53.rst

RE: [PATCH v3 06/10] bsps/arm: Break out linker script for AArch64

2020-10-05 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Monday, October 5, 2020 02:11 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v3 06/10] bsps/arm: Break out linker script for AArch64 On 04/10/2020 06:18, Kinsey Moore wrote: > This breaks out the common section of the ARM lin

RE: [PATCH v3 2/2] Add AArch64 documentation

2020-10-05 Thread Kinsey Moore
-Original Message- From: Gedare Bloom Sent: Monday, October 5, 2020 10:19 To: Kinsey Moore Cc: devel@rtems.org Subject: Re: [PATCH v3 2/2] Add AArch64 documentation On Mon, Oct 5, 2020 at 9:13 AM Gedare Bloom wrote: > > On Sat, Oct 3, 2020 at 10:23 PM Kinsey Moore

RE: [PATCH v3 04/10] bsps: Break out AArch32 GICv3 support

2020-10-05 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Monday, October 5, 2020 08:10 To: j...@rtems.org Cc: Kinsey Moore ; rtems-de...@rtems.org Subject: Re: [PATCH v3 04/10] bsps: Break out AArch32 GICv3 support On 05/10/2020 14:27, Joel Sherrill wrote: > > > On Mon, Oct 5, 2020 a

[PATCH v4 3/9] bsps: Break out AArch32 portions of GPT driver

2020-10-05 Thread Kinsey Moore
,76 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsARMShared + * + * @brief ARM-specific clock driver functions. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use

[PATCH v4 9/9] bsps: Add Cortex-A53 ILP32 BSP variant

2020-10-05 Thread Kinsey Moore
ntent: | + /* + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the foll

[PATCH v4 1/9] Move ARM PL011 UART driver

2020-10-05 Thread Kinsey Moore
This UART driver is now needed for BSPs other than ARM. --- bsps/arm/headers.am | 2 -- bsps/arm/raspberrypi/console/console-config.c| 2 +- bsps/arm/realview-pbx-a9/include/bsp/console.h | 2 +- bsps/arm/xen/console/console.c

[PATCH v5 2/2] Add AArch64 documentation

2020-10-05 Thread Kinsey Moore
--- cpu-supplement/aarch64.rst | 134 + user/bsps/aarch64/a53.rst | 26 +++ user/bsps/bsps-aarch64.rst | 2 +- 3 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 cpu-supplement/aarch64.rst create mode 100644 user/bsps/aarch64/a53.rst

[PATCH v4 4/9] bsps: Break out AArch32 GICv3 support

2020-10-05 Thread Kinsey Moore
q-arm-gicv3-aarch32.c @@ -0,0 +1,61 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsARMShared + * + * @brief ARM-specific IRQ handlers. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistri

[PATCH v5 1/2] cpu-supplement: Fix formatting and missing words

2020-10-05 Thread Kinsey Moore
--- cpu-supplement/arm.rst | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cpu-supplement/arm.rst b/cpu-supplement/arm.rst index 63aa532..ac9e8c6 100644 --- a/cpu-supplement/arm.rst +++ b/cpu-supplement/arm.rst @@ -34,10 +34,10 @@ for the values. Count Leadi

[PATCH v4 2/9] spec: Add missing spintrcritical24 definition

2020-10-05 Thread Kinsey Moore
--- spec/build/bsps/tstnointrcrit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/build/bsps/tstnointrcrit.yml b/spec/build/bsps/tstnointrcrit.yml index 0460aaabb3..46f7d974c8 100644 --- a/spec/build/bsps/tstnointrcrit.yml +++ b/spec/build/bsps/tstnointrcrit.yml @@ -24,6 +24,7 @@ act

[PATCH v4 8/9] bsps: Add Cortex-A53 LP64 basic BSP

2020-10-05 Thread Kinsey Moore
+1,69 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsAArch64A53 + * + * @brief Console Configuration + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary

[PATCH v4 6/9] spmsgq_err01: Use correct max values and fix 64bit

2020-10-05 Thread Kinsey Moore
Fix spmsgq_err01 on systems with 64-bit pointers and correct max value mismatches and inaccuracies that are more noticable on 64-bit systems. --- testsuites/sptests/spmsgq_err01/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuites/sptests/spmsgq_err01/init.c

[PATCH v4 5/9] bsps/shared: Add PSCI-based bspreset implementation

2020-10-05 Thread Kinsey Moore
+ * + * @brief PSCI-based BSP reset hook. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met

[PATCH v4 7/9] score: Add AArch64 port

2020-10-05 Thread Kinsey Moore
spcontext01. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

[PATCH v1] tester: Prevent crash with json output

2020-10-05 Thread Kinsey Moore
This fixes an issue with json report output that causes a crash due to the incorrect object member being accessed for test-too-long. This also changes treatment of fatal errors to match how they are displayed in the tester log output and changes "fatal error" to "fatal-error" to better match the na

RE: [PATCH v1] tester: Prevent crash with json output

2020-10-05 Thread Kinsey Moore
From: Joel Sherrill Sent: Monday, October 5, 2020 17:03 To: Chris Johns Cc: Kinsey Moore ; rtems-de...@rtems.org Subject: Re: [PATCH v1] tester: Prevent crash with json output On Mon, Oct 5, 2020 at 4:57 PM Chris Johns mailto:chr...@rtems.org>> wrote: On 6/10/20 7:41 am, Kinsey Moore

RE: Re: I can not run rtems 5.1 smp correctly on bsp xilinx-zynqmp

2020-10-06 Thread Kinsey Moore
Is it possible that the application was only started on the first core instead of all cores? Is it possible to check the execution state of the other cores? Kinsey From: Joel Sherrill Sent: Tuesday, October 6, 2020 08:11 To: small...@aliyun.com Cc: Gedare Bloom ; devel ; Kinsey Moore Subject

RE: [PATCH] testsuites/samples/fileio - Increase of stack size

2020-10-09 Thread Kinsey Moore
I'm not sure it's specifically a GCC10 issue, but I've encountered something like this before (I think it was GCC8 or GCC9). https://github.com/ISI-apex/rtems/commit/edd6d90c3ad21393dd0de93056f371c7abc89b78 I thought I'd sent in a patch for this or at least created a ticket, but I can't find eit

RE: aarch64/a53_ilp32_qemu: implicit declaration of function 'truncl'

2020-10-13 Thread Kinsey Moore
On Sat, Oct 10, 2020 at 8:13 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: On 10/10/2020 15:11, Sebastian Huber wrote: > Hello Kinsey, > > the new aarch64/a53_ilp32_qemu produces a lot of warnings like this: > > ../../../testsuites/psxtests/psxhdrs/math/truncl.c:45:12: wa

[PATCH] score/aarch64: Size saved SP register for ABI

2020-10-22 Thread Kinsey Moore
This ensures that the saved SP register is sized appropriately depending on the chosen ABI and prevents a warning in the libmisc stack checker. --- cpukit/score/cpu/aarch64/include/rtems/score/cpu.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/aarch64/in

RE: [PATCH] score/aarch64: Size saved SP register for ABI

2020-10-22 Thread Kinsey Moore
From: Hesham Almatary Sent: Thursday, October 22, 2020 14:51 To: Kinsey Moore Cc: devel@rtems.org Subject: Re: [PATCH] score/aarch64: Size saved SP register for ABI On Thu, 22 Oct 2020 at 20:07, Kinsey Moore mailto:kinsey.mo...@oarcorp.com>> wrote: This ensures that the saved SP re

[PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32

2020-11-12 Thread Kinsey Moore
The SUBALIGN(4) required on rtemsroset and rtemsrwset for ILP32 builds was previously present on LP64 builds and causes no issues within RTEMS, but causes relocation/alignment issues when building libbsd. This restricts those alignment changes to ILP32 builds. --- bsps/aarch64/shared/start/linkcmd

[PATCH 1/2] spec/aarch64: Ensure that libbsd can build properly

2020-11-12 Thread Kinsey Moore
These files are required for libbsd to build against the AArch64 A53 BSPs. --- spec/build/bsps/aarch64/grp.yml | 4 1 file changed, 4 insertions(+) diff --git a/spec/build/bsps/aarch64/grp.yml b/spec/build/bsps/aarch64/grp.yml index 4b5f998a12..e0a8e607a5 100644 --- a/spec/build/bsps/aarch64

[PATCH rtems-libbsd] Update arm64/aarch64 support

2020-11-12 Thread Kinsey Moore
--- freebsd/sys/arm64/arm64/in_cksum.c| 243 +++ freebsd/sys/arm64/include/machine/armreg.h| 665 ++ freebsd/sys/arm64/include/machine/cpu.h | 203 ++ freebsd/sys/arm64/include/machine/cpufunc.h | 153 freebsd/sys/arm64/include/machine/in_cksum.

RE: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32

2020-11-13 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Friday, November 13, 2020 04:26 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32 >On 12/11/2020 14:32, Kinsey Moore wrote: > >> The SUBALIGN(4) required on rtemsroset an

RE: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32

2020-11-13 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Friday, November 13, 2020 08:16 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32 >On 13/11/2020 15:13, Kinsey Moore wrote: > >> -Original Message- >> Fro

RE: [PATCH 1/2] spec/aarch64: Ensure that libbsd can build properly

2020-11-13 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Friday, November 13, 2020 04:23 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH 1/2] spec/aarch64: Ensure that libbsd can build properly On 12/11/2020 14:32, Kinsey Moore wrote: >> install: >> +- destination: ${BSP_INC

RE: [PATCH 1/2] spec/aarch64: Ensure that libbsd can build properly

2020-11-14 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Saturday, November 14, 2020 06:23 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH 1/2] spec/aarch64: Ensure that libbsd can build properly >On 13/11/2020 16:04, Kinsey Moore wrote: > >> -Original Message- >&g

RE: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32

2020-11-14 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Saturday, November 14, 2020 06:24 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32 >On 13/11/2020 15:53, Kinsey Moore wrote: > >>>> -Original Message- &g

RE: [PATCH rtems-tools] bsps/a53_*: Fix typo in qemu options

2020-11-14 Thread Kinsey Moore
Odd, "gic_version" works just fine in the version of qemu-system-aarch64 in the Debian package repos which is what I've been testing against. As you've provided in the patch, the official option name is "gic-version" and that also works. Just out of curiosity, does this cause Qemu to fail for yo

[PATCH 1/2] spec/aarch64: Ensure that libbsd can build properly

2020-11-16 Thread Kinsey Moore
These files are required for libbsd to build against the AArch64 A53 BSPs. --- spec/build/bsps/aarch64/grp.yml | 4 1 file changed, 4 insertions(+) diff --git a/spec/build/bsps/aarch64/grp.yml b/spec/build/bsps/aarch64/grp.yml index 4b5f998a12..1b8dc1c629 100644 --- a/spec/build/bsps/aarch64

[PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32

2020-11-16 Thread Kinsey Moore
The SUBALIGN(4) required on rtemsroset and rtemsrwset for ILP32 builds was previously present on LP64 builds and causes no issues within RTEMS, but causes relocation/alignment issues when building libbsd. This restricts those alignment changes to ILP32 builds. --- bsps/aarch64/shared/start/linkcmd

RE: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32

2020-11-16 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Monday, November 16, 2020 07:35 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32 >On 16/11/2020 14:15, Kinsey Moore wrote: > >> The SUBALIGN(4) required on rtemsroset an

RE: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32

2020-11-16 Thread Kinsey Moore
-Original Message- From: Sebastian Huber Sent: Monday, November 16, 2020 07:44 To: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH 2/2] spec/aarch64: Only apply SUBALIGN(4) to ILP32 > On 16/11/2020 14:40, Kinsey Moore wrote: > >> -Original Message- >> Fro

RE: [PATCH 5/8] libtest: Allow assert checks during test begin

2020-11-20 Thread Kinsey Moore
-Original Message- From: devel On Behalf Of Sebastian Huber Sent: Friday, November 13, 2020 04:08 To: devel@rtems.org Subject: [PATCH 5/8] libtest: Allow assert checks during test begin > Allow assert checks in test begin actions and setup fixture methods. > --- > cpukit/include/rtems/te

RE: [PATCH] libtest: Fix undefined setjmp() behaviour

2020-11-23 Thread Kinsey Moore
-Original Message- From: devel On Behalf Of Sebastian Huber Sent: Monday, November 23, 2020 03:19 To: devel@rtems.org Subject: [PATCH] libtest: Fix undefined setjmp() behaviour > Bug was introduced by 78baeb757957fa0807c30e6c4d21ae99c9639e6a. > > Update #3199. > --- > cpukit/include/rtem

[PATCH] wscript: Apply test state expectations correctly

2020-11-23 Thread Kinsey Moore
The variety of expected test states are not currently applied to tests with names containing '-' correctly due to a failure to replace '-' with '_' before adding the CPPFLAGS to the environment for that test. This ensures that all additions of CPPFLAGS have that replacement performed so that the CP

[PATCH] score/aarch64: Resolve warning in exception dump

2020-11-23 Thread Kinsey Moore
This resolves a warning in the exception frame dump for AArch64 relating to a missized printf format specifier. --- cpukit/score/cpu/aarch64/aarch64-exception-frame-print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/score/cpu/aarch64/aarch64-exception-frame-prin

[PATCH] Add CGEM definitions for ZynqMP

2020-11-23 Thread Kinsey Moore
--- rtemsbsd/include/bsp/nexus-devices.h | 7 +++ rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 16 2 files changed, 23 insertions(+) diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index 630572a8..51bca3aa 100644 --- a/

[PATCH] spec/a53: Set conditionally failing test state

2020-11-24 Thread Kinsey Moore
The spintrcritical03-05 and psx12 tests are known to fail on Qemu when the host system is heavily loaded. A single run of Qemu per core during a testsuite run tends to yield positive results, but any additional load on a system will result in test failures. This patch also applies the correct expe

[PATCH] tester: Report fatal-error test states as failures

2020-11-25 Thread Kinsey Moore
Tests resulting in the fatal-error state are counted as failures, but are not currently reported in the text summary. This has already been fixed for JSON output. --- tester/rt/report.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tester/rt/report.py b/tester/rt/report.py index be8df74..0e

[PATCH v1 2/3] bsps: Move ARM GICv2 driver to bsps/shared

2020-12-01 Thread Kinsey Moore
This moves the ARM GICv2 driver to bsps/shared to be usable by AArch64 code. --- ...-gicv3-aarch64.c => irq-arm-gicvx-aarch64.c} | 2 +- ...-gicv3-aarch32.c => irq-arm-gicvx-aarch32.c} | 2 +- bsps/include/dev/irq/arm-gic-irq.h | 4 ++-- .../irq-gic.c => shared/dev/irq/arm-gicv2.c}

[PATCH v1 1/3] bsps: Move zynq-uart to bsps/shared

2020-12-01 Thread Kinsey Moore
This moves the zynq-uart driver from bsps/arm/shared to bsps/shared to accomodate use by AArch64 BSPs. --- bsps/arm/headers.am| 2 -- bsps/arm/xilinx-zynq/console/console-config.c | 2 +- bsps/arm/xilinx-zynq/console/console-init.c

[PATCH v1 3/3] Add AArch64 ZynpMP BSP

2020-12-01 Thread Kinsey Moore
+ * + * @brief Console Configuration + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

RE: BSP_CONSOLE_MINOR option for Zynq board with new build system

2020-12-02 Thread Kinsey Moore
-Original Message- From: devel On Behalf Of Sebastian Huber Sent: Wednesday, December 2, 2020 06:46 To: jan.som...@dlr.de; devel@rtems.org Subject: Re: BSP_CONSOLE_MINOR option for Zynq board with new build system > Hello Jan, > >> On 02/12/2020 11:19, jan.som...@dlr.de wrote: >> I forgot

[PATCH v2 2/4] samples/unlimited: Prevent compile error

2020-12-02 Thread Kinsey Moore
For architectures with relatively large minimum stack sizes, ensure that the init task stack size is at least the minimum stack size to prevent a configuration error during compilation. --- testsuites/samples/unlimited/system.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/

[PATCH v2 1/4] zynq-uart: Fix set_attributes implementation

2020-12-02 Thread Kinsey Moore
The zynq-uart set_attributes implementation was configured to always return false which causes spconsole01 to fail. This restores the disabled implementation which sets the baud rate registers appropriately and allows spconsole01 to pass. This also expands the set_attributes functionality to allow

[PATCH v2 4/4] spec/optconminor: Fix value type

2020-12-02 Thread Kinsey Moore
The option for defining the console minor should be an integer, not a boolean. --- spec/build/bsps/optconminor.yml | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/build/bsps/optconminor.yml b/spec/build/bsps/optconminor.yml index 55074c6dac..486eb92d33 100644 --- a/

[PATCH v2 3/4] Add AArch64 ZynpMP BSP

2020-12-02 Thread Kinsey Moore
7;s console configuration. + */ + +/* + * Copyright (C) 2020 On-Line Applications Research Corporation (OAR) + * Written by Kinsey Moore + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redi

[PATCH v3] samples/unlimited: Prevent compile error

2020-12-03 Thread Kinsey Moore
For architectures with relatively large minimum stack sizes, this test breaks during compilation due to a static check. The init task stack size should not need to be set for this test. --- testsuites/samples/unlimited/system.h | 1 - 1 file changed, 1 deletion(-) diff --git a/testsuites/samples/

[PATCH v3] zynq-uart: Fix set_attributes implementation

2020-12-03 Thread Kinsey Moore
The zynq-uart set_attributes implementation was configured to always return false which causes spconsole01 to fail. This restores the disabled implementation which sets the baud rate registers appropriately and allows spconsole01 to pass. This also expands the set_attributes functionality to allow

RE: [PATCH v3] zynq-uart: Fix set_attributes implementation

2020-12-03 Thread Kinsey Moore
From: Gedare Bloom Sent: Thursday, December 3, 2020 10:43 To: Sebastian Huber Cc: Kinsey Moore ; devel@rtems.org Subject: Re: [PATCH v3] zynq-uart: Fix set_attributes implementation On Thu, Dec 3, 2020 at 8:32 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: On

RE: [PATCH v3] zynq-uart: Fix set_attributes implementation

2020-12-03 Thread Kinsey Moore
From: Gedare Bloom Sent: Thursday, December 3, 2020 12:51 To: Kinsey Moore Cc: devel@rtems.org Subject: Re: [PATCH v3] zynq-uart: Fix set_attributes implementation On Thu, Dec 3, 2020 at 9:46 AM Gedare Bloom mailto:ged...@rtems.org>> wrote: On Thu, Dec 3, 2020 at 8:25 AM Kinsey

[PATCH v4] zynq-uart: Fix set_attributes implementation

2020-12-03 Thread Kinsey Moore
The zynq-uart set_attributes implementation was configured to always return false which causes spconsole01 to fail. This restores the disabled implementation which sets the baud rate registers appropriately and allows spconsole01 to pass. This also expands the set_attributes functionality to allow

[PATCH v1] spec: Move zynq-uart into its own object

2020-12-03 Thread Kinsey Moore
Currently, zynq-uart code is always built and has some requirements for BSPs that use it. Instead of making all BSPs satisfy that requirement or working around it by setting defaults, this moves the zynq-uart code into its own spec build object so it can be included if needed. --- bsps/include/dev

  1   2   3   4   5   6   7   8   9   10   >