From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752334AbcGKVz5 (ORCPT ); Mon, 11 Jul 2016 17:55:57 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:42697 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752092AbcGKVz4 (ORCPT ); Mon, 11 Jul 2016 17:55:56 -0400 Message-ID: <1468274154.2977.1.camel@infradead.org> Subject: Re: [PATCH 6/8] arm64: Introduce raw_{d,i}cache_line_size From: Geoff Levand To: Suzuki K Poulose , linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com, will.deacon@arm.com, James Morse Date: Mon, 11 Jul 2016 14:55:54 -0700 In-Reply-To: <1467977839-27543-8-git-send-email-suzuki.poulose@arm.com> References: <1467977839-27543-1-git-send-email-suzuki.poulose@arm.com> <1467977839-27543-8-git-send-email-suzuki.poulose@arm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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