From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 27 Jun 2017 23:40:30 +0200 (CEST) Received: from localhost.localdomain ([127.0.0.1]:52836 "EHLO linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S23993945AbdF0VkXds1bv (ORCPT ); Tue, 27 Jun 2017 23:40:23 +0200 Received: from h7.dl5rb.org.uk (localhost [127.0.0.1]) by h7.dl5rb.org.uk (8.15.2/8.14.8) with ESMTP id v5RLeJGf029249; Tue, 27 Jun 2017 23:40:19 +0200 Received: (from ralf@localhost) by h7.dl5rb.org.uk (8.15.2/8.15.2/Submit) id v5RLeIFI029247; Tue, 27 Jun 2017 23:40:18 +0200 Date: Tue, 27 Jun 2017 23:40:18 +0200 From: Ralf Baechle To: Karl Beldan Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Karl Beldan , stable@vger.kernel.org, Jonas Gorski Subject: Re: [RESEND PATCH] MIPS: head: Reorder instructions missing a delay slot Message-ID: <20170627214018.GD10090@linux-mips.org> References: <20170627192216.29364-1-karl.beldan+oss@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170627192216.29364-1-karl.beldan+oss@gmail.com> User-Agent: Mutt/1.8.0 (2017-02-23) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 58835 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Tue, Jun 27, 2017 at 07:22:16PM +0000, Karl Beldan wrote: > In this sequence the 'move' is assumed in the delay slot of the 'beq', > but head.S is in reorder mode and the former gets pushed one 'nop' > farther by the assembler. > > The corrected behavior made booting with an UHI supplied dtb erratic. Excellent catch, patch applied! Thanks Karl, Ralf