x86: xen: kvm: Gather the definition of emulate prefixes
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 6 Sep 2019 13:13:59 +0000 (22:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 May 2022 17:54:47 +0000 (19:54 +0200)
commitc67a4a91f5e140c1ba313b03e7baf907a03de788
tree55286d7034c158c84d7ea16cde9f5cf3bb7dd2e9
parent4c39e1ace3dc368fedaa49713885b9a0fa3d7434
x86: xen: kvm: Gather the definition of emulate prefixes

commit b3dc0695fa40c3b280230fb6fb7fb7a94ce28bf4 upstream.

Gather the emulate prefixes, which forcibly make the following
instruction emulated on virtualization, in one place.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: x86@kernel.org
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: xen-devel@lists.xenproject.org
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/156777563917.25081.7286628561790289995.stgit@devnote2
Signed-off-by: Maximilian Heyne <mheyne@amazon.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/emulate_prefix.h [new file with mode: 0644]
arch/x86/include/asm/xen/interface.h
arch/x86/kvm/x86.c