Thread (83 messages) 83 messages, 3 authors, 2020-09-08

Re: [PATCH v7 41/72] x86/sev-es: Setup per-cpu GHCBs for the runtime handler

From: Borislav Petkov <bp@alien8.de>
Date: 2020-09-08 10:52:30
Also in: kvm, lkml

On Mon, Sep 07, 2020 at 03:15:42PM +0200, Joerg Roedel wrote:
+void __init sev_es_init_vc_handling(void)
+{
+	int cpu;
+
+	BUILD_BUG_ON((offsetof(struct sev_es_runtime_data, ghcb_page) % PAGE_SIZE) != 0);
Simplified that to:

	BUILD_BUG_ON(offsetof(struct sev_es_runtime_data, ghcb_page) % PAGE_SIZE);

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help