From: Kane Chen <kane_chen@aspeedtech.com>
To: "Cédric Le Goater" <clg@kaod.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Steven Lee" <steven_lee@aspeedtech.com>,
"Troy Lee" <leetroy@gmail.com>,
"Jamin Lin" <jamin_lin@aspeedtech.com>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Joel Stanley" <joel@jms.id.au>,
"open list:ASPEED BMCs" <qemu-arm@nongnu.org>,
"open list:All patches CC here" <qemu-devel@nongnu.org>
Cc: Troy Lee <troy_lee@aspeedtech.com>, Kane Chen <kane_chen@aspeedtech.com>
Subject: [PATCH v2 0/3] hw/misc/aspeed_sbc: Fix ABR and secure boot state reporting
Date: Fri, 18 Sep 2026 06:53:47 +0000 [thread overview]
Message-ID: <20260918065347.3713868-1-kane_chen@aspeedtech.com> (raw)
The ABR and secure boot states are currently controlled by the
"emmc-abr" and "signing-settings" machine properties.
On real hardware, these states are determined by the OTP configuration
and reflected in the SBC status registers. This series updates the
model to derive the ABR and secure boot states from OTP instead, and
removes the corresponding machine properties.
The series also consolidates the OTP layout definitions and adds
helpers for reading OTP configuration and strap settings.
Any feedback or suggestions are appreciated!
Kane
---
ChangeLog
---------
v2:
- Move OTP layout definitions to aspeed_otp.h
- Add helpers for reading OTP configuration and strap settings
- Derive ABR and secure boot states using the new OTP helpers
v1:
- Initial version
---
Kane-Chen-AS (3):
hw/nvram/aspeed_otp, hw/misc/aspeed_sbc: Consolidate OTP layout
definitions
hw/misc/aspeed_sbc: Derive ABR state from OTP config straps
hw/misc/aspeed_sbc: Derive secure boot state from OTP config
include/hw/misc/aspeed_sbc.h | 3 --
include/hw/nvram/aspeed_otp.h | 32 ++++++++++++
hw/misc/aspeed_sbc.c | 97 +++++++++++++++++------------------
hw/nvram/aspeed_otp.c | 63 +++++++++++++++++++++++
4 files changed, 143 insertions(+), 52 deletions(-)
--
2.43.0
next reply other threads:[~2026-09-18 6:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 6:53 Kane Chen [this message]
2026-09-18 6:53 ` [PATCH v2 1/3] hw/nvram/aspeed_otp, hw/misc/aspeed_sbc: Consolidate OTP layout definitions Kane Chen
2026-09-18 6:53 ` [PATCH v2 2/3] hw/misc/aspeed_sbc: Derive ABR state from OTP config straps Kane Chen
2026-09-18 6:53 ` [PATCH v2 3/3] hw/misc/aspeed_sbc: Derive secure boot state from OTP config Kane Chen
2026-09-18 12:57 ` [PATCH v2 0/3] hw/misc/aspeed_sbc: Fix ABR and secure boot state reporting Cédric Le Goater
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=20260918065347.3713868-1-kane_chen@aspeedtech.com \
--to=kane_chen@aspeedtech.com \
--cc=andrew@codeconstruct.com.au \
--cc=clg@kaod.org \
--cc=jamin_lin@aspeedtech.com \
--cc=joel@jms.id.au \
--cc=leetroy@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=steven_lee@aspeedtech.com \
--cc=troy_lee@aspeedtech.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.