Re: [PATCH v1 0/8] Add AArch64 libdebugger support

2021-10-29 Thread Chris Johns
On 30/10/21 8:17 am, Kinsey Moore wrote: > This patch set adds libdebugger support to AArch64 and resolves several > bugs found along the way. Looks good and OK to push. Kinsey. really nice work :) Thanks Chris ___ devel mailing list devel@rtems.org ht

[PATCH v1 8/8] cpukit/aarch64: Add libdebugger support

2021-10-29 Thread Kinsey Moore
This adds support for libdebugger under AArch64 using software breakpoints and the single-step execution mode present in all AArch64 CPUs. --- bsps/aarch64/include/bsp/aarch64-mmu.h | 11 + cpukit/libdebugger/rtems-debugger-aarch64.c | 1884 +++ spec/build/cpukit/libdebugger

[PATCH v1 3/8] cpukit/aarch64: Use correct debug register names

2021-10-29 Thread Kinsey Moore
The N used in the breakpoint and watchpoint register names is intended to be an integer between 0 and 15 (inclusive) and will not compile when used as is. This adds the accessors necessary to access all of these breakpoint and watchpoint registers. --- .../rtems/score/aarch64-system-registers.h

[PATCH v1 7/8] bsps/aarch64: Mask debug events from startup

2021-10-29 Thread Kinsey Moore
Debug events should be masked at least until after the first context switch and should usually be masked until a debugger is attached for application debugging. --- bsps/aarch64/shared/start/start.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/aarch64/shared/start/s

[PATCH v1 6/8] bsps/aarch64: Set interrupt level correctly

2021-10-29 Thread Kinsey Moore
The existing code is functional but inccorrect and blindly modifies the other masking bits. It is important to preserve those other bits since they control masking of important system events. --- bsps/aarch64/include/dev/irq/arm-gic-arch.h | 2 +- cpukit/score/cpu/aarch64/cpu.c | 16

[PATCH v1 4/8] aarch64: Break out MMU definitions

2021-10-29 Thread Kinsey Moore
This moves the AArch64 MMU memory type definitions into cpukit for use by libdebugger since remapping of memory is required to insert software breakpoints. --- bsps/aarch64/include/bsp/aarch64-mmu.h| 40 +--- bsps/aarch64/shared/mmu/vmsav8-64-nommu.c | 49 ++ bsps/aarch64/s

[PATCH v1 5/8] bsps/aarch64: Add missing MMU map recursion check

2021-10-29 Thread Kinsey Moore
Certain input parameters for MMU mapping operations could cause an infinite recursion if block end boundaries didn't align to 4k. This ensures that recursion descent does not exceed 2 levels and instead rounds up to the nearest 4k block if necessary. --- bsps/aarch64/include/bsp/aarch64-mmu.h | 9

[PATCH v1 2/8] cpukit/libdebugger: Use uintptr_t for pointers

2021-10-29 Thread Kinsey Moore
Use uintptr_t instead of DB_UINT when the variable in question describes a pointer. --- cpukit/libdebugger/rtems-debugger-i386.c| 12 ++-- cpukit/libdebugger/rtems-debugger-target.c | 2 +- cpukit/libdebugger/rtems-debugger-target.h | 10 +- cpukit/libdebugger/rtems-debugger

[PATCH v1 1/8] cpukit: Compare the function result

2021-10-29 Thread Kinsey Moore
Compare the function result instead of the function pointer for non-SMP builds. --- cpukit/score/src/exceptionmapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/score/src/exceptionmapping.c b/cpukit/score/src/exceptionmapping.c index 1baa047eb7..19f04cc31d 100644

[PATCH v1 0/8] Add AArch64 libdebugger support

2021-10-29 Thread Kinsey Moore
This patch set adds libdebugger support to AArch64 and resolves several bugs found along the way. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH v4 0/5] Exception extensions

2021-10-29 Thread Kinsey Moore
On 10/29/2021 10:42, Sebastian Huber wrote: On 28/10/2021 23:11, Kinsey Moore wrote: Updates from previous patch set: * moved raise to a post-switch action * prevented mapping from occurring before the first context switch * adjusted the api according to suggestions Thanks, the patch set looks

Re: [PATCH v4 0/5] Exception extensions

2021-10-29 Thread Sebastian Huber
On 28/10/2021 23:11, Kinsey Moore wrote: Updates from previous patch set: * moved raise to a post-switch action * prevented mapping from occurring before the first context switch * adjusted the api according to suggestions Thanks, the patch set looks good. -- embedded brains GmbH Herr Sebastia

Flight Software Workshop Call for Abstracts (2 weeks)

2021-10-29 Thread Joel Sherrill
Hi I apologize if this is a bit mangled. The mail I received was heavily HTML and I sanitized it to this. The URL included is the best place to go for information. :) This year's Workshop will be held February 7-10, 2022! It's free for attendees and all-virtual. Only two weeks away from the abst

[PATCH] score: Simplify _Scheduler_Generic_block()

2021-10-29 Thread Sebastian Huber
If we block the executing thread and it is not the heir thread, then there is no need to run the schedule operation. The scheduler already selected a new heir. --- cpukit/include/rtems/score/schedulerimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/include/rtems/s