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

2023-02-28 Thread Oleksii
On Tue, 2023-02-28 at 18:01 +, Julien Grall wrote: > On 28/02/2023 17:21, Oleksii wrote: > > Hi Julien, > > Hi Oleksii, > > > > + > > > > +    for ( i = 0, b = region->frame[id].bugs; > > > > +  i < region->frame[id].n_bugs; b++, i++ ) > > > > +    { > > > > +  

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

2023-02-28 Thread Julien Grall
On 28/02/2023 17:21, Oleksii wrote: Hi Julien, Hi Oleksii, + +    for ( i = 0, b = region->frame[id].bugs; +  i < region->frame[id].n_bugs; b++, i++ ) +    { +    if ( bug_loc(b) == pc ) +    { +    bug = b; + 

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

2023-02-28 Thread Oleksii
Hi Julien, On Sat, 2023-02-25 at 16:42 +, Julien Grall wrote: > Hi Oleksii, > > On 24/02/2023 11:31, Oleksii Kurochko wrote: > > 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. > > > >

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

2023-02-28 Thread Jan Beulich
On 28.02.2023 11:30, Oleksii wrote: > On Mon, 2023-02-27 at 15:23 +0100, Jan Beulich wrote: >> On 24.02.2023 12:31, Oleksii Kurochko wrote: >>> --- /dev/null >>> +++ b/xen/common/bug.c >>> @@ -0,0 +1,109 @@ >>> +#include >>> +#include >>> +#include >>> +#include >>> +#include >>> +#include

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

2023-02-28 Thread Oleksii
On Mon, 2023-02-27 at 15:23 +0100, Jan Beulich wrote: > On 24.02.2023 12:31, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/common/bug.c > > @@ -0,0 +1,109 @@ > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > >

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

2023-02-27 Thread Jan Beulich
On 24.02.2023 12:31, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/common/bug.c > @@ -0,0 +1,109 @@ > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > + > +/* Set default value for TRAP_invalid_op as it is defined only

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

2023-02-27 Thread Jan Beulich
On 25.02.2023 17:42, Julien Grall wrote: > On 24/02/2023 11:31, Oleksii Kurochko wrote: >> --- /dev/null >> +++ b/xen/common/bug.c >> @@ -0,0 +1,109 @@ >> +#include >> +#include >> +#include >> +#include >> +#include > +#include >> +#include >> +#include >> + >> +#include >> + >> +/* Set

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

2023-02-25 Thread Julien Grall
Hi Oleksii, On 24/02/2023 11:31, Oleksii Kurochko wrote: 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

[PATCH v3 1/4] xen: introduce CONFIG_GENERIC_BUG_FRAME

2023-02-24 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