[{"id":3650003,"web_url":"http://patchwork.ozlabs.org/comment/3650003/","msgid":"<f66468a3-724f-2666-c043-84132ba84e3f@gmail.com>","list_archive_url":null,"date":"2026-02-13T15:46:42","subject":"Re: [PATCH v2 1/6] reboot-mode: Use actual cell size instead of\n sizeof(u32)","submitter":{"id":64621,"url":"http://patchwork.ozlabs.org/api/people/64621/","name":"Sean Anderson","email":"seanga2@gmail.com"},"content":"On 2/13/26 06:27, Aswin Murugan wrote:\n> The nvmem reboot-mode driver hardcodes sizeof(u32) for NVMEM read/write\n> operations. This fails on platforms where the reboot reason storage is\n> smaller than 4 bytes.\n> \n> On Qualcomm platforms with single-byte PMIC register storage, attempting\n> to read 4 bytes from a 1-byte cell causes the NVMEM subsystem to return\n> -EINVAL, breaking reboot-mode functionality.\n> \n> Replace sizeof(*mode) and sizeof(mode) with priv->cell.size to use the\n> actual NVMEM cell size. Also initialize *mode to 0 in reboot_mode_get()\n> to ensure a clean state for cells smaller than u32.\n> \n> This allows the driver to work with cells of any size, from single bytes\n> to multi-byte words.\n> \n> Signed-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>\n> ---\n>   drivers/reboot-mode/reboot-mode-nvmem.c | 5 +++--\n>   1 file changed, 3 insertions(+), 2 deletions(-)\n> \n> diff --git a/drivers/reboot-mode/reboot-mode-nvmem.c b/drivers/reboot-mode/reboot-mode-nvmem.c\n> index b9af242520a..60307cce49f 100644\n> --- a/drivers/reboot-mode/reboot-mode-nvmem.c\n> +++ b/drivers/reboot-mode/reboot-mode-nvmem.c\n> @@ -18,15 +18,16 @@ struct nvmem_reboot_mode_priv {\n>   static int reboot_mode_get(struct udevice *dev, u32 *mode)\n>   {\n>   \tstruct nvmem_reboot_mode_priv *priv = dev_get_priv(dev);\n> +\t*mode = 0;\n>   \n> -\treturn nvmem_cell_read(&priv->cell, mode, sizeof(*mode));\n> +\treturn nvmem_cell_read(&priv->cell, mode, priv->cell.size);\n>   }\n>   \n>   static int reboot_mode_set(struct udevice *dev, u32 mode)\n>   {\n>   \tstruct nvmem_reboot_mode_priv *priv = dev_get_priv(dev);\n>   \n> -\treturn nvmem_cell_write(&priv->cell, &mode, sizeof(mode));\n> +\treturn nvmem_cell_write(&priv->cell, &mode, priv->cell.size);\n>   }\n>   \n>   static const struct reboot_mode_ops nvmem_reboot_mode_ops = {\n\nI'm not sure about this. drivers/power/reset/nvmem-reboot-mode.c in Linux\nalways writes sizeof(unsigned long), and this is checked against the nvmem\ncell length in __nvmem_cell_entry_write. We should try to keep our behavior\nclose to Linux's.\n\n--Sean","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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=Hq/Gy+th;\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=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"Hq/Gy+th\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=seanga2@gmail.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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fCGkS1Vrcz1xr1\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 02:46:56 +1100 (AEDT)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 63F1383C4B;\n\tFri, 13 Feb 2026 16:46:48 +0100 (CET)","by phobos.denx.de (Postfix, from userid 109)\n id 2C9FF83015; Fri, 13 Feb 2026 16:46:47 +0100 (CET)","from mail-qt1-x831.google.com (mail-qt1-x831.google.com\n [IPv6:2607:f8b0:4864:20::831])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 092F483015\n for <u-boot@lists.denx.de>; Fri, 13 Feb 2026 16:46:45 +0100 (CET)","by mail-qt1-x831.google.com with SMTP id\n d75a77b69052e-5032e59c8d3so1144461cf.2\n for <u-boot@lists.denx.de>; Fri, 13 Feb 2026 07:46:44 -0800 (PST)","from ?IPV6:2600:4040:4476:3800:2d8:61ff:fe7c:5d59?\n ([2600:4040:4476:3800:2d8:61ff:fe7c:5d59])\n by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8cb2b20f240sm633932985a.40.2026.02.13.07.46.42\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Fri, 13 Feb 2026 07:46:43 -0800 (PST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,\n FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1770997604; x=1771602404; darn=lists.denx.de;\n h=content-transfer-encoding:in-reply-to:from:references:cc:to\n :content-language:subject:user-agent:mime-version:date:message-id\n :from:to:cc:subject:date:message-id:reply-to;\n bh=+/kLyY/7hxaIH+mHrPOHGgwrLvxdjshEB8qD1NlbYxU=;\n b=Hq/Gy+thHb8KmTPRCeeOCFg+BquMyomc2+o8GRzQK1IbxlXILqPhaa3YQMVfVdFhTk\n Zlwx66J6iulODFwBFHANjrnpSrXp2ut8mrUjzLNkcoj6lTvSkq9sjmVy/MH+WHbWRWRg\n cX//gGRXBC0jaCcJq36dKnz00LPkmE+dYrN2VeN3iR2COLJlEdZ2hnNq8X9QwcXi1Xzx\n xZfmKMGr4dfZ47FiJ0o+9qk9T+PeXj+ZkGkvWk3HX0nsZrArxZ+mvR8A439+6M5bbryN\n mDdDlEcTemADsi8mUBqH8+uOfp8w13tQ2QWtFuDfvG8XO8Fh/vkkvVdBHrGC/1mHZg/K\n y4ag==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770997604; x=1771602404;\n h=content-transfer-encoding:in-reply-to:from:references:cc:to\n :content-language:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=+/kLyY/7hxaIH+mHrPOHGgwrLvxdjshEB8qD1NlbYxU=;\n b=kU4trKrZYBIHy0pRQsLpvKXgMImqfIFbayMgd9i5edwhtEyXFjgiONPUsH/tUhttAW\n SauzpXWezASeW+E85mu8RO4Tc47ox40tVlQy1wXGNmORuU7/am9NtI8dxrG3oLbDty+5\n sqTWujLAf2N0lymyUNgLIDg9qJ9DFE6PnZOYXtmnZftiqrsdGZ/vaFw4MWoVtCQxLXfD\n qNwZCG3GohV0Zd0LNvdIBs9auDgW4GXuK3vfX0wV9/VZKpNJy9PQwLcUpDeN423OKKa5\n ZYtSJ6ItH6t27NAlpYJLk96Mov0orHauU6aDa9qICOXA6X7RcvmSMLxja8ld45/1mbiW\n HoMQ==","X-Forwarded-Encrypted":"i=1;\n AJvYcCWvaCWVNdKmHd705SIdwicPylxs6UCX0WWUZLyUtiniRQcETH9ylJxMVsx6PFStSX3My+0BuCY=@lists.denx.de","X-Gm-Message-State":"AOJu0YycIwdQGef7pSDB/HaoIiGh2ZilyznOO+aarCAWLarW6Fv0btVn\n G4RqtlErSza2p0nP+IrmVA2BB6m0ygiSA5NZgRsSwxqSS3brmeNDV8ZE","X-Gm-Gg":"AZuq6aJM0khM3bx93BBLJqkNEd7WavHrwIKpjIn4JdhhDgG5bvox5sHtF51nEK/wn0y\n NOWbd+gpwve/KR037WGjVT1RxRhMlEFYJlDsGTKjKyjjsT9RYFWl9uQ9C5i9a3G7YO4PtgIgPkh\n SNZgZNRF5x9WxZVNdQjslmOLitEQVkfWeB1h9+3nOfyCiMS11eklwNAkCteBd12jOc237tmFpIC\n Cu+sFyZN5sWopvtefQJb71jqftZDTbOliVDu5TrjhLnGU51EXP7ZjD5InACNnEE21G2dMYN1o4X\n 3ZJCPyu8dtOfhWE4sNFIEcTd9Wt/huonF36TpU88ciYakrqW3XkcOoOel1RBgvuM1zhSkKlmj0P\n adKRB3giBWuq5LNa6nk7ETedJ9JwHCsoHHvInYUlUPWR8KANpL7zxJ/VcUqQkSAJHXnwbYPXMLt\n AE1Ob+8pZ70qNAOV0AyXtOnpouobtd9JWBuz6s6b/6NdJr+omUJur/FcrHVfmDwoXKN87tL8KC7\n RUyRA==","X-Received":"by 2002:ac8:7f0e:0:b0:4f1:840a:c90f with SMTP id\n d75a77b69052e-506a677c49amr27994891cf.2.1770997603652;\n Fri, 13 Feb 2026 07:46:43 -0800 (PST)","Message-ID":"<f66468a3-724f-2666-c043-84132ba84e3f@gmail.com>","Date":"Fri, 13 Feb 2026 10:46:42 -0500","MIME-Version":"1.0","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101\n Thunderbird/91.11.0","Subject":"Re: [PATCH v2 1/6] reboot-mode: Use actual cell size instead of\n sizeof(u32)","Content-Language":"en-US","To":"Aswin Murugan <aswin.murugan@oss.qualcomm.com>, u-boot@lists.denx.de,\n sumit.garg@kernel.org, casey.connolly@linaro.org, u-boot-qcom@groups.io","Cc":"trini@konsulko.com, marek.vasut+renesas@mailbox.org,\n neil.armstrong@linaro.org, peng.fan@nxp.com, quentin.schulz@cherry.de,\n n-francis@ti.com, xypron.glpk@gmx.de, h-vm@ti.com, justin@tidylabs.net,\n jamie.gibbons@microchip.com, ycliang@andestech.com, me@samcday.com,\n sughosh.ganu@arm.com, gchan9527@gmail.com, ilias.apalodimas@linaro.org","References":"<20260213112717.1256823-1-aswin.murugan@oss.qualcomm.com>\n <20260213112717.1256823-2-aswin.murugan@oss.qualcomm.com>","From":"Sean Anderson <seanga2@gmail.com>","In-Reply-To":"<20260213112717.1256823-2-aswin.murugan@oss.qualcomm.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"7bit","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"}},{"id":3650245,"web_url":"http://patchwork.ozlabs.org/comment/3650245/","msgid":"<250c54fc-4838-7280-7fd2-f5e7b444ef9d@gmail.com>","list_archive_url":null,"date":"2026-02-14T02:55:44","subject":"Re: [PATCH v2 1/6] reboot-mode: Use actual cell size instead of\n sizeof(u32)","submitter":{"id":64621,"url":"http://patchwork.ozlabs.org/api/people/64621/","name":"Sean Anderson","email":"seanga2@gmail.com"},"content":"On 2/13/26 10:46, Sean Anderson wrote:\n> On 2/13/26 06:27, Aswin Murugan wrote:\n>> The nvmem reboot-mode driver hardcodes sizeof(u32) for NVMEM read/write\n>> operations. This fails on platforms where the reboot reason storage is\n>> smaller than 4 bytes.\n>>\n>> On Qualcomm platforms with single-byte PMIC register storage, attempting\n>> to read 4 bytes from a 1-byte cell causes the NVMEM subsystem to return\n>> -EINVAL, breaking reboot-mode functionality.\n>>\n>> Replace sizeof(*mode) and sizeof(mode) with priv->cell.size to use the\n>> actual NVMEM cell size. Also initialize *mode to 0 in reboot_mode_get()\n>> to ensure a clean state for cells smaller than u32.\n>>\n>> This allows the driver to work with cells of any size, from single bytes\n>> to multi-byte words.\n>>\n>> Signed-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>\n>> ---\n>>   drivers/reboot-mode/reboot-mode-nvmem.c | 5 +++--\n>>   1 file changed, 3 insertions(+), 2 deletions(-)\n>>\n>> diff --git a/drivers/reboot-mode/reboot-mode-nvmem.c b/drivers/reboot-mode/reboot-mode-nvmem.c\n>> index b9af242520a..60307cce49f 100644\n>> --- a/drivers/reboot-mode/reboot-mode-nvmem.c\n>> +++ b/drivers/reboot-mode/reboot-mode-nvmem.c\n>> @@ -18,15 +18,16 @@ struct nvmem_reboot_mode_priv {\n>>   static int reboot_mode_get(struct udevice *dev, u32 *mode)\n>>   {\n>>       struct nvmem_reboot_mode_priv *priv = dev_get_priv(dev);\n>> +    *mode = 0;\n>> -    return nvmem_cell_read(&priv->cell, mode, sizeof(*mode));\n>> +    return nvmem_cell_read(&priv->cell, mode, priv->cell.size);\n>>   }\n>>   static int reboot_mode_set(struct udevice *dev, u32 mode)\n>>   {\n>>       struct nvmem_reboot_mode_priv *priv = dev_get_priv(dev);\n>> -    return nvmem_cell_write(&priv->cell, &mode, sizeof(mode));\n>> +    return nvmem_cell_write(&priv->cell, &mode, priv->cell.size);\n>>   }\n>>   static const struct reboot_mode_ops nvmem_reboot_mode_ops = {\n> \n> I'm not sure about this. drivers/power/reset/nvmem-reboot-mode.c in Linux\n> always writes sizeof(unsigned long), and this is checked against the nvmem\n> cell length in __nvmem_cell_entry_write. We should try to keep our behavior\n> close to Linux's.\n> \n> --Sean\n\nActually, NACK since this smashes the stack with a cell size that is larger than 4.\n\n--Sean","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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=iggEyr+B;\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=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"iggEyr+B\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=seanga2@gmail.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 4fCYZK6Ycrz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 14 Feb 2026 13:55:53 +1100 (AEDT)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 597D083642;\n\tSat, 14 Feb 2026 03:55:50 +0100 (CET)","by phobos.denx.de (Postfix, from userid 109)\n id AD8A883642; Sat, 14 Feb 2026 03:55:49 +0100 (CET)","from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com\n [IPv6:2607:f8b0:4864:20::f35])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 77BD383015\n for <u-boot@lists.denx.de>; Sat, 14 Feb 2026 03:55:47 +0100 (CET)","by mail-qv1-xf35.google.com with SMTP id\n 6a1803df08f44-8946421dd8fso1979706d6.0\n for <u-boot@lists.denx.de>; Fri, 13 Feb 2026 18:55:47 -0800 (PST)","from ?IPV6:2600:4040:4476:3800:2d8:61ff:fe7c:5d59?\n ([2600:4040:4476:3800:2d8:61ff:fe7c:5d59])\n by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8cb2b004eecsm732098985a.0.2026.02.13.18.55.45\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Fri, 13 Feb 2026 18:55:45 -0800 (PST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,\n FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1771037746; x=1771642546; darn=lists.denx.de;\n h=content-transfer-encoding:in-reply-to:references:cc:to:from\n :content-language:subject:user-agent:mime-version:date:message-id\n :from:to:cc:subject:date:message-id:reply-to;\n bh=BLTv+8nou6UKqEvA9dLw6dtxIn5TtS2MsxX1CQzP/ng=;\n b=iggEyr+Bfb/4Cr8QVRK1vSl5/0NquHeuQVE5TmkXshwpLiOw+cOsmL1N2WSFuzO3BP\n wnFoIBMsFS6OjdIncIi2MEKahkxvJ5kbWxEDq+8HjLpnEHiOYyWyoxD7cfrzloQEkPXl\n awQhEUS2HJeO2jp/1jSeiLW2uWECQD/+TW6mDuq7BFh2zkgPvLS7bLS9yvDsY/jB53pO\n m5PkaWQZiLLHoibN2T1Dgk9jZ6CaMoPeLNr5lK1Hhc+WeU90zEdkqAorc+R+XqRcn3uc\n HJFGsHyrQbnZrB+FX/5sXaIevh9LKONH1MWjVG60XkVBrpgGPilQQ+OsTr1TfQfX1VDh\n JbpQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771037746; x=1771642546;\n h=content-transfer-encoding:in-reply-to:references:cc:to:from\n :content-language:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=BLTv+8nou6UKqEvA9dLw6dtxIn5TtS2MsxX1CQzP/ng=;\n b=ikAq1hJDZF1h2zGag24D7bswV5TECdBYe1nrKeDB+bVYvgpexu4ZY8hsadVHxVaViw\n dAvNE7HJMPvwyLVEQU7Z0pTAwQu7YBJjj3Dh8Svp7CKRPQFhIddM5ZGeTXltP8FvoN5k\n xkAHcAEJ3qMolXwIhTspHif7snfUf5PLhHdAy5iDdJ1aBYJLR2g4S6E22uxVUKx2uqGP\n teF3HCUs+zSTeo81MNfH/yh0u7No7tDVK0ocVe0Sxaw/8/mU6sPybtkhVlDV26A1vB3K\n HCLmUlPHmvlsrtLdEK4jPDnlfPW4TQSKtsp9UsPMixE9kzGWShO5YIx9rLAuHcPyNv35\n CMlA==","X-Forwarded-Encrypted":"i=1;\n AJvYcCWAZpFWJAbyZEYQLgkxxhjvRoB7taKPzw5rj5rB1FXdy7rUBLsQ788ZQNeIYTofaHw5xKCpmbA=@lists.denx.de","X-Gm-Message-State":"AOJu0YwWMjEd5UwGCWIyDExer6NiIiYCljCEf0ziPaouQp6XAVTTtvNI\n L3O8m4Ha/1ZR3QMlK7rdTmkZwb1TryHoKiIOUdFgupD+LoBX940mV5pD1b4tfA==","X-Gm-Gg":"AZuq6aJxLlJYq4AetnAam5RSr3M2wkQLR9/rpd/5sb+u+YkPES887+X8TGJP+M4B5Qu\n 04YSdx8r9ZrvuDMMOZFbk9zjuEoNPq5A7/s4AWZpufpeamH68AkzyNrJ72CAj9bLNOga+dYkcl6\n dy02eQAWQxtnE6X9OP6/akVD8lSrh0We03PiNI0Nc56zzMI3JAvUdh2EoonTUw2uArKTkyRoAGl\n he5UuWQC1+DYgk73EfoFDLgCye6rXUv0HMlZRrJdECy0lYpWjsV6l5Eye1sznIY6F4AXjf7RgGE\n Z+yz4USwH+Ms9ellXMVAJYEpPtNdq0qPoYtVQOlWUVABHWCHtcPoro6HKBj3lriclvEqv8l3bkS\n uGG3q/FRIv/GE2G2vTP8HqizTkc0KyvDaxzMYogwUihWofNaAyIWEZO3F0BwIZKd5i4vmQ64v6p\n y2Oe0lW2YGYqaJLRH0Oe4tq2mgoc5CpQN7egrdOkhwVRYAQKfMPzdADiFY7JmvHpYST64=","X-Received":"by 2002:a05:620a:1714:b0:8c7:110c:762f with SMTP id\n af79cd13be357-8cb40850a6cmr442459785a.4.1771037746076;\n Fri, 13 Feb 2026 18:55:46 -0800 (PST)","Message-ID":"<250c54fc-4838-7280-7fd2-f5e7b444ef9d@gmail.com>","Date":"Fri, 13 Feb 2026 21:55:44 -0500","MIME-Version":"1.0","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101\n Thunderbird/91.11.0","Subject":"Re: [PATCH v2 1/6] reboot-mode: Use actual cell size instead of\n sizeof(u32)","Content-Language":"en-US","From":"Sean Anderson <seanga2@gmail.com>","To":"Aswin Murugan <aswin.murugan@oss.qualcomm.com>, u-boot@lists.denx.de,\n sumit.garg@kernel.org, casey.connolly@linaro.org, u-boot-qcom@groups.io","Cc":"trini@konsulko.com, marek.vasut+renesas@mailbox.org,\n neil.armstrong@linaro.org, peng.fan@nxp.com, quentin.schulz@cherry.de,\n n-francis@ti.com, xypron.glpk@gmx.de, h-vm@ti.com, justin@tidylabs.net,\n jamie.gibbons@microchip.com, ycliang@andestech.com, me@samcday.com,\n sughosh.ganu@arm.com, gchan9527@gmail.com, ilias.apalodimas@linaro.org","References":"<20260213112717.1256823-1-aswin.murugan@oss.qualcomm.com>\n <20260213112717.1256823-2-aswin.murugan@oss.qualcomm.com>\n <f66468a3-724f-2666-c043-84132ba84e3f@gmail.com>","In-Reply-To":"<f66468a3-724f-2666-c043-84132ba84e3f@gmail.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"base64","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"}}]