soc/amd/cezanne, vc/amd/fsp/*: Add support for CCP DMA SVC call
commitb3ffff87dd1e01eb20240279f5d88707475c1428
authorKarthikeyan Ramasubramanian <kramasub@google.com>
Fri, 10 Sep 2021 17:36:21 +0000 (10 11:36 -0600)
committerFelix Held <felix-coreboot@felixheld.de>
Mon, 27 Sep 2021 13:29:37 +0000 (27 13:29 +0000)
tree83a335c4b97a8b3d44c75ef9f510aed9a729a958
parent401238873615141627cd06d61b57d63198619af2
soc/amd/cezanne, vc/amd/fsp/*: Add support for CCP DMA SVC call

Add support to access the boot device from PSP through Crypto
Co-Processor (CCP) DMA. Implement a SVC call to use CCP DMA on SoCs
where it is supported and a stub on SoCs where it is not supported. This
provides an improved performance while accessing the boot device and
reduces the boot time by ~45 ms.

BUG=b:194990811
TEST=Build and boot to OS in guybrush. Perform cold and warm reboot
cycling for 250 iterations.

Change-Id: I02b94a842190ac4dcf45ff2d846b8665f06a9c75
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57562
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
src/soc/amd/cezanne/psp_verstage/svc.c
src/vendorcode/amd/fsp/cezanne/include/bl_uapp/bl_syscall_public.h
src/vendorcode/amd/fsp/picasso/include/bl_uapp/bl_syscall_public.h