Message ID | CAOMZO5ADUvWPYVJhKtou-jDrRiiobZ5e=w+FiTX7-Lv+OvbkwA@mail.gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
--- a/arch/arm/mm/cache-l2x0.c +++ b/arch/arm/mm/cache-l2x0.c @@ -943,6 +943,10 @@ static int __init __l2c_init(const struct l2c_init_data *data, pr_info("%s: CACHE_ID 0x%08x, AUX_CTRL 0x%08x\n", data->type, cache_id, aux); + if (!(aux & L2C_AUX_CTRL_SHARED_OVERRIDE)) + pr_warn("%s: L2C_AUX_CTRL_SHARED_OVERRIDE needs to be set by the bootloader\n", + data->type); + return 0;