Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3368908pxb; Fri, 12 Feb 2021 17:18:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6CuQFfC2HnDbe3y317zrvXYGMYHv8riG9C5YKUeHuBlStdjQEzS6QMPWInv8zapKmq4mH X-Received: by 2002:a17:906:4cd3:: with SMTP id q19mr5416876ejt.78.1613179135776; Fri, 12 Feb 2021 17:18:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613179135; cv=none; d=google.com; s=arc-20160816; b=lamN4jtpYIZK0DRPBPB50QASG7wE6hCDZ1uKi3UlqhFkYaFE8H5uu3iTsDkNpjFrAb XYDwRnGy8Pndvo07Z4m0g6c3q+FbMt1nmzT/YZFrTONYVt2zqn0w1B7Lxw5edKJ1ZD6p PrsW0dvyX1FVq/GYRl1JpVRX/M0PpeQNOU7ZRsIymXKQ9nmLkY1p7jrCdtn11x2+r4eO CCnc/nmWGup6Ann/Zcw4vxvrKmNJEiGguZgK6Qem0FJMRkN94O3X4vIhCZnQbRkxGNcu ndYl3i7P96ta+13Sxe/YdH/74ck7ldtYYZPi6F7R/4h2QmA1oCnU/PXbEcahi1cNOI+w at8g== 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 :message-id:date:subject:cc:to:from; bh=378QAQ4bK+x4rxGe6jOYIRjyUvbnNgGahQKoi2qE1ek=; b=lQG9ouaMfa3H5eJwv/CQsMQog58E5b1o3dXxeJ41spgMSC8yMHi38he8VxHpaYYe8h /jI1vNirVTmda6rNd1obBWESi6T31UlAA88V4rNPuli1C7p0C/tjR6n6sSLUSVceaq7b 0pjicH0rnAVi+owc0Lgngj8z5Sn7KFl5XkoG7wSK/aG03DLmImzpNOoi9ovVvB1um4Y5 D4GXhV83VwbSqIlxTQNpUWwcZ0oKhIfT4PU1YrgFUGUDLWLOEOax+gQyuSxxK/LtVwPu pku2vZZuMLlddoe+HOMyXrEgzDg1bFsrqV+/OoniIXCjveuGMHkIYSxY7VvOiurekFEP aESA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si7388577ejv.202.2021.02.12.17.18.31; Fri, 12 Feb 2021 17:18:55 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232400AbhBMBRM (ORCPT + 99 others); Fri, 12 Feb 2021 20:17:12 -0500 Received: from mail-ot1-f41.google.com ([209.85.210.41]:43284 "EHLO mail-ot1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbhBMBRH (ORCPT ); Fri, 12 Feb 2021 20:17:07 -0500 Received: by mail-ot1-f41.google.com with SMTP id l23so935223otn.10; Fri, 12 Feb 2021 17:16:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=378QAQ4bK+x4rxGe6jOYIRjyUvbnNgGahQKoi2qE1ek=; b=cqYnF/pYZxHlWf3JbjSbAcFXUCijZ2ZwzEWgaGfaJhHDVN5w0vNLsAoJ6ePu61nDf2 CD2QNdKRB5jqdZrgPJk54Ck+DH20nAeXHJjgji7926OQtl5ONpYHPr1AXzJQpEUTlMmv BYGbJIEeu/wYDIZuRCgFOx/d9xfoNZuEuDRvs4LaVuRu33XNf9TAMglHgg8AH1HIwOF7 RQk5thpd7mlXEesBMqDJ9hw8grQQWJmJiIJo0Br6DSiUUEjfyZzO3DV04hdAH6BXFTq7 X/6xhmmwvf+emUklzFF71cDP30sRfZHwTRTiHP9oJAi56Mew1mIDBytc4K5OVaOuns4d nmPg== X-Gm-Message-State: AOAM531HQbohK2/XLJW22KhKS3a+IF15uE9u8R+Ke1PzUIPoovk3QERu a8JxpBQl2QJUrh2EbfQ4Yf1+Az/9/Q== X-Received: by 2002:a9d:70d7:: with SMTP id w23mr4246596otj.352.1613178986121; Fri, 12 Feb 2021 17:16:26 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id x16sm1519848otp.81.2021.02.12.17.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 17:16:25 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Guenter Roeck , Michal Simek Subject: [PATCH] microblaze: Fix built-in DTB alignment to be 8-byte aligned Date: Fri, 12 Feb 2021 19:16:24 -0600 Message-Id: <20210213011624.251838-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 79edff12060f ("scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9") broke booting on Microblaze systems depending on the build. The problem is libfdt gained an 8-byte starting alignment check, but the Microblaze built-in DTB area is only 4-byte aligned. This affected not just built-in DTBs as bootloader passed DTBs are copied into the built-in DTB region. Other arches using built-in DTBs use a common linker macro which has sufficient alignment. Fixes: 79edff12060f ("scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9") Reported-by: Guenter Roeck Tested-by: Guenter Roeck Cc: Michal Simek Signed-off-by: Rob Herring --- As the commit is in my tree, I'll take this via the DT tree. arch/microblaze/kernel/vmlinux.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S index df07b3d06cd6..fb31747ec092 100644 --- a/arch/microblaze/kernel/vmlinux.lds.S +++ b/arch/microblaze/kernel/vmlinux.lds.S @@ -45,7 +45,7 @@ SECTIONS { _etext = . ; } - . = ALIGN (4) ; + . = ALIGN (8) ; __fdt_blob : AT(ADDR(__fdt_blob) - LOAD_OFFSET) { _fdt_start = . ; /* place for fdt blob */ *(__fdt_blob) ; /* Any link-placed DTB */ -- 2.27.0