Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2198069/?format=api
{ "id": 2198069, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2198069/?format=api", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.0/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 }, "msgid": "<20260219-add-mt8395-evk-v2-1-18b190d91cb6@baylibre.com>", "date": "2026-02-19T10:03:37", "name": "[v2,1/2] arm: mediatek: MT8195 fix mem_map", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "78c0b6d2fb1ca0c050e260d582352eb92e8000d6", "submitter": { "id": 84831, "url": "http://patchwork.ozlabs.org/api/1.0/people/84831/?format=api", "name": "Julien Stephan", "email": "jstephan@baylibre.com" }, "delegate": { "id": 161331, "url": "http://patchwork.ozlabs.org/api/1.0/users/161331/?format=api", "username": "dlech", "first_name": "David", "last_name": "Lechner", "email": "dlechner@baylibre.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260219-add-mt8395-evk-v2-1-18b190d91cb6@baylibre.com/mbox/", "series": [ { "id": 492657, "url": "http://patchwork.ozlabs.org/api/1.0/series/492657/?format=api", "date": "2026-02-19T10:03:36", "name": "Add MediaTek MT8395_EVK board", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/492657/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2198069/checks/", "tags": {}, "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=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=Hn+U46IF;\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=baylibre.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=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.b=\"Hn+U46IF\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=baylibre.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=jstephan@baylibre.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 4fGpqx1RVwz1xvg\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 19 Feb 2026 21:03:57 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id F23B583D0F;\n\tThu, 19 Feb 2026 11:03:46 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 1738C83A47; Thu, 19 Feb 2026 11:03:45 +0100 (CET)", "from mail-wr1-x433.google.com (mail-wr1-x433.google.com\n [IPv6:2a00:1450:4864:20::433])\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 119F483CD3\n for <u-boot@lists.denx.de>; Thu, 19 Feb 2026 11:03:43 +0100 (CET)", "by mail-wr1-x433.google.com with SMTP id\n ffacd0b85a97d-4376c0bffc1so589446f8f.0\n for <u-boot@lists.denx.de>; Thu, 19 Feb 2026 02:03:43 -0800 (PST)", "from [192.168.1.100]\n (2a02-842a-d52e-6101-b535-6f9c-731f-0b89.rev.sfr.net.\n [2a02:842a:d52e:6101:b535:6f9c:731f:b89])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43796a74918sm47885240f8f.17.2026.02.19.02.03.41\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 19 Feb 2026 02:03:41 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,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=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1771495422;\n x=1772100222;\n darn=lists.denx.de;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to; bh=MYzn5XI3pSMScNRDuy7ym3ZX+wxaUgxJKIaLBlMXgwQ=;\n b=Hn+U46IFu0GZrhokpeRq9S92yfGAWUvr/gOzUfot4Y7Kt07VxtNP3Q/Hb3cXB7VeRv\n I4qjYh433b7DyyQpKYfiaf47ppxdkoHprDglznbzj/lcZssupOuYzjtT/vk0QIUC0qj5\n hVjCWkzov8nu+7NWsqFj50M9dHAWzojQA/jFDYIh8xsOkBTRhrF/a/ToEjMz8NnksYLN\n 6C4umus2/C5lKCkI03vRf58d4bupWYT4r8vgwoQKxt3MX026wvhFxfrsHVrj83xFfSTY\n 83C+3g8Nkjdb9sZx/spLQI8R7Nmsnz1KjYCkP4K6+NRvgVCBk8e+VdrdYDwW5hAlpTUp\n P7VA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771495422; x=1772100222;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=MYzn5XI3pSMScNRDuy7ym3ZX+wxaUgxJKIaLBlMXgwQ=;\n b=rCfNZZsP3HUKPpFWsizadECEM+4rp4uh7fAnNXA0e6Ac9sik0DhUl7XZxY8CHLOO1H\n hiJESgCff5yFGyoub0gqgYncBMSzg0skxUvsK0lU+y3S9rcidsaNXIJ0HSmxjXnbon5p\n M23mDCFZbjl13Lu4g9dvfPuFjTpMasaOTmxMQNH4U0bdIGc8t1NtY7h/KsLQBvf1WzUH\n Tj87wShEu8nyQC5adrWs1Fhv/QTCNZBEkenhBXzttetlpTckuu/TQopWixPh16SmcmlA\n 3LEGaLFnFoLA+cNOtAPRhGKV8L/VSquCmoVzq1DeOWYkPyAYZ3EMqFx6bSE/ZWKfnuYc\n nBeQ==", "X-Gm-Message-State": "AOJu0Yx8JeB35X/zkvqjd8eOdYvwTaZ//Mm5TkQ1NVngMlINoTieOGWM\n abFJNxSvgg8nghovY7VJZeCPoGnjCmnRgHlqj4PqX0WcYogwyi2ElRaG2dVD4SXS4YM=", "X-Gm-Gg": "AZuq6aK64HEZl2GASHzc9Un5BwpoJLVGxCF6066Tjzb24Zokr+/sxaQSkjKiAxMLhZH\n qGMgiGagrpzTr51/LTkaoG7k8LA3OIdcKXNf8QwSxaqzpF39CC0mMpdTXw3UQeQiOKJh+M3iNf2\n +Cc1wIJXbfSZCgGoBAZdnwTMxZQqUz2W5RHucnhpSpqB34KZuFyDKMfkYK0XvIxQVZeE1lSkrY6\n g9PgsyGUx6DFEW2mx5OGiJkRDpEZcYfegIitOOzMfKnkEilP/m1tO0T/T3WyB8sk70QJ3AyWmbz\n Z32gHsIy8989hqQ+oDz0FnkoAXRWcO4mf+65VO5btcdDiBTXEOegC7ttZ+LSSK16B+Fe7xvjKNy\n VjnlO/WrmeZqSjZbbvsqCGW1I9pIuEK0eWgCiCJFqOQ6QOyVj7Q7XE0RuhYGLs+7paTpHQsChVi\n dGtuIfQXDoUMjffmpLwtgW7ulx9E88pki3WWQ9LtDAhpQdU0lFHEjfS1MTiskuJxOkbYrb6da+I\n K/G50zM19grlVqv+H00tkxl8BuZQLH2", "X-Received": "by 2002:a05:6000:381:b0:437:6625:d0d7 with SMTP id\n ffacd0b85a97d-4395fd5c155mr3734438f8f.42.1771495422380;\n Thu, 19 Feb 2026 02:03:42 -0800 (PST)", "From": "Julien Stephan <jstephan@baylibre.com>", "Date": "Thu, 19 Feb 2026 11:03:37 +0100", "Subject": "[PATCH v2 1/2] arm: mediatek: MT8195 fix mem_map", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260219-add-mt8395-evk-v2-1-18b190d91cb6@baylibre.com>", "References": "<20260219-add-mt8395-evk-v2-0-18b190d91cb6@baylibre.com>", "In-Reply-To": "<20260219-add-mt8395-evk-v2-0-18b190d91cb6@baylibre.com>", "To": "u-boot@lists.denx.de", "Cc": "GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,\n Ryder Lee <ryder.lee@mediatek.com>, Weijie Gao <weijie.gao@mediatek.com>,\n Chunfeng Yun <chunfeng.yun@mediatek.com>,\n Igor Belwon <igor.belwon@mentallysanemainliners.org>,\n Tom Rini <trini@konsulko.com>, Macpaul Lin <macpaul.lin@mediatek.com>,\n Julien Masson <jmasson@baylibre.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n David Lechner <dlechner@baylibre.com>, Peng Fan <peng.fan@nxp.com>,\n Sam Protsenko <semen.protsenko@linaro.org>,\n Julien Stephan <jstephan@baylibre.com>", "X-Mailer": "b4 0.14.3", "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": "Commit 2517e2b524e8 (\"arm: mediatek: add support for MediaTek MT8195\nSoC\") was merged after commit 24ffbb2aa17e (\"arm: mediatek: consolidate\nARMv8 memory maps\") but was not rebased on top of it, so mem_map is\ndefined twice. Fix it.\n\nFixes: 2517e2b524e8 (\"arm: mediatek: add support for MediaTek MT8195 SoC\")\nSigned-off-by: Julien Stephan <jstephan@baylibre.com>\n---\n arch/arm/mach-mediatek/Kconfig | 2 +-\n arch/arm/mach-mediatek/mt8195/init.c | 21 ---------------------\n 2 files changed, 1 insertion(+), 22 deletions(-)", "diff": "diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig\nindex 8da4ba5ceab..671a6cb1cad 100644\n--- a/arch/arm/mach-mediatek/Kconfig\n+++ b/arch/arm/mach-mediatek/Kconfig\n@@ -149,7 +149,7 @@ config MTK_MEM_MAP_DDR_BASE_PHY\n \n config MTK_MEM_MAP_DDR_SIZE\n \thex \"DDR .size in mem_map\"\n-\tdefault 0x200000000 if TARGET_MT7987 || TARGET_MT7988 || TARGET_MT8188\n+\tdefault 0x200000000 if TARGET_MT7987 || TARGET_MT7988 || TARGET_MT8188 || TARGET_MT8195\n \tdefault 0xc0000000 if TARGET_MT8365\n \tdefault 0x80000000 if TARGET_MT7981 || TARGET_MT7986 || TARGET_MT8183\n \tdefault 0x40000000 if TARGET_MT7622 || TARGET_MT8512\ndiff --git a/arch/arm/mach-mediatek/mt8195/init.c b/arch/arm/mach-mediatek/mt8195/init.c\nindex c399550b8fc..0f68c589e9a 100644\n--- a/arch/arm/mach-mediatek/mt8195/init.c\n+++ b/arch/arm/mach-mediatek/mt8195/init.c\n@@ -68,24 +68,3 @@ int print_cpuinfo(void)\n \tprintf(\"CPU: MediaTek MT8195\\n\");\n \treturn 0;\n }\n-\n-static struct mm_region mt8195_mem_map[] = {\n-\t{\n-\t\t/* DDR */\n-\t\t.virt = 0x40000000UL,\n-\t\t.phys = 0x40000000UL,\n-\t\t.size = 0x200000000UL,\n-\t\t.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_OUTER_SHARE,\n-\t}, {\n-\t\t.virt = 0x00000000UL,\n-\t\t.phys = 0x00000000UL,\n-\t\t.size = 0x20000000UL,\n-\t\t.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |\n-\t\t\t PTE_BLOCK_NON_SHARE |\n-\t\t\t PTE_BLOCK_PXN | PTE_BLOCK_UXN\n-\t}, {\n-\t\t0,\n-\t}\n-};\n-\n-struct mm_region *mem_map = mt8195_mem_map;\n", "prefixes": [ "v2", "1/2" ] }