diff options
Diffstat (limited to 'src/sscofpmf.adoc')
-rw-r--r-- | src/sscofpmf.adoc | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/src/sscofpmf.adoc b/src/sscofpmf.adoc index 7e67a25..db1a45e 100644 --- a/src/sscofpmf.adoc +++ b/src/sscofpmf.adoc @@ -30,10 +30,10 @@ interrupt that is assigned to bit 13 in the mip/mie/sip/sie registers. The following bits are added to `mhpmevent`: -[cols="^1,^1,^1,^1,^1,^1",stripes=even,options="header"] +[cols="^1,^1,^1,^1,^1,^1,^1,^1",stripes=even,options="header"] |==== -|63 |62 |61 |60 |59 |58 -|OF |MINH |SINH |UINH |VSINH |VUINH +|63 |62 |61 |60 |59 |58 |57 |56 +|OF |MINH |SINH |UINH |VSINH |VUINH |_WPRI_ |_WPRI_ |==== [cols="15%,85%",options="header"] @@ -45,6 +45,8 @@ The following bits are added to `mhpmevent`: | UINH | If set, then counting of events in U-mode is inhibited | VSINH | If set, then counting of events in VS-mode is inhibited | VUINH | If set, then counting of events in VU-mode is inhibited +| _WPRI_ | Reserved +| _WPRI_ | Reserved |==== For each ``x``INH bit, if the associated privilege mode is not implemented, @@ -71,17 +73,20 @@ count overflow interrupt disable for the associated hpmcounter. Count overflow never results from writes to the mhpmcounter__n__ or mhpmevent__n__ registers, only from hardware increments of counter registers. -This "count overflow interrupt request" signal is treated as a standard local -interrupt that corresponds to bit 13 in the mip/mie/sip/sie registers. The -mip/sip LCOFIP and mie/sie LCOFIE bits are respectively the interrupt-pending -and interrupt-enable bits for this interrupt. ('LCOFI' represents 'Local Count -Overflow Interrupt'.) - -Generation of a "count overflow interrupt request" by an hpmcounter sets the -LCOFIP bit in the mip/sip registers and sets the associated OF bit. The mideleg -register controls the delegation of this interrupt to S-mode versus M-mode. The -LCOFIP bit is cleared by software before servicing the count overflow interrupt -resulting from one or more count overflows. +This count-overflow-interrupt-request signal is treated as a standard local +interrupt that corresponds to bit 13 in the `mip`/`mie`/`sip`/`sie` registers. +The `mip`/`sip` LCOFIP and `mie`/`sie` LCOFIE bits are, respectively, the +interrupt-pending and interrupt-enable bits for this interrupt. +('LCOFI' represents 'Local Count Overflow Interrupt'.) + +Generation of a count-overflow-interrupt request by an `hpmcounter` sets the +associated OF bit. +When an OF bit is set, it eventually, but not necessarily immediately, sets +the LCOFIP bit in the `mip`/`sip` registers. +The LCOFIP bit is cleared by software before servicing the count overflow +interrupt resulting from one or more count overflows. +The `mideleg` register controls the delegation of this interrupt to S-mode +versus M-mode. [NOTE] ==== |