| #
e44fa642 |
| 22-Aug-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_runtime_console" into integration
* changes: fix(versal2): runtime console in debug mode fix(versal-net): runtime console in debug mode fix(versal): runtime cons
Merge changes from topic "xlnx_runtime_console" into integration
* changes: fix(versal2): runtime console in debug mode fix(versal-net): runtime console in debug mode fix(versal): runtime console in debug mode fix(zynqmp): runtime console in debug mode
show more ...
|
| #
18283e6d |
| 14-Aug-2025 |
Prasad Kummari <prasad.kummari@amd.com> |
fix(versal-net): runtime console in debug mode
Whenever DEBUG is set to 1, the Makefile forces CONSOLE_RUNTIME to pl011, regardless of the user-specified VERSAL_NET_CONSOLE value. This causes a buil
fix(versal-net): runtime console in debug mode
Whenever DEBUG is set to 1, the Makefile forces CONSOLE_RUNTIME to pl011, regardless of the user-specified VERSAL_NET_CONSOLE value. This causes a build requested with VERSAL_NET_CONSOLE=pl011_1 to register both pl011_1 and pl011 as boot and runtime consoles. If the hardware is connected only to UART1, this causes TF-A to hang when UART0 is selected as the runtime console, since it waits indefinitely on the transmit FIFO. The fix ensures that, in a DEBUG build, CONSOLE_RUNTIME defaults to the same value as VERSAL_NET_CONSOLE.
Change-Id: Icad043a61f9d90480a8aceab701a5791d26e3d70 Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
show more ...
|
| #
baf2e39f |
| 08-Aug-2025 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes I61d77211,I9cb5c1fa,I8e8a92fd into integration
* changes: refactor(gicv3): clarify redistributor base address usage with USE_GIC_DRIVER=3 fix(gicv3): remove plat_gicv3_base.c ref
Merge changes I61d77211,I9cb5c1fa,I8e8a92fd into integration
* changes: refactor(gicv3): clarify redistributor base address usage with USE_GIC_DRIVER=3 fix(gicv3): remove plat_gicv3_base.c refactor(versal-net): use the generic GIC driver
show more ...
|
| #
8a4a551c |
| 30-Jun-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor(versal-net): use the generic GIC driver
With the introduction of USE_GIC_DRIVER, platforms no longer have to do their own GIC management for basic PSCI-related operations. Previously a half
refactor(versal-net): use the generic GIC driver
With the introduction of USE_GIC_DRIVER, platforms no longer have to do their own GIC management for basic PSCI-related operations. Previously a half-measure was possible by using plat_gicv3_base.c to get semi-generic helpers which versal_net uses.
Since USE_GIC_DRIVER is based on plat_gicv3_base.c, convert the platform to use that so its code is more generic. Expected benefits are slightly better performance around calling the gic hooks on cpu suspend and less platform code.
Change-Id: I8e8a92fd4111e4a83c7a34bc5255d924bc54e769 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| #
13304d30 |
| 29-Apr-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge "feat(versal-net): add SDEI support" into integration
|
| #
10510c98 |
| 10-Apr-2025 |
Amit Nagal <amit.nagal@amd.com> |
feat(versal-net): add SDEI support
Add basic SDEI support with following configuration settings: - SGI 8 as the source IRQ. - Special Private event 0. - One private and shared dynamic event used in
feat(versal-net): add SDEI support
Add basic SDEI support with following configuration settings: - SGI 8 as the source IRQ. - Special Private event 0. - One private and shared dynamic event used in tftf verification for SDEI support. - SDEI support is off by default.
Change-Id: I7cfafb84c3fc053ec67258698cf749e63486fe18 Signed-off-by: Amit Nagal <amit.nagal@amd.com>
show more ...
|
| #
139a5d05 |
| 18-Apr-2025 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes I86959e67,I0b0d1d36,I5b5267f4,I056c8710,I3474aa97 into integration
* changes: chore: fix preprocessor checks refactor: convert arm platforms to use the generic GIC driver refacto
Merge changes I86959e67,I0b0d1d36,I5b5267f4,I056c8710,I3474aa97 into integration
* changes: chore: fix preprocessor checks refactor: convert arm platforms to use the generic GIC driver refactor(gic): promote most of the GIC driver to common code refactor: make arm_gicv2.c and arm_gicv3.c common refactor(fvp): use more arm generic code for gicv3
show more ...
|
| #
35d18d8d |
| 07-Jan-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor: make arm_gicv2.c and arm_gicv3.c common
These files were meant to be platform specific, but they are generic enough that a range of platforms find them useful. However, refactoring them is
refactor: make arm_gicv2.c and arm_gicv3.c common
These files were meant to be platform specific, but they are generic enough that a range of platforms find them useful. However, refactoring them is difficult as their use is platform specific. So copy them to a generic place and redirect platforms to them.
The new copies will remain for compatibility for platforms that don't want to or can't take up upcoming refactors and the old copies can be drastically refactored to make them more widely applicable.
Change-Id: I056c8710cdda4d8a81b324d392762c29e02cdae1 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| #
7a6230c1 |
| 17-Feb-2025 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_fix_plat_ret_dt_tl" into integration
* changes: fix(versal2): pass tl address to bl32 fix(xilinx): runtime console to handle dt failure refactor(xilinx): refacto
Merge changes from topic "xlnx_fix_plat_ret_dt_tl" into integration
* changes: fix(versal2): pass tl address to bl32 fix(xilinx): runtime console to handle dt failure refactor(xilinx): refactor console to support transfer list chore(xilinx): propagate error code feat(versal2): retrieve DT address from transfer list chore(versal2): move xfer-list file paths fix(versal2): update transfer list as optional
show more ...
|
| #
4c5cf47f |
| 04-Dec-2024 |
Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> |
refactor(xilinx): refactor console to support transfer list
Refactor console to support DTB console in case of transfer list. Simplify logic where SOC specific macros are moved to platform headers o
refactor(xilinx): refactor console to support transfer list
Refactor console to support DTB console in case of transfer list. Simplify logic where SOC specific macros are moved to platform headers or makefile where XLNX_DT_CFG macro describe if system is DT driven or not.
Change-Id: Id45c03a950b62e83e91a50e0485eacdb233ba745 Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| #
8ee65344 |
| 16-Oct-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_fix_plat_console_changes" into integration
* changes: feat(xilinx): add none console feat(versal2): add dtb & runtime console feat(versal-net): add DTB console t
Merge changes from topic "xlnx_fix_plat_console_changes" into integration
* changes: feat(xilinx): add none console feat(versal2): add dtb & runtime console feat(versal-net): add DTB console to platform.mk feat(versal-net): dedicate console for boot and runtime feat(versal): add DTB console to platform.mk feat(versal): dedicate console for boot and runtime refactor(xilinx): register runtime console directly refactor(xilinx): console registration through console holder structure feat(zynqmp): add DTB console to platform.mk feat(zynqmp): dedicate console for boot and runtime fix(xilinx): dcc to support runtime console scope refactor(xilinx): create generic function for DT console refactor(xilinx): rename setup_runtime_console to generic chore(xilinx): rename console variables chore(xilinx): rename runtime console to DT console
show more ...
|
| #
6d413983 |
| 10-Sep-2024 |
Michal Simek <michal.simek@amd.com> |
feat(xilinx): add none console
None console does not register boot and runtime console. User will not observe any console logs.
Change-Id: I39877c900f399ae7cffc1bb599b30c7a23888fc8 Signed-off-by: M
feat(xilinx): add none console
None console does not register boot and runtime console. User will not observe any console logs.
Change-Id: I39877c900f399ae7cffc1bb599b30c7a23888fc8 Signed-off-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
show more ...
|
| #
d61ba95e |
| 20-Mar-2024 |
Prasad Kummari <prasad.kummari@amd.com> |
feat(versal-net): add DTB console to platform.mk
In the platform.mk file, new console types named dtb are to be created a macro, VERSAL_NET_CONSOLE_ID_dtb, will be introduced to check DT console.Use
feat(versal-net): add DTB console to platform.mk
In the platform.mk file, new console types named dtb are to be created a macro, VERSAL_NET_CONSOLE_ID_dtb, will be introduced to check DT console.Users will have the option to select VERSAL_NET_CONSOLE to dtb, which will run from the DDR address and OCM. The address XILINX_OF_BOARD_DTB_ADDR needs to be provided. This configuration will register the DT console in TF-A
Change-Id: I530492c3f48705387e50895aef4bf229a82d350d Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
show more ...
|
| #
28ad0e02 |
| 20-Mar-2024 |
Prasad Kummari <prasad.kummari@amd.com> |
feat(versal-net): dedicate console for boot and runtime
Introduce a build-time parameter (CONSOLE_RUNTIME) to select separate runtime console options. For boot-time console, remove the runtime flag
feat(versal-net): dedicate console for boot and runtime
Introduce a build-time parameter (CONSOLE_RUNTIME) to select separate runtime console options. For boot-time console, remove the runtime flag and add a boot/crash flag. Additionally, introduce an RT_CONSOLE_IS macro to check different UART types.
Implement a common function, console_runtime_init(), to initialize the runtime console. Ensure that all platforms have access to this feature.
The current implementation utilizes a single console for boot, crash, and runtime. Make sure that the dedicated console integrates into runtime and crash scenarios
Change-Id: I49b8554c0f067c85eb693e039a0cf17c5e6794ce Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
show more ...
|
| #
fb02c4b2 |
| 26-Sep-2024 |
Yann Gautier <yann.gautier@st.com> |
Merge "fix(xilinx): fix comment about MEM_BASE/SIZE" into integration
|
| #
1e2a5e28 |
| 02-Aug-2024 |
Michal Simek <michal.simek@amd.com> |
fix(xilinx): fix comment about MEM_BASE/SIZE
Comment is not showing correct macro name that's why fix it.
Signed-off-by: Michal Simek <michal.simek@amd.com> Change-Id: I8bc38534309285af8a27ee43782e
fix(xilinx): fix comment about MEM_BASE/SIZE
Comment is not showing correct macro name that's why fix it.
Signed-off-by: Michal Simek <michal.simek@amd.com> Change-Id: I8bc38534309285af8a27ee43782e03e9d0470267
show more ...
|
| #
1064bc6c |
| 22-Jan-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "idling-during-subsystem-restart" into integration
* changes: fix(xilinx): add console_flush() before shutdown fix(xilinx): fix sending sgi to linux feat(xilinx): add
Merge changes from topic "idling-during-subsystem-restart" into integration
* changes: fix(xilinx): add console_flush() before shutdown fix(xilinx): fix sending sgi to linux feat(xilinx): add new state to identify cpu power down feat(xilinx): request cpu power down from reset feat(xilinx): power down all cores on receiving cpu pwrdwn req feat(xilinx): add handler for power down req sgi irq feat(xilinx): add wrapper to handle cpu power down req fix(versal-net): use arm common GIC handlers fix(xilinx): rename macros to align with ARM
show more ...
|
| #
ade92a64 |
| 25-Apr-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
feat(xilinx): add handler for power down req sgi irq
On receiving CPU power down callback, TF-A raises SGI interrupt to all active cores to power down each active cores. Add handler for this SGI IRQ
feat(xilinx): add handler for power down req sgi irq
On receiving CPU power down callback, TF-A raises SGI interrupt to all active cores to power down each active cores. Add handler for this SGI IRQ.
By default TF-A uses SGI 6 for CPU power down request. This can be configurable through CPU_PWRDWN_SGI build flag.
e.g., If user wants to use SGI 7 instead of SGI 6 then provide build flag CPU_PWRDWN_SGI=7
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: Id0df32187d1de3f0af4486eb4d4930cb3ab01dbd
show more ...
|
| #
b2259261 |
| 06-Oct-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): use arm common GIC handlers
Currently SGI interrupts are not received in secondary cores because of issue in GIC configuration. In current Versal NET specific GIC functions, redist
fix(versal-net): use arm common GIC handlers
Currently SGI interrupts are not received in secondary cores because of issue in GIC configuration. In current Versal NET specific GIC functions, redistributor configuration is not happening properly. Because of that SGI interrupt from one processor to another processor is not transferring. So, use common GIC handlers which will iterate over all GIC redistributor frames and discovers per cpu redistributor frame. Also, it initializes corresponding interface in GICv3.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I1433260b8520d6a315fdf5df86bd0688f92d211a
show more ...
|
| #
1c76dd2d |
| 05-Jan-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_set_freq" into integration
* changes: refactor(xilinx): move plat_get_syscnt_freq2 to common file refactor(versal-net): rename VERSAL_NET_IOU_SCNTRS register to ge
Merge changes from topic "xlnx_set_freq" into integration
* changes: refactor(xilinx): move plat_get_syscnt_freq2 to common file refactor(versal-net): rename VERSAL_NET_IOU_SCNTRS register to generic fix(versal-net): setup counter frequency fix(versal): initialize cntfrq_el0 register
show more ...
|
| #
07625d9d |
| 20-Dec-2023 |
Prasad Kummari <prasad.kummari@amd.com> |
fix(versal-net): setup counter frequency
Refactor the system counter configuration into the syscnt_freq_config_setup() function as it involves timestamp and system counter configuration, which requi
fix(versal-net): setup counter frequency
Refactor the system counter configuration into the syscnt_freq_config_setup() function as it involves timestamp and system counter configuration, which requires early configuration for clock setup and read the value of the IOU_SCNTRS_BASE_FREQ register using mmio_read_32() to determine the counter frequency.
If the counter frequency is zero, the system will set the default CPU clocks constants in TF-A and displays message. However, if the counter frequency is non-zero, the program will return the value stored in the IOU_SCNTRS_BASE_FREQ register.
The issue lies in dcc_status_timeout(),function verifying timeout status, particularly within timeout_cnt_us2cnt(), converting microseconds to counter ticks using read_cntfrq_el0(), which returns zero. timeout_elapsed() then checks if the current counter from read_cntpct_el0() exceeds the expiration count, reached to timeout.
After the function set_cnt_freq() writes into the counter frequency register, the function timeout_cnt_us2cnt() is used to obtain the appropriate counter ticks. Subsequently, the function timeout_elapsed() checks whether the current counter value read_cntpct_el0() has exceeded the specified expiration count. If it has, this indicates that the timeout has lapsed.
Change-Id: Ib9ed3493d22f23c832f8bb7d11c4f727fe1ebe3c Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
show more ...
|
| #
dcbc607d |
| 08-Dec-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "build(versal-net): reorganize platform source files" into integration
|
| #
4622da46 |
| 08-Nov-2023 |
Akshay Belsare <akshay.belsare@amd.com> |
build(versal-net): reorganize platform source files
Reorganize the platform source files necessary across various Bootloader (BL) configurations within the platform makefile. This reordering aims to
build(versal-net): reorganize platform source files
Reorganize the platform source files necessary across various Bootloader (BL) configurations within the platform makefile. This reordering aims to prevent redundant inclusions of these files across multiple makefiles used for distinct features.
Change-Id: I9c5525dd8522cb8c8e3ad6add70189dcb7cfcc29 Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
show more ...
|
| #
1684c8d6 |
| 06-Nov-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "enable_assertion" into integration
* changes: feat(zynqmp): enable assertion feat(versal-net): enable assertion feat(versal): enable assertion
|
| #
80cb4b14 |
| 30-Oct-2023 |
Amit Nagal <amit.nagal@amd.com> |
feat(versal-net): enable assertion
Retain assertions in release builds by building TF-A with ENABLE_ASSERTIONS=1. It helps to catch programming errors (e.g. bad argument provided by platform porting
feat(versal-net): enable assertion
Retain assertions in release builds by building TF-A with ENABLE_ASSERTIONS=1. It helps to catch programming errors (e.g. bad argument provided by platform porting function) in release builds as well. code size change is 4k. For debug builds, assertions are enabled by default. The same change is done by Tegra: plat/nvidia/tegra/platform.mk
Change-Id: I0db4b82d42d115866a3ed43933edbfc46ac7406a Signed-off-by: Amit Nagal <amit.nagal@amd.com>
show more ...
|