Re: [PATCH v1 1/1] x86/tdx: Don't write CSTAR MSR on Intel

From: Sathyanarayanan Kuppuswamy
Date: Thu Nov 18 2021 - 16:03:44 EST




On 11/18/21 1:02 PM, Thomas Gleixner wrote:
DEFINE_PER_CPU(unsigned long, cpu_current_top_of_stack) = TOP_OF_INIT_STACK;
+/* Don't write CSTAR MSR on Intel platforms */
+void wrmsrl_cstar(unsigned long val)
static, no?

Yes. It should be static. I will fix it.

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer