[PATCH 04/19] arm: define DPS root partition type UUID
Vincent Mailhol <[email protected]> Mon, 15 Jun 2026 18:09:00 +0200
| Newsgroups | org.kernel.vger.linux-efi,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260615-discoverable-root_partitions-v1-4-39c78fac42e2@kernel.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 ARM 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: Russell King <[email protected]> Cc: [email protected] Signed-off-by: Vincent Mailhol <[email protected]> --- arch/arm/Kconfig | 1 + arch/arm/include/asm/dps_root.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 73e6647bea46..deedb5d808fb 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -14,6 +14,7 @@ config ARM select ARCH_HAS_DMA_ALLOC if MMU select ARCH_HAS_DMA_OPS select ARCH_HAS_DMA_WRITE_COMBINE if !ARM_DMA_MEM_BUFFERABLE + select ARCH_HAS_DPS_ROOT_PARTITION_TYPE_UUID select ARCH_HAS_ELF_RANDOMIZE select ARCH_HAS_FORTIFY_SOURCE select ARCH_HAS_KEEPINITRD diff --git a/arch/arm/include/asm/dps_root.h b/arch/arm/include/asm/dps_root.h new file mode 100644 index 000000000000..e9f0f24bcac2 --- /dev/null +++ b/arch/arm/include/asm/dps_root.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _ASM_ARM_DPS_ROOT_H +#define _ASM_ARM_DPS_ROOT_H + +#define DPS_ROOT_PARTITION_TYPE_UUID "69dad710-2ce4-4e3c-b16c-21a1d49abed3" + +#endif /* _ASM_ARM_DPS_ROOT_H */ -- 2.53.0