Return-Path: Received: from pandora.arm.linux.org.uk ([78.32.30.218]:32788 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbbHOIA1 (ORCPT ); Sat, 15 Aug 2015 04:00:27 -0400 Date: Sat, 15 Aug 2015 09:00:19 +0100 From: Russell King - ARM Linux To: Alexander Kochetkov Cc: stable@vger.kernel.org Subject: Re: [PATCH 3/3] ARM: v7 setup function should invalidate L1 cache Message-ID: <20150815080019.GC7557@n2100.arm.linux.org.uk> References: <1439598757-5029-1-git-send-email-al.kochet@gmail.com> <1439598757-5029-4-git-send-email-al.kochet@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439598757-5029-4-git-send-email-al.kochet@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: On Sat, Aug 15, 2015 at 04:32:37AM +0400, Alexander Kochetkov wrote: > From: Russell King > > commit 02b4e2756e01c623cc4dbceae4b07be75252db5b upstream. > > All ARMv5 and older CPUs invalidate their caches in the early assembly > setup function, prior to enabling the MMU. This is because the L1 > cache should not contain any data relevant to the execution of the > kernel at this point; all data should have been flushed out to memory. You also need bac51ad9d14f6baed3730ef53bedc1eb2238563a together with this, which has a small fix for this patch. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net.