{"id":2222832,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2222832/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260413203555.1990337-1-rs@ti.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/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},"msgid":"<20260413203555.1990337-1-rs@ti.com>","date":"2026-04-13T20:35:49","name":"[PATCHv3,0/6] various memory related fixups","submitter":{"id":88727,"url":"http://patchwork.ozlabs.org/api/1.1/people/88727/?format=json","name":"Randolph Sapp","email":"rs@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260413203555.1990337-1-rs@ti.com/mbox/","series":[{"id":499752,"url":"http://patchwork.ozlabs.org/api/1.1/series/499752/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=499752","date":"2026-04-13T20:35:52","name":"various memory related fixups","version":1,"mbox":"http://patchwork.ozlabs.org/series/499752/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2222832/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=ti.com header.i=@ti.com header.a=rsa-sha256\n header.s=selector1 header.b=M0esJXG/;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=ti.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=ti.com header.i=@ti.com header.b=\"M0esJXG/\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=ti.com","phobos.denx.de; spf=pass smtp.mailfrom=rs@ti.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fvfMR3wZjz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 06:36:35 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 617B1841D5;\n\tMon, 13 Apr 2026 22:36:26 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 6D0CE839DF; Mon, 13 Apr 2026 22:36:23 +0200 (CEST)","from PH0PR06CU001.outbound.protection.outlook.com\n (mail-westus3azlp170110003.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c107::3])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 108818407D\n for <u-boot@lists.denx.de>; Mon, 13 Apr 2026 22:36:21 +0200 (CEST)","from SJ0PR13CA0059.namprd13.prod.outlook.com (2603:10b6:a03:2c2::34)\n by CY8PR10MB6611.namprd10.prod.outlook.com (2603:10b6:930:55::10)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.48; Mon, 13 Apr\n 2026 20:36:17 +0000","from SJ5PEPF000001F2.namprd05.prod.outlook.com\n (2603:10b6:a03:2c2:cafe::d9) by SJ0PR13CA0059.outlook.office365.com\n (2603:10b6:a03:2c2::34) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.47 via Frontend Transport; Mon,\n 13 Apr 2026 20:36:17 +0000","from flwvzet201.ext.ti.com (198.47.21.195) by\n SJ5PEPF000001F2.mail.protection.outlook.com (10.167.242.70) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9769.17 via Frontend Transport; Mon, 13 Apr 2026 20:36:16 +0000","from DFLE209.ent.ti.com (10.64.6.67) by flwvzet201.ext.ti.com\n (10.248.192.32) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Mon, 13 Apr\n 2026 15:36:12 -0500","from DFLE206.ent.ti.com (10.64.6.64) by DFLE209.ent.ti.com\n (10.64.6.67) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Mon, 13 Apr\n 2026 15:36:12 -0500","from lelvem-mr06.itg.ti.com (10.180.75.8) by DFLE206.ent.ti.com\n (10.64.6.64) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend\n Transport; Mon, 13 Apr 2026 15:36:12 -0500","from rs-desk.dhcp.ti.com (rs-desk.dhcp.ti.com [128.247.81.39])\n by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 63DKaBsa2729634;\n Mon, 13 Apr 2026 15:36:11 -0500"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,T_SPF_PERMERROR autolearn=ham\n autolearn_force=no version=3.4.2","ARC-Seal":"i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=jE0FsLKPOyzk1XGegO3eIWyNfnGDAk91OniwPICsk0Qx3w9TbgQ4iMfki6e9ztvvELnCamrU1fOFcMk1/x8XUa9JlH3rHQnsggMcl6+CUf5knScvcxrZB1CWNXJlBaNGtg/nXBYKQqO45bAQ1ViYwB+Sbn7PHHtTym8Ebp5pQMRO1IDKdSjKDgKGCfcBfS7d3b3/cD/gopI+iAVjt9H2ycpQzvNd8qwC6/A3pO4oHC3sg7sh+fee040+Z9q/fTxoAhyE1c7vXiM5xi2nhdFvJGwXDKtKVkKmR+CUVjd+N1sG2vFCbc069PzQX6fLlwMcor2/cSrYyV1Lr6iRJlcPiw==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=BihGei9F75MI8D2TW8eLiANcx8NBUGDI9uEcleqVqXc=;\n b=vdKzLfZyMOpQkVgz1wr6UXHELl+XKvca7DzRn2E2gQL8PFCA7/7aXzfGjIivtmMOq6cAIYsNtDR5IhtI0FL1jyKAAQ98A2U0f3PPPxKruPi4OKMgncIn7wGFVq9k69MYYAPmq+65el0saCavC0E4FvvTgq1YvdaV/CrmUYmYoGbIKL9Hddr57fL8rMhFloeQoqVQgHHlpjmLAKFiWauYOsdE3b+OMoNwmxLzIfmbVobnb07MAWu0nkKcor25xGBHpUjLcyLCCfKljt/WavZlARng5cl3yFgdf4lRo0iziWHlvVq5gUVCdYzazAif4N2IhVe8L+c2RypFkeR4QpPaLw==","ARC-Authentication-Results":"i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 198.47.21.195) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=ti.com;\n dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com;\n dkim=none (message not signed); arc=none (0)","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=BihGei9F75MI8D2TW8eLiANcx8NBUGDI9uEcleqVqXc=;\n b=M0esJXG/Q416btDB79CY3hMd/XqNJIBiiOD9/wbZyYk2XEXpb6m2nlL4+LIPyvpPEocoiVz5ZrFf+ST3KSfLO1Wq7hkRqQreWwzEikVi3la0M+iTNxddMg8e9ez1JgzoFOSwbV/iHskujN/XKvdTQNUYx7eY0bbml2Ex0n957Jw=","X-MS-Exchange-Authentication-Results":"spf=pass (sender IP is 198.47.21.195)\n smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;\n dmarc=pass\n action=none header.from=ti.com;","Received-SPF":"Pass (protection.outlook.com: domain of ti.com designates\n 198.47.21.195 as permitted sender) receiver=protection.outlook.com;\n client-ip=198.47.21.195; helo=flwvzet201.ext.ti.com; pr=C","From":"<rs@ti.com>","To":"<robertcnelson@gmail.com>, <ayush@beagleboard.org>,\n <Erik.Welsh@octavosystems.com>, <anshuld@ti.com>, <bb@ti.com>,\n <trini@konsulko.com>, <afd@ti.com>, <xypron.glpk@gmx.de>,\n <ilias.apalodimas@linaro.org>","CC":"<u-boot@lists.denx.de>","Subject":"[PATCHv3 0/6] various memory related fixups","Date":"Mon, 13 Apr 2026 15:35:49 -0500","Message-ID":"<20260413203555.1990337-1-rs@ti.com>","X-Mailer":"git-send-email 2.53.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Content-Type":"text/plain","X-C2ProcessedOrg":"333ef613-75bf-4e12-a4b1-8e3623f5dcea","X-EOPAttributedMessage":"0","X-MS-PublicTrafficType":"Email","X-MS-TrafficTypeDiagnostic":"SJ5PEPF000001F2:EE_|CY8PR10MB6611:EE_","X-MS-Office365-Filtering-Correlation-Id":"5a827129-31f5-4e12-e903-08de999c4ff1","X-MS-Exchange-SenderADCheck":"1","X-MS-Exchange-AntiSpam-Relay":"0","X-Microsoft-Antispam":"BCL:0;\n ARA:13230040|36860700016|376014|82310400026|1800799024|56012099003|18002099003;","X-Microsoft-Antispam-Message-Info":"\n YM+lxncMUnNMdasCgPPdu+fQtxI6HpIuhD/9598CJuG00P+lF7OLyxukWBcrzxM8eMjkaIWBiYDz5glUJgSLTuaKQk3p4ANuuLIvXIfsq+zAHRm209JVd6Yo2eCKs3nWKMNW+SdKAKTD55IdGgD9NlWlI5tcNuJ0yGSDMm9ZLU6N46teoOwoifejG1Udw59+Isk3VbDJP+juEt8brlSViwvWQfP1xLMcF53xI3S3/j7ZM2CrcuACKAh49WmupOynXzzbFaP6a0XPn7sDMT9lU1PzkA+/Ds7V7zsEXjuGe9D2BCQeo5GQU80urenIhRq9697mlQCPaY4E77QMej0LkOiiNluzkoKpidm8IfyesGZS11e3qjoQ29pfPOjtif33Os8frLTSggA6419o4Ir3TJ0+PIgL1YDUcslWQp6yrA+iuk6BtwOF25VWXMxdO+mYi01gkuJcMAXrRysxe0nzTUynkJt9nZqbcv3cSrDU+1RC7/mnVSInXYuKVTvIa9MVyW12SsvRkwcTnLt9pEXYbUBVQsbd2RLjpcGerNhsjGTuF3QGtIXkOnOpPX62XMZwH7K/wrsatGiO9r71qUI0Gt7mLU3sljDJZqqcrKQWyh8epTExmmN8Xy2okYVoNPf0yl/ge0xR28bsy/ORPYXgdcsm5LCdc5DPfko3cPD83PeXZn7rx2W1Ej3HshM3Yji/KUQjXPmy4+K+Uxa+KJ2KQJOjNRhHnfBcI6iE6qQPKx4xJqeMda60/0IRoCR2jv0gB+yKFwPzXNReJfdfYqXOWCUSM1hx3h2EQxkQZKoCFKY=","X-Forefront-Antispam-Report":"CIP:198.47.21.195; CTRY:US; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:flwvzet201.ext.ti.com; PTR:ErrorRetry; CAT:NONE;\n SFS:(13230040)(36860700016)(376014)(82310400026)(1800799024)(56012099003)(18002099003);\n DIR:OUT; SFP:1101;","X-MS-Exchange-AntiSpam-MessageData-ChunkCount":"1","X-MS-Exchange-AntiSpam-MessageData-0":"\n csQz5KGKfvkAniMtC78DNPBU1wP+FV0IRNpNQTnWux6uctaOqy1C4fImI/HqkTo7V0cvD1KzOXxwELu5ZxQmcKYLSKR3+Fbn8kCB3CcWukO4viKX9XIvCz6In/sqQslopRAzviZlSGbCc6Z3prfWKobc/HpXBZs7T2I1LrbsgjKD7fjt0cH6cAQLwS5Kbnko+H1gPTttBHnkZiZNuhlKktkKeueaRiem+wR0hd6ESEX05a8dlZZNFTLfzfaC5f40np/fekNyFcTFXhi9rH1cIvTaDqd9QoUcw/WmaVzHbcZOnGxw1/z17KTkxzJ2ioKxn24+NV5bnC7c4C/wf+IW7wCZRhKXkjfm3lXE1lyUlxaG1d8Yv7Jcx2E9BOiGLMP569H775Qa3TVSdXHFHdLI7F2S2ehyz5vV1+8jfV4eKqfa8oGOAFufFlL/oyb+RfcN","X-OriginatorOrg":"ti.com","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"13 Apr 2026 20:36:16.7028 (UTC)","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n 5a827129-31f5-4e12-e903-08de999c4ff1","X-MS-Exchange-CrossTenant-Id":"e5b49634-450b-4709-8abb-1e2b19b982b7","X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp":"\n TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7; Ip=[198.47.21.195];\n Helo=[flwvzet201.ext.ti.com]","X-MS-Exchange-CrossTenant-AuthSource":"\n SJ5PEPF000001F2.namprd05.prod.outlook.com","X-MS-Exchange-CrossTenant-AuthAs":"Anonymous","X-MS-Exchange-CrossTenant-FromEntityHeader":"HybridOnPrem","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"CY8PR10MB6611","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>,\n <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>,\n <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"},"content":"From: Randolph Sapp <rs@ti.com>\n\nNitpicks and fixes from the discovery thread on adding PocketBeagle2 support\n[1]. This does a lot of general setup required for the device, but these\nmodifications themselves aren't device specific. For those specifically\ninterested in PocketBeagle2 support and don't care about these details, my\ndevelopment branch is public [2].\n\nThat second patch may provoke some opinions, but honestly if that warning was\nstill present I wouldn't have spent a week poking holes in both the EFI and LMB\nallocations systems. Please let me know if there is a specific usecase that it\nbreaks though.\n\n[1] https://lore.kernel.org/all/DHHC66BBMD27.YHGIH43C6XBK@ti.com/\n[2] https://github.com/StaticRocket/u-boot/tree/feature/pocketbeagle2\n\nv2:\n\t- Remove additional increment and decrement in lmb_free_fdt_regions\n\t- Drop the patch to backfill EFI_CONVENTIONAL_MEMORY\n\t- Adjust the removal loop nitpick patch description\n\t- Change the reserve memory patch to use new end_addr_sp\nv3:\n\t- Update lmb flags to use the macro documentation for constants\n\t- Change efi_mem_sort to use list_for_each_entry_safe\n\nRandolph Sapp (6):\n  lmb: allocation flags macro documentation\n  lmb: add LMB_FDT for fdt reserved regions\n  efi_dt_fixup: use fdtdec_get_bool\n  efi_selftest_memory: check for duplicates first\n  efi_mem_sort: use list_for_each_entry_safe instead\n  memory: reserve from start_addr_sp to end_addr_sp\n\n boot/image-fdt.c                       |  5 +-\n common/board_f.c                       |  9 +++-\n include/asm-generic/global_data.h      |  6 +++\n include/lmb.h                          | 44 +++++++++++++--\n lib/efi_loader/efi_dt_fixup.c          |  3 +-\n lib/efi_loader/efi_memory.c            | 52 +++++++-----------\n lib/efi_selftest/efi_selftest_memory.c | 21 ++++----\n lib/lmb.c                              | 74 +++++++++++++-------------\n 8 files changed, 123 insertions(+), 91 deletions(-)"}