Re: [Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-16 Thread Daniel Kiper
On Mon, Jul 16, 2018 at 03:52:49AM -0600, Jan Beulich wrote: > >>> On 16.07.18 at 11:25, wrote: > > On Mon, Jul 16, 2018 at 03:18:13AM -0600, Jan Beulich wrote: > >> >>> On 16.07.18 at 11:12, wrote: > >> > On Mon, Jul 16, 2018 at 02:55:16AM -0600, Jan Beulich wrote: > >> >> >>> On 16.07.18 at 10:

Re: [Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-16 Thread Jan Beulich
>>> On 16.07.18 at 11:25, wrote: > On Mon, Jul 16, 2018 at 03:18:13AM -0600, Jan Beulich wrote: >> >>> On 16.07.18 at 11:12, wrote: >> > On Mon, Jul 16, 2018 at 02:55:16AM -0600, Jan Beulich wrote: >> >> >>> On 16.07.18 at 10:26, wrote: >> >> > On Mon, Jul 16, 2018 at 01:59:15AM -0600, Jan Beuli

Re: [Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-16 Thread Roger Pau Monné
On Mon, Jul 16, 2018 at 03:18:13AM -0600, Jan Beulich wrote: > >>> On 16.07.18 at 11:12, wrote: > > On Mon, Jul 16, 2018 at 02:55:16AM -0600, Jan Beulich wrote: > >> >>> On 16.07.18 at 10:26, wrote: > >> > On Mon, Jul 16, 2018 at 01:59:15AM -0600, Jan Beulich wrote: > >> >> >>> On 13.07.18 at 18:

Re: [Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-16 Thread Jan Beulich
>>> On 16.07.18 at 11:12, wrote: > On Mon, Jul 16, 2018 at 02:55:16AM -0600, Jan Beulich wrote: >> >>> On 16.07.18 at 10:26, wrote: >> > On Mon, Jul 16, 2018 at 01:59:15AM -0600, Jan Beulich wrote: >> >> >>> On 13.07.18 at 18:02, wrote: >> >> > --- a/xen/arch/x86/Makefile >> >> > +++ b/xen/arch/

Re: [Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-16 Thread Roger Pau Monné
On Mon, Jul 16, 2018 at 02:55:16AM -0600, Jan Beulich wrote: > >>> On 16.07.18 at 10:26, wrote: > > On Mon, Jul 16, 2018 at 01:59:15AM -0600, Jan Beulich wrote: > >> >>> On 13.07.18 at 18:02, wrote: > >> > --- a/xen/arch/x86/Makefile > >> > +++ b/xen/arch/x86/Makefile > >> > @@ -168,6 +168,16 @@

Re: [Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-16 Thread Jan Beulich
>>> On 16.07.18 at 10:26, wrote: > On Mon, Jul 16, 2018 at 01:59:15AM -0600, Jan Beulich wrote: >> >>> On 13.07.18 at 18:02, wrote: >> > --- a/xen/arch/x86/Makefile >> > +++ b/xen/arch/x86/Makefile >> > @@ -168,6 +168,16 @@ $(TARGET).efi: ALT_BASE = 0x$(shell $(NM) >> > efi/relocs-dummy.o | sed

Re: [Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-16 Thread Roger Pau Monné
On Mon, Jul 16, 2018 at 01:59:15AM -0600, Jan Beulich wrote: > >>> On 13.07.18 at 18:02, wrote: > > --- a/xen/arch/x86/Makefile > > +++ b/xen/arch/x86/Makefile > > @@ -168,6 +168,16 @@ $(TARGET).efi: ALT_BASE = 0x$(shell $(NM) > > efi/relocs-dummy.o | sed -n 's, A ALT_ > > # Don't use $(wildcard

Re: [Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-16 Thread Jan Beulich
>>> On 13.07.18 at 18:02, wrote: > --- a/xen/arch/x86/Makefile > +++ b/xen/arch/x86/Makefile > @@ -168,6 +168,16 @@ $(TARGET).efi: ALT_BASE = 0x$(shell $(NM) > efi/relocs-dummy.o | sed -n 's, A ALT_ > # Don't use $(wildcard ...) here - at least make 3.80 expands this too early! > $(TARGET).efi:

[Xen-devel] [PATCH] x86/efi: move the logic to detect PE build support

2018-07-13 Thread Roger Pau Monne
So that it can be used by other components apart from the efi specific code. This is required so that the conditional used to define the efi symbol in the linker script can be removed and instead the definition of the efi symbol can be guarded using the preprocessor. The motivation behind this ch