Re: [PATCH v4 1/5] xen/riscv: introduce decode_cause() stuff

2023-03-01 Thread Oleksii
On Wed, 2023-03-01 at 11:41 +0200, Oleksii wrote: > On Mon, 2023-02-27 at 13:48 +0100, Jan Beulich wrote: > > On 24.02.2023 12:35, Oleksii Kurochko wrote: > > > --- a/xen/arch/riscv/traps.c > > > +++ b/xen/arch/riscv/traps.c > > > @@ -4,10 +4,95 @@ > > >   * > > >   * RISC-V Trap handlers > > >  

Re: [PATCH v4 1/5] xen/riscv: introduce decode_cause() stuff

2023-03-01 Thread Oleksii
On Mon, 2023-02-27 at 13:48 +0100, Jan Beulich wrote: > On 24.02.2023 12:35, Oleksii Kurochko wrote: > > --- a/xen/arch/riscv/traps.c > > +++ b/xen/arch/riscv/traps.c > > @@ -4,10 +4,95 @@ > >   * > >   * RISC-V Trap handlers > >   */ > > + > > +#include > > I couldn't spot anything in the file

Re: [PATCH v4 1/5] xen/riscv: introduce decode_cause() stuff

2023-03-01 Thread Oleksii
On Mon, 2023-02-27 at 13:48 +0100, Jan Beulich wrote: > On 24.02.2023 12:35, Oleksii Kurochko wrote: > > --- a/xen/arch/riscv/traps.c > > +++ b/xen/arch/riscv/traps.c > > @@ -4,10 +4,95 @@ > >   * > >   * RISC-V Trap handlers > >   */ > > + > > +#include > > I couldn't spot anything in the file

Re: [PATCH v4 1/5] xen/riscv: introduce decode_cause() stuff

2023-02-27 Thread Jan Beulich
On 24.02.2023 12:35, Oleksii Kurochko wrote: > --- a/xen/arch/riscv/traps.c > +++ b/xen/arch/riscv/traps.c > @@ -4,10 +4,95 @@ > * > * RISC-V Trap handlers > */ > + > +#include I couldn't spot anything in the file which would require this inclusion. > +#include > + > +#include >

[PATCH v4 1/5] xen/riscv: introduce decode_cause() stuff

2023-02-24 Thread Oleksii Kurochko
The patch introduces stuff needed to decode a reason of an exception. Signed-off-by: Oleksii Kurochko --- Changes in V4: - fix string in decode_reserved_interrupt_cause() --- Changes in V3: - Nothing changed --- Changes in V2: - Make decode_trap_cause() more optimization friendly. -