diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2019-05-28 04:16:53 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-06-04 14:42:54 +0200 |
commit | 9a83c84c3a491cbe7fc9dea3c43e26a8e67204d2 (patch) | |
tree | bebcbd62f6bf2dc9a10aa46d6232669bac62f1ee /drivers/lightnvm | |
parent | arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state (diff) | |
download | linux-9a83c84c3a491cbe7fc9dea3c43e26a8e67204d2.tar.xz linux-9a83c84c3a491cbe7fc9dea3c43e26a8e67204d2.zip |
drivers: base: cacheinfo: Add variable to record max cache line size
Add coherency_max_size variable to record the maximum cache line size
for different cache levels. If it is available, we will synchronize
it as cache line size, otherwise we will use CTR_EL0.CWG reporting
in cache_line_size() for arm64.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Jeremy Linton <jeremy.linton@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions