From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51ABBCD98DA for ; Mon, 15 Jun 2026 16:10:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=49zVCGyfWoxZSOLI7DMtjjPuOtTCNuQTkO/o8EmuQmQ=; b=pwy9y8REVx58igPZily1tDhaOd jpwK2TZcjCStQu61Nrl7DzEP6cAOj4mpq/OIHuSO+lpD4HxZaRIslOaTFABcyMM3Vw/VBD5XgGYZK szNs0j3ZvqIIwA5g0+FFYv0OhwM09SIM0ZL7oWk5Wc8RVN2MI1HPI11OgvI9UptUSP2plCMsK/FEq bornkiUNJMwirO3EL/YwzxKmkiGUJstZ80y5VaXD7lpgif25YFErBE0aZQvPvYYuOkd6Q95TJiFem LQWtOyoY5O4sSegT0PoGYAsg37biUBjJPHRMF+5Ej5rBvUOlbt/6MGAKwPCbRdYyioeK4GASfKWyU a8KXjJZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wZ9tN-0000000EY1i-1PT2; Mon, 15 Jun 2026 16:10:29 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wZ9tL-0000000EY0y-2fnl for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2026 16:10:27 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 5E9A240271; Mon, 15 Jun 2026 16:10:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23C1F1F000E9; Mon, 15 Jun 2026 16:10:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781539827; bh=49zVCGyfWoxZSOLI7DMtjjPuOtTCNuQTkO/o8EmuQmQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=kTk6lUK8KO1uma2gVDJUTtHtMldV0PzHLwz8w0GtYzHCg0AGa4Drt8tl6zNI1uwZq qJXWr+NPfuwjWVP2OZxhI8zhu+Hv6cbBRBD3T3y/FPoIKh88J1iD7ESne6glB3y8s+ +NX1Q3gbT8JHhyj6oJHh4nO79xueRFX3MJMveGJsAuGBCQMK2aq8zB++bO4Aggbubh wJkA2MV3u1nhavDTAQSXpiOvt6LsueotIDisMVk28bdNd+vOTToPRskJ3ZYXnCJ4Lv 49kJNKDp4fArRNjV1GjJGNCRDWswZoECMb37Nj0YbI4R5tMF1Nz5ULes7Y6zjX5fYT yGga41fa4LXJA== From: Vincent Mailhol Date: Mon, 15 Jun 2026 18:09:01 +0200 Subject: [PATCH 05/19] arm64: define DPS root partition type UUID MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260615-discoverable-root_partitions-v1-5-39c78fac42e2@kernel.org> References: <20260615-discoverable-root_partitions-v1-0-39c78fac42e2@kernel.org> In-Reply-To: <20260615-discoverable-root_partitions-v1-0-39c78fac42e2@kernel.org> To: Jens Axboe , Davidlohr Bueso , Alexander Viro , Christian Brauner , Jan Kara Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-efi@vger.kernel.org, linux-fsdevel@vger.kernel.org, Vincent Mailhol , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1711; i=mailhol@kernel.org; h=from:subject:message-id; bh=gRMBGazRMIJvujl+g/dwX6ABsY4B+xud2elh71dcWlU=; b=owGbwMvMwCV2McXO4Xp97WbG02pJDFkGylenbdsReyviuUHNu1ceOk/OH+n7v2nrHIGJX/e7F 2VJFmfVdkxkYRDjYrAUU2RZVs7JrdBR6B126K8lzBxWJpAh0iINDEDAwsCXm5hXaqRjpGeqbahn CGToGDFwcQrAVN+9xMiwZnOhza20osfqM7tX22Zkdk58P+l/tOysHs7Jp0oFsm/vZ/gfU7xThN+ 1WaHkef+VzPOcyzYsuvydRereFGbWGXZrq0JYAA== X-Developer-Key: i=mailhol@kernel.org; a=openpgp; fpr=ED8F700574E67F20E574E8E2AB5FEB886DBB99C2 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DPS [1] assigns GPT partition type UUIDs to operating system partitions. Root partitions use architecture-specific type UUIDs so the OS can discover the intended root filesystem without relying on a root= cmdline option. Define DPS_ROOT_PARTITION_TYPE_UUID in asm/dps_root.h for arm64 and select ARCH_HAS_DPS_ROOT_PARTITION_TYPE_UUID. [1] The Discoverable Partitions Specification (DPS) Link: https://uapi-group.org/specifications/specs/discoverable_partitions_specification/ Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Vincent Mailhol --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/dps_root.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index fe60738e5943..190f8dde63b2 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -26,6 +26,7 @@ config ARM64 select ARCH_HAS_DEBUG_VM_PGTABLE select ARCH_HAS_DMA_OPS if XEN select ARCH_HAS_DMA_PREP_COHERENT + select ARCH_HAS_DPS_ROOT_PARTITION_TYPE_UUID select ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI select ARCH_HAS_FAST_MULTIPLIER select ARCH_HAS_FORTIFY_SOURCE diff --git a/arch/arm64/include/asm/dps_root.h b/arch/arm64/include/asm/dps_root.h new file mode 100644 index 000000000000..7344f9a52343 --- /dev/null +++ b/arch/arm64/include/asm/dps_root.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _ASM_ARM64_DPS_ROOT_H +#define _ASM_ARM64_DPS_ROOT_H + +#define DPS_ROOT_PARTITION_TYPE_UUID "b921b045-1df0-41c3-af44-4c6f280d3fae" + +#endif /* _ASM_ARM64_DPS_ROOT_H */ -- 2.53.0