[PATCH 6/8] arm64: Introduce raw_{d,i}cache_line_size

Geoff Levand geoff at infradead.org
Mon Jul 11 14:55:54 PDT 2016


On Fri, 2016-07-08 at 12:37 +0100, Suzuki K Poulose wrote:
> On systems with mismatched i/d cache min line sizes, we need to use
> the smallest size possible across all CPUs. This will be done by fetching
> the system wide safe value from CPU feature infrastructure.
> However the some special users(e.g kexec, hibernate) would need the line
> size on the CPU (rather than the system wide), when the system wide
> feature may not be accessible. Provide another helper which will fetch
> cache line size on the current CPU.
> 

Looks OK for what kexec needs.

Acked-by: Geoff Levand <geoff at infradead.org>




More information about the linux-arm-kernel mailing list