[PATCH 08/19] parisc: define DPS root partition type UUID
Vincent Mailhol <[email protected]> Mon, 15 Jun 2026 18:09:04 +0200
| Newsgroups | org.kernel.vger.linux-efi,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-parisc |
|---|---|
| Message-ID | <20260615-discoverable-root_partitions-v1-8-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 parisc 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: "James E.J. Bottomley" <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Signed-off-by: Vincent Mailhol <[email protected]> --- arch/parisc/Kconfig | 1 + arch/parisc/include/asm/dps_root.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index d3afac2f0d9b..94f0a758176a 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -24,6 +24,7 @@ config PARISC select ARCH_STACKWALK select ARCH_HAS_CACHE_LINE_SIZE select ARCH_HAS_DEBUG_VM_PGTABLE + select ARCH_HAS_DPS_ROOT_PARTITION_TYPE_UUID select HAVE_RELIABLE_STACKTRACE select RTC_CLASS select RTC_DRV_GENERIC diff --git a/arch/parisc/include/asm/dps_root.h b/arch/parisc/include/asm/dps_root.h new file mode 100644 index 000000000000..bf475cd5b01c --- /dev/null +++ b/arch/parisc/include/asm/dps_root.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _ASM_PARISC_DPS_ROOT_H +#define _ASM_PARISC_DPS_ROOT_H + +#define DPS_ROOT_PARTITION_TYPE_UUID "1aacdb3b-5444-4138-bd9e-e5c2239b2346" + +#endif /* _ASM_PARISC_DPS_ROOT_H */ -- 2.53.0