All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] hw/misc/aspeed_sbc: Fix ABR and secure boot state reporting
@ 2026-08-31  5:36 Kane Chen
  2026-08-31  5:37 ` [PATCH v1 1/2] hw/misc/aspeed_sbc: Derive ABR state from OTP config straps Kane Chen
  2026-08-31  5:37 ` [PATCH v1 2/2] hw/misc/aspeed_sbc: Derive secure boot " Kane Chen
  0 siblings, 2 replies; 10+ messages in thread
From: Kane Chen @ 2026-08-31  5:36 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 ASPEED Secure Boot Controller (SBC) model currently derives its
eMMC ABR (Alternate Boot Recovery) and secure boot enable bits from
fixed "emmc-abr"/"signing-settings" machine properties. The logic
that reflects these properties into R_STATUS is broken, so neither
bit can ever actually be reported as enabled, and for secure boot
this also leaves R_STATUS and R_QSR inconsistent with each other.

This series replaces both properties with logic that derives the ABR
and secure boot state directly from the relevant OTP configuration
straps, matching how the real hardware determines these settings.

Any feedback or suggestions are appreciated!

Kane-Chen-AS (2):
  hw/misc/aspeed_sbc: Derive ABR state from OTP config straps
  hw/misc/aspeed_sbc: Derive secure boot state from OTP config straps

 include/hw/misc/aspeed_sbc.h |  3 --
 hw/misc/aspeed_sbc.c         | 69 +++++++++++++++++++++++++++++-------
 2 files changed, 56 insertions(+), 16 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-09-03  7:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31  5:36 [PATCH v1 0/2] hw/misc/aspeed_sbc: Fix ABR and secure boot state reporting Kane Chen
2026-08-31  5:37 ` [PATCH v1 1/2] hw/misc/aspeed_sbc: Derive ABR state from OTP config straps Kane Chen
2026-08-31  5:40   ` Jamin Lin
2026-08-31 11:10   ` Cédric Le Goater
2026-09-01  9:25     ` Kane Chen
2026-09-03  7:22       ` Cédric Le Goater
2026-09-03  7:35         ` Kane Chen
2026-08-31  5:37 ` [PATCH v1 2/2] hw/misc/aspeed_sbc: Derive secure boot " Kane Chen
2026-08-31  5:41   ` Jamin Lin
2026-08-31 11:14   ` 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.