soc/amd/picasso: Generate ACPI pstate and cstate objects in cb
commitbc5214342f70e7b2187a3e2e02a9d2bfc284a82c
authorJason Glenesk <jason.glenesk@amd.corp-partner.google.com>
Mon, 14 Sep 2020 12:22:47 +0000 (14 05:22 -0700)
committerFurquan Shaikh <furquan@google.com>
Fri, 25 Sep 2020 22:49:56 +0000 (25 22:49 +0000)
tree6fe0f9dcf4a70436bc5ed622bddce67402d368a6
parentebd234e059ce13d28d25fcac133dfde94a069226
soc/amd/picasso: Generate ACPI pstate and cstate objects in cb

Add code to generate p-state and c-state SSDT objects to coreboot.
Publish objects generated in native coreboot, rather than the ones
created by FSP binary.

BUG=b:155307433
TEST=Boot morphius to shell and extract and compare objects created in
coreboot with tables generated by FSP. Confirm they are equivalent.
BRANCH=Zork

Change-Id: I5f4db3c0c2048ea1d6c6ce55f5e252cb15598514
Signed-off-by: Jason Glenesk <jason.glenesk@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45340
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
src/include/cpu/amd/msr.h
src/soc/amd/picasso/Kconfig
src/soc/amd/picasso/acpi.c
src/soc/amd/picasso/agesa_acpi.c
src/soc/amd/picasso/include/soc/msr.h [new file with mode: 0644]