From: Fabrice Gasnier Date: Thu, 12 Mar 2015 13:04:42 +0000 (+0100) Subject: ARM: 8310/1: l2c: Fix prefetch settings dt parsing X-Git-Tag: omap-for-v4.1/fixes-rc1~297^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c95ed47f1777e9e9b1eb29e48f34e9af3139f29;p=pandora-kernel.git ARM: 8310/1: l2c: Fix prefetch settings dt parsing Allow prefetch settings overriding by device tree, in case l2x0_cache_size_of_parse() returns value, prefetch tuning properties are silently ignored. E.g. arm,double-linefill* and arm,prefetch*. This happens for example, when "cache-size" or "cache-sets" properties haven't been filled in l2c dt node. Comments from Fabrice Gasnier: Allow device tree to override the L2C prefetch settings, even when l2x0_cache_size_of_parse() fails to parse the cache geometry due to (eg) missing "cache-size" or "cache-sets" properties. Signed-off-by: Fabrice Gasnier Reviewed-by: Tomasz Figa Signed-off-by: Russell King --- Reading git-diff-tree failed