refactor(platforms): remove usage of psci_power_down_wfiThe callers in PSCI will now call wfi() after calling thepwr_domain_pwr_down() platform hook (previously they were mutuallyexclusive). As s
refactor(platforms): remove usage of psci_power_down_wfiThe callers in PSCI will now call wfi() after calling thepwr_domain_pwr_down() platform hook (previously they were mutuallyexclusive). As such, there is no need for platforms to do thisthemselves. In fact, it is strongly advisable for platforms not to dothis themselves so that the PSCI can apply any relevant erratamitigations.Change-Id: Ic9702edef7503996be24d984e29dfcc13bc3fcbaSigned-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
refactor: panic after calling psci_power_down_wfi()This function doesn't return and its callers that don't return eitherrely on this. Drop the dead attribute and add a panic() after it to makethi
refactor: panic after calling psci_power_down_wfi()This function doesn't return and its callers that don't return eitherrely on this. Drop the dead attribute and add a panic() after it to makethis expectation explicit. Calling `wfi` in the powerdown sequence isterminal so even if the function was made to return, there would be nofunctional change.This is useful for a following patch that makes psci_power_down_wfi()return.Change-Id: I62ca1ee058b1eaeb046966c795081e01bf45a2ebSigned-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
fix(px30): remove unused functionclang complains about it and refuses to build otherwise, so let's removethis seemingly unused function.Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>C
fix(px30): remove unused functionclang complains about it and refuses to build otherwise, so let's removethis seemingly unused function.Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>Change-Id: Ifdf42308a76e8990e08f504fa58989d4cac7e434
build: always prefix section names with `.`Some of our specialized sections are not prefixed with the conventionalperiod. The compiler uses input section names to derive certain othersection name
build: always prefix section names with `.`Some of our specialized sections are not prefixed with the conventionalperiod. The compiler uses input section names to derive certain othersection names (e.g. `.rela.text`, `.relacpu_ops`), and these can bedifficult to select in linker scripts when there is a lack of adelimiter.This change introduces the period prefix to all specialized sectionnames.BREAKING-CHANGE: All input and output linker section names have been prefixed with the period character, e.g. `cpu_ops` -> `.cpu_ops`.Change-Id: I51c13c5266d5975fbd944ef4961328e72f82fc1cSigned-off-by: Chris Kay <chris.kay@arm.com>
rockchip: px30: move secure init to separate fileSimilar to others like rk3399 and rk3288 move the secure init to aseparate file to unclutter the soc init a bit.Signed-off-by: Heiko Stuebner <he
rockchip: px30: move secure init to separate fileSimilar to others like rk3399 and rk3288 move the secure init to aseparate file to unclutter the soc init a bit.Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>Change-Id: Iebb38e24f1c7fe5353f139c896fb8ca769bf9691
rockchip: px30: Fix build error"result of '1 << 31' requires 33 bits to represent, but 'int' only has32 bits [-Werror=shift-overflow=]"This is treated as an error since commit 93c690eba8ca ("Ena
rockchip: px30: Fix build error"result of '1 << 31' requires 33 bits to represent, but 'int' only has32 bits [-Werror=shift-overflow=]"This is treated as an error since commit 93c690eba8ca ("Enable-Wshift-overflow=2 to check for undefined shift behavior")Only the actual errors are being tackled by this patch. It is up to theplatform to choose whether there needs to be further modifications tothe code.Change-Id: I70860ae5f2a34d7c684bd491b76da50aa04f778eSigned-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
rockchip: px30: support px30px30 is a Quad-core soc and Cortex-a53 inside.This patch supports the following functions:1. basic platform setup2. power up/off cpus3. suspend/resume cpus4. suspen
rockchip: px30: support px30px30 is a Quad-core soc and Cortex-a53 inside.This patch supports the following functions:1. basic platform setup2. power up/off cpus3. suspend/resume cpus4. suspend/resume system5. reset system6. power off systemChange-Id: I73d55aa978096c078242be921abe0ddca9e8f67eSigned-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>