From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH] arm: kernel: add support for detecting armv8 cpu cache information Date: Thu, 18 Oct 2018 09:56:09 +0100 Message-ID: <20181018085609.GI30658@n2100.armlinux.org.uk> References: <1539843407-7439-1-git-send-email-tengfei@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1539843407-7439-1-git-send-email-tengfei@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Teng Fei Fan Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sudeep.holla@arm.com, will.deacon@arm.com, linux-arm-msm@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org On Thu, Oct 18, 2018 at 02:16:47PM +0800, Teng Fei Fan wrote: > This patch adds support for cacheinfo on 32bit ARMv8 platform. > Add support for detecting cpu cache information cpu cache information > via sysfs for 32bit armv8 platform. And export to sysfs then userspace > can get from /sys/devices/system/cpu/cpuX/cache. You don't explain why this is needed. We don't do this for previous 32-bit CPUs, so why should we do this for ARMv8 running on a 32-bit kernel? -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up