arm64: errata: Calling enable functions for CPU errata too
Currently we call the (optional) enable function for CPU _features_ only. As CPU _errata_ descriptions share the same data structure and having an enable function is useful for errata as well (for instance to set bits in SCTLR), lets call it when enumerating erratas too. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:

committed by
Catalin Marinas

parent
823066d9ed
commit
8e2318521b
@@ -127,3 +127,8 @@ void check_local_cpu_errata(void)
|
||||
{
|
||||
update_cpu_capabilities(arm64_errata, "enabling workaround for");
|
||||
}
|
||||
|
||||
void __init enable_errata_workarounds(void)
|
||||
{
|
||||
enable_cpu_capabilities(arm64_errata);
|
||||
}
|
||||
|
Reference in New Issue
Block a user