mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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" <[email protected]> Cc: Jeremy Linton <[email protected]> Cc: Will Deacon <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Shaokun Zhang <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>