- Sep 20, 2022
-
-
Michal Simek authored
New SoC is a78 based with gicv3 and uart over pl011. Communication interfaces are similar to Versal platform. System starts with Xilinx PLM firmware which loads TF-A(bl31) to DDR, which is already configured, and jumps to it. PLM also prepare handoff structure for TF-A with information what components were load and flags which indicate which EL level SW should be started. Signed-off-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Akshay Belsare <Akshay.Belsare@amd.com> Change-Id: I2a16c242a77be6c91be3d198727dc3b9bbb97410
-
- Sep 19, 2022
-
-
Michal Simek authored
Add description for Versal NET SoC. Signed-off-by:
Michal Simek <michal.simek@amd.com> Signed-off-by:
Akshay Belsare <Akshay.Belsare@amd.com> Change-Id: Idcbb893c6b9e46512308c53ba2a0bee48a022b0a
-
- Sep 16, 2022
-
-
Joanna Farley authored
-
Joanna Farley authored
* changes: feat(zynqmp): add support for ProvenCore feat(services): add a SPD for ProvenCore feat(gic): add APIs to raise NS and S-EL1 SGIs
-
Manish V Badarkhe authored
* changes: feat(sgi): enable css implementation of warm reset feat(scmi): send powerdown request to online secondary cpus feat(plat/arm/css): add interrupt handler for reboot request refactor(psci): move psci_do_pwrdown_sequence() out of private header feat(plat/arm/css): add per-cpu power down support for warm reset feat(scmi): set warm reboot entry point fix(gicv3): update the affinity mask to 8 bit
-
- Sep 15, 2022
-
-
Jeremie Corbier authored
ProvenCore requires secure SGIs to be handled at S-EL1. This patch overrides the default ZynqMP configuration to handle them at EL3 in case ProvenCore SPD is enabled. Signed-off-by:
Jeremie Corbier <jeremie.corbier@provenrun.com> Signed-off-by:
Mélanie Favre <melanie.favre@provenrun.com> Change-Id: I2e36d2983f82fbb9b7acf7e18791b8ed92811b60
-
Florian Lugou authored
Adds a dispatcher for ProvenCore based on the test secure payload dispatcher. Signed-off-by:
Florian Lugou <florian.lugou@provenrun.com> Change-Id: I978afc3af6a6f65791655685a7bc80070673c9f3
-
Pranav Madhu authored
Enable the CSS implementation of the warm reset for the rdn2 platform. In addition to these changes, fix coding style issues that are not directly related to the code being introduced in this patch. Change-Id: I75128d8bbcccbc26cf1e904691c7ef71349c622f Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Pranav Madhu authored
To initiate a reset or reboot, the nonsecure OS invokes the PSCI SYSTEM_RESET function from any one core. As per the PSCI specification, it is the responsibility of firmware to implement the system view of the reset or reboot operation. For the platforms supported by CSS, trigger the reset/reboot operation by sending an SGI to rest all CPUs which are online. The CPUs respond to this interrupt by initiating its powerdown sequence. In addition to these changes, fix coding style issues that are not directly related to the code being introduced in this patch. Change-Id: I547253ee28ef7eefa78180d016893671a406bbfa Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Pranav Madhu authored
Add platform specific interrupt handler for handling the reboot of all CPU's. On shutdown/reboot, only one CPU invoke PSCI and enter into trusted firmware. The CPU which entered trusted firmware signals the rest of the cores which are online using SGI to initiate power down sequence. On receiving the SGI, the handler will power down the GIC redistributor interface of the respective core, configure the power control register and power down the CPU by executing wfi. In addition to these changes, fix coding style issues that are not directly related to the code being introduced in this patch. Change-Id: I4917dfdc47be5ce7367bee629486a6344cdd706f Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Pranav Madhu authored
Move the psci_do_pwrdown_sequence() function declaration from PSCI private header to common header. The psci_do_pwrdown_sequence is required to support warm reset, where each CPU need to execute the powerdown sequence. Change-Id: I298e7a120be814941fa91c0b001002a080e56263 Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Pranav Madhu authored
Add a new function to setup a SGI interrupt that will be used to trigger a request for per-cpu power down when executing the PSCI SYSTEM_RESET request. This will be used on CSS platform that require all the CPUs to execute the CPU specific power down sequence to complete a warm reboot sequence in which only the CPUs are power cycled. Change-Id: I80da0f6c3cd0c5c442c82239ba1e1f773821a7f5 Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Pranav Madhu authored
Before issuing the system power down command, set the trusted mailbox to 0. This will ensure that in the case of a warm/cold reset, the primary CPU executes from the cold boot sequence, clearing any stale jump address at this location. Change-Id: I491ef5baf7a6728acd7e90e4558939ba77b8f9bf Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Pranav Madhu authored
The GIC ICC_SGI0R_EL1 register's affinity fields are 8bit wide for GIC v3 and v4. Fix the SGIR_AFF_MASK variable accordingly. Change-Id: I09f3fdd006708b40162776620f82abcfc6c3f782 Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Manish Pandey authored
-
Manish Pandey authored
-
Manish Pandey authored
-
Joanna Farley authored
-
Joanna Farley authored
-
- Sep 14, 2022
-
-
Tanmay Shah authored
If primary core is down, then IPI interrupt should be routed to another core for processing. Signed-off-by:
Tanmay Shah <tanmay.shah@amd.com> Change-Id: I01d7c4232a18c0c3b3f3f9ddadfa6ff5bd2f2471
-
J-Alves authored
The script 'sp_mk_generator.py' was reworked in [1]. There was a reference the variable 'data' left. This variable 'data' used to refer to the json data of a the sp layout file. This patch fixed the reference with the proper variable according to the rework [1]. [1] https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=a96a07bfb66b7d38fe3da824e8ba183967659008 Signed-off-by:
J-Alves <joao.alves@arm.com> Change-Id: I9ddbfa8d55a114bcef6997920522571e070fc7d2
-
Florian Lugou authored
This patch adds two helper functions: - plat_ic_raise_ns_sgi to raise a NS SGI - plat_ic_raise_s_el1_sgi to raise a S-EL1 SGI Signed-off-by:
Florian Lugou <florian.lugou@provenrun.com> Change-Id: I6f262dd1da1d77fec3f850eb74189e726b8e24da
-
Varun Wadekar authored
ICC_SRE_EL2 has only 4 bits, while others are RES0. The library programs all four of them already, so there is no need to read the previous settings from the actual register. This patch removes the explicit register read as a result. Signed-off-by:
Varun Wadekar <vwadekar@nvidia.com> Change-Id: Iff0cb3b0d6fd85e5ae891068e440d855973a1c5e
-
Manish V Badarkhe authored
* changes: fix(morello): dts: remove #a-c and #s-c from memory node fix(morello): dts: fix GICv3 compatible string fix(morello): dts: fix DT node naming fix(morello): dts: fix SCMI shmem/mboxes grouping fix(morello): dts: use documented DPU compatible string fix(morello): dts: fix DP SMMU IRQ ordering fix(morello): dts: fix SMMU IRQ ordering fix(morello): dts: add model names fix(morello): dts: fix stdout-path target
-
Joanna Farley authored
* changes: fix(xilinx): update define for ZynqMP specific functions fix(xilinx): remove unnecessary header include fix(xilinx): include missing header
-
Joanna Farley authored
* changes: chore(zynqmp): fix comment style in zynqmp_def.h chore(versal): add missing dot at the end of sentence fix(zynqmp): remove additional 0x in %p print fix(versal): fix Misra-C violations in bl31_setup and pm_svc_main
-
Rajan Vaja authored
Instead of exclude code for Versal, define only for ZynqMP. For new platforms this code should be excluded so instead of excluding for all platform, define only for ZynqMP. Signed-off-by:
Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: I45798dadc0f374c5794f517f7d0158675a75caa9
-
Rajan Vaja authored
Platform specific IPI header inclusion is not required in common IPI source file. So remove inclusion of the same. Signed-off-by:
Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: I6686757f00370c6ec42b5ee2c44ea5cd13da70c0
-
Rajan Vaja authored
pm_ipi.h needs some definitions from stddef.h so include it. Currently it is working because required file is included indirectly due to other includes. Signed-off-by:
Rajan Vaja <rajan.vaja@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: Ic4a6c469c3152e21eaeb365ba96f3a29f14593bf
-
Michal Simek authored
Add missing space in one line comment to follow common coding style. Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: Idebf8f34bf48444ee20a68ac3e6fd7f5a41bf8b0
-
Michal Simek authored
Add missing dot at the end of sentence. Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: I356e65fd8c572c12795e3492dd02d73f48cb4b67
-
Michal Simek authored
%p is already printing value in hex that's why 0x prefix is not needed. Origin message looks like this "NOTICE: Can't read DT at 0x0x100000" and after fixing "NOTICE: Can't read DT at 0x100000" Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: If83c485a61441f6105d8cbd797f04060dfce2817
-
Michal Simek authored
Fix some Misra-C violations. The similar fixes were done by commit eb0d2b17 ("fix(zynqmp): resolve misra R15.6 warnings") and commit dd1fe717 ("fix(zynqmp): resolve misra R14.4 warnings"). Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: I3ffa92724a09871f7f99c9ac6c326994c165e9bd
-
Joanna Farley authored
-
- Sep 13, 2022
-
-
Bipin Ravi authored
-
Tanmay Shah authored
GICD reg write must complete before core goes to idle mode. Achieve this with dsb() barrier instruction in IPI ISR Signed-off-by:
Tanmay Shah <tanmay.shah@amd.com> Change-Id: I5af42ca901567ee5e54a5434ebe3e673a92cb9be
-
Michal Simek authored
The commit 389594df ("fix(zynqmp): move bl31 with DEBUG=1 back to OCM") tried to move address to OCM but address was actually out of OCM and likely it was typo. Correct default address should be 0xfffe5000. If TF-A size is bigger please select location DDR which should be fine for DEBUG cases. Reported-by:
Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: I055f3a59cdca527f6029fcc2a19d76be35924d24
-
Jay Buddhabhatti authored
Update TZ_VERSION macro name to generic macro name and move to common header file so that it can be used for keystoneb. Signed-off-by:
Jay Buddhabhatti <jay.buddhabhatti@xilinx.com> Acked-by:
Tanmay Shah <tanmay.shah@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@amd.com> Change-Id: Ic3819eea78b6c7b51ffaa13081026dd191b76125
-
Joanna Farley authored
* changes: feat(versal): add infrastructure to handle multiple interrupts fix(versal): add SGI register call version check
-
Joanna Farley authored
-