aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorMingwei Zhang <[email protected]>2022-04-21 03:14:06 +0000
committerPaolo Bonzini <[email protected]>2022-04-21 13:16:59 -0400
commitd45829b351ee6ec5f54dd55e6aca1f44fe239fe6 (patch)
tree45ec8b9159c81c734d5263ffbdeac9acd7f4ba8d /lib/test_fortify/write_overflow-strlcpy-src.c
parent4bbef7e8eb8c2c7dabf57d97decfd2b4f48aaf02 (diff)
KVM: SVM: Flush when freeing encrypted pages even on SME_COHERENT CPUs
Use clflush_cache_range() to flush the confidential memory when SME_COHERENT is supported in AMD CPU. Cache flush is still needed since SME_COHERENT only support cache invalidation at CPU side. All confidential cache lines are still incoherent with DMA devices. Cc: [email protected] Fixes: add5e2f04541 ("KVM: SVM: Add support for the SEV-ES VMSA") Reviewed-by: Sean Christopherson <[email protected]> Signed-off-by: Mingwei Zhang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions