Message ID | 57611F96.90003@arm.com |
---|---|
State | New |
Headers | show |
diff --git i/arch/arm/boot/dts/vexpress-v2p-ca9.dts w/arch/arm/boot/dts/vexpress-v2p-ca9.dts index b608a03ee02f..9742448b4e85 100644 --- i/arch/arm/boot/dts/vexpress-v2p-ca9.dts +++ w/arch/arm/boot/dts/vexpress-v2p-ca9.dts @@ -174,6 +174,7 @@ cache-level = <2>; arm,data-latency = <1 1 1>; arm,tag-latency = <1 1 1>; + status = "disabled"; }; pmu { diff --git i/arch/arm/mm/cache-l2x0.c w/arch/arm/mm/cache-l2x0.c index c61996c256cc..569fb1f0994b 100644 --- i/arch/arm/mm/cache-l2x0.c +++ w/arch/arm/mm/cache-l2x0.c @@ -1750,6 +1750,9 @@ int __init l2x0_of_init(u32 aux_val, u32 aux_mask) if (!np) return -ENODEV; + if (!of_device_is_available(np)) + return -ENODEV; + if (of_address_to_resource(np, 0, &res)) return -ENODEV;