Re: [PATCH v4 3/5] xen/riscv: introduce an implementation of macros from

2023-03-01 Thread Jan Beulich
On 01.03.2023 12:51, Oleksii wrote: > On Mon, 2023-02-27 at 13:59 +0100, Jan Beulich wrote: >> On 24.02.2023 12:35, Oleksii Kurochko wrote: >>> +{ >>> +    if ( (insn & INSN_LENGTH_MASK) == INSN_LENGTH_32 ) >>> +    return ( insn == BUG_INSN_32 ); >>> +    else >>> +    return ( (insn &

Re: [PATCH v4 3/5] xen/riscv: introduce an implementation of macros from

2023-03-01 Thread Oleksii
On Mon, 2023-02-27 at 13:59 +0100, Jan Beulich wrote: > On 24.02.2023 12:35, Oleksii Kurochko wrote: > > The patch introduces macros: BUG(), WARN(), run_in_exception(), > > assert_failed. > > > > The implementation uses "ebreak" instruction in combination with > > diffrent bug frame tables (for

Re: [PATCH v4 3/5] xen/riscv: introduce an implementation of macros from

2023-02-27 Thread Jan Beulich
On 24.02.2023 12:35, Oleksii Kurochko wrote: > The patch introduces macros: BUG(), WARN(), run_in_exception(), > assert_failed. > > The implementation uses "ebreak" instruction in combination with > diffrent bug frame tables (for each type) which contains useful > information. > > Signed-off-by:

[PATCH v4 3/5] xen/riscv: introduce an implementation of macros from

2023-02-24 Thread Oleksii Kurochko
The patch introduces macros: BUG(), WARN(), run_in_exception(), assert_failed. The implementation uses "ebreak" instruction in combination with diffrent bug frame tables (for each type) which contains useful information. Signed-off-by: Oleksii Kurochko --- Changes in V4: - Updates in RISC-V's