{"id":810879,"url":"http://patchwork.ozlabs.org/api/patches/810879/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170907074824.10872-1-marek.vasut+renesas@gmail.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170907074824.10872-1-marek.vasut+renesas@gmail.com>","list_archive_url":null,"date":"2017-09-07T07:48:24","name":"[U-Boot] ARM: rmobile: Disable CONFIG_ARCH_FIXUP_FDT_MEMORY","commit_ref":"25f840d7ef440442f290e760459714a068487727","pull_url":null,"state":"accepted","archived":false,"hash":"8c5e6c52dcdda3df6d192ca50c4d67b0e54fa09b","submitter":{"id":1124,"url":"http://patchwork.ozlabs.org/api/people/1124/?format=json","name":"Marek Vasut","email":"marek.vasut@gmail.com"},"delegate":{"id":1750,"url":"http://patchwork.ozlabs.org/api/users/1750/?format=json","username":"iwamatsu","first_name":"Nobuhiro","last_name":"Iwamatsu","email":"iwamatsu@nigauri.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170907074824.10872-1-marek.vasut+renesas@gmail.com/mbox/","series":[{"id":1931,"url":"http://patchwork.ozlabs.org/api/series/1931/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=1931","date":"2017-09-07T07:48:24","name":"[U-Boot] ARM: rmobile: Disable CONFIG_ARCH_FIXUP_FDT_MEMORY","version":1,"mbox":"http://patchwork.ozlabs.org/series/1931/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810879/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810879/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"oLrzBnCR\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnsz71HVQz9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 17:49:05 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 94C6FC21DE7; Thu,  7 Sep 2017 07:48:56 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 18BF8C21C72;\n\tThu,  7 Sep 2017 07:48:54 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 75759C21C72; Thu,  7 Sep 2017 07:48:52 +0000 (UTC)","from mail-wr0-f196.google.com (mail-wr0-f196.google.com\n\t[209.85.128.196])\n\tby lists.denx.de (Postfix) with ESMTPS id 054F2C21C40\n\tfor <u-boot@lists.denx.de>; Thu,  7 Sep 2017 07:48:52 +0000 (UTC)","by mail-wr0-f196.google.com with SMTP id n64so626794wrb.2\n\tfor <u-boot@lists.denx.de>; Thu, 07 Sep 2017 00:48:52 -0700 (PDT)","from chi.lan (cst-prg-84-35.cust.vodafone.cz. [46.135.84.35])\n\tby smtp.gmail.com with ESMTPSA id\n\tm1sm323129wmg.47.2017.09.07.00.48.49\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 07 Sep 2017 00:48:50 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=Q4pMTPaAIdmfIKmsN5bkgea4LmEteEYugDlNHmqhqRs=;\n\tb=oLrzBnCRecaINvNRAHbw60wyVlEde73dihZAZNjnWIvvo9W6YAH4q0MHKQIoj+6rC9\n\tlcrFrw1D6sOwSSRWq8xt1PvnuYECPw/Sus9wQMNbHwLSKJFSK/L1jQgG2+UNzX0nc4vC\n\tnmwnRECUJHeJnaiTjTkHSbIZs1mqYF4B16myB707G0OwTuX8tRttBrcxRjDv20EvYGqr\n\tCF7gxDmUUKSjUlhJq/W1PGN7gkJ52G2pyTIRBJrV+AdAVrdI48/QUhi1dZyb9Qo3S/0g\n\tAt18ljRvcU4Jt5qolTYKAoO0OrAD9HODPSJf1S0A0AlhM/T25CrbVB7PocFZcvnqvCdY\n\tpHkA==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=Q4pMTPaAIdmfIKmsN5bkgea4LmEteEYugDlNHmqhqRs=;\n\tb=Cs+20ZVMAlHyMWQh1XWJjBqmTK1sSAsyQ9+V+uNrTNwm+tqMcrl3K+SJ9k0zWYEhyN\n\tPOnOZDA7mRGhq7hpXIEwhkUuJMbOqiA7ck6KIhj3pOpznZK4vVWwAuaE6FdH2wecH/m7\n\tFEkLUWKz7/1Q9c7KNX7a09mlk2hz+Eb7p9E7wfIlYRD1MkVoCE3bmoM4HLK9+u0gIsXQ\n\thcRDDIyorzK9oD4k5xlGdhE13NQe6/D1ekrDY7I5CN7uZn4DRXXQV3gqA2VuVOsZY//f\n\tifuXTjD7IwrbweKrUckhI5BF4/GlcwYRIxRgoJgplKM/g2EvY+/MZVlOKHLl+Xqs6UiV\n\tZ6Nw==","X-Gm-Message-State":"AHPjjUjgTBZo2LsjE4oJftlVlFg4NCV+RUiP3Pe836DEJNfhuUtAPjrf\n\t6GMJawjkJvQFvantCR8=","X-Google-Smtp-Source":"ADKCNb6Xtn5if+C8AbgLbjfojOF2nzsP6wmy7i2E9RUCzdrT8ru9lwacYq90NGvgPi+v7qmipYwBzA==","X-Received":"by 10.223.134.168 with SMTP id 37mr1118752wrx.311.1504770531359; \n\tThu, 07 Sep 2017 00:48:51 -0700 (PDT)","From":"Marek Vasut <marek.vasut@gmail.com>","X-Google-Original-From":"Marek Vasut <marek.vasut+renesas@gmail.com>","To":"u-boot@lists.denx.de","Date":"Thu,  7 Sep 2017 09:48:24 +0200","Message-Id":"<20170907074824.10872-1-marek.vasut+renesas@gmail.com>","X-Mailer":"git-send-email 2.13.2","Cc":"Marek Vasut <marek.vasut+renesas@gmail.com>","Subject":"[U-Boot] [PATCH] ARM: rmobile: Disable CONFIG_ARCH_FIXUP_FDT_MEMORY","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Disable CONFIG_ARCH_FIXUP_FDT_MEMORY to prevent U-Boot from modifying\nthe memory {} nodes in the DT passed to the Linux kernel. The R8A779x\nDT contains multiple memory {} nodes, while U-Boot only modifies the\nfirst one and stuffs all the memory entries into it, which is wrong.\nDisabling CONFIG_ARCH_FIXUP_FDT_MEMORY is the least intrusive way to\nfix the issue this close to the release, while the real fix is to\nextend the fdt_fixup_memory_banks() to handle multiple memory nodes\nin DT.\n\nSigned-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>\nCc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>\n---\n configs/r8a7795_salvator-x_defconfig | 1 +\n configs/r8a7795_ulcb_defconfig       | 1 +\n configs/r8a7796_salvator-x_defconfig | 1 +\n configs/r8a7796_ulcb_defconfig       | 1 +\n 4 files changed, 4 insertions(+)","diff":"diff --git a/configs/r8a7795_salvator-x_defconfig b/configs/r8a7795_salvator-x_defconfig\nindex f037d20479..62b16b7a1c 100644\n--- a/configs/r8a7795_salvator-x_defconfig\n+++ b/configs/r8a7795_salvator-x_defconfig\n@@ -5,6 +5,7 @@ CONFIG_RCAR_GEN3=y\n CONFIG_TARGET_SALVATOR_X=y\n CONFIG_DEFAULT_DEVICE_TREE=\"r8a7795-salvator-x\"\n CONFIG_SMBIOS_PRODUCT_NAME=\"\"\n+# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set\n CONFIG_USE_BOOTARGS=y\n CONFIG_BOOTARGS=\"console=ttySC0,115200 rw root=/dev/nfs nfsroot=192.168.0.1:/export/rfs ip=192.168.0.20\"\n CONFIG_DEFAULT_FDT_FILE=\"r8a7795-salvator-x.dtb\"\ndiff --git a/configs/r8a7795_ulcb_defconfig b/configs/r8a7795_ulcb_defconfig\nindex 42913dffaf..a3dba70305 100644\n--- a/configs/r8a7795_ulcb_defconfig\n+++ b/configs/r8a7795_ulcb_defconfig\n@@ -5,6 +5,7 @@ CONFIG_RCAR_GEN3=y\n CONFIG_TARGET_ULCB=y\n CONFIG_DEFAULT_DEVICE_TREE=\"r8a7795-h3ulcb\"\n CONFIG_SMBIOS_PRODUCT_NAME=\"\"\n+# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set\n CONFIG_USE_BOOTARGS=y\n CONFIG_BOOTARGS=\"console=ttySC0,115200 rw root=/dev/nfs nfsroot=192.168.0.1:/export/rfs ip=192.168.0.20\"\n CONFIG_DEFAULT_FDT_FILE=\"r8a7795-h3ulcb.dtb\"\ndiff --git a/configs/r8a7796_salvator-x_defconfig b/configs/r8a7796_salvator-x_defconfig\nindex d9af5f36b7..aa231b65e0 100644\n--- a/configs/r8a7796_salvator-x_defconfig\n+++ b/configs/r8a7796_salvator-x_defconfig\n@@ -6,6 +6,7 @@ CONFIG_R8A7796=y\n CONFIG_TARGET_SALVATOR_X=y\n CONFIG_DEFAULT_DEVICE_TREE=\"r8a7796-salvator-x\"\n CONFIG_SMBIOS_PRODUCT_NAME=\"\"\n+# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set\n CONFIG_USE_BOOTARGS=y\n CONFIG_BOOTARGS=\"console=ttySC0,115200 rw root=/dev/nfs nfsroot=192.168.0.1:/export/rfs ip=192.168.0.20\"\n CONFIG_DEFAULT_FDT_FILE=\"r8a7796-salvator-x.dtb\"\ndiff --git a/configs/r8a7796_ulcb_defconfig b/configs/r8a7796_ulcb_defconfig\nindex e5f560612b..f222a6833c 100644\n--- a/configs/r8a7796_ulcb_defconfig\n+++ b/configs/r8a7796_ulcb_defconfig\n@@ -6,6 +6,7 @@ CONFIG_R8A7796=y\n CONFIG_TARGET_ULCB=y\n CONFIG_DEFAULT_DEVICE_TREE=\"r8a7796-m3ulcb\"\n CONFIG_SMBIOS_PRODUCT_NAME=\"\"\n+# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set\n CONFIG_USE_BOOTARGS=y\n CONFIG_BOOTARGS=\"console=ttySC0,115200 rw root=/dev/nfs nfsroot=192.168.0.1:/export/rfs ip=192.168.0.20\"\n CONFIG_DEFAULT_FDT_FILE=\"r8a7796-m3ulcb.dtb\"\n","prefixes":["U-Boot"]}