Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1647489pxb; Mon, 8 Mar 2021 02:57:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUOFHoiZaxrLqrL4gyBhC32/8VZIVUnrH2BFzCeBMA8BmCDDt+nlXpD+9roHAAiyIoUPRI X-Received: by 2002:aa7:c4d1:: with SMTP id p17mr21601621edr.387.1615201066437; Mon, 08 Mar 2021 02:57:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615201066; cv=none; d=google.com; s=arc-20160816; b=l3ye9fuFdPY9C2lVT4LjTlYfhiQvoWc0Q1bEEk77rsCczOKe8ykQ4LAq+jTTyTARCB 3gc4MAS7pEd4QDmelOZIstdmy8dFxt8LJ6U3BkliwqMTUpypPXkwYoH7vlWPuPWPR3ZW i2a/dZJpgxUn8s9QiVAJNmO4uzRrIEtBvhjASP8SjD/cicRbwMl+DLhlIqXgRahribcO SK5Xz3WYbPKykiMrxYM4sgGkEqVgncBRgX+b48YPUM0Z/UEz1jpPGcf7907l63bHNGZW +aMf/tBzgAIY5K6QEdGQhKbT0brRg+3Y0z+he54h8rDrNSkxpgbBJ7Yh/mBhEdr9+7o1 SpAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=XFBdi17MBeZnbHDcn2dXhCUCst/Z3WZIUlw/6offLNA=; b=SLAwqHx3C3Dzswlnb4Tm/tFs9Txvr0UJrIVeBpVD5Y6ZnUkmufPx02DtaiXVU7n8wS z1GD059SJBf2PqDwJdg5WWERLELzU9inIZXbPHY3ooFrsfzuwvIJBXnz0cByhWWPVh2K yvuKqAmwB1KpKmNVfHt348j5V9n4UqQ8mzMwinhkg0CaDN2ZZ0KstitsO8uRd4ENPqhU Z1PVopLkbcBIF5myrJV4tbyAJihB9pu0WrzaBlUoCMKiW9RB6Erqk4NBc++ZL5wI7Z59 zPC4zwPk5p5noyCPMkfOz+ESIqA0/bhnF0KuVNeHN8dT9gJTNS6dR6LuVhiLBqfEc6nd 3nzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si6437662ejd.256.2021.03.08.02.57.24; Mon, 08 Mar 2021 02:57:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230039AbhCHK4W (ORCPT + 99 others); Mon, 8 Mar 2021 05:56:22 -0500 Received: from elvis.franken.de ([193.175.24.41]:57502 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231126AbhCHK4F (ORCPT ); Mon, 8 Mar 2021 05:56:05 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1lJDYR-0003M5-00; Mon, 08 Mar 2021 11:56:03 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 48ED7C1278; Mon, 8 Mar 2021 11:53:57 +0100 (CET) Date: Mon, 8 Mar 2021 11:53:57 +0100 From: Thomas Bogendoerfer To: Paul Cercueil Cc: Rob Herring , od@zcrc.me, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address Message-ID: <20210308105357.GA6622@alpha.franken.de> References: <20210303193305.924384-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210303193305.924384-1-paul@crapouillou.net> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 03, 2021 at 07:33:05PM +0000, Paul Cercueil wrote: > Since 5.12-rc1, the Device Tree blob must now be properly aligned. > > Therefore, the decompress routine must be careful to copy the blob at > the next aligned address after the kernel image. > > This commit fixes the kernel sometimes not booting with a Device Tree > blob appended to it. > > Fixes: c4d5e638d6e9 ("scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9") > Signed-off-by: Paul Cercueil > --- > arch/mips/boot/compressed/decompress.c | 8 ++++++++ > arch/mips/kernel/vmlinux.lds.S | 2 ++ > 2 files changed, 10 insertions(+) applied to mips-fixes. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]