From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48325 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752948AbeEKNao (ORCPT ); Fri, 11 May 2018 09:30:44 -0400 Date: Fri, 11 May 2018 15:28:44 +0200 From: Greg KH To: Suzuki K Poulose Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will.deacon@arm.com, mark.rutland@arm.com Subject: Re: [PATCH] [stable 4.14] arm64: Add work around for Arm Cortex-A55 Erratum 1024718 Message-ID: <20180511132844.GC31231@kroah.com> References: <1526037802-13305-1-git-send-email-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1526037802-13305-1-git-send-email-suzuki.poulose@arm.com> Sender: stable-owner@vger.kernel.org List-ID: On Fri, May 11, 2018 at 12:23:22PM +0100, Suzuki K Poulose wrote: > commit ece1397cbc89c51914fae1aec729539cfd8bd62b upstream > > Some variants of the Arm Cortex-55 cores (r0p0, r0p1, r1p0) suffer > from an erratum 1024718, which causes incorrect updates when DBM/AP > bits in a page table entry is modified without a break-before-make > sequence. The work around is to disable the hardware DBM feature > on the affected cores. The hardware Access Flag management features > is not affected. > > The hardware DBM feature is a non-conflicting capability, i.e, the > kernel could handle cores using the feature and those without having > the features running at the same time. So this work around is detected > at early boot time, rather than delaying it until the CPUs are brought > up into the kernel with MMU turned on. This also avoids other complexities > with late CPUs turning online, with or without the hardware DBM features. > > Cc: stable@vger.kernel.org # v4.14 > Cc: Catalin Marinas > Cc: Mark Rutland > Cc: Will Deacon > Signed-off-by: Suzuki K Poulose > --- > Note: The upstream commit is on top of a reworked capability > infrastructure for arm64 heterogeneous systems, which allows > delaying the CPU model checks. This backport is based on the > original version of the patch [0], which checks the affected > CPU models during the early boot. > > [0] https://lkml.kernel.org/r/20180116102323.3470-1-suzuki.poulose@arm.com Thanks for the backport, now applied. greg k-h