| 8f9ba3f3 | 09-Feb-2023 |
Michal Simek <michal.simek@amd.com> |
feat(zynqmp): add SMCCC_ARCH_SOC_ID support
Add support for calling SMCCC_ARCH_SOC_ID which is used by Linux soc_id driver for printing information about manufacturer and also chip version and silic
feat(zynqmp): add SMCCC_ARCH_SOC_ID support
Add support for calling SMCCC_ARCH_SOC_ID which is used by Linux soc_id driver for printing information about manufacturer and also chip version and silicon ID code. SOC revision is directly mapped to chip ID code. And SOC version is composed from manufacturer ID based on JEP-106 with chip_id which contains bits mapped to CPU register 0xffca0044 platform bits which differentiate between silicon, qemu and other emulated platforms.
Function description is available at docs/getting_started/porting-guide.rst.
Change-Id: I1f19e1973593897e71b39244dbdbceb6bd0e8a07 Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| c1dd9e63 | 08-Feb-2023 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes I7bd311d7,Iea7dcfe3,I9d890934 into integration
* changes: refactor(allwinner): use fdt_node_is_enabled() in AXP driver fix(allwinner): check RSB availability in DT on H6 refactor
Merge changes I7bd311d7,Iea7dcfe3,I9d890934 into integration
* changes: refactor(allwinner): use fdt_node_is_enabled() in AXP driver fix(allwinner): check RSB availability in DT on H6 refactor(fdt): introduce common fdt_node_is_enabled()
show more ...
|
| 8c829a92 | 07-Feb-2023 |
Manish V Badarkhe <Manish.Badarkhe@arm.com> |
feat(spmd): map SPMC manifest region as EL3_PAS
Mapped SPMC manifest region as EL3_PAS so that it will get mapped as Root region in RME enabled system otherwise Secure region.
Change-Id: I1af5344d7
feat(spmd): map SPMC manifest region as EL3_PAS
Mapped SPMC manifest region as EL3_PAS so that it will get mapped as Root region in RME enabled system otherwise Secure region.
Change-Id: I1af5344d7516e948d5b3664bcdb94cdfc367cd78 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
show more ...
|
| 17797628 | 07-Feb-2023 |
Manish V Badarkhe <Manish.Badarkhe@arm.com> |
feat(fvp): update device tree with load addresses of TOS_FW config
Provided both the root and secure addresses for TOS_FW config in case of RME enabled systems where root address is in Root SRAM and
feat(fvp): update device tree with load addresses of TOS_FW config
Provided both the root and secure addresses for TOS_FW config in case of RME enabled systems where root address is in Root SRAM and secure address is in Trusted DRAM.
Non-RME systems are unaffected by this change.
Change-Id: Ifb927c90fa5a68fe5362980858b4ddc5403ac95b Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
show more ...
|
| f348aec1 | 07-Feb-2023 |
Manish V Badarkhe <Manish.Badarkhe@arm.com> |
refactor(fvp): rename the DTB info structure member
In line with the previous patch, the name of the member of the hw_config DTB info structure has been renamed.
Change-Id: I6689e416fecd66faa515e82
refactor(fvp): rename the DTB info structure member
In line with the previous patch, the name of the member of the hw_config DTB info structure has been renamed.
Change-Id: I6689e416fecd66faa515e820f1c4b23bcb65bfb1 Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
show more ...
|
| 034a2e3e | 01-Feb-2023 |
Raef Coles <raef.coles@arm.com> |
refactor(fiptool): move plat_fiptool.mk to tools
Move all plat_fiptool.mks into tools, change the logic to recursively check for tools/fiptool/plat_fiptool/<plat_path>/plat_fiptool.mk
I.e. for a pl
refactor(fiptool): move plat_fiptool.mk to tools
Move all plat_fiptool.mks into tools, change the logic to recursively check for tools/fiptool/plat_fiptool/<plat_path>/plat_fiptool.mk
I.e. for a platform that has the path "plat/arm/board/tc/platform.mk", the makefile will now load the first existing file from: - tools/fiptool/plat_fiptool/arm/board/tc/plat_fiptool.mk - tools/fiptool/plat_fiptool/arm/board/plat_fiptool.mk - tools/fiptool/plat_fiptool/arm/plat_fiptool.mk
This enables fiptool to support multiple platforms, or a specific one.
Remove file-copying previously being used to handle old default path. Remove custom file cleaning in plat_fiptool.mk.
Change-Id: I95245bcf7143b329481d4394ab64f29bfe9de5ab Signed-off-by: Raef Coles <raef.coles@arm.com>
show more ...
|
| 658b3154 | 01-Feb-2023 |
Andre Przywara <andre.przywara@arm.com> |
fix(allwinner): check RSB availability in DT on H6
At the moment we access the RSB bus on all Allwinner H6 boards unconditionally, even though some boards do not have any PMIC at all, while others h
fix(allwinner): check RSB availability in DT on H6
At the moment we access the RSB bus on all Allwinner H6 boards unconditionally, even though some boards do not have any PMIC at all, while others have some I2C devices connected to the same pins. The latter case is just fragile, but the first case leads to a hang on at least one board, as reported by Jernej.
Scan the devicetree, to check for the availability of the RSB bus node. Proceed only if the RSB DT node is actually enabled.
Change-Id: Iea7dcfe3e085e173334d098ec4ddcb6c4b085771 Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reported-by: Jernej Skrabec <jernej.skrabec@gmail.com>
show more ...
|
| 49b268ce | 03-Feb-2023 |
Andre Przywara <andre.przywara@arm.com> |
refactor(fdt): introduce common fdt_node_is_enabled()
There are several users in the tree which want to check whether a given FDT node is enabled or not: the "status" property holds that information
refactor(fdt): introduce common fdt_node_is_enabled()
There are several users in the tree which want to check whether a given FDT node is enabled or not: the "status" property holds that information. So far all those users provide private implementations, some of them having issues.
Export a generic implementation of that function in fdt_wrappers.h, as a "static inline" function to not increase code size. Also replace the existing implementation in Arm's fconf code, which had a tiny bug in needlessly using the property length: "status = [6f 6b 61 79 20];" would pass the check, where it should not. The proper solution is also simpler: status must be a string, and strings must be NUL-terminated in a DT. strcmp() would terminate on the first NUL in *either* of the two strings it compares, so it would never walk beyond the property boundary in the DTB.
Change-Id: I9d89093432f127c09add6cf5c93a725bc534e5de Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| d9248e85 | 03-Feb-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(versal-net): populate gic v3 rdist data statically" into integration |
| 1548e0e7 | 02-Feb-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_feat_chores" into integration
* changes: chore(xilinx): update print information feat(versal-net): add jtag dcc support |
| d6760c4d | 18-Jan-2023 |
Akshay Belsare <akshay.belsare@amd.com> |
chore(xilinx): update print information
Remove company name from the console messages while printing only relevant information for the platform.
Change-Id: Id8171326e0267eb6f3a26de4eb66143970de2dbd
chore(xilinx): update print information
Remove company name from the console messages while printing only relevant information for the platform.
Change-Id: Id8171326e0267eb6f3a26de4eb66143970de2dbd Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
show more ...
|
| e3df3ffa | 01-Feb-2023 |
Soby Mathew <soby.mathew@arm.com> |
Merge changes I1b092bc1,Ifc2461b4,I5176caa5 into integration
* changes: docs(rme): update RMM-EL3 Boot Manifest structure description feat(rme): read DRAM information from FVP DTB feat(rme): s
Merge changes I1b092bc1,Ifc2461b4,I5176caa5 into integration
* changes: docs(rme): update RMM-EL3 Boot Manifest structure description feat(rme): read DRAM information from FVP DTB feat(rme): set DRAM information in Boot Manifest platform data
show more ...
|
| 355dc3d4 | 24-Jan-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): populate gic v3 rdist data statically
Currently gicv3_rdistif_probe() is called per CPU. In case of maxcpus=1, only 1 core is initialized and gicr_base_addrs initialized for CPU 0 o
fix(versal-net): populate gic v3 rdist data statically
Currently gicv3_rdistif_probe() is called per CPU. In case of maxcpus=1, only 1 core is initialized and gicr_base_addrs initialized for CPU 0 only. Because of this assertion is raised during Linux system suspend.
During Linux suspend, platform callback saves GIC v3 state which internally invokes arm_gicv3_distif_pre_save(). This function tries to use gicr_base for all CPUs. Since GICR base address for secondary CPUs are not initialized, it raises assertion.
To fix the issue, populate GIC v3 rdist data statically (similar to Versal) instead of dynamically initializing GIC v3 rdist per CPU.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I98c97c03e451d05f4ebac358e197617ab9d9b71f
show more ...
|
| 30e8bc36 | 18-Jan-2023 |
Akshay Belsare <akshay.belsare@amd.com> |
feat(versal-net): add jtag dcc support
Add support for JTAG Debug Communication Channel(DCC), using the dcc console driver, for Versal NET platform. UART0/UART1 is not configured when the JTAG DCC i
feat(versal-net): add jtag dcc support
Add support for JTAG Debug Communication Channel(DCC), using the dcc console driver, for Versal NET platform. UART0/UART1 is not configured when the JTAG DCC is used as console for the platform. Though DCC is not using any UART, VERSAL_NET_UART_BASE needs to be defined in the platform code. If its not defined, build errors are observed. Now VERSAL_NET_UART_BASE by default points to UART0 base. Check for valid console(pl011, pl011_0, pl011_1, dcc) is being done in the platform makefile, the error condition in setting the value of VERSAL_NET_UART_BASE is redundant, thus the error message is removed from the code.
Change-Id: I1085433055abea13526230cff4d4183ff7a01477 Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
show more ...
|
| 82685904 | 29-Dec-2022 |
AlexeiFedorov <Alexei.Fedorov@arm.com> |
feat(rme): read DRAM information from FVP DTB
This patch builds on the previous patch by implementing support for reading NS DRAM layout of FVP model from HW_CONFIG Device tree.
Macro _RMMD_MANIFES
feat(rme): read DRAM information from FVP DTB
This patch builds on the previous patch by implementing support for reading NS DRAM layout of FVP model from HW_CONFIG Device tree.
Macro _RMMD_MANIFEST_VERSION is renamed to SET_RMMD_MANIFEST_VERSION to suppress MISRA-C "rule MC3R1.D4.5: (advisory) Identifiers in the same name space with overlapping visibility should be typographically unambiguous" warning
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com> Change-Id: Ifc2461b4441a1efdd4b7c656ab4d15e62479f77b
show more ...
|
| 3c24d222 | 30-Jan-2023 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "feat(morello): add support for HW_CONFIG" into integration |
| 4be8c099 | 11-Jan-2023 |
Loic Poulain <loic.poulain@linaro.org> |
perf(imx): speed-up console/uart TX using FIFO
The current putc version test for TXEMPTY bit set (#6) instead of waiting for TXFULL bit clear (#4), that slows the global boot time as we are not taki
perf(imx): speed-up console/uart TX using FIFO
The current putc version test for TXEMPTY bit set (#6) instead of waiting for TXFULL bit clear (#4), that slows the global boot time as we are not taking benefit of the 32-byte FIFO.
We then need to implement the flush function to be sure the transmit is complete (FIFO and shift register empty).
Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Change-Id: I54873a5203e2afdc230e44ce73284e7a80985b4f
show more ...
|
| be79071e | 14-Sep-2022 |
Patrik Berglund <patrik.berglund@arm.com> |
feat(morello): add support for HW_CONFIG
This patch add support to load HW_CONFIG in BL2 and pass it to bootloader stages BL31 and BL33.
Signed-off-by: Patrik Berglund <patrik.berglund@arm.com> Cha
feat(morello): add support for HW_CONFIG
This patch add support to load HW_CONFIG in BL2 and pass it to bootloader stages BL31 and BL33.
Signed-off-by: Patrik Berglund <patrik.berglund@arm.com> Change-Id: I646fabed83dbca5322a59a399de5194cfef474ad
show more ...
|
| 872d8656 | 23-Jan-2023 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "feat(rss): add TC platform UUIDs for RSS images" into integration |
| 344e5e81 | 19-Jan-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "feat_state_rework" into integration
* changes: feat(fvp): enable FEAT_HCX by default refactor(context-mgmt): move FEAT_HCX save/restore into C refactor(cpufeat): conv
Merge changes from topic "feat_state_rework" into integration
* changes: feat(fvp): enable FEAT_HCX by default refactor(context-mgmt): move FEAT_HCX save/restore into C refactor(cpufeat): convert FEAT_HCX to new scheme feat(fvp): enable FEAT_FGT by default refactor(context-mgmt): move FEAT_FGT save/restore code into C refactor(amu): convert FEAT_AMUv1 to new scheme refactor(cpufeat): decouple FGT feature detection and build flags refactor(cpufeat): check FEAT_FGT in a new way refactor(cpufeat): move helpers into .c file, rename FEAT_STATE_ feat(aarch64): make ID system register reads non-volatile
show more ...
|
| 96df1f1d | 18-Jan-2023 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(plat/css): fix invalid redistributor poweroff" into integration |
| 60719e4e | 16-Jan-2023 |
Waleed Elmelegy <waleed.elmelegy@arm.com> |
fix(plat/css): fix invalid redistributor poweroff
Commit 4d8c18196378824e388cf31ef991ba8fbbb09cbf introduced an invalid redistributor power off where we turn off the redistributor without checking i
fix(plat/css): fix invalid redistributor poweroff
Commit 4d8c18196378824e388cf31ef991ba8fbbb09cbf introduced an invalid redistributor power off where we turn off the redistributor without checking if the system power domain level is turning off, otherwise we can turn off a redistributor when other cores or clusters are sharing it, also if it does indeed needs powering off during suspend we do it twice. This change fixes this by checking on the system power state first then turning off the redistributor.
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com> Change-Id: Id202bc2316ab7c516298fa33ea089ae2e221a933
show more ...
|
| 95cde795 | 18-Jan-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(zynqmp): fix xck24 silicon ID" into integration |
| 79c26232 | 18-Jan-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "mtk_spm" into integration
* changes: refactor(mediatek): add new LPM API for further extension refactor(mediatek): change the parameters of LPM API refactor(mediatek)
Merge changes from topic "mtk_spm" into integration
* changes: refactor(mediatek): add new LPM API for further extension refactor(mediatek): change the parameters of LPM API refactor(mediatek): change LPM header file path for further extension feat(mt8188): keep infra and peri on when system suspend feat(mt8188): enable SPM and LPM feat(mt8188): add SPM feature support feat(mt8188): add MT8188 SPM support feat(mediatek): add SPM's SSPM notifier feat(mt8188): add the register definitions accessed by SPM feat(mediatek): add new features of LPM
show more ...
|
| f1565907 | 18-Jan-2023 |
Michal Simek <michal.simek@amd.com> |
fix(zynqmp): fix xck24 silicon ID
Origin ID code has changed from origin description. After receiving part new ID code come up that's why fix it. The origin ID code has been added by commit 86869f99
fix(zynqmp): fix xck24 silicon ID
Origin ID code has changed from origin description. After receiving part new ID code come up that's why fix it. The origin ID code has been added by commit 86869f99d0c1 ("feat(zynqmp): add support for xck24 silicon").
Change-Id: I727bfe43fd7ef9e604f63bde5fa37fa3666db8c4 Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|