commit | 8934778467f57b89bf88b07895d2680bd817c936 | [log] [tgz] |
---|---|---|
author | Adam Dunlap <acdunlap@google.com> | Thu Jul 21 15:21:02 2022 -0700 |
committer | Adam Dunlap <acdunlap@google.com> | Mon Jul 25 16:15:44 2022 -0700 |
tree | 31226d74a0f6cfce40d871146624f4ac7be047d6 | |
parent | 970e5845a9cd103399b94bfe097ca3de07a5f90b [diff] |
x86/sev: Use RIP-relative addressing for static vars When compiled with clang the kernel panics under SNP. We found that other statically allocated variables in this file are copied into an intermediate buffer to ensure that they're access using RIP-relative addressing. Thus, do the same for the other statically allocated variables in this file. Signed-off-by: Jacob Xu <jacobhxu@google.com> Change-Id: Ifaac89a0a435bce2e2bf14f65fd98046a235c1f7