Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5484075pxb; Mon, 15 Feb 2021 22:46:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyEhWGjja72qDewUeJO6SRHuVWoYo+6JE3eWdMIuMDi/FlmpVqdvc0ltzuA1fNYFHx2iVp9 X-Received: by 2002:a17:906:503:: with SMTP id j3mr18989957eja.172.1613458001486; Mon, 15 Feb 2021 22:46:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613458001; cv=none; d=google.com; s=arc-20160816; b=CcEVE9bQzhno8elUI97pqd9r0JwNyT8pgSF14dkuATkzzkxZ0jl2VDCyfcEGmB5E1D vzCK4KBSszC//kaE7NnOc2svd6H0skucoSRaZ1pKoygkNEaBVU82Yv7c40MSw0QMZD1Y W/CFcDRqCxL4oF77iTPx3Y3WWOeznNkNKCCm/TDx0yj5fpMjY5JdGHlaonkDdLfa4aQb HxakupsK8e1IB/ogdgO9uvGX3raCNI94U1NjyT2GZcrtd5qDiI9I1GHtvJAj5tooQY2d 6b6oRgY6vfxVrDjd+XWtPbGoAGbkzyXtR+r/9/GlJtfRNaZt6sEFdWVQtLahT8Ujyuy3 mxIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=48W9PPwDT7qNo2BI9hgweydmutdBVYuB+eG3wiusPHM=; b=stWLsR0TUJYPaKhSOTO+ksYTb7+WfWiab+oFOoaZO5i5icO8VebyCOGjVauW9VUFVb ocfpUJzg+fp1Pm+7pEFmi0EvuOdLCKgrO8n5OeFMB6xzKrZyS1LBuEEqsscs+EsilbX7 UiZG2s5YkVzAlcEVmF/3yW2d9C68pXnHpx0sbLPoLiRdZmlf0VnBiepfcnST/7MjtHo9 l1OD/J/WHBuOxWrAhSqEQ1WHzCQxSVy8KwgJZTRjU3R8AqwP3UUOBXSJzGfuG6AhZXfB t/KVei9cz0zDeYrbrY5mF2yOg9N/m6YYFNsmdGcL2AjnNjPhBOSI0fmKSDaTnumLS5+c 82hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=dKf02EAe; 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 b7si13756368ejz.39.2021.02.15.22.46.18; Mon, 15 Feb 2021 22:46:41 -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; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=dKf02EAe; 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 S229981AbhBPGp0 (ORCPT + 99 others); Tue, 16 Feb 2021 01:45:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230079AbhBPGpK (ORCPT ); Tue, 16 Feb 2021 01:45:10 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6A72C061756 for ; Mon, 15 Feb 2021 22:44:29 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id s11so10827285edd.5 for ; Mon, 15 Feb 2021 22:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=48W9PPwDT7qNo2BI9hgweydmutdBVYuB+eG3wiusPHM=; b=dKf02EAeoUczIIJyWbhyidTEeSgVhdR3xEqnypt33xVMFGlSVqzIvbIx8Gy7LELvvy NkcpJKhvodub7fKkebXowi+2BldQevYdWr8mNyBwOtW8RV3YzO3Ww2TmTaXf8MaNAqlp 9fHihFFoJwhXpSIXl9iCDDju0yFKbulZ95cJOsj+NA1nutFza6vzWA5Cf/lNAsMbsk9m Fd2iW51nCikjzTymBfWrpwUCGJ4xVxuyk7eKh1PUTNWHxg7lrsT3o/2Mye+9GtJeUUTb ewMW73znjvet/0c4dLD255lwdWflzT9tLObigVPGrCAG83+FOBIOMDYsYIuGU5PUpF+2 agfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=48W9PPwDT7qNo2BI9hgweydmutdBVYuB+eG3wiusPHM=; b=URWpysbAZUEp+48yXprem/zyEDwiMX5CTszenKlh5ztk3e1iCR6dMOSUqZoMGShrRU ys/J+ONXqt0cYKlThiTFcnjnGJrQxE3gEp3pRTVUepUNKDcNElmDFD2Tj/ra73Z49bDz BD3ePnZyQRDRETTE2iGdeFIlMD+8Cbsy7nH1CAoa7D3fyJJ22v572OtD/5XmzOK592lM fCF4If8jZViceqs1tzR/wkGtpJebzKRru86CvUnDf+b+hMYGaCQilkgAQ1pbMHD5sLcR MonzKy1afvECpSnolR1Y731jVAQcv8G6qX2M4Q/+E8oZp5zHlR4oBlzfDevjlkeOvuKb e9Vw== X-Gm-Message-State: AOAM530yQaEFLlEURUxM6zSFa/RGP2kbS9DxlaUnQZbLki0dONsQwUUa eRAjsIND8zKzzrHFshMGsI0QwjMYPHkyfXBIwwpMUDkk9Ro= X-Received: by 2002:aa7:d98e:: with SMTP id u14mr4610127eds.88.1613457868461; Mon, 15 Feb 2021 22:44:28 -0800 (PST) MIME-Version: 1.0 References: <20210213011624.251838-1-robh@kernel.org> In-Reply-To: <20210213011624.251838-1-robh@kernel.org> From: Michal Simek Date: Tue, 16 Feb 2021 07:44:17 +0100 Message-ID: Subject: Re: [PATCH] microblaze: Fix built-in DTB alignment to be 8-byte aligned To: Rob Herring Cc: DTML , LKML , Guenter Roeck Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org so 13. 2. 2021 v 2:16 odes=C3=ADlatel Rob Herring napsal: > > Commit 79edff12060f ("scripts/dtc: Update to upstream version > v1.6.0-51-g183df9e9c2b9") broke booting on Microblaze systems depending o= n > the build. The problem is libfdt gained an 8-byte starting alignment chec= k, > but the Microblaze built-in DTB area is only 4-byte aligned. This affecte= d > 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-g= 183df9e9c2b9") > 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/kerne= l/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 =3D . ; > } > > - . =3D ALIGN (4) ; > + . =3D ALIGN (8) ; > __fdt_blob : AT(ADDR(__fdt_blob) - LOAD_OFFSET) { > _fdt_start =3D . ; /* place for fdt blob *= / > *(__fdt_blob) ; /* Any link-placed DTB */ > -- > 2.27.0 > Applied. Thanks, Michal --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs