Can mhpmevent18h be accessed from any privilege level?
No. The official CSR table lists mhpmevent18h as a Machine-mode MRW CSR; it exists only on RV32 when Sscofpmf is implemented.
mhpmevent18h at 0x732 is the RV32 high-half CSR for bits 63:32 of mhpmevent18, provided with Sscofpmf.
mhpmevent18h is not an independent event selector; it is the RV32 access window for the upper 32 bits of mhpmevent18. It carries Sscofpmf OF and mode-filtering fields.
On RV32, read mhpmevent18h to inspect the upper-half state of mhpmevent18.
Handle OF or mode-filtering bits as needed.
If Supervisor mode is implemented, check overflow state together with mhpmcounter18 readings and scountovf.
No. The official CSR table lists mhpmevent18h as a Machine-mode MRW CSR; it exists only on RV32 when Sscofpmf is implemented.
On RV32, mhpmevent18h reads and writes bits 63:32 of mhpmevent18; accesses to the low-half CSR affect only bits 31:0.