| d2e00eea | 19-Mar-2024 |
Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com> |
refactor(xilinx): console registration through console holder structure
Refactored register_console using console holder structure as input. Structure holds console scope and console type as additio
refactor(xilinx): console registration through console holder structure
Refactored register_console using console holder structure as input. Structure holds console scope and console type as additional members. These modifications enhance code readability and maintainability, contributing to a clearer and more sustainable codebase for future development.
Change-Id: I7fcc1accfdecdacc205d427a80031536c456638e Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
show more ...
|
| 09a02ce0 | 18-Mar-2024 |
Prasad Kummari <prasad.kummari@amd.com> |
feat(zynqmp): add DTB console to platform.mk
In the platform.mk file, new console types named dtb are to be created a macro, ZYNQMP_CONSOLE_ID_dtb, will be introduced to check DT console. Users will
feat(zynqmp): add DTB console to platform.mk
In the platform.mk file, new console types named dtb are to be created a macro, ZYNQMP_CONSOLE_ID_dtb, will be introduced to check DT console. Users will have the option to select ZYNQMP_CONSOLE to dtb, which will run from the DDR address. The address XILINX_OF_BOARD_DTB_ADDR needs to be provided. This configuration will register the DT console in TF-A. Flags for the ZynqMP platform and other AMD-Xilinx platforms will be updated to utilize common code.
Change-Id: If74da4a80196575335c9d5562e6d8cd12d99561c Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
show more ...
|
| 4557ab69 | 14-Mar-2024 |
Prasad Kummari <prasad.kummari@amd.com> |
feat(zynqmp): 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
feat(zynqmp): 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: I32913dede3d87109e54d179e7d99f45c33b9097b Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
show more ...
|
| d989229b | 08-Mar-2024 |
Prasad Kummari <prasad.kummari@amd.com> |
refactor(xilinx): create generic function for DT console
The code in dt_console_init() has been refactored into multiple functions to establish a more generic approach for retrieving UART informatio
refactor(xilinx): create generic function for DT console
The code in dt_console_init() has been refactored into multiple functions to establish a more generic approach for retrieving UART information from DT. These modifications enhance code readability and maintainability, contributing to a clearer and more sustainable codebase for future development.
Change-Id: I877b7ae484bbf2f5919f3c79e5ae650bb93e3037 Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
show more ...
|
| f84a4c5c | 07-Mar-2024 |
Prasad Kummari <prasad.kummari@amd.com> |
refactor(xilinx): rename setup_runtime_console to generic
The setup_runtime_console() function is renamed to register_console() for the purpose of reusing it in the registration of the console.
Cha
refactor(xilinx): rename setup_runtime_console to generic
The setup_runtime_console() function is renamed to register_console() for the purpose of reusing it in the registration of the console.
Change-Id: I6b340423169aa6794d07502dadab65c3f0209339 Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
show more ...
|
| a542b9c1 | 07-Mar-2024 |
Prasad Kummari <prasad.kummari@amd.com> |
chore(xilinx): rename console variables
Updates variable names to follow a more consistent and descriptive naming.
These changes improve code readability and maintainability, making the codebase mo
chore(xilinx): rename console variables
Updates variable names to follow a more consistent and descriptive naming.
These changes improve code readability and maintainability, making the codebase more understandable and maintainable for future development.
Change-Id: I3fff8fe371f9d4d3489ffe62cbf721381403fef5 Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
show more ...
|
| 9a0f5d12 | 01-Jul-2024 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
feat(xilinx): add feature check function for TF-A specific APIs
Currently, there is common feature check function for firmware APIs and TF-A specific APIs. This should be separate from firmware APIs
feat(xilinx): add feature check function for TF-A specific APIs
Currently, there is common feature check function for firmware APIs and TF-A specific APIs. This should be separate from firmware APIs. So add new TF-A API for feature check of TF-A specific APIs.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I5585d17fb6aa1e98989d935117cca10bdb85133e
show more ...
|
| 4661c8f5 | 24-Jun-2024 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
feat(xilinx): update TF-A to passthrough all PLM commands
Currently, the IDs used in PLM CMD header are mixed with SMC IDs in TF-A which is restricting the range of IDs that can be used by PLM. Also
feat(xilinx): update TF-A to passthrough all PLM commands
Currently, the IDs used in PLM CMD header are mixed with SMC IDs in TF-A which is restricting the range of IDs that can be used by PLM. Also, the SMC call from firmware driver is passing all 7 32-bit words in request but TF-A is not passing all of them to firmware and TF-A passes only 4 32-bit words from firmware to Linux in response.
So, update TF-A to passthrough all PLM commands by having a single fixed SMC ID for all PLM commands and keep the PLM header in subsequent SMC arguments. Also, enhance size of payload argument count to support maximum payloads in request and response buffers to transmit all the IPI command properly.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I2601caba849bce3f294177b63baa1ad688e3c5bb
show more ...
|
| c3ffa4c5 | 27-May-2024 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(xilinx): handle power down event if SGI not registered
Currently, if SGI is not registered by Linux and power down event from firmware is received then it's not getting handled in TF-A and core
fix(xilinx): handle power down event if SGI not registered
Currently, if SGI is not registered by Linux and power down event from firmware is received then it's not getting handled in TF-A and core power down is not happening. Because of that subsystem restart or force power down without Linux boot is not happening. So, handle power down event in TF-A if Linux not registered SGI.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I0c23792daba6ae47004ae99e232c77e17230bcfb
show more ...
|
| a3b0a342 | 22-May-2024 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(xilinx): register for idle callback
Currently, only Linux registering for getting idle callback during subsystem restart or force power down. Because of that if Linux boot hang or someone wants
fix(xilinx): register for idle callback
Currently, only Linux registering for getting idle callback during subsystem restart or force power down. Because of that if Linux boot hang or someone wants to do subsystem restart before Linux boot then it's not working. So, register for idle callback in TF-A to get idle callback during subsystem restart or force power down to do ARM specific steps for proper power down of core.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: If7c01f79be6958678243be844bcfdc50d59b0fb8
show more ...
|