Re: [PATCH v6 1/4] xen: introduce CONFIG_GENERIC_BUG_FRAME

2023-03-08 Thread Oleksii
On Wed, 2023-03-08 at 16:06 +0100, Jan Beulich wrote: > On 07.03.2023 16:50, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/common/bug.c > > @@ -0,0 +1,104 @@ > > +#include > > +#include > > Isn't it asm/bug.h now which is to include this header, if needed at > all? You are right it wil

Re: [PATCH v6 1/4] xen: introduce CONFIG_GENERIC_BUG_FRAME

2023-03-08 Thread Jan Beulich
On 07.03.2023 16:50, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/common/bug.c > @@ -0,0 +1,104 @@ > +#include > +#include Isn't it asm/bug.h now which is to include this header, if needed at all? > --- /dev/null > +++ b/xen/include/xen/bug.h > @@ -0,0 +1,158 @@ > +#ifndef __XEN_BUG_H__

[PATCH v6 1/4] xen: introduce CONFIG_GENERIC_BUG_FRAME

2023-03-07 Thread Oleksii Kurochko
A large part of the content of the bug.h is repeated among all architectures, so it was decided to create a new config CONFIG_GENERIC_BUG_FRAME. The version of from x86 was taken as the base version. The patch introduces the following stuff: * common bug.h header * generic implementation of