--- zzzz-none-000/linux-4.19.183/arch/arm/kernel/setup.c 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/arch/arm/kernel/setup.c 2023-06-28 08:54:18.000000000 +0000 @@ -62,9 +62,14 @@ #include #include #include +#if defined(CONFIG_BCM_KF_ARM_KASAN) +#include +#endif #include "atags.h" +#include +#include #if defined(CONFIG_FPE_NWFPE) || defined(CONFIG_FPE_FASTFPE) char fpe_type[8]; @@ -1128,6 +1133,9 @@ early_ioremap_reset(); paging_init(mdesc); +#if defined(CONFIG_BCM_KF_ARM_KASAN) + kasan_init(); +#endif request_standard_resources(mdesc); if (mdesc->restart) @@ -1135,6 +1143,9 @@ unflatten_device_tree(); + avm_fw_info_init(); + avm_module_mem_init(); + arm_dt_init_cpu_maps(); psci_dt_init(); #ifdef CONFIG_SMP