From: "Vincent Stehlé" <vincent.stehle@arm.com>
To: util-linux@vger.kernel.org
Cc: "Vincent Stehlé" <vincent.stehle@arm.com>
Subject: [PATCH] libfdisk: (MBR) recognize EBBR protective partitions
Date: Fri, 3 Dec 2021 16:59:08 +0100 [thread overview]
Message-ID: <20211203155908.6906-1-vincent.stehle@arm.com> (raw)
The MBR partition type 0xF8 is used by the Arm EBBR specification for
protective partitions over fixed-location firmware images.
References: https://github.com/ARM-software/ebbr
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
---
include/pt-mbr-partnames.h | 1 +
include/pt-mbr.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/pt-mbr-partnames.h b/include/pt-mbr-partnames.h
index 19a345029..9304793db 100644
--- a/include/pt-mbr-partnames.h
+++ b/include/pt-mbr-partnames.h
@@ -101,6 +101,7 @@
{0xf1, N_("SpeedStor")},
{0xf4, N_("SpeedStor")}, /* SpeedStor large partition */
{0xf2, N_("DOS secondary")}, /* DOS 3.3+ secondary */
+ {0xf8, N_("EBBR protective")}, /* Arm EBBR firmware protective partition */
{0xfb, N_("VMware VMFS")},
{0xfc, N_("VMware VMKCORE")}, /* VMware kernel dump partition */
{0xfd, N_("Linux raid autodetect")},/* Linux raid partition with
diff --git a/include/pt-mbr.h b/include/pt-mbr.h
index 0f014cd88..ff658f346 100644
--- a/include/pt-mbr.h
+++ b/include/pt-mbr.h
@@ -199,6 +199,7 @@ enum {
MBR_SPEEDSTOR1_PARTITION = 0xf1,
MBR_SPEEDSTOR2_PARTITION = 0xf4, /* SpeedStor large partition */
MBR_DOS_SECONDARY_PARTITION = 0xf2, /* DOS 3.3+ secondary */
+ MBR_EBBR_PROTECTIVE_PARTITION = 0xf8, /* Arm EBBR firmware protective partition */
MBR_VMWARE_VMFS_PARTITION = 0xfb,
MBR_VMWARE_VMKCORE_PARTITION = 0xfc, /* VMware kernel dump partition */
MBR_LINUX_RAID_PARTITION = 0xfd, /* Linux raid partition with autodetect using persistent superblock */
--
2.33.0
next reply other threads:[~2021-12-03 16:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-03 15:59 Vincent Stehlé [this message]
2022-02-07 18:14 ` [PATCH] libfdisk: (MBR) recognize EBBR protective partitions Vincent Stehlé
2022-02-07 21:44 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211203155908.6906-1-vincent.stehle@arm.com \
--to=vincent.stehle@arm.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox