Commit Graph

36361 Commits

Author SHA1 Message Date
Sebastian Huber
39584528e9 bsps/arm: Improve GICv2 support
In addtion to 1023, the GICC_IAR register may return 1022 as a special value.
Simply check for a valid interrupt vector for the dispatching.

Check the GICC_IAR again after the dispatch to quickly process a next interrupt
without having to go through the interrupt prologue and epiloge.
2024-04-30 01:39:05 -04:00
Sebastian Huber
70029fc7be smptests/smpipi01: Fix sporadic test failure
Make sure that the last IPI is processed before the next test case is
carried out.
2024-04-30 01:39:05 -04:00
Sebastian Huber
a8ce68f002 smpmulticast01: Ignore SMP_FATAL_SHUTDOWN_RESPONSE
This fatal code is a part of the normal SMP termination procedure.
2024-04-30 01:39:05 -04:00
Sebastian Huber
2728023b24 testsuites/unit: Add tests for compiler builtins
On the arm target, __udivmoddi4() cannot be fully tested through normal
integer divisions.

Update #3716.
2024-04-30 01:39:05 -04:00
Ning Yang
b7a0e2a89b dev/clock: Move bcm2835-system-timer driver to shared space
This patch moves the bcm2835 system timer driver in the arm/raspberrypi directory to the shared directory and adjusts arm/raspberrypi BSP.
2024-04-30 01:39:05 -04:00
Sebastian Huber
087fc4351a bsps/xil-ttc: Improve clock driver
Make the clock driver parameters configurable.  Use the maximum counter
frequency to get the best time resolution.  Decouple the CPU counter from the
timecounter.  Make the tick catch up handling more robust.  Add a validation
test for the tick catch up.
2024-04-30 01:39:05 -04:00
Sebastian Huber
5a8e99546f bsps/xil-ttc: Add XIL_FATAL_TTC_IRQ_INSTALL 2024-04-30 01:39:05 -04:00
Sebastian Huber
42f86dfd75 bsps/xil-ttc: Use interrupt entry 2024-04-30 01:39:05 -04:00
Sebastian Huber
3f4fcc28df build: Install <rtems/score/processormaskimpl.h> 2024-04-30 01:39:05 -04:00
Sebastian Huber
83f0c0259b bsps: Include <rtems/score/processormaskimpl.h>
This fixes commit b678a199e499b6c3f0b453393434aefaee180423 for SMP
configurations.
2024-04-30 01:39:05 -04:00
Sebastian Huber
1d668054c0 bsp/qoriq: Do not build unused object 2024-04-30 01:39:05 -04:00
Sebastian Huber
237f8662ba score: Improve C/C++ standard compatibility
The processor mask implementation uses flsl() from <strings.h> which is
only BSD visible.  Move the implementation to a separate header file to
hide it from the API level.  This fixes build errors with GCC 14.
2024-04-30 01:39:05 -04:00
Sebastian Huber
7bc76732b0 validation: Fix powerpc in test case
The powerpc context switch restores the interrupt state.

Update #4955.
2024-04-30 01:39:05 -04:00
Bernd Moessner
b4c65f78a0 Fix: type-cast to wrong type 2024-04-30 01:39:05 -04:00
Amar Takhar
3d8ddd6230 Drop index.html from directory it loads by default.
Testing out the new approvers setup.

Refs administration/gitlab#35
2024-04-27 02:06:14 -04:00
Amar Takhar
e3429553ea Move to a toplevel approvers group.
approvers -> approvers/general
* -> approvers/*

Refs administration/gitlab#35
2024-04-27 01:27:48 -04:00
Amar Takhar
fb3d4a8f5a Add an additional line for consistency.
This is also to test the merge template which just sets the milestone.
2024-04-26 12:36:42 -04:00
Amar Takhar
64cdc31c2f Rename 'All Source' to 'General Approvers'
Makes it more clear who these approvers are.
2024-04-25 23:07:37 -04:00
Chris Johns
7db1948917 bsp/arm/zynq: Move README to README.md 2024-04-26 08:01:52 +10:00
Amar Takhar
3fc3a4f859 Convert README to MarkDown.
GitLab has it's own flavour and I've kept that in mind.

This greatly simplifies the document as well GitLab is quite a bit more verbose
than Trac was no need to replicate information.

This is just a first revision we can expand it as necessary.
2024-04-25 03:25:10 +00:00
Amar Takhar
5b5c4a05b9 Rename README to README.md
In preparation for moving to MarkDown.
2024-04-25 03:25:10 +00:00
Amar Takhar
bbe12d62a3 Switch from rtems to approvers group
Also bring down approvers limit to 1 for now so we can test.
2024-04-24 23:22:14 -04:00
Amar Takhar
912d757267 Remove section for testsuites.
It's covered by the global rule now.

I also did the foreign ticket reference wrong let's try it again

Ref administration/gitlab#6 and administration/gitlab#18
2024-04-24 15:29:16 -04:00
Amar Takhar
e89ff4a3c2 First attempt at requiring 2 approvers for all files.
Not sure if this is going to work at the moment.

Ref #6, #18 in administration/gitlab
2024-04-24 15:12:20 -04:00
Amar Takhar
92f3ac909a Fix typo.
Spotted by Gedare but it should also be OpenRISC 1000 and not or1k.
2024-04-20 23:07:23 -04:00
Amar Takhar
ebe0f58991 Fix typo in access list.
Unfortunately syntax checking only happens after the file is pushed no other
options.
2024-04-19 22:32:43 -04:00
Amar Takhar
e30bc81396 Setup to use groups instead of individual developers.
This will make it far easier to maintain rather than having to edit the file
constantly.
2024-04-19 22:31:45 -04:00
Amar Takhar
5e456fcca9 Try using a subgroup for ARM.
This uses the arch/arm subgroup.
2024-04-18 20:54:21 -04:00
Amar Takhar
67ba606931 Add the rest of the architectures to CODEOWNERS.
Also use glob where possible so we don't have to continuously add files.
2024-04-15 00:26:03 -04:00
Amar Takhar
195bdfef16 Remove ** from directories.
It's clearly not required not sure why the gitlab-org repo uses it.  I think
it's fine because * is a wildcard and ** is typically used for a recursive glob.
While it works it's not necessary.
2024-04-14 02:20:58 -04:00
Amar Takhar
0b81351900 Add ARM.
This also adds stubs in for the rest of the architectures and owners.

Note that any users not currently on our test instance aren't in here we will
have to add them after.
2024-04-14 02:00:21 -04:00
Amar Takhar
5b288dbc9d Add ** to glob all files below directory.
The GitLab documentation is not very clear about this.  I'm tryin gto use the
CODEOWNERS file from the gitlab-org project.
2024-04-14 00:17:29 -04:00
Amar Takhar
e6b3ae575c Fix owner names.
chrisj -> chris
kinsey -> opticron
2024-04-14 00:16:15 -04:00
Amar Takhar
710d90fbec Initial commit of CODEOWNERS
This will decide who is 'in charge' of what source code.

It also decides who is able to approve within the repository.
2024-04-13 22:42:47 -04:00
Amar Takhar
649f88320b Revert "First attempt at a default ticket template."
This reverts commit 7a03a30c15
2024-04-14 01:29:50 +00:00
Amar Takhar
7a03a30c15 First attempt at a default ticket template.
All templates in this directory will be set in the RTEMS namespace.
2024-04-13 21:09:37 -04:00
Sebastian Huber
53d092471f dev/serial: Add Zynq UART kernel I/O support
Replace the BSP_CONSOLE_MINOR BSP option for the Xilinx Zynq BSPs with the new
BSP option ZYNQ_UART_KERNEL_IO_BASE_ADDR.  Move the kernel I/O support to a
shared file.
2024-04-04 12:53:53 +02:00
Sebastian Huber
8ad3f92b9a dev/serial: Add ZYNQ_UART_[01]_BASE_ADDR
This helps to provide a shared implementation of the kernel I/O support.
2024-04-04 12:53:51 +02:00
Sebastian Huber
4c2da2c343 dev/serial: Simplify some Zynq UART functions
Make the initialization and polled functions independent of the Termios
context.  This helps to implement the kernel I/O support without a dependency
on the Termios framework.
2024-03-27 20:22:53 +01:00
Sebastian Huber
5b0e355ed7 bsps: Move declarations to <bsp/irq-generic.h>
Move declarations of bsp_interrupt_get_affinity() and
bsp_interrupt_set_affinity() to <bsp/irq-generic.h>.  Canonicalize the
<bsp/irq.h> includes.

Implement bsp_interrupt_get_affinity() and bsp_interrupt_set_affinity() only if
needed (usually RTEMS_SMP).

Provide stub implementations for i386 to fix build errors.
2024-03-27 20:20:38 +01:00
Sebastian Huber
1ef5fa07aa rtems: Avoid -Wundef warnings in API header 2024-03-23 10:56:25 +01:00
Sebastian Huber
1df822a922 Mark parameters as intentionally unused
The parameters are unused due to API constraints.  The functions are
used through function pointers.  Alternative implementations may use the
parameters.

Update #4862.
2024-03-22 08:12:22 +01:00
Sebastian Huber
1eed6f8bfc bsps: Avoid unused argument in clock interrupt
Pass the parameter of the clock interrupt handler to
Clock_driver_support_at_tick() and Clock_driver_timecounter_tick().  This makes
it possible to use the interrupt handler argument in clock drivers.

Use the interrupt handler provided by Clock_driver_support_install_isr() to
avoid local delarations of Clock_isr().

Update #4862.
2024-03-20 16:34:09 +01:00
Sebastian Huber
d62f299b34 Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0
Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal
to zero an error.

Update #4986.
2024-03-20 10:52:16 +01:00
Sebastian Huber
9e0bcd4fc7 score: Include missing header file
This fixes:

heap.c:268:3: warning: implicit declaration of function 'memset'
2024-03-20 10:52:16 +01:00
Sebastian Huber
e1cb8830b7 testsuites: Exclude JFFS2 NAND tests 2024-03-20 08:27:40 +01:00
Sebastian Huber
2f5a747dcc dev/irq: Optional arm_gic_irq_processor_count()
Provide arm_gic_irq_processor_count() only in SMP configurations.
2024-03-20 07:40:41 +01:00
Sebastian Huber
431e335e7e bsps: Add xilinx_zynqmp_lp64_a53 BSP variant
Add a BSP variant without a board-specific name.
2024-03-20 07:40:41 +01:00
Sebastian Huber
1e406690a5 bsps: Add xilinx_zynq_rpu BSP variant
Add a BSP variant without a board-specific name.
2024-03-20 07:40:41 +01:00
Sebastian Huber
8f4b9d6611 xilinx-zynqmp-rpu: Remove URLs from copyrights 2024-03-20 07:40:41 +01:00