Skip to content

x86: AMD: Don't flush cache if hardware enforces cache coherency across encryption domains

Krish Sadhukhan kvm lkml 4 versions – Applied

Status from this message: The following commit has been merged into the x86/cpu branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesApplied
  2. v34 patches 7 repliesSuperseded
  3. v23 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Changes in v4 from the cover letter

1. Patch# 1 from v3 has been dropped.
2. The CPUID feature for hardware-enforced cache coherency has been renamed.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3x86: AMD: Add hardware-enforced cache coherency as a CPUID featurearch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/scattered.c+2 -00 replies
2/3x86: AMD: Don't flush cache if hardware enforces cache coherency across encryption domnainsarch/x86/mm/pat/set_memory.c+1 -10 replies
3/3KVM: SVM: Don't flush cache if hardware enforces cache coherency across encryption domainsarch/x86/kvm/svm/sev.c+2 -12 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH 0/3 v4] x86: AMD: Don't flush cache if hardware enforces cache coherency across encryption domains

v3 -> v4:
1. Patch# 1 from v3 has been dropped.
2. The CPUID feature for hardware-enforced cache coherency has been renamed.

[PATCH 1/3 v4] x86: AMD: Add hardware-enforced cache coherency as a [PATCH 2/3 v4] x86: AMD: Don't flush cache if hardware enforces cache [PATCH 3/3 v4] KVM: SVM: Don't flush cache if hardware enforces cache

 arch/x86/include/asm/cpufeatures.h | 1 +
 arch/x86/kernel/cpu/scattered.c    | 1 +
 arch/x86/kvm/svm/sev.c             | 3 ++-
 arch/x86/mm/pat/set_memory.c       | 2 +-
 4 files changed, 5 insertions(+), 2 deletions(-)

Krish Sadhukhan (3):
x86: AMD: Add hardware-enforced cache coherency as a CPUID feature
x86: AMD: Don't flush cache if hardware enforces cache coherency across encryption domnains
KVM: SVM: Don't flush cache if hardware enforces cache coherency across encryption domains