Re: [Xen-devel] [PATCH 1/4] xen: move pv irq related functions under CONFIG_XEN_PV umbrella

2018-07-17 Thread Juergen Gross
On 17/07/18 21:19, Boris Ostrovsky wrote: > On 07/17/2018 08:01 AM, Juergen Gross wrote: >> diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile >> index d83cb5478f54..f723b5aa8f74 100644 >> --- a/arch/x86/xen/Makefile >> +++ b/arch/x86/xen/Makefile >> @@ -12,25 +12,46 @@ endif > > >> >>

Re: [Xen-devel] [PATCH 1/4] xen: move pv irq related functions under CONFIG_XEN_PV umbrella

2018-07-17 Thread Boris Ostrovsky
On 07/17/2018 08:01 AM, Juergen Gross wrote: > diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile > index d83cb5478f54..f723b5aa8f74 100644 > --- a/arch/x86/xen/Makefile > +++ b/arch/x86/xen/Makefile > @@ -12,25 +12,46 @@ endif > > obj-$(CONFIG_SMP)+= smp.o >

[Xen-devel] [PATCH 1/4] xen: move pv irq related functions under CONFIG_XEN_PV umbrella

2018-07-17 Thread Juergen Gross
All functions in arch/x86/xen/irq.c and arch/x86/xen/xen-asm*.S are specific to PV guests. Include them in the kernel with CONFIG_XEN_PV only. Make the PV specific code in arch/x86/entry/entry_*.S dependent on CONFIG_XEN_PV instead of CONFIG_XEN. While at it reformat the Makefile to make it more