coreboot/Documentation
Krystian Hebel 0cc0e6996c drivers/smmstore: allow full flash access for capsule updates
With DRIVERS_EFI_UPDATE_CAPSULES enabled and when at least one capsule
was found, SMMSTORE SMI handler can use commands with the highest
bit (0x80) set to access the whole flash instead of just the SMMSTORE
region. The rest of the interface is identical to regular SMMSTORE v2
except for a new call to control full flash access.

The added call saves information about the availability of capsules in
SMM memory. The call is ignored when run more than once, meaning there
should be no way of enabling full flash handling after it was disabled
and vice versa. The call should always be made by the firmware to lock
further calls, so that an OS could not gain full flash access. This is
done on entry to BS_POST_DEVICE after capsules are obtained in
BS_DEV_INIT.

Change-Id: I7f3dbfa965b9dcbade8b2f06a5bd2ac1345c7972
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83424
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-04-23 14:13:14 +00:00
..
_static Documentation: Add static CSS file to fix tables 2018-05-14 17:21:37 +00:00
acpi Docs: Revert false MyST Parser toctree conversions 2024-09-09 23:26:42 +00:00
arch Documentation: Improve x86_64 2025-02-14 17:11:04 +00:00
community doc/community: Add a section on cross-project collaboration 2025-04-05 14:40:40 +00:00
contributing doc/contributing/git_commit_messages: fix line length 2025-04-08 19:06:41 +00:00
drivers drivers/smmstore: allow full flash access for capsule updates 2025-04-23 14:13:14 +00:00
getting_started docs/getting-started: Update guide for writing docs 2025-04-14 13:56:11 +00:00
gfx Docs: Replace Recommonmark with MyST Parser 2024-03-21 16:11:56 +00:00
infrastructure Docs: Convert bare URLs into hyperlinks 2024-12-14 06:23:13 +00:00
internals doc/internals/devicetree_language: multiple segment groups supported 2025-04-08 19:07:13 +00:00
lib Documentation: Reformat fw_config.md 2025-04-09 17:50:28 +00:00
mainboard Documentation/mainboard/asrock/imb-1222.md: Update information 2025-04-21 17:02:18 +00:00
northbridge Documentation: Fix snb/ivb nri frequency table 2025-01-22 20:32:13 +00:00
releases Documentation: Update 25.03 release notes 2025-04-04 01:11:17 +00:00
RFC Docs: Address remaining documents not included in toctrees 2024-10-27 23:50:29 +00:00
sbom Documentation: Update Makefile .inc references to .mk 2024-01-26 13:08:30 +00:00
security docs/security/vboot: Update supported board list 2025-04-02 16:01:21 +00:00
soc Doc/soc/amd/family15h: Fix URLs to AMD documents 2024-12-25 13:32:58 +00:00
superio Docs: Fix broken header references 2024-08-21 16:18:23 +00:00
technotes Docs: Convert bare URLs into hyperlinks 2024-12-14 06:23:13 +00:00
tutorial Documentation/tutorial/managing_local_additions.md: Add symlink info 2024-12-03 14:06:46 +00:00
util Documentation/util/intelp2m: Add info for developers 2025-04-14 13:52:13 +00:00
vendorcode Docs: Replace Recommonmark with MyST Parser 2024-03-21 16:11:56 +00:00
.gitignore .gitignore: Split into subdirectory files 2020-10-30 07:05:27 +00:00
.mdl_style.rb Documentation: Add mdl style file 2022-07-14 12:38:56 +00:00
acronyms.md Documentation: Fix invalid Wikipedia link 2025-01-08 02:44:22 +00:00
AMD-S3.txt Documentation: change coreboot to lowercase 2017-06-12 04:06:40 +02:00
beginverbatim.tex Rename documentation -> Documentation 2015-05-06 19:09:47 +02:00
cbfs.txt Fix typos involving "the the" 2018-12-18 13:24:28 +00:00
codeflow.svg Documentation: Remove whitespace before tab 2018-06-04 11:48:23 +00:00
conf.py Documentation: Remove ditaa support 2024-10-27 23:51:03 +00:00
COPYING Documentation/COPYING: Remove trailing whitespace 2018-04-27 09:10:20 +00:00
coreboot_logo.bmp Documentation: Add coreboot logo in BMP format for payload use 2022-07-27 13:58:27 +00:00
coreboot_logo.png Rename documentation -> Documentation 2015-05-06 19:09:47 +02:00
coreboot_logo.svg Documentation: Add the coreboot logo in SVG format 2022-07-21 10:35:16 +00:00
corebootBuildingGuide.tex Documentation: Adjust master -> main branch 2023-09-15 18:42:46 +00:00
distributions.md doc/distributions: Update NovaCustom domain 2024-06-06 23:11:34 +00:00
documentation_license.md Documentation: Move documentation license to main menu 2022-03-24 15:47:11 +00:00
endverbatim.tex Rename documentation -> Documentation 2015-05-06 19:09:47 +02:00
external_docs.md Docs: Revert false MyST Parser toctree conversions 2024-09-09 23:26:42 +00:00
gcov.txt Documentation: Fix spelling errors 2021-10-05 18:06:24 +00:00
hypertransport.svg Rename documentation -> Documentation 2015-05-06 19:09:47 +02:00
index.md Documentation/internals: Add devicetree documentation 2025-04-06 20:37:34 +00:00
Makefile Docs: Turn warnings into errors 2024-10-27 23:51:11 +00:00
Makefile.sphinx Documentation: Fix make rule for sphinx-autobuild 2025-01-22 20:38:26 +00:00
payloads.md Documentation: Get rid of trailing whitespaces 2022-10-13 08:01:01 +00:00
POSTCODES post_code: add post code for video initialization failure 2019-05-22 17:45:11 +00:00
util.md util/mediatek: Add check-pi-img.py 2025-04-14 07:35:00 +00:00