Message ID | 20221215125009.980128-27-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 990f49cfd700ff72933949769276dfa5a74ce36e |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp153409pvb; Thu, 15 Dec 2022 05:35:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf4LU9JE2asz84Zu01HvOTLMVfaGLAt73/IlqSLXhNSa9EgLZRT+rUBSCpez89KvPOxjUL2s X-Received: by 2002:ac8:6798:0:b0:3a6:8b5a:7d02 with SMTP id b24-20020ac86798000000b003a68b5a7d02mr15902698qtp.30.1671111306724; Thu, 15 Dec 2022 05:35:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671111306; cv=none; d=google.com; s=arc-20160816; b=vKWvdg7BiNGfvguYUCf9L5I3/b7p8jWGPZwPAk4p1OiaGvas8JXtPxLPqUrCLl77DA W2/DDmZtgb3B1oAQezmR1K35g81k/EczOtbQBsa10A4pqmsWH3up4ojlueRYflnUX+Zv qcrFlUbOVV1Kx9CR5Q/xAqBa3LUoCT/CWOerz4tYsBZ/vXAKMDq7nsv+ozivYToD2eYb AFJBzPDozvlSAnCLQBR3S01mTS+yqH7PK4ixq+/BJXEwj5Y3tCsO1i6WZxv6zFidCe2y azbJWI8LNZ8vL5uLrCDQKDel0NeYy+GnV1MBIIHrmFTurOR2wamcWEz/wPwCx4AEWpzv TTPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=14LvpKp7/VTsP7I0u8An5rfr4jPKW0e5uC6loLOGGqM=; b=ZanPaHpS9ljV36SPtFLqFs7N9KNQyKCPQC++n8Nowbs4Hu2OCWH02jb6qhdgggtuTy XA1UmseasU1f8hM2w0bpDlggpNdM1wjuYvq7NUJWUgVWoHFiHWVtOg8AgyOu+DWBzLg9 V/UiZX1PuKyzZRBbjtIhSDHgHQvi2oepwwLjsnPZfs77ZL7qGHIquspQWFqRA5diw7b9 p3OwsrGCKg2AsZGyV86rexSTUVlEKNW9OWyGxo01m1s4uYor4DwXdeWFgsvlQKKoEv9X vekGrL36vAvN6Tejjgcw3yRxJk4MBb7+Z01z6UNqQ5o9PvP6wJnIQJljO7YUOukTK1v9 a4oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i9Lc8fig; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l4-20020ac84a84000000b003a7ef325a40si3526138qtq.669.2022.12.15.05.35.06 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Dec 2022 05:35:06 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i9Lc8fig; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1p5nhV-00078M-Nk; Thu, 15 Dec 2022 07:51:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1p5nh7-0006qR-Qu for qemu-devel@nongnu.org; Thu, 15 Dec 2022 07:50:43 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1p5nh6-00045o-6Q for qemu-devel@nongnu.org; Thu, 15 Dec 2022 07:50:37 -0500 Received: by mail-wm1-x335.google.com with SMTP id v7so13711696wmn.0 for <qemu-devel@nongnu.org>; Thu, 15 Dec 2022 04:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=14LvpKp7/VTsP7I0u8An5rfr4jPKW0e5uC6loLOGGqM=; b=i9Lc8fig3YxW+a3N8hY3WNsQUnERcl1Sm5i/KXqznGM9KDRV8U+4zeV7B3lgieTwim rquH1YsTZLWzQf06Sn3q/CREEBjF9OQKwJvmzD61KfyCAuSYpQrpIKy+NyhbIGc2+1ms 6FQhwGjRrliCZed8THx1XHJHE+o5yd+m4ELJA068cQz8Lu5uIh/tnafbFFenw6Eh4k5M dBGEMeVu9qc+2dO0PU+kui5u/kWxE4suYim65HfKdVYBn2Sf1asGAjUjL3oquMLCQj5/ j7Yt2WbYbqEDCW93eW1SqSjB1soyX+mfjaEwQMKgKP/QZHK8xXKYKg+4gWIQkaZfisDO lgww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=14LvpKp7/VTsP7I0u8An5rfr4jPKW0e5uC6loLOGGqM=; b=D45MUkLV2J0n0Q4wmasmRV01hhx6mgnPO0yLQ18epm3mzVdYaw8ZTHOVprDXUtAYT6 R3IlId6Tc7Z1D/+rCLrfRDyOiPveDsRQX+umBlxAcZKip4JlcC+lgf7T/ySkmlxpy4n7 59l5LvCG8vHMsX//Hy4fpoEC9B/pB/ztkWoMY5akKM1SL18Wp800MOdNt8L3ZvtdrSTt vFheZGHoeiPZ+xM2Iq+uBeqf4kO5eA5vniM2l7Rusxyu5NzJb0kgV3VWeYMiPgnW9dG0 EY8uGqZuApHXrsCsa6wBv9JdY5FRrDravBCqwxr5Pg7SeH7itVKaPeiX8RVblBBIF8aV ycbA== X-Gm-Message-State: ANoB5pn1jW6rwa8n+FYw2dJ+RcMlrmihfRO4b4Ue74ZF2e8XBKQRM30k LmGkG1vO4neaO48I0AkEbQ90/lr8Q+WXBmrg X-Received: by 2002:a05:600c:1da2:b0:3cf:5fd2:87a0 with SMTP id p34-20020a05600c1da200b003cf5fd287a0mr20915844wms.40.1671108635426; Thu, 15 Dec 2022 04:50:35 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id i12-20020a05600c354c00b003cfd64b6be1sm8388787wmq.27.2022.12.15.04.50.34 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Dec 2022 04:50:34 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 26/29] hw/arm/boot: set initrd with #address-cells type in fdt Date: Thu, 15 Dec 2022 12:50:06 +0000 Message-Id: <20221215125009.980128-27-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221215125009.980128-1-peter.maydell@linaro.org> References: <20221215125009.980128-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/29] hw/arm/virt: Introduce virt_set_high_memmap() helper
|
expand
|
diff --git a/hw/arm/boot.c b/hw/arm/boot.c index 15c2bf1867f..3d7d11f782f 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -656,15 +656,17 @@ int arm_load_dtb(hwaddr addr, const struct arm_boot_info *binfo, } if (binfo->initrd_size) { - rc = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", - binfo->initrd_start); + rc = qemu_fdt_setprop_sized_cells(fdt, "/chosen", "linux,initrd-start", + acells, binfo->initrd_start); if (rc < 0) { fprintf(stderr, "couldn't set /chosen/linux,initrd-start\n"); goto fail; } - rc = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", - binfo->initrd_start + binfo->initrd_size); + rc = qemu_fdt_setprop_sized_cells(fdt, "/chosen", "linux,initrd-end", + acells, + binfo->initrd_start + + binfo->initrd_size); if (rc < 0) { fprintf(stderr, "couldn't set /chosen/linux,initrd-end\n"); goto fail;