diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2023-05-25 15:54:33 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-27 01:58:53 +0000 |
commit | 01c9dfbae63aaf36d35085dd004c67f09af5fad5 (patch) | |
tree | 9dc7a47dbee0772ee2b5e77185382b7f6396ec18 /src/mainboard/google/cherry/mainboard.c | |
parent | 1da0340aa8834681082128b5da42ac96ed55af33 (diff) |
soc/amd/common/psp_verstage: Fix pending maps
cbfs_unmap does not unmap the mapped region from the boot device. This
leads to some resource leaks eg. TLB slots in PSP. Explicitly call
rdev_munmap on the address mapped by cbfs_map.
BUG=b:240664755
TEST=Build and boot to OS in Skyrim with unsigned PSP verstage.
Change-Id: If1d355972cc743b8d8c451e1b3f827abd15e98fe
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75453
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google/cherry/mainboard.c')
0 files changed, 0 insertions, 0 deletions