Re: [PATCH 1/4] x86/coco: Add a new CC attribute to unify cache flush during kexec

From: Huang, Kai
Date: Wed Feb 28 2024 - 17:22:01 EST




On 29/02/2024 12:02 am, Borislav Petkov wrote:
On Wed, Feb 28, 2024 at 09:21:00AM +0000, Huang, Kai wrote:
Based on this I'll change to do unconditional WBINVD during kexec() for in
stop_this_cpu() and relocate_kernel(). Please let me know if you have any
comments.

Yes, pls make sure to summarize in the commit message what this thread
figured out. But basically, we want to try the simple approach and
WBINVD unconditionally on the CPU stopping path so that caches are clean
and there's no potential issues...


Yes will do. Thanks for the feedback.