Merge "fix(rcar5): prevent boot CPU hot unplug" into integration
fix(rcar5): prevent boot CPU hot unplugThe boot CPU runs both TFA and later also Trusted OS, which isUP and can not be migrated to another CPU. Report MIGRATE_INFO_TYPE"Uniprocessor (UP) not migr
fix(rcar5): prevent boot CPU hot unplugThe boot CPU runs both TFA and later also Trusted OS, which isUP and can not be migrated to another CPU. Report MIGRATE_INFO_TYPE"Uniprocessor (UP) not migrate capable 1" to the OS, so any attemptsat CPU_OFF and MIGRATE of the boot CPU would be DENIED. This has aneffect also e.g. on the Linux kernel, where it prevents stoppingboot CPU (CPU0) using CPU hotplug, which must not be allowed,as it would interfere with the Trusted OS.Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>Change-Id: I9265115fc721e813d51f9c14e8ebe0471b12928c
show more ...
feat(rcar): rewrite console_renesas_register() in CReplace assembler implementation of console_renesas_register() withmatching C implementation. Since it is now easily possible to passflags into
feat(rcar): rewrite console_renesas_register() in CReplace assembler implementation of console_renesas_register() withmatching C implementation. Since it is now easily possible to passflags into console_renesas_register() and then onward to the consoleinitialization, adjust the signature of console_renesas_register()and include the flags in it. Adjust both rcar_console_boot_init()and rcar_console_runtime_init() to call console_renesas_register()with its new combined set of parameters and drop console_set_scope()invocation which is no longer needed, because the flags are passeddirectly into console_renesas_register().Drop console_renesas_flush() which is always a noop. Drop returnvalue from console_renesas_init() which is always 1.Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>Change-Id: I1c7d1a81b6922138b6e2e80f2635fcc8558685c7
refactor(rcar): rename console_rcar_ to console_renesas_ prefix for Renesas platformRename console_rcar_ to console_renesas_ prefix for SCIF-based consoledriver to make it reusable by other Renesa
refactor(rcar): rename console_rcar_ to console_renesas_ prefix for Renesas platformRename console_rcar_ to console_renesas_ prefix for SCIF-based consoledriver to make it reusable by other Renesas platforms.Due to the above renaming, function console_renesas_register is duplicatedin both scif.h and console.h, so it should be removed from scif.hChange-Id: I42b44d1786578f7ed8db34e7da421836ea60b5e2Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
fix(rcar5): enable missing FEAT_AMUv1p1 on R-Car Gen5 to fix the buildSince commit 6edbd2d6a8ae ("fix(cpufeat): require FEAT_AMUv1p1 toenable the auxiliary counters") the ENABLE_AMU_AUXILIARY_COUN
fix(rcar5): enable missing FEAT_AMUv1p1 on R-Car Gen5 to fix the buildSince commit 6edbd2d6a8ae ("fix(cpufeat): require FEAT_AMUv1p1 toenable the auxiliary counters") the ENABLE_AMU_AUXILIARY_COUNTERSrequires ENABLE_FEAT_AMUv1p1 to be enabled as well. Enable missingENABLE_FEAT_AMUv1p1 to fix the build, which was broken because theR-Car Gen5 and FEAT_AMUv1p1 commits landed in reverse order.Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>Change-Id: I834aff7798d7a5e10014fbd9f1ac8a97908b9aab
feat(rcar): add initial BL31 support for Renesas R-Car X5HThis patch introduces initial BL31 (EL3 firmware) support for theRenesas R-Car Gen5 (X5H) platform.Key features and changes include:- P
feat(rcar): add initial BL31 support for Renesas R-Car X5HThis patch introduces initial BL31 (EL3 firmware) support for theRenesas R-Car Gen5 (X5H) platform.Key features and changes include:- Platform definitions and memory map for R-Car X5H (Cortex-A720AE, 8 clusters x 4 cores)- Platform-specific PSCI power management and topology- SCMI-based power domain and system power management- GICv4/Fainlight-AE interrupt controller initialization and support- Trusted SRAM, shared memory, and crash log region setup- SCIF console support- Stack protector implementation for enhanced security- Platform-specific linker script and build integration- Various helper and initialization routines for MMU, GIC, and SCMI- Platform-specific mailbox and boot flow handling- Basic suspend implementation via SCP-FW- AMU counters, SVE, PAUTH accessible to EL1Signed-off-by: Hieu Nguyen <hieu.nguyen.dn@renesas.com>Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>Change-Id: I04be48a55a618fe952b28283d2f85f48f7761c9a