Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1533359pxb; Thu, 16 Sep 2021 09:22:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdSTZwgnvqXaTzUO8CoIlMtZzIscgD2ys4D3Wzqs76UIN+gfsVrs/vQuGhnbNz7EeqF6JE X-Received: by 2002:a17:906:25db:: with SMTP id n27mr7271744ejb.108.1631809377531; Thu, 16 Sep 2021 09:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631809377; cv=none; d=google.com; s=arc-20160816; b=bHO8CEsgujVXGYrQ3AJ1crV9HOEFhk1lddN9oTgIgCsKBHQ17685ti1TQZz+SN12AG rQSLzosQivXItoiUK10aKD3MpBUScPPVXyFDH/bgOKy4QgX6auPqfkou7zHjc0PiRQ9p ifpsjViCNl0JVW9MvGKccMW37Z0wsmv7vFkKN4sCqVzTPRuFI9H0I1wEUnREzCe+OSeK GBKyPcR9qwJrtXE/+QNKsJBIgePwNX30hJSEH8Ob5SudnPypD854kRGBJgQ/Jt2NINk2 aRoNeVjsE2P4naZ/5YGasG1WgmoDoGdd5vsp1uEY6s4XRX7izKNIiOUwGtmoXaOZMGQX jW2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AGgjMDxdqbRElA/2MpHnNcrE31Zg4x1naKY1wRI2WkU=; b=qXqItELO+HEPYk7yoq3Ja61PIIvsk8P302Zh2WocTGjX5e8hFGCBOMmohJKAtx0oqh fuDM+U13wlTjVJhhoxUFvNqDkyWAMSIrsNFxmfYFSrfzy/sQbHsA2lCTqKinKomGHv+/ kbbYOfAtbCf6/N9NMuLpqk2xKPkvpatlqR1fY7y0EFOEUosQEb28DZqRUF1vllB9DlRe yM4recZmjY/OelRFyQt+9DhueBBPrRHJpmk+hme9F2pn65dnbLQD3JR8ewF2d809YKw4 EUGG5Nx/tWm7iKPnJS6g5bukaIvDt1EQhVNC9qJI44XbR5+lOBpcKx/HMex7MQG1nwT8 pZCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BQme5CPN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id og14si4019938ejc.176.2021.09.16.09.22.22; Thu, 16 Sep 2021 09:22:57 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BQme5CPN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241499AbhIPQVh (ORCPT + 99 others); Thu, 16 Sep 2021 12:21:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:48354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235075AbhIPQMo (ORCPT ); Thu, 16 Sep 2021 12:12:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5B05B6138B; Thu, 16 Sep 2021 16:09:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808569; bh=xy6Pskwf2LsTKup1sy1FUidV65P0qDqckPExucv4B0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BQme5CPNowPX0GtzlkfwzAG/9cZYARO7XxAx5unyhhhlapywM+Mas0C2Ozqh2a3eQ /OAh5AqEDywKcLLPA2GtRrTgF+1CXKZe5ZN36SiOot3bulGvxomlaqXclxNfKJPPpE /x2G5zTYO9M3wS4/LUQnc1peyuHMNxSar8jDgZKc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oleksij Rempel , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.10 107/306] MIPS: Malta: fix alignment of the devicetree buffer Date: Thu, 16 Sep 2021 17:57:32 +0200 Message-Id: <20210916155757.727486102@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Oleksij Rempel [ Upstream commit bea6a94a279bcbe6b2cde348782b28baf12255a5 ] Starting with following patch MIPS Malta is not able to boot: | commit 79edff12060fe7772af08607eff50c0e2486c5ba | Author: Rob Herring | scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9 The reason is the alignment test added to the fdt_ro_probe_(). To fix this issue, we need to make sure that fdt_buf is aligned. Since the dtc patch was designed to uncover potential issue, I handle initial MIPS Malta patch as initial bug. Fixes: e81a8c7dabac ("MIPS: Malta: Setup RAM regions via DT") Signed-off-by: Oleksij Rempel Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/mti-malta/malta-dtshim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/mti-malta/malta-dtshim.c b/arch/mips/mti-malta/malta-dtshim.c index 0ddf03df6268..f451268f6c38 100644 --- a/arch/mips/mti-malta/malta-dtshim.c +++ b/arch/mips/mti-malta/malta-dtshim.c @@ -22,7 +22,7 @@ #define ROCIT_CONFIG_GEN1_MEMMAP_SHIFT 8 #define ROCIT_CONFIG_GEN1_MEMMAP_MASK (0xf << 8) -static unsigned char fdt_buf[16 << 10] __initdata; +static unsigned char fdt_buf[16 << 10] __initdata __aligned(8); /* determined physical memory size, not overridden by command line args */ extern unsigned long physical_memsize; -- 2.30.2