All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hw/misc/aspeed_sbc: Fix ABR and secure boot state reporting
@ 2026-09-18  6:53 Kane Chen
  2026-09-18  6:53 ` [PATCH v2 1/3] hw/nvram/aspeed_otp, hw/misc/aspeed_sbc: Consolidate OTP layout definitions Kane Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kane Chen @ 2026-09-18  6:53 UTC (permalink / raw)
  To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
	Jamin Lin, Andrew Jeffery, Joel Stanley, open list:ASPEED BMCs,
	open list:All patches CC here
  Cc: Troy Lee, Kane Chen

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-18 12:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18  6:53 [PATCH v2 0/3] hw/misc/aspeed_sbc: Fix ABR and secure boot state reporting Kane Chen
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

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.