diff options
author | Masayoshi Mizuma <[email protected]> | 2019-06-14 09:11:41 -0400 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2019-06-17 11:52:47 +0100 |
commit | 8f5c9037a55b22e847f636f9a39fa98fe67923d1 (patch) | |
tree | ec49aafa76c82ea1548fabdea1e4f10176c7313c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1a2a66db4967d66402501c43bdfe9d68be54f648 (diff) |
arm64/mm: Correct the cache line size warning with non coherent device
If the cache line size is greater than ARCH_DMA_MINALIGN (128),
the warning shows and it's tainted as TAINT_CPU_OUT_OF_SPEC.
However, it's not good because as discussed in the thread [1], the cpu
cache line size will be problem only on non-coherent devices.
Since the coherent flag is already introduced to struct device,
show the warning only if the device is non-coherent device and
ARCH_DMA_MINALIGN is smaller than the cpu cache size.
[1] https://lore.kernel.org/linux-arm-kernel/20180514145703.celnlobzn3uh5tc2@localhost/
Signed-off-by: Masayoshi Mizuma <[email protected]>
Reviewed-by: Hidetoshi Seto <[email protected]>
Tested-by: Zhang Lei <[email protected]>
[[email protected]: removed 'if' block for WARN_TAINT]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions