Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2366009pxb; Mon, 20 Sep 2021 20:15:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOAzbozg9AxEiE/6qleQVS7sT+mEALeTDS43DRSSMvhJGfF0n9jcl1zqBjNpUbeFDh8nRT X-Received: by 2002:a6b:ef0d:: with SMTP id k13mr17244809ioh.54.1632194151084; Mon, 20 Sep 2021 20:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632194151; cv=none; d=google.com; s=arc-20160816; b=DDv8xeWyRgvg5ddghTr7o7ZzJ1PxqAwDYmLGWzLff5Im+gfGO9YSt6QWLjstZUewAY PPW/xaxAq28zuY4uGye7nQsxSzq27g/Za0xwq+Rbf/yj8HVZfTNXKQpgjv6qwRkzhzkv KtXa1a/geVIoiDIR7RD+qHVcKT6F/pEcMaIk2dukIJyhjKowc/9zzkrdmL9BCN7p+GaT wtFlQ6a104hTNrWpeEpWv7niU5//kX73+kLc5+swNu4KEKa3tj+4kAugW55PbPNeYCaY Qm6V3Cqe+Use+li9YKC3ER4lZH1rA4DYfQQwSiVcrDveZGOJm+vXRkVn8Bt+LitnGsiS 0peA== 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=XVF/SYBwnZ1UfkizTNxd0ZiIt1gIgFHF8zRnqQR+Zik=; b=fRmG/zLnlAHm/AM4zgzkUonrHOXDzjdUAvPjbanubllcdYKsM03NNsaigxb0+IQhk7 nGeKXqKsKsgIIf0CoTjuAw+MSkc+s5EKvNjWRe/ijI6Dg/QE1fZNSoL1aUHzl4sOcaEI 6n7TqfxdYRd+RRjOB8+S9b6pdQrn0ksUDAA9yhcLEoWLa4Hh8AH6vVdpMdrcX96ANa0O yExI1eZViILOinfpje3iwrP55/bP0tnSNp/UYLsgbKbNPxZxcgDjWBLwFsrvqHuX9iQd 8XuWp/Iz4jOWBsQYKFAwq30OhNfSRt33e0ySfh3XkwdDdFYlL8+OYc7124JccL28b53/ emVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ccwUDtNT; 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 m6si7271794ion.92.2021.09.20.20.15.38; Mon, 20 Sep 2021 20:15:51 -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=ccwUDtNT; 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 S1377868AbhITSV0 (ORCPT + 99 others); Mon, 20 Sep 2021 14:21:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:60802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357831AbhITSFI (ORCPT ); Mon, 20 Sep 2021 14:05:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 71A4463243; Mon, 20 Sep 2021 17:17:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158249; bh=awjrlATVvxDKw5OSTatdz44ttYi7mbnS9G2waDKIJlk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ccwUDtNThOoiJ58At+V+7wQHOOlnOP3zfoxQKziB7LDBhtbqBZx/+PA9j7vQ5zgow ebWXWdYZw9oatx+1K3dc+x00R3Y7iHrCO4xl9uvZOOertzBHDpN3ChVJytF7R1gjv6 keEKVhCs19X+Pw/QuFO0XMLx+FgBy6ibfinX6HFQ= 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.4 069/260] MIPS: Malta: fix alignment of the devicetree buffer Date: Mon, 20 Sep 2021 18:41:27 +0200 Message-Id: <20210920163933.471426720@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163931.123590023@linuxfoundation.org> References: <20210920163931.123590023@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 98a063093b69..0be28adff557 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