Message ID | 20241211021703.2333-3-semen.protsenko@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:2c4:b0:385:e875:8a9e with SMTP id o4csp98583wry; Tue, 10 Dec 2024 18:17:36 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUBXc0mC0PenEC6oujMUnuH9oqCqwN1UeWF5RMiKBGsYnLA7oRrW7/6cWzhxJwYanq9jRz2IQ==@linaro.org X-Google-Smtp-Source: AGHT+IFxwqQJF+i9mH6WLRTZ4jB4MY7Ntfqbr7fCvjbDw/0Qx58RDqEfZPQBLQrE+oed0EVLAMo0 X-Received: by 2002:a17:907:9557:b0:aa6:19f3:d083 with SMTP id a640c23a62f3a-aa6b11ef28dmr86424666b.30.1733883456401; Tue, 10 Dec 2024 18:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733883456; cv=none; d=google.com; s=arc-20240605; b=IUeB4Wjdb1YuM4C1MpFaSH+hbC4Vw3AWZkoLj0Gdnz2Nv7kbVlKHUMTdGFfp4PWRiV W0TPrct8DkVqQXMqbU1lsUliMhoWkAPnIBC1TQrDtlTKs1VgoZb2PH37xFCGfLzcIGC0 m7r0t7lKAcOrlgOHJ037UL7807wFPkRsyJgFQfCQ/EMU9x2w3uL+6caxyFl4UUyKDvDO nytJCvNXNb6TobqDGUH5GAKY1j8EzCIm891aSIPvBk216LBc/M6BdiMejCJKgF+mCH3n E0xHsCQI2NikceGg8QXoswdifCSO5bZ+tHoUMuF5qz5jJ0y95orYCCQm4SQ6FCnvPOBy EAug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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:cc:to :from:dkim-signature; bh=z/V6Slifq/SZc9zepx0sUboIXo723LgvGKKgmbOvzOI=; fh=nxBbvc//fG7k5ADXOhjloH2eKp9yhKZCpsa86Tg1U6A=; b=eppgYj67q+gbHp+K3dnRYGcx9BduGGLUNaJuxHcJRPirG1rf+bYx6eU/g2Ku1lPr2C 3kvNtnR6enmQCxxuTafxaux8CP5xCJyEr5FZeW9z5na/UWARIXityAGmI5sJj9UWWaqr 649JUjOBKKhh1HqwvTnKqYL9eAr0+uFbL2DZl9+GHzWsgJ8+pL72R00QbduzdN1WzdK7 2SchlfTEF15u+I5bBUDa1CM07+JPbTuai3jOvAI58JXRmJZPdZt8UDqVYf7MT6C4Zh1L 1jEv+zrgirBjrhz+mxplCAoBU7440I8T7Wb4vDel6G4D29n8dGicE7zyyuP53nSuwyNA padQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pdG5o93A; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-aa6691f2209si546613066b.870.2024.12.10.18.17.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 18:17:36 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pdG5o93A; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 69F7980234; Wed, 11 Dec 2024 03:17:13 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="pdG5o93A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F18B08021F; Wed, 11 Dec 2024 03:17:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2123380210 for <u-boot@lists.denx.de>; Wed, 11 Dec 2024 03:17:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-71decc7de4eso805105a34.2 for <u-boot@lists.denx.de>; Tue, 10 Dec 2024 18:17:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733883426; x=1734488226; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=z/V6Slifq/SZc9zepx0sUboIXo723LgvGKKgmbOvzOI=; b=pdG5o93AUTfGDIJSTkiYmiZsrok2yGpCcCeoHXCb3Fd80hCV5/r0PRoiZxHwZiD+im M3nFJgkdCRRyYcgXCLAcjwznY8otOLJVRSTOYh9itdUzIZKFqpYKAWeDhhPM/wgoZc7r 1Nn4ggWNpyshrzMttV/1IVvKiT/mOIKrMW1obdDUmDg+CUU1FUeqQvtgDwv6qDJs+Yuo a8FAaYQp/PL1RO9nO6RLy2f3aaL8H8+md57ZnJEtllc1JZrz1/MrOpWT0CXVCCbbt5oV kyZJH066XCYuI1sCG5o6mfijVeldnJMupbvoCNjTfd6vP6+1/lNY1JD+hGEhrnqmmLwR rNzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733883426; x=1734488226; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z/V6Slifq/SZc9zepx0sUboIXo723LgvGKKgmbOvzOI=; b=WP94GwqCrqn1nxtHypEZiVWbne8XDXIc788raYOSyg1n2WEgxErF0DaL9EkT7Kv75u ZysGGredi+p5VgUy0lPVT74aZm5jkDFDThFtx10dAFqOXLyaiZWrT9QBbohfu94zajt7 RtBO8TiywnzsUlB37TIUSi1aYtAuAOVQhIb3xH1juNCO17bDJelyZZYVzBeoATS9wP98 NDEJdv/wffSV0kYWoVwiEG3DACazwT/w/DELLZBioX6MEPiGvc5szGxv+4e/fc64QtnV 6WZfTanqxT1Hy8Z13k/D/4XnUfxSOIu9y8f4m2dvE/heVDYYFOAF0YRkfTULYrfqwGCs rxNg== X-Forwarded-Encrypted: i=1; AJvYcCUXCXMrPP0tElbgl7ON3E6WIqAF8tqc4BvFkfB4DD8mJd0kmP5qfpqR5Wui1Z4SZWb4rrUbbt4=@lists.denx.de X-Gm-Message-State: AOJu0YxO7W+0LSngmbErfrqEcJBgbuM3qTguTZHSulBU+xRZzOU/Jy+x lbTRzvMMcgbkSJxzWLpAo9ZpHXrtX330U8oSm8AheF5CmBN+2cx6ZzyvAbpDFN8= X-Gm-Gg: ASbGncuSG3S1FSIgVbBxyUjd0YNEysq5M+Q+/IrMBqu0YzaSi/yYVIvZch2oZhPWASX 4zZ4PQTKDUSkPOhHDh6zt7YXCrW/nxK5kX/lGVXNR2QlNMTQUvUi30Hf/loy/XmLke/mt9NuZXK +B12vs6tMiczbDbgiMOjhEFnvstJm3A4xJgTLO4mZ6hepWJwVq/F6ohuY8Lr2TyNlOyt/uw9Ulf k7jZqBZXFDKSboBxfEpkIg4SzuFc30pdOgWrM0VuCurHqcHQvUODUzRbFc= X-Received: by 2002:a05:6830:6d89:b0:718:6da0:72b with SMTP id 46e09a7af769-71e197b7692mr661231a34.7.1733883426417; Tue, 10 Dec 2024 18:17:06 -0800 (PST) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5f2793225d5sm2791021eaf.42.2024.12.10.18.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 18:17:05 -0800 (PST) From: Sam Protsenko <semen.protsenko@linaro.org> To: Tom Rini <trini@konsulko.com> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Sughosh Ganu <sughosh.ganu@linaro.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>, Caleb Connolly <caleb.connolly@linaro.org>, Marek Vasut <marex@denx.de>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Patrick Delaunay <patrick.delaunay@foss.st.com>, u-boot@lists.denx.de Subject: [PATCH v2 2/2] boot: fdt: Handle already reserved memory in boot_fdt_reserve_region() Date: Tue, 10 Dec 2024 20:17:02 -0600 Message-Id: <20241211021703.2333-3-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241211021703.2333-1-semen.protsenko@linaro.org> References: <20241211021703.2333-1-semen.protsenko@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://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>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
lmb: Fix reserving the same region multiple times
|
expand
|
diff --git a/boot/image-fdt.c b/boot/image-fdt.c index 3d5b6f9e2dc7..73c43c30684f 100644 --- a/boot/image-fdt.c +++ b/boot/image-fdt.c @@ -77,7 +77,7 @@ static void boot_fdt_reserve_region(u64 addr, u64 size, enum lmb_flags flags) debug(" reserving fdt memory region: addr=%llx size=%llx flags=%x\n", (unsigned long long)addr, (unsigned long long)size, flags); - } else { + } else if (ret != -EEXIST) { puts("ERROR: reserving fdt memory region failed "); printf("(addr=%llx size=%llx flags=%x)\n", (unsigned long long)addr,