Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/smmstore: Retry APM SCI if it fails #195

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Sep 7, 2023

For some reason, the APM SCI to install the SMMSTORE comm buffer regularly, but not always, fails with 0x4ed on ADL. In this case, a second attempt seems to always complete successfully.

Tested on system76/darp8 and system76/galp6.

Test:

  1. Add custom boot entry (sudo bootctl install)
  2. Reboot
  3. Verify custom boot entry exists (efibootmgr)
  4. Dump coreboot log (sudo cbmem -c)
  5. Verify SMMSTORE comm buffer was installed successfully (search SMMSTORE)
  6. Reboot and verify 10 more times

Ref: system76/firmware-open#437

For some reason, the APM SCI to install the SMMSTORE comm buffer
regularly, but not always, fails with 0x4ed on ADL. In this case, a
second attempt seems to always complete successfully.

Tested on system76/darp8 and system76/galp6.

Change-Id: I843116113b8c24f1aee42f9d9042cdc0471a1b43
Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd crawfxrd requested review from jackpot51 and a team September 7, 2023 20:20
@crawfxrd crawfxrd merged commit 1cb1310 into system76 Sep 8, 2023
@crawfxrd crawfxrd deleted the retry-smmstore-init branch September 8, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants