Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1710213
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4] xen: get rid of paravirt op adjust_exception_frame |
| Date | 2017-08-12 12:20 +0200 |
| Message-ID | <udBGq-7O5-7@gated-at.bofh.it> (permalink) |
| References | <udjzQ-4NO-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Juergen Gross <jgross@suse.com> wrote: > When running as Xen pv-guest the exception frame on the stack contains > %r11 and %rcx additional to the other data pushed by the processor. > > Instead of having a paravirt op being called for each exception type > prepend the Xen specific code to each exception entry. When running as > Xen pv-guest just use the exception entry with prepended instructions, > otherwise use the entry without the Xen specific code. > > Signed-off-by: Juergen Gross <jgross@suse.com> > --- > arch/x86/entry/entry_64.S | 23 ++------- > arch/x86/entry/entry_64_compat.S | 1 - > arch/x86/include/asm/paravirt.h | 5 -- > arch/x86/include/asm/paravirt_types.h | 4 -- > arch/x86/include/asm/proto.h | 3 ++ > arch/x86/include/asm/traps.h | 33 ++++++++++-- > arch/x86/kernel/asm-offsets_64.c | 1 - > arch/x86/kernel/paravirt.c | 3 -- > arch/x86/xen/enlighten_pv.c | 96 +++++++++++++++++++++++------------ > arch/x86/xen/irq.c | 3 -- > arch/x86/xen/xen-asm_64.S | 45 ++++++++++++++-- > arch/x86/xen/xen-ops.h | 1 - > 12 files changed, 140 insertions(+), 78 deletions(-) Acked-by: Ingo Molnar <mingo@kernel.org> Thanks, Ingo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4] xen: get rid of paravirt op adjust_exception_frame Juergen Gross <jgross@suse.com> - 2017-08-11 17:00 +0200 Re: [PATCH v4] xen: get rid of paravirt op adjust_exception_frame Ingo Molnar <mingo@kernel.org> - 2017-08-12 12:20 +0200 Re: [PATCH v4] xen: get rid of paravirt op adjust_exception_frame Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-08-16 17:20 +0200
csiph-web