diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2017-11-17 11:56:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-15 20:07:49 +0100 |
commit | f57ab9a01a36ef3454333251cc57e3a9948b17bf (patch) | |
tree | 10fd0436002e5e6f384e2a8d808a25641a248392 /drivers/base/topology.c | |
parent | 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 (diff) |
drivers: base: cacheinfo: fix cache type for non-architected system cache
Commit dfea747d2aba ("drivers: base: cacheinfo: support DT overrides for
cache properties") doesn't initialise the cache type if it's present
only in DT and the architecture is not aware of it. They are unified
system level cache which are generally transparent.
This patch check if the cache type is set to NOCACHE but the DT node
indicates that it's unified cache and sets the cache type accordingly.
Fixes: dfea747d2aba ("drivers: base: cacheinfo: support DT overrides for cache properties")
Reported-and-tested-by: Tan Xiaojun <tanxiaojun@huawei.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/topology.c')
0 files changed, 0 insertions, 0 deletions