{"id":2224879,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2224879/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260419-type-v3-0-ec49acd6870e@oss.qualcomm.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":"<20260419-type-v3-0-ec49acd6870e@oss.qualcomm.com>","date":"2026-04-19T10:24:02","name":"[v3,0/5] Add partition type GUID support for environment","submitter":{"id":90810,"url":"http://patchwork.ozlabs.org/api/1.1/people/90810/?format=json","name":"Balaji Selvanathan","email":"balaji.selvanathan@oss.qualcomm.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260419-type-v3-0-ec49acd6870e@oss.qualcomm.com/mbox/","series":[{"id":500492,"url":"http://patchwork.ozlabs.org/api/1.1/series/500492/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=500492","date":"2026-04-19T10:24:02","name":"Add partition type GUID support for environment","version":3,"mbox":"http://patchwork.ozlabs.org/series/500492/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2224879/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 (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=GbsIrbMD;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=dm7Y5zL8;\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=none (p=none dis=none) header.from=oss.qualcomm.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=qualcomm.com header.i=@qualcomm.com\n header.b=\"GbsIrbMD\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"dm7Y5zL8\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com","phobos.denx.de; spf=pass\n smtp.mailfrom=balaji.selvanathan@oss.qualcomm.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 4fz4VQ6yqjz1yD4\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 19 Apr 2026 20:24:30 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id C9B8283B99;\n\tSun, 19 Apr 2026 12:24:21 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 7F3E183E81; Sun, 19 Apr 2026 12:24:20 +0200 (CEST)","from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com\n [205.220.168.131])\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 CB2F4839D9\n for <u-boot@lists.denx.de>; Sun, 19 Apr 2026 12:24:17 +0200 (CEST)","from pps.filterd (m0279862.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63J1pw193982252\n for <u-boot@lists.denx.de>; Sun, 19 Apr 2026 10:24:16 GMT","from mail-pl1-f197.google.com (mail-pl1-f197.google.com\n [209.85.214.197])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dm2qajbdu-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Sun, 19 Apr 2026 10:24:15 +0000 (GMT)","by mail-pl1-f197.google.com with SMTP id\n d9443c01a7336-2b2e8bba2e6so28975075ad.1\n for <u-boot@lists.denx.de>; Sun, 19 Apr 2026 03:24:15 -0700 (PDT)","from hu-bselvana-blr.qualcomm.com\n (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b5fab0caf1sm72754675ad.42.2026.04.19.03.24.06\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 19 Apr 2026 03:24:13 -0700 (PDT)"],"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,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:message-id\n :mime-version:subject:to; s=qcppdkim1; bh=RrgPRSqoXiDcyAGD5d2gJT\n dUKNQLdRsQ192u3JziwAk=; b=GbsIrbMDlPlJcr+JmBUGDZcgnel7/zSR23bFNN\n JRzlmBycwVYOjERc9l/Nmc+CQple0Iv+qJxKHcPvNPKt2x/JlNIOwR4sGnY1Nel0\n Fp0mIFVOBpAc/9YL1c002XzJTDFIofEaZs/nL+wFFYv/j9HSCEbljRqqFw7gAn59\n wSMm0LAP/UHT+V57cuw22tYJZ0GLhdpOca9/YI+vz38BvYpet3ZkHAEbMPUPsWz2\n yQk3LHZlvwYNw7MHgac+rPfLVWNJKSw7TAJZpulxsfMaoA+X16kI2kcjzTozqEgi\n UvFF4I7pxJAH1G3dBkpzGY3h4Ri4WS81gKhXVfrUyCztxvzg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1776594255; x=1777199055; darn=lists.denx.de;\n h=cc:to:content-transfer-encoding:mime-version:message-id:date\n :subject:from:from:to:cc:subject:date:message-id:reply-to;\n bh=RrgPRSqoXiDcyAGD5d2gJTdUKNQLdRsQ192u3JziwAk=;\n b=dm7Y5zL8vsQd8mope/5Jis4xEykw4C9nOQsDI9UQbF2kwyyfpiSwadGxHWtJy7L/jP\n X8vHLWyQuYMinro4GCVKb6VjVFgOlUPB78ZTW1gfTit02J5HPdrau5Sh6pVza0QWBicS\n KTQsza76zjLy8LjICypaeTuPHzmwfAEb7tm+y8cig3u8zBRoifkJD5CuC5vDtVDLVLQk\n /FD0PuMxUlndcx4vrUffMn4LY3O0QvaKn/EpFVvQ4iVvkr6+UYtKwrBFrk1LVp8Suaf4\n asEVUjweJ1qWa00zmbntk9JwavUnLNI4qUVyLQPCCFfZPxpOsdcgnCZ/3KEzgYG1KPaV\n 0aUQ=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776594255; x=1777199055;\n h=cc:to:content-transfer-encoding:mime-version:message-id:date\n :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=RrgPRSqoXiDcyAGD5d2gJTdUKNQLdRsQ192u3JziwAk=;\n b=ISpn8Syl6qg641wreMGdLC0P8LfVWKE8Wgog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by 2002:a17:903:17cf:b0:2b0:52b7:e82 with SMTP id\n d9443c01a7336-2b5f9ed031amr97418835ad.16.1776594254936;\n Sun, 19 Apr 2026 03:24:14 -0700 (PDT)","by 2002:a17:903:17cf:b0:2b0:52b7:e82 with SMTP id\n d9443c01a7336-2b5f9ed031amr97418575ad.16.1776594254401;\n Sun, 19 Apr 2026 03:24:14 -0700 (PDT)"],"From":"Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>","Subject":"[PATCH v3 0/5] Add partition type GUID support for environment","Date":"Sun, 19 Apr 2026 15:54:02 +0530","Message-Id":"<20260419-type-v3-0-ec49acd6870e@oss.qualcomm.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-B4-Tracking":"v=1; b=H4sIAEOt5GkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyjHUUlJIzE\n vPSU3UzU4B8JSMDIzMDE0NL3ZLKglTdZLNEE4tEw2Qjc+MUJaDSgqLUtMwKsDHRsbW1AIu7Xtp\n WAAAA","X-Change-ID":"20260419-type-c6a48a1c273d","To":"u-boot@lists.denx.de, Sumit Garg <sumit.garg@kernel.org>,\n u-boot-qcom@groups.io","Cc":"Tom Rini <trini@konsulko.com>, Quentin Schulz <quentin.schulz@cherry.de>,\n  Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Javier Tia <javier.tia@linaro.org>,\n Varadarajan Narayanan <quic_varada@quicinc.com>,\n Rasmus Villemoes <ravi@prevas.dk>,\n Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,\n Javier Martinez Canillas <javierm@redhat.com>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= <joaomarcos.costa@bootlin.com>,\n Tien Fong Chee <tien.fong.chee@altera.com>,\n Richard Genoud <richard.genoud@bootlin.com>,\n Jan Kiszka <jan.kiszka@siemens.com>, David Lechner <dlechner@baylibre.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n Simon Glass <simon.glass@canonical.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Christian Marangi <ansuelsmth@gmail.com>, Michael Walle <mwalle@kernel.org>,\n Sumit Garg <sumit.garg@oss.qualcomm.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Aswin Murugan <aswin.murugan@oss.qualcomm.com>,\n Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>,\n Simon Glass <sjg@chromium.org>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Jerome Forissier <jerome.forissier@arm.com>,\n Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>","X-Mailer":"b4 0.14.3","X-Developer-Signature":"v=1; a=ed25519-sha256; t=1776594245; l=2671;\n i=balaji.selvanathan@oss.qualcomm.com; s=20260213; h=from:subject:message-id;\n bh=9K90XtDd9BAJ38cEa2RGRHpXSRRJiqjVo2Skx1BAEog=;\n b=yZNEC+/YDMTxIpV3an/W2k/an4ej8OMt4xPZQTFR/jioHyxmHr5GpoVvabLqxVCkNtbMbXWAB\n 0JWDUMBhoQkDmZ3pianY8I5StSD+TMx/ZBjL+esGd4E2AuoyqTpjrr3","X-Developer-Key":"i=balaji.selvanathan@oss.qualcomm.com; a=ed25519;\n pk=CDpYiUU3SH7KGEtsBvY2tBGPiWfMxqWJF0p2LftOfnc=","X-Proofpoint-GUID":"Hio1N38ygChqCb6-TWlt1b0foROzNBR0","X-Authority-Analysis":"v=2.4 cv=KdDidwYD c=1 sm=1 tr=0 ts=69e4ad4f cx=c_pps\n a=cmESyDAEBpBGqyK7t0alAg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22\n a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=MqmbOINMHaTB6spGDmEA:9 a=QEXdDO2ut3YA:10\n a=1OuFwYUASf3TG4hYMiVC:22","X-Proofpoint-ORIG-GUID":"Hio1N38ygChqCb6-TWlt1b0foROzNBR0","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwNDE5MDEwOCBTYWx0ZWRfX1hzg87GlCTBz\n 9uHsbHaygYrjtsamiq4ZfUUtWRejn673Cz8jv1aVdooB88SmcHhjegtoM1s0QVWdQKlNizEqJGD\n f99Iiynry76svNTEwcXsy9PM2HryHXTieb1PjJ2S4JKmh7d3/iQmS6nmPO5w10NdDtKvtuWbnuz\n g4D4ak+/Q7XEhcvMXXr3fXbellVrcnEBdxAS5wCvFC9iljK56lsUW9pE5u3zZTiDXDOqGs+gnvK\n 2pMfTH0cTms1zHTNhciP9ui71ud/S6MgR0cCbPom2retD8Vmy8qykortI36EPnMrk2tj+TZlTeT\n m34sN5zPRTfOVGEughTvOW0IdRJ08Xk8PQbcD/180A+XycGu7CKLqBwAEmIw+CHNqynYnDtpMnr\n 291ioxcn+R4/fnrKBk6p4ev2iLPKssZnRvJC4T9dNyQT4imUyg6+7paIBuRUa9o+jF5BO6FCYF4\n 6E35HSUgPZnZWakVSyg==","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-19_03,2026-04-17_04,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n clxscore=1015 impostorscore=0 spamscore=0 priorityscore=1501 malwarescore=0\n suspectscore=0 adultscore=0 phishscore=0 bulkscore=0 lowpriorityscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604070000 definitions=main-2604190108","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":"This series adds support for locating partitions using GPT partition\ntype GUID instead of unique partition UUID. This enables the saveenv\ncommand to work with partitions identified by their type rather than\nunique identifiers, providing flexibility for systems where partition\nUUIDs may vary across devices but types remain constant.\n\nPatch 1 adds part_get_info_by_type_guid() function support\nPatch 2 adds scsi_get_blk_by_type_guid() function support\nPatch 3 adds support for partition type GUID based environment\nPatch 4 enables partition type GUID configs for QCM6490 and QCS615\nPatch 5 adds unit test for the partition type GUID lookup functionality\n\nSigned-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>\n---\nChanges in v3:\n- Addressed minor corrections in Patch 1 in part_get_info_by_type_guid function\n- Refactor env_scsi_get_part and env_scsi_load functions based\n  on the choice configs in Patch 3\n- Add unit test for the partition type GUID lookup functionality in Patch 5\n- Link to v2: https://lore.kernel.org/u-boot/20260109070912.4106466-1-balaji.selvanathan@oss.qualcomm.com/\n\nChanges in v2:\n- Compute blk_find_max_devnum(UCLASS_SCSI) only once in scsi_get_blk_by_type_guid()\n- Introduce a Kconfig choice config to select between UUID-based\nand type GUID-based partition lookup methods.\n- Enable above new config in qcom_qcs615_defconfig and qcm6490_defconfig\n- Link to v1: https://lore.kernel.org/u-boot/20260108064947.3237361-1-balaji.selvanathan@oss.qualcomm.com/\n\n---\nBalaji Selvanathan (5):\n      disk: Add partition lookup by type GUID functionality\n      scsi: Add partition lookup by type GUID for SCSI devices\n      env: scsi: Add support for partition type GUID based environment\n      configs: Enable partition type GUID for QCM6490 and QCS615 boards\n      test: dm: Add partition type GUID lookup test\n\n configs/qcm6490_defconfig     |  5 +++++\n configs/qcom_qcs615_defconfig |  5 +++++\n disk/part.c                   | 37 +++++++++++++++++++++++++++++++\n drivers/scsi/scsi-uclass.c    | 28 ++++++++++++++++++++++--\n env/Kconfig                   | 51 ++++++++++++++++++++++++++++++++++++-------\n env/scsi.c                    | 45 +++++++++++++++++++++++---------------\n include/part.h                | 21 ++++++++++++++++++\n include/scsi.h                | 11 ++++++++++\n test/dm/part.c                | 48 ++++++++++++++++++++++++++++++++++++++++\n 9 files changed, 223 insertions(+), 28 deletions(-)\n---\nbase-commit: e3405917a1806971d9e72a94186b299f05581e1a\nchange-id: 20260419-type-c6a48a1c273d\n\nBest regards,"}