diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2018-08-02 10:39:36 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2018-08-02 10:39:36 -0400 |
commit | 1b69d46e72eb77827158d803aa12394e615bc767 (patch) | |
tree | 1e1e08534d9d8c19dae8e44a6fba0f4c4ee6e0d7 | |
parent | fcefdb4780afeb1388f47e3e7cb05a52b57bdc11 (diff) | |
download | longterm-queue-4.12-1b69d46e72eb77827158d803aa12394e615bc767.tar.gz |
x86: trivial ctxt refresh
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r-- | queue/x86-insn-eval-Add-utility-functions-to-get-segment-s.patch | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/queue/x86-insn-eval-Add-utility-functions-to-get-segment-s.patch b/queue/x86-insn-eval-Add-utility-functions-to-get-segment-s.patch index 2cdca00..2fe51ef 100644 --- a/queue/x86-insn-eval-Add-utility-functions-to-get-segment-s.patch +++ b/queue/x86-insn-eval-Add-utility-functions-to-get-segment-s.patch @@ -1,4 +1,4 @@ -From 32d0b95300db03c2b23b2ea2c94769a4a138e79d Mon Sep 17 00:00:00 2001 +From c3719f8bb7ae0249b00882e9f8a9b3989d4f367c Mon Sep 17 00:00:00 2001 From: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Date: Fri, 27 Oct 2017 13:25:40 -0700 Subject: [PATCH] x86/insn-eval: Add utility functions to get segment selector @@ -77,6 +77,7 @@ Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Thomas Garnier <thgarnie@google.com> Link: https://lkml.kernel.org/r/1509135945-13762-14-git-send-email-ricardo.neri-calderon@linux.intel.com +Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> diff --git a/arch/x86/include/asm/inat.h b/arch/x86/include/asm/inat.h index 02aff0867211..1c78580e58be 100644 @@ -100,7 +101,7 @@ index 02aff0867211..1c78580e58be 100644 extern insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode); extern int inat_get_last_prefix_id(insn_byte_t last_pfx); diff --git a/arch/x86/lib/insn-eval.c b/arch/x86/lib/insn-eval.c -index ac7b87c228b9..6a902b155f5d 100644 +index 405ffeb1c382..e5ef85a37102 100644 --- a/arch/x86/lib/insn-eval.c +++ b/arch/x86/lib/insn-eval.c @@ -9,6 +9,7 @@ @@ -111,9 +112,9 @@ index ac7b87c228b9..6a902b155f5d 100644 #undef pr_fmt #define pr_fmt(fmt) "insn: " fmt -@@ -47,6 +48,345 @@ static bool is_string_insn(struct insn *insn) - } - } +@@ -19,6 +20,345 @@ enum reg_type { + REG_TYPE_BASE, + }; +/** + * get_seg_reg_override_idx() - obtain segment register override index |