From mboxrd@z Thu Jan 1 00:00:00 1970 From: yang.shi@linaro.org (Shi, Yang) Date: Thu, 19 Nov 2015 16:23:59 -0800 Subject: [V2 PATCH] arm64: restore bogomips information in /proc/cpuinfo In-Reply-To: <20151119175906.GA10823@e104818-lin.cambridge.arm.com> References: <1447872535-31117-1-git-send-email-yang.shi@linaro.org> <20151119175906.GA10823@e104818-lin.cambridge.arm.com> Message-ID: <564E681F.102@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 11/19/2015 9:59 AM, Catalin Marinas wrote: > On Wed, Nov 18, 2015 at 10:48:55AM -0800, Yang Shi wrote: >> As what Pavel Machek reported [1], some userspace applications depend on >> bogomips showed by /proc/cpuinfo. >> >> Although there is much less legacy impact on aarch64 than arm, but it does >> break libvirt. >> >> Basically, this patch reverts commit 326b16db9f69fd0d279be873c6c00f88c0a4aad5 >> ("arm64: delay: don't bother reporting bogomips in /proc/cpuinfo"), but with >> some tweak due to context change. >> >> [1] https://lkml.org/lkml/2015/1/4/132 >> >> Acked-by: Will Deacon >> Cc: #3.12+ >> Signed-off-by: Yang Shi > > Patch applied as a fix for stable, basically returning back to the > pre-3.12 behaviour. If there is a need for some more useful information > here, it can be done as an additional patch, though without cc: stable. Thanks. This approach sounds safer to usersapce. Yang > > Thanks. >