Re: [PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-26 Thread Wei Chen
Hi Jan, On 2022/4/27 13:54, Jan Beulich wrote: On 27.04.2022 04:56, Wei Chen wrote: -Original Message- From: Jan Beulich Sent: 2022年4月26日 22:31 On 26.04.2022 12:37, Wei Chen wrote: On 2022/4/26 16:53, Jan Beulich wrote: On 18.04.2022 11:07, Wei Chen wrote: diff --git a/xen/arch/x86

Re: [PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-26 Thread Jan Beulich
On 27.04.2022 04:56, Wei Chen wrote: >> -Original Message- >> From: Jan Beulich >> Sent: 2022年4月26日 22:31 >> >> On 26.04.2022 12:37, Wei Chen wrote: >>> On 2022/4/26 16:53, Jan Beulich wrote: On 18.04.2022 11:07, Wei Chen wrote: > diff --git a/xen/arch/x86/efi/stub.c b/xen/arch/x8

RE: [PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-26 Thread Wei Chen
Hi Jan, > -Original Message- > From: Jan Beulich > Sent: 2022年4月26日 22:31 > To: Wei Chen > Cc: nd ; Andrew Cooper ; Roger Pau > Monné ; Wei Liu ; xen- > de...@lists.xenproject.org > Subject: Re: [PATCH v2 02/10] xen/x86: move reusable EFI stub functions >

Re: [PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-26 Thread Jan Beulich
On 26.04.2022 12:37, Wei Chen wrote: > On 2022/4/26 16:53, Jan Beulich wrote: >> On 18.04.2022 11:07, Wei Chen wrote: >>> diff --git a/xen/arch/x86/efi/stub.c b/xen/arch/x86/efi/stub-x86.c >>> similarity index 71% >>> rename from xen/arch/x86/efi/stub.c >>> rename to xen/arch/x86/efi/stub-x86.c >>>

Re: [PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-26 Thread Wei Chen
Hi Jan, On 2022/4/26 16:53, Jan Beulich wrote: On 18.04.2022 11:07, Wei Chen wrote: diff --git a/xen/arch/x86/efi/stub.c b/xen/arch/x86/efi/stub-x86.c similarity index 71% rename from xen/arch/x86/efi/stub.c rename to xen/arch/x86/efi/stub-x86.c index 9984932626..2cd5c8d4dc 100644 --- a/xen/arc

Re: [PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-26 Thread Jan Beulich
On 18.04.2022 11:07, Wei Chen wrote: > diff --git a/xen/arch/x86/efi/stub.c b/xen/arch/x86/efi/stub-x86.c > similarity index 71% > rename from xen/arch/x86/efi/stub.c > rename to xen/arch/x86/efi/stub-x86.c > index 9984932626..2cd5c8d4dc 100644 > --- a/xen/arch/x86/efi/stub.c > +++ b/xen/arch/x86/e

Re: [PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-20 Thread Stefano Stabellini
On Mon, 18 Apr 2022, Wei Chen wrote: > Most of the functions in x86 EFI stub.c can be reused for other > architectures. So we move them to common and keep the x86 specific > function in stub-x86.c. > > Signed-off-by: Wei Chen Reviewed-by: Stefano Stabellini > --- > v1 -> v2: > 1. Drop the cop

[PATCH v2 02/10] xen/x86: move reusable EFI stub functions from x86 to common

2022-04-18 Thread Wei Chen
Most of the functions in x86 EFI stub.c can be reused for other architectures. So we move them to common and keep the x86 specific function in stub-x86.c. Signed-off-by: Wei Chen --- v1 -> v2: 1. Drop the copy of stub.c from Arm EFI. 2. Share common codes of x86 EFI stub for other architectures.