| 69a5bee4 | 25-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
feat(xilinx): fix IPI calculation for Versal/NET
Fix buffer calculation logic for Versal and Versal NET to use LOCAL/REMOTE_ID.
Change-Id: Icf6985a19183cc8e51f3a536130695e00c32c736 Signed-off-by: M
feat(xilinx): fix IPI calculation for Versal/NET
Fix buffer calculation logic for Versal and Versal NET to use LOCAL/REMOTE_ID.
Change-Id: Icf6985a19183cc8e51f3a536130695e00c32c736 Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 068b0bc6 | 25-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
feat(xilinx): setup local/remote id in header
Use new macros IPI_LOCAL_ID/IPI_REMOTE_ID to specify source and destination channels.
Change-Id: I558eebb4d4a83ae0ca9316824f9dba7426adbe3f Signed-off-b
feat(xilinx): setup local/remote id in header
Use new macros IPI_LOCAL_ID/IPI_REMOTE_ID to specify source and destination channels.
Change-Id: I558eebb4d4a83ae0ca9316824f9dba7426adbe3f Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| bfd06265 | 25-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
feat(xilinx): clean macro names
This is preparation for cleaning up IPI local and remote side communication. As of today macros are aligned to communication channel but there is missing calculation
feat(xilinx): clean macro names
This is preparation for cleaning up IPI local and remote side communication. As of today macros are aligned to communication channel but there is missing calculation based on channel selection.
Change-Id: Iac7daf832ff372ea2fece72a15afdfe988b4b7db Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 62886363 | 25-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
fix(zynqmp): remove unused headers
There is no need to include all headers. Enough to have only needed one.
Change-Id: I4813156404969df36f66c1102cd627fdc1e3e9dc Signed-off-by: Michal Simek <michal.
fix(zynqmp): remove unused headers
There is no need to include all headers. Enough to have only needed one.
Change-Id: I4813156404969df36f66c1102cd627fdc1e3e9dc Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| b2258ce3 | 25-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
feat(xilinx): move IPI related macros to plat_ipi.h
The reason is to have all IPI related macros in the same file.
Change-Id: I88ddaa3a5dd1f10114371fc5405f8daf148ca3b8 Signed-off-by: Michal Simek <
feat(xilinx): move IPI related macros to plat_ipi.h
The reason is to have all IPI related macros in the same file.
Change-Id: I88ddaa3a5dd1f10114371fc5405f8daf148ca3b8 Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 27749653 | 25-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
feat(xilinx): sync copyright format
Use the same format in all files 's/Copyright (C)/Copyright (c)/g'.
Change-Id: I0e200eb135e7369d0e6b3b694acd406ec10ca9e7 Signed-off-by: Michal Simek <michal.sime
feat(xilinx): sync copyright format
Use the same format in all files 's/Copyright (C)/Copyright (c)/g'.
Change-Id: I0e200eb135e7369d0e6b3b694acd406ec10ca9e7 Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 0aab76a4 | 24-Apr-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "versal/xlat-v2" into integration
* changes: feat(versal): switch to xlat_v2 fix(xilinx): remove asserts around arg0/arg1 |
| d84171b4 | 20-Apr-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "style(xilinx): replace ARM by Arm in copyrights" into integration |
| 0e9f54e5 | 13-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
feat(versal): switch to xlat_v2
Switch to v2 version to add support for dynamic mapping which is not supported in v1. It can be used for run time DT mapping.
Change-Id: I3f27591caf944dc758cc45ee870
feat(versal): switch to xlat_v2
Switch to v2 version to add support for dynamic mapping which is not supported in v1. It can be used for run time DT mapping.
Change-Id: I3f27591caf944dc758cc45ee870b9b5b3ff0a18d Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 8be20446 | 17-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
fix(xilinx): remove asserts around arg0/arg1
The commit a6f340fe58b9 ("Introduce the new BL handover interface") extended handoff to 4 registers instead of 2. Arguments arg0-3 are not used by platfo
fix(xilinx): remove asserts around arg0/arg1
The commit a6f340fe58b9 ("Introduce the new BL handover interface") extended handoff to 4 registers instead of 2. Arguments arg0-3 are not used by platform code but in future they can be used for it. But it doesn't make sense to checking their unused value.
Change-Id: I151e4b1574465409424453c054d937487086b79a Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 619bc13e | 14-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
style(xilinx): replace ARM by Arm in copyrights
The commit 6bb49c876c75 ("style(hooks): adds Arm copyright style fix") is enforcing proper case for ARM. That's why fix it in plat/xilinx to make sure
style(xilinx): replace ARM by Arm in copyrights
The commit 6bb49c876c75 ("style(hooks): adds Arm copyright style fix") is enforcing proper case for ARM. That's why fix it in plat/xilinx to make sure that pre-commit.copyright won't be touching platform specific files.
Change-Id: I49c66e18d46ed871a6aa128c9b2a403d0cf83416 Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 245d30ef | 14-Apr-2023 |
Michal Simek <michal.simek@amd.com> |
fix(versal): replace FPD_MAINCCI* macros
Replace FPD_MAINCCI* macros by PLAT_ARM_CCI* not to have two different names for the same IP.
Change-Id: Ia1930e150a51603471051acec5c79c649d57f92f Signed-of
fix(versal): replace FPD_MAINCCI* macros
Replace FPD_MAINCCI* macros by PLAT_ARM_CCI* not to have two different names for the same IP.
Change-Id: Ia1930e150a51603471051acec5c79c649d57f92f Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 0ec6c313 | 23-Dec-2022 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
feat(versal): replace irq array with switch case
Replaced array of interrupt to PM node index map with switch-case for Versal. As a result, the size of code got reduced by 527 bytes. In case of erro
feat(versal): replace irq array with switch case
Replaced array of interrupt to PM node index map with switch-case for Versal. As a result, the size of code got reduced by 527 bytes. In case of error return invalid node index i.e. XPM_NODEIDX_DEV_MIN.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: Ifb17366362e2d1757d8933e1ce29083f7ad86b8f
show more ...
|
| 3ae28aa4 | 28-Feb-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
refactor(versal): move set wake src fn to common place
Moved pm_client_set_wakeup_sources() to make common for both Versal and Versal NET platforms.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatt
refactor(versal): move set wake src fn to common place
Moved pm_client_set_wakeup_sources() to make common for both Versal and Versal NET platforms.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: Ib82c5f85a0a27bc47940f6796f1cf68b2c38a908
show more ...
|
| 31b68489 | 28-Feb-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
refactor(xilinx): rename gic macros to make common
Rename macros PLAT_VERSAL_GICD_BASE, PLAT_VERSAL_GICR_BASE, PLAT_VERSAL_NET_GICD_BASE and PLAT_VERSAL_NET_GICR_BASE to PLAT_GICD_BASE_VALUE and PLA
refactor(xilinx): rename gic macros to make common
Rename macros PLAT_VERSAL_GICD_BASE, PLAT_VERSAL_GICR_BASE, PLAT_VERSAL_NET_GICD_BASE and PLAT_VERSAL_NET_GICR_BASE to PLAT_GICD_BASE_VALUE and PLAT_GICR_BASE_VALUE to make common for both Versal and Versal NET platforms.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: Ibcebfb8e741e828ef272b32cbedfb4dcbf8629b6
show more ...
|
| 92f7de1e | 03-Feb-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
refactor(xilinx): move pm_defs.h to common place
Moved pm_defs.h file to common place so that it can be used for Versal NET and ZynqMP. Also moved common code from zynqmp_pm_defs.h to common place.
refactor(xilinx): move pm_defs.h to common place
Moved pm_defs.h file to common place so that it can be used for Versal NET and ZynqMP. Also moved common code from zynqmp_pm_defs.h to common place.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I2ee1e72258c6052cdd6467cdbcf4009afb98da49
show more ...
|
| a92681d9 | 22-Dec-2022 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
refactor(xilinx): move versal files to common place
Moved necessary files to common place so that it can be used for Versal NET.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id
refactor(xilinx): move versal files to common place
Moved necessary files to common place so that it can be used for Versal NET.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I611fa849207b082e6599acfb65c55d27b9c99435
show more ...
|
| 6173d914 | 07-Mar-2023 |
Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com> |
fix(xilinx): handle CRC failure in IPI callback
Currently, if CRC validation fails during IPI communication, pm_ipi_buff_read_callb() logs error message but don't return error code to upper layers.
fix(xilinx): handle CRC failure in IPI callback
Currently, if CRC validation fails during IPI communication, pm_ipi_buff_read_callb() logs error message but don't return error code to upper layers.
Added CRC failure specific error code which will be returned by pm_ipi_buff_read_callb() if CRC validation fails.
Signed-off-by: Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com> Change-Id: I2eaca073e2bf325a8c86b1820bdd7cca487b783e
show more ...
|
| 5e92be51 | 07-Mar-2023 |
Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com> |
fix(xilinx): handle CRC failure in IPI
Currently, if CRC validation fails during IPI communication, pm_ipi_buff_read() logs error message but don't return error code to upper layers.
Added CRC fail
fix(xilinx): handle CRC failure in IPI
Currently, if CRC validation fails during IPI communication, pm_ipi_buff_read() logs error message but don't return error code to upper layers.
Added CRC failure specific error code which will be returned by pm_ipi_buff_read() if CRC validation fails.
Signed-off-by: Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com> Change-Id: I33be330f276973471f4ce4115d1e1609ed8fb754
show more ...
|
| 338dbe2f | 22-Feb-2023 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes I51c13c52,I3358c51e into integration
* changes: build: always prefix section names with `.` build: communicate correct page size to linker |
| da04341e | 14-Feb-2023 |
Chris Kay <chris.kay@arm.com> |
build: always prefix section names with `.`
Some of our specialized sections are not prefixed with the conventional period. The compiler uses input section names to derive certain other section name
build: always prefix section names with `.`
Some of our specialized sections are not prefixed with the conventional period. The compiler uses input section names to derive certain other section names (e.g. `.rela.text`, `.relacpu_ops`), and these can be difficult to select in linker scripts when there is a lack of a delimiter.
This change introduces the period prefix to all specialized section names.
BREAKING-CHANGE: All input and output linker section names have been prefixed with the period character, e.g. `cpu_ops` -> `.cpu_ops`.
Change-Id: I51c13c5266d5975fbd944ef4961328e72f82fc1c Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| a6bdf778 | 17-Feb-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(versal): check smc_fid 23:16 bits" into integration |
| 4a50363a | 15-Feb-2023 |
Michal Simek <michal.simek@amd.com> |
fix(versal): check smc_fid 23:16 bits
23:16 bits when they gets to SMC handler should be all zeros but be inside SIP Service Calls range which is defined as 0x82000000-0x8200ffff or 0xc2000000-0xc20
fix(versal): check smc_fid 23:16 bits
23:16 bits when they gets to SMC handler should be all zeros but be inside SIP Service Calls range which is defined as 0x82000000-0x8200ffff or 0xc2000000-0xc200ffff. That's why make sure that code won't handle any SMCs in SIP range out of predefined range.
Also fix MASK values to check the same range for PM/IPI calls to make sure that masking covers all required bits including 23:16. Bits 15:12 are used for different class of requests.
Change-Id: I9d3e91aa521d6bb90f6b15b71ff1e89fa77ee379 Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| c4185d51 | 09-Feb-2023 |
Michal Simek <michal.simek@amd.com> |
fix(versal): fix incorrect regbase for PMC IPI
PMC ipi register base can't be the same as is for IPI_ID_APU that's why that address is not correct and needs to be fixed.
Change-Id: I7ff2c9c0dd59954
fix(versal): fix incorrect regbase for PMC IPI
PMC ipi register base can't be the same as is for IPI_ID_APU that's why that address is not correct and needs to be fixed.
Change-Id: I7ff2c9c0dd5995487e41f6b1060e4c9880c009fa Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|
| 92a43bdf | 08-Feb-2023 |
Michal Simek <michal.simek@amd.com> |
fix(versal): sync location based on IPI_ID macros
IPI_ID_* macros available at include/plat_ipi.h are using PMC/APU/RPU0.. order which is not how versal_ipi_table array is composed. That's why swap
fix(versal): sync location based on IPI_ID macros
IPI_ID_* macros available at include/plat_ipi.h are using PMC/APU/RPU0.. order which is not how versal_ipi_table array is composed. That's why swap APU and PMC to follow the same order as is described by macros.
Change-Id: Ieaa3a967650e298e7cff45fafde0df96294c09fe Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|