Searched hist:"0 b3a2cf0226878ad7098cc6cd1a97ade74fd9c38" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/versal_net/pm_service/ |
| H A D | pm_client.c | 0b3a2cf0226878ad7098cc6cd1a97ade74fd9c38 Thu Mar 02 10:47:36 UTC 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 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
|
| /rk3399_ARM-atf/plat/xilinx/common/pm_service/ |
| H A D | pm_ipi.c | 0b3a2cf0226878ad7098cc6cd1a97ade74fd9c38 Thu Mar 02 10:47:36 UTC 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 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
|