Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216447/?format=api
{ "id": 2216447, "url": "http://patchwork.ozlabs.org/api/patches/2216447/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/SLXP216MB114822C04834C4F0A78869A6F056A@SLXP216MB1148.KORP216.PROD.OUTLOOK.COM/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "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, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<SLXP216MB114822C04834C4F0A78869A6F056A@SLXP216MB1148.KORP216.PROD.OUTLOOK.COM>", "list_archive_url": null, "date": "2026-03-26T05:55:32", "name": "mmc: allow forward compatibility for EXT_CSD_REV", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0468927378846fb2e715757f26955d9b4385115e", "submitter": { "id": 92977, "url": "http://patchwork.ozlabs.org/api/people/92977/?format=api", "name": "박민우 (MW Park)", "email": "mw.park@telechips.com" }, "delegate": { "id": 12423, "url": "http://patchwork.ozlabs.org/api/users/12423/?format=api", "username": "Jaehoon", "first_name": "Jaehoon", "last_name": "Chung", "email": "jh80.chung@samsung.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/SLXP216MB114822C04834C4F0A78869A6F056A@SLXP216MB1148.KORP216.PROD.OUTLOOK.COM/mbox/", "series": [ { "id": 497587, "url": "http://patchwork.ozlabs.org/api/series/497587/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=497587", "date": "2026-03-26T05:55:32", "name": "mmc: allow forward compatibility for EXT_CSD_REV", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497587/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2216447/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216447/checks/", "tags": {}, "related": [], "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=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=mytelechips.onmicrosoft.com\n header.i=@mytelechips.onmicrosoft.com header.a=rsa-sha256\n header.s=selector2-mytelechips-onmicrosoft-com header.b=fXr/NE5U;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; 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=telechips.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=mytelechips.onmicrosoft.com\n header.i=@mytelechips.onmicrosoft.com header.b=\"fXr/NE5U\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=telechips.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=mw.park@telechips.com", "dkim=none (message not signed)\n header.d=none;dmarc=none action=none header.from=telechips.com;" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\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 4fhPT42409z1y1x\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 27 Mar 2026 00:17:28 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 572FC81E18;\n\tThu, 26 Mar 2026 14:17:22 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 4A169838BB; Thu, 26 Mar 2026 06:55:40 +0100 (CET)", "from SEVP216CU002.outbound.protection.outlook.com\n (mail-koreacentralazlp170120005.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c40f::5])\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 69B0780517\n for <u-boot@lists.denx.de>; Thu, 26 Mar 2026 06:55:36 +0100 (CET)", "from SLXP216MB1148.KORP216.PROD.OUTLOOK.COM (2603:1096:101:f::14) by\n SL2P216MB2110.KORP216.PROD.OUTLOOK.COM (2603:1096:101:151::11) with\n Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9745.20; Thu, 26 Mar 2026 05:55:32 +0000", "from SLXP216MB1148.KORP216.PROD.OUTLOOK.COM\n ([fe80::8f6c:834c:6cef:7be]) by SLXP216MB1148.KORP216.PROD.OUTLOOK.COM\n ([fe80::8f6c:834c:6cef:7be%3]) with mapi id 15.20.9745.019; Thu, 26 Mar 2026\n 05:55:32 +0000" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS 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=bdpAdLhXlK9hjrtxSq6Fp7HFPBC8XJfzlJ8kKjNfE81LXMkfpPlQ3SkZ1wDDmXnkZfVzLGq+Wj6GiCi651OAUQUABLHawLA13PTqBVJpRZ2VBdahx6riRM0kRwEGZqOqMC8gNuNTok/GtHsF0EdwQf+SUmV36X6AG0eUrDnKYWJ0FMehz76Bz4z3Z5epXpJcnBdY7MyP/zRHfFzXs/g6k8s7Iyd62tdXy4fhLJ3r5xM+ljnmmheqKmp5Y/U3+SAfYvVZguVCuVlJsxiWkFznistVpouRLuisCyfhuR2EwYjtTAj6GHb/JFWXINp9+JVD9wAlk9UjIcxo1GhDQkd4eQ==", "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=KIG7H+EArZjUSlLNmHCslUtQ/tS7iH0Ae4T85Gs1jEs=;\n b=EYQaEi3Pi5FcjQhylv4T9pvfUeb4+Dt2kYV46rodV86BySPPG77cN15Mv4NIzgGz0u38dHKKXZgt9xGQvnQ2Hlk55oKk/wVXPiMU8z3wZWEf9LHhYBPHrOdReGNLuNY615z8SQyLbohy51c6CBd3zH27QW2gRsCUBFt3KZviTfZo4imkMNT23kLqu+kTLAMnz0HUHf9DfxtA8yrXRnUuACpJy7xszvlZJVeXghaY1qK5dFLCBqW72V6J/331s+D9eGAc+rstNpK4VrCYOeuxHgyRkbZNbX9Gs7168kXVd18pkdziPwHfgp1Tm7meQVEvJZCqfGE1q9GAsYYq4JeCxg==", "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=telechips.com; dmarc=pass action=none\n header.from=telechips.com; dkim=pass header.d=telechips.com; arc=none", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=mytelechips.onmicrosoft.com; s=selector2-mytelechips-onmicrosoft-com;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=KIG7H+EArZjUSlLNmHCslUtQ/tS7iH0Ae4T85Gs1jEs=;\n b=fXr/NE5UTm54sfBAOs+wAkWl6L0PBywfu8M1ddAoYO9Lye4JRLTbsu0yZOxoXegiXY4I4YaPOFcaQQdi6KTqbeU35xjLPMMmrvAyBOF6+uwFeStdLCReZwlOSpzLIyMVtO2NqBNGFiTIT6LOBK7TtRFG3iWZtFfUapGOh7ss5LI=", "From": "=?ks_c_5601-1987?b?udq5zr/sIChNVyBQYXJrKQ==?= <mw.park@telechips.com>", "To": "\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>", "CC": "\"peng.fan@nxp.com\" <peng.fan@nxp.com>, \"jh80.chung@samsung.com\"\n <jh80.chung@samsung.com>", "Subject": "[PATCH] mmc: allow forward compatibility for EXT_CSD_REV", "Thread-Topic": "[PATCH] mmc: allow forward compatibility for EXT_CSD_REV", "Thread-Index": "AQHcvOJe6oDidGfESUyiWPsmGz0PRw==", "Date": "Thu, 26 Mar 2026 05:55:32 +0000", "Message-ID": "\n <SLXP216MB114822C04834C4F0A78869A6F056A@SLXP216MB1148.KORP216.PROD.OUTLOOK.COM>", "Accept-Language": "ko-KR, en-US", "Content-Language": "ko-KR", "X-MS-Has-Attach": "yes", "X-MS-TNEF-Correlator": "", "msip_labels": "MSIP_Label_254aa743-8abd-4226-a04e-84db594c20b7_Enabled=True;\n MSIP_Label_254aa743-8abd-4226-a04e-84db594c20b7_SiteId=9ec49ece-9398-4634-9468-0ca88a890702;\n MSIP_Label_254aa743-8abd-4226-a04e-84db594c20b7_SetDate=2026-03-26T05:55:32.011Z;\n MSIP_Label_254aa743-8abd-4226-a04e-84db594c20b7_Name=General;\n MSIP_Label_254aa743-8abd-4226-a04e-84db594c20b7_ContentBits=1;\n MSIP_Label_254aa743-8abd-4226-a04e-84db594c20b7_Method=Standard;", "authentication-results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=mytelechips.onmicrosoft.com\n header.i=@mytelechips.onmicrosoft.com header.a=rsa-sha256\n header.s=selector2-mytelechips-onmicrosoft-com header.b=fXr/NE5U;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; 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=telechips.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=mytelechips.onmicrosoft.com\n header.i=@mytelechips.onmicrosoft.com header.b=\"fXr/NE5U\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=telechips.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=mw.park@telechips.com", "dkim=none (message not signed)\n header.d=none;dmarc=none action=none header.from=telechips.com;" ], "x-ms-publictraffictype": "Email", "x-ms-traffictypediagnostic": "SLXP216MB1148:EE_|SL2P216MB2110:EE_", "x-ms-office365-filtering-correlation-id": "fb384008-edcf-4808-71c9-08de8afc4ab6", "x-ms-exchange-senderadcheck": "1", "x-ms-exchange-antispam-relay": "0", "x-microsoft-antispam": "BCL:0;\n ARA:13230040|376014|6049299003|366016|1800799024|4053099003|18002099003|56012099003|38070700021;", "x-microsoft-antispam-message-info": "\n 4AY7g/ywuAAkjAblOQWBSTykQyOjX5xobHG9li6MhXuVOgRKD0Sj74m4Q893PGlDZj4LiAfokmAxpCXHeIA+LPMHCfK2eILXmqnT9W2k73qInynuN2dj9HAcs4adCUkqexG7cyi6p+Qs62/VhJTN45u90H1s/YwIqKF/eT07H1gxJ6fq37FrSMr61C5QmAPwGqrCMfeEyPm/TWkeKjdDhKHBqPiPdB4v2EDYQpMZvHBhvMpGVBRmh6PDs4duLhdwXkFMLkYg8FUM8/W4JTOAhYF0XFEsM6fg03PfYg98XFuKlPG6dMIvF2SK2kPalFIUeGlKgIyu2reuEoQbfCi2Gd8ajX41xs391NpEbe69Iucnf3UUZot9/5+cuDb3cl6DuCl4HwUwavcOgnzxA4p5NDKrXh3fLT/NsFIxOXKZ0JQiihkB8Gf0JNWzQTu4zrqr9Lyh/gpnQ1MotPjGzievDM33YExXbUpd73HcabLpnzdIhI0sDRCdlRP+cdbOhnAelbNnf7pbjfvid062VfGtOC6JIuZpu+hYkewr/eWH93bKOlYtoofUHisGzjYZKCGxqixig0cSdPOvBAVACC1/Z2xVJ/v743/u1j0/PAP1eOo4kFT+wbBVK6xkLz0nsia6a+EQMFl5uC1HzI/vKcgK466/C4fGT6WGyxQZFs8k6R94iXm5QnBowQuOF1lGPIxhxqw1nqnLyTiegnn0yKOyOU0818I3g0jsJW8oGrNNAJIVpfnah42In2OSz4MC94ykKmYB8/x+qlLkaVHpdH409vM/NfEmqtf3oWXYVcf1Wsg=", "x-forefront-antispam-report": "CIP:255.255.255.255; CTRY:; LANG:ko; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:SLXP216MB1148.KORP216.PROD.OUTLOOK.COM; PTR:; CAT:NONE;\n SFS:(13230040)(376014)(6049299003)(366016)(1800799024)(4053099003)(18002099003)(56012099003)(38070700021);\n DIR:OUT; SFP:1102;", "x-ms-exchange-antispam-messagedata-chunkcount": "1", "x-ms-exchange-antispam-messagedata-0": "=?ks_c_5601-1987?q?XCluwVIbCvVdsqwEVX3?=\n\t=?ks_c_5601-1987?q?Iu/ObPoP92Cf65vr+LpT2+naFcGKljirv3pnn97ZanGvf/Duf7lxqv1C?=\n\t=?ks_c_5601-1987?q?R7iMm2jq7LE3KptH7RJlN4rot5FjPcNlghVikbVnPBTzpeZ1y0QCj/wS?=\n\t=?ks_c_5601-1987?q?2kQIIMNtim385zfHoCWKNdXA8DgZsH5ntCry9JrolwOFfJXpyrXmficq?=\n\t=?ks_c_5601-1987?q?GyeC9qdZzjCvp4FEAOnfeqpvgaxATac1Hv/7JxjZoRTgudSEh99OGs9X?=\n\t=?ks_c_5601-1987?q?iyVJWe6sa9Dn3omsZAWlMDrYWZdGHsj+xX6dlr/raTxoqRqg/yH/1aQL?=\n\t=?ks_c_5601-1987?q?Y4TfUZO9VPTlBSD0u+/Swh5dR3gwvdJAxiDzFfQ8Y3B/oEhQ3JxDPsag?=\n\t=?ks_c_5601-1987?q?2awrrmcXiYaMaI+hSbZdRcgPhxxoEvnLc/DGtIE0v4oGKw6J/49tPeKX?=\n\t=?ks_c_5601-1987?q?BWTU9mWbXMz5amOgQnq0guk9ZQQT0DxGpOXaxNWhighB1Vd79w852Vk0?=\n\t=?ks_c_5601-1987?q?AIO7qe6zB0UpBX9kWRvRJx0SgYlc8v5HPJR+M6DazfXg+Uf8BAYd513O?=\n\t=?ks_c_5601-1987?q?5djK1/RNSFN9eiXFS2g50ujEbdPSRRo7AF3C3byl7JdZZMUPBNOfkESY?=\n\t=?ks_c_5601-1987?q?Q11nMaejVELiCWyXcLnAAoc6OTRUUo+K/0jpRpjwjqlsy/oNrEGIKdse?=\n\t=?ks_c_5601-1987?q?tbu46Oh1fHMg5Sd+kJWdIX0wR83wGWVaLKgbgqUNVMeWo1gV0jOelNtV?=\n\t=?ks_c_5601-1987?q?BamjDboKyyG3eVwp8ewh1XtTDO0920iJZFoWJF5qEFkrQup+77FPkSO+?=\n\t=?ks_c_5601-1987?q?5KX8VN/5IZTOFjHW4pjRcQuk3u+tm78b9eEdYExP09fgcBCH4ZmK9dn9?=\n\t=?ks_c_5601-1987?q?+MHs7HhgYHyPxC1BAiMlxm3ByPtR08DaSlqNiHz1GRHpJiVcUAul/X0f?=\n\t=?ks_c_5601-1987?q?M0j23wmWRS0YdrD0xf1R0ocRgAgmFH2XSd8dJJYTVIMhme2mnnGZEvH0?=\n\t=?ks_c_5601-1987?q?dtsW/Y6xUBALhXI4fwegCAQnqNEYH2TEz42WMUDo7o50iOUcmLFDXbNQ?=\n\t=?ks_c_5601-1987?q?eXMEaIDFvErOP6dEpygMxaMsiceEgK0csaMW3z/wIup0gdTkBtjey+Lz?=\n\t=?ks_c_5601-1987?q?PiUqAZioAU+OQLeLaOMhmrM+vmxdm5g3CHv604dwF2Il5PLjE2K0mMZ+?=\n\t=?ks_c_5601-1987?q?HLtOSVmA96omDlxleZzLqi1nP3gw8ScobIchdOCH5LEexpnmOfXlbuyQ?=\n\t=?ks_c_5601-1987?q?EDzlQgYL+gJKsQ77+ECKxsE1pzLeUZSlYYFpCQ5ODOjxOAyEpe9+3XMB?=\n\t=?ks_c_5601-1987?q?1xs4Fe9/iJjUz0Hlyx9s1MK+V7Bbftwoq+WkOguTtQLaz0J2J5zzsihn?=\n\t=?ks_c_5601-1987?q?f08c+rw9uMhhp1oo27uYZembpqTUcfDuUgIlEBsgvdfZFqZ15TC/RLxr?=\n\t=?ks_c_5601-1987?q?peS19yX3xrxsAuEKoSiS6e8LASZ7J7dbBuIw0rSHOUabkDIWzbK9sb4Z?=\n\t=?ks_c_5601-1987?q?5Sx5ogHzwGQP5pXdK4bsQI58vA6B/0j8mKhXjXLvvgSOjk5Cg9cQpd9c?=\n\t=?ks_c_5601-1987?q?4kBdcPERCr4puHHDteVDUL6IJPhCcipqCNrKKEl2KIc1XzLDos190FYG?=\n\t=?ks_c_5601-1987?q?4X4zulPAwHhOF1xGxDqXm/f3w2M64zPAUD4K4y1KX+qAYtLvKmKVXhdU?=\n\t=?ks_c_5601-1987?q?62Ky3iunpLInmin5+de/thrSFi0h7PNXMfwuluDVzDZdfVF9SzY0yziQ?=\n\t=?ks_c_5601-1987?q?2v/FzDvV7rb3MJyBk2Tu6MGkES1tUgS6v1Puf1gOp7q7mWX20klUxl2L?=\n\t=?ks_c_5601-1987?q?R/pGjdyaoV/2I9ZGiDotF9UC2xU028VM3dpDszXPZv+8efZQ34CJNF58?=\n\t=?ks_c_5601-1987?q?FHCvjdKphUTu9LkXmleR3zpmSO4oFZs1bGya43utGc+PN4BwS2g=3D?=\n\t=?ks_c_5601-1987?q?=3D?=", "Content-Type": "multipart/mixed;\n boundary=\"_002_SLXP216MB114822C04834C4F0A78869A6F056ASLXP216MB1148KORP_\"", "MIME-Version": "1.0", "X-OriginatorOrg": "telechips.com", "X-MS-Exchange-CrossTenant-AuthAs": "Internal", "X-MS-Exchange-CrossTenant-AuthSource": "SLXP216MB1148.KORP216.PROD.OUTLOOK.COM", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n fb384008-edcf-4808-71c9-08de8afc4ab6", "X-MS-Exchange-CrossTenant-originalarrivaltime": "26 Mar 2026 05:55:32.2988 (UTC)", "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted", "X-MS-Exchange-CrossTenant-id": "9ec49ece-9398-4634-9468-0ca88a890702", "X-MS-Exchange-CrossTenant-mailboxtype": "HOSTED", "X-MS-Exchange-CrossTenant-userprincipalname": "\n G0mbN7ku1g1QLQLqtRW0Uj3UVdtmvdHhLFFLLUIrRL6C5FYPKGVJjgEGAjvsEEsN/PFQyVjCKMc82v8/YPTzPQ==", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SL2P216MB2110", "X-Mailman-Approved-At": "Thu, 26 Mar 2026 14:17:19 +0100", "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": "According to the JEDEC Standard, the EXT_CSD format is meant to be\nforward compatible. As long as CSD_STRUCTURE does not change, all\nvalues for EXT_CSD_REV are authorized.\n\nCurrently, if an eMMC device with a newer EXT_CSD_REV (e.g., eMMC 5.1B\nwith EXT_CSD_REV=9) is used, U-Boot fails to initialize it and returns\n-EINVAL because the revision is larger than the mmc_versions array size.\n\nFix this by falling back to the latest supported version if the\nEXT_CSD_REV exceeds the known versions. This ensures forward\ncompatibility with future eMMC specifications.\n\nSigned-off-by: MW Park <mw.park@telechips.com>\n---\n drivers/mmc/mmc.c | 18 +++++++++++++-----\n 1 file changed, 13 insertions(+), 5 deletions(-)\n\n--\n2.34.1\nThis email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Telechips Inc. If you are not the intended recipient of this email, you must neither take any action based upon its contents nor copy or show it to anyone. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please consider the environment before printing this email.", "diff": "diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c\r\nindex c5705f4f215..dbec728a474 100644\r\n--- a/drivers/mmc/mmc.c\r\n+++ b/drivers/mmc/mmc.c\r\n@@ -2334,6 +2334,7 @@ static int mmc_startup_v4(struct mmc *mmc)\r\n u64 capacity;\r\n bool has_parts = false;\r\n bool part_completed;\r\n+ u8 rev;\r\n static const u32 mmc_versions[] = {\r\n MMC_VERSION_4,\r\n MMC_VERSION_4_1,\r\n@@ -2380,12 +2381,19 @@ static int mmc_startup_v4(struct mmc *mmc)\r\n return -ENOMEM;\r\n memcpy(mmc->ext_csd, ext_csd, MMC_MAX_BLOCK_LEN);\r\n #endif\r\n- if (ext_csd[EXT_CSD_REV] >= ARRAY_SIZE(mmc_versions)) {\r\n- err = -EINVAL;\r\n- goto error;\r\n- }\r\n+ rev = ext_csd[EXT_CSD_REV];\r\n+\r\n+ /*\r\n+ * According to the JEDEC Standard, the EXT_CSD format is meant to be\r\n+ * forward compatible. As long as CSD_STRUCTURE does not change, all\r\n+ * values for EXT_CSD_REV are authorized.\r\n+ * If the EXT_CSD_REV exceeds the known versions, fallback to the\r\n+ * latest supported version instead of returning an error.\r\n+ */\r\n+ if (rev >= ARRAY_SIZE(mmc_versions))\r\n+ rev = ARRAY_SIZE(mmc_versions) - 1;\r\n\r\n- mmc->version = mmc_versions[ext_csd[EXT_CSD_REV]];\r\n+ mmc->version = mmc_versions[rev];\r\n\r\n if (mmc->version >= MMC_VERSION_4_2) {\r\n /*\r\n", "prefixes": [] }