| 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 ...
|
| c90f4abf | 23-Mar-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
refactor(xilinx): move enum to common place
Moved IOCTL enum from ZynqMP to common place so that it can be used for all the platforms.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Cha
refactor(xilinx): move enum to common place
Moved IOCTL enum from ZynqMP to common place so that it can be used for all the platforms.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I6ad992da30f2def9f46c8ba79753d79ed00fe024
show more ...
|
| c38d90f7 | 23-Dec-2022 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
feat(versal-net): add support for set wakeup source
Currently wakeup source is not getting setup during suspend resume. Add support to set wakeup source as per IRQ enabled using switch-case instead
feat(versal-net): add support for set wakeup source
Currently wakeup source is not getting setup during suspend resume. Add support to set wakeup source as per IRQ enabled using switch-case instead of static array as it is more efficient.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I30d7ceb3a1d56ba5174fc7334f3a29081c918c92
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 ...
|
| 0b3a2cf0 | 02-Mar-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): use spin_lock instead of bakery_lock
In ARM v8.2 the cache will turn off automatically when cpu power down. Therefore use the spin_lock instead of bakery_lock for the platform in wh
fix(versal-net): use spin_lock instead of bakery_lock
In ARM v8.2 the cache will turn off automatically when cpu power down. Therefore use the spin_lock instead of bakery_lock for the platform in which HW_ASSISTED_COHERENCY is enabled.
In Versal NET platform HW_ASSISTED_COHERENCY is enabled so it will use spin lock. In ZynqMP and Versal HW_ASSISTED_COHERENCY is not enabled so it will use bakery_lock.
Also remove bakery_lock_init() because it is empty.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I18ff939b51f16d7d3484d8564d6ee6c586f363d8
show more ...
|
| 6ada9dc3 | 23-Mar-2023 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): correct aff level for cpu off
CPU suspend is calling validate_power_state PSCI opps which returns power domain state for CPU suspend according to PSTATE type. In case of power down
fix(versal-net): correct aff level for cpu off
CPU suspend is calling validate_power_state PSCI opps which returns power domain state for CPU suspend according to PSTATE type. In case of power down it assigns PLAT_MAX_OFF_STATE to all affinity level which is incorrect since for CPU suspend we need to set only MPIDR_AFFLVL0 which is CPU state. So correct affinity level for CPU suspend.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I39f92790ea74e4cab8e87342e73e1ac211a46fcd
show more ...
|
| 95bbfbc6 | 14-Mar-2023 |
Trung Tran <trung.tran@amd.com> |
fix(versal_net): fix irq for IPI0
Currently isr is not called when IPI0 interrupt occurs. fix irq number and enable GIC interrupt properly to invoke registered isr on IPI0 interrupt.
Signed-off-by:
fix(versal_net): fix irq for IPI0
Currently isr is not called when IPI0 interrupt occurs. fix irq number and enable GIC interrupt properly to invoke registered isr on IPI0 interrupt.
Signed-off-by: Trung Tran <trung.tran@amd.com> Signed-off-by: Tanmay Shah <tanmay.shah@amd.com> Change-Id: Id0408b3a560b25234886a9fa01c4ed248d1d1532
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 ...
|
| 15f49cb4 | 08-Feb-2023 |
Michal Simek <michal.simek@amd.com> |
fix(xilinx): remove unused mailbox macros
All these macro are unused that's why remove them.
Change-Id: I843cc7c1a592c47376a01c52f45b6d59da80772b Signed-off-by: Michal Simek <michal.simek@amd.com> |
| d9248e85 | 03-Feb-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(versal-net): populate gic v3 rdist data statically" into integration |
| 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 ...
|
| 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 ...
|
| 2f1b4c55 | 13-Jan-2023 |
Akshay Belsare <akshay.belsare@amd.com> |
feat(versal-net): add support for uart1 console
Versal NET platform supports two UART(UART0, UART1) Add support for UART1 to be used as console for Versal NET platform.
Change-Id: I3bc2034f54052e37
feat(versal-net): add support for uart1 console
Versal NET platform supports two UART(UART0, UART1) Add support for UART1 to be used as console for Versal NET platform.
Change-Id: I3bc2034f54052e37cc480f98d48335fa5b2138bf Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
show more ...
|
| 39fffe55 | 30-Dec-2022 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): enable wake interrupt during client suspend
Wakeup interrupt should be set during power down sequence to wake processor. So enable wakeup interrupt during power down sequence.
Sign
fix(versal-net): enable wake interrupt during client suspend
Wakeup interrupt should be set during power down sequence to wake processor. So enable wakeup interrupt during power down sequence.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I1154495c25e0468496f6e112996fd182aa516d88
show more ...
|
| e663f09b | 30-Dec-2022 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): disable wakeup interrupt during client wakeup
Clear and disable wakeup interrupt during client wakeup to avoid multiple wakeup events.
Signed-off-by: Jay Buddhabhatti <jay.buddhabh
fix(versal-net): disable wakeup interrupt during client wakeup
Clear and disable wakeup interrupt during client wakeup to avoid multiple wakeup events.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: Iebc644ae582da03001830b96e3190fce10dbac42
show more ...
|
| 5f0f7e47 | 30-Dec-2022 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): clear power down bit during wakeup
Power down bit and power down interrupt needs to be cleared once core is wakeup to avoid unnecessary power down events. So disable power down inte
fix(versal-net): clear power down bit during wakeup
Power down bit and power down interrupt needs to be cleared once core is wakeup to avoid unnecessary power down events. So disable power down interrupt and clear power down bit during client wakeup.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I3445991692c441831e4ea8dae112e23b19f185a9
show more ...
|
| 1f79bdfd | 30-Dec-2022 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): fix setting power down state
Versal NET is supporting max power state to AFF_LVL_2 so set power state for all affinity level instead of setting for only AFF_LVL_0.
Signed-off-by: J
fix(versal-net): fix setting power down state
Versal NET is supporting max power state to AFF_LVL_2 so set power state for all affinity level instead of setting for only AFF_LVL_0.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I55a91e798b7566d2f34d7cb1fe28ca25993a7d8e
show more ...
|
| 2d056db4 | 30-Dec-2022 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(versal-net): clear power down interrupt status before enable
Currently power down interrupt status is set by default before its getting enabled. Because of that Linux is getting crashed since it
fix(versal-net): clear power down interrupt status before enable
Currently power down interrupt status is set by default before its getting enabled. Because of that Linux is getting crashed since its triggering interrupt before core goes to WFI state. So clear interrupt status before enabling power down interrupt.
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: Ia8d047b6078a49ab3dbe3e0bf24422357f0138c2
show more ...
|