[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 18/39] xen/riscv: implement trap redirection to a guest





On 10/20/26 5:25 PM, Baptiste Le Duc wrote:


On 10/20/26 5:22 PM, Baptiste Le Duc wrote:
[ ... 54 lines skipped ... ]
@@ -107,6 +107,11 @@
  #define SIP_SSIP            MIP_SSIP
  #define SIP_STIP            MIP_STIP
+/* stvec/vstvec: MODE is bits [1:0], BASE is bits [XLEN-1:2] */
+#define STVEC_MODE_MASK        _UL(0x3)
+#define STVEC_MODE_DIRECT        _UL(0x0)
+#define STVEC_MODE_VECTORED        _UL(0x1)

Nit: STVEC_MODE_MASK needs a third tab for its value to line up with the
other two (and with the surrounding #define-s).

Instead of this small Nit, everything LGTM:

I suppose here you meant "Except of ...". I will apply your Nit.

Reviewed-by: Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>

Thanks!

~ Oleksii



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.