|
Re: Proposal v4: SBI PMU Extension
But by definition RAW events are all implementation-specific (unless or until an arch extension standardizes a set of RAW events and their encodings). At best, the software discovery method that the
But by definition RAW events are all implementation-specific (unless or until an arch extension standardizes a set of RAW events and their encodings). At best, the software discovery method that the
|
By
Greg Favor
·
#177
·
|
|
Re: Proposal v4: SBI PMU Extension
I like this proposal! A couple comments...
In a couple places you say "the event_info is optional and can be zero". Does this mean that SBI providers must ignore the field, or that non-zero values are
I like this proposal! A couple comments...
In a couple places you say "the event_info is optional and can be zero". Does this mean that SBI providers must ignore the field, or that non-zero values are
|
By
Jonathan Behrens <behrensj@...>
·
#176
·
|
|
Re: Proposal v4: SBI PMU Extension
Anup,
What does SBI_PMU_NUM_COUNTERS return insofar as distinguishing hardware versus software counters?
Greg
Anup,
What does SBI_PMU_NUM_COUNTERS return insofar as distinguishing hardware versus software counters?
Greg
|
By
Greg Favor
·
#175
·
|
|
Proposal v4: SBI PMU Extension
Hi All,
We don't have a dedicated RISC-V PMU extension for all privilege modes
but we do have M-mode HARDWARE performance counters such as MCYCLE CSR,
MINSTRET CSR, and MHPMCOUNTER CSRs which are
Hi All,
We don't have a dedicated RISC-V PMU extension for all privilege modes
but we do have M-mode HARDWARE performance counters such as MCYCLE CSR,
MINSTRET CSR, and MHPMCOUNTER CSRs which are
|
By
Anup Patel
·
#174
·
|
|
Re: [RISC-V] [TSC] [RISC-V] [tech-unixplatformspec] I'm Resigning
Indeed, it was great working with you, and you will be missed.
Thank you for all your hard work and know you’re always welcome in the RISC-V community!
All the best,
Stephano
--
Stephano
Indeed, it was great working with you, and you will be missed.
Thank you for all your hard work and know you’re always welcome in the RISC-V community!
All the best,
Stephano
--
Stephano
|
By
Stephano Cetola <scetola@...>
·
#173
·
|
|
Re: I'm Resigning
Palmer,
We are sad to see you go and you are always welcome back.
I know I speak for everyone in thanking you for all you have contributed to RISC-V SW SC and Unux Platform TG. I know we have only
Palmer,
We are sad to see you go and you are always welcome back.
I know I speak for everyone in thanking you for all you have contributed to RISC-V SW SC and Unux Platform TG. I know we have only
|
By
mark
·
#172
·
|
|
I'm Resigning
I'm resigning from my posts at the RISC-V Foundation (vice chair of the
software standing committee and chair of the UNIX platform specification
working group). I know it might seem a bit sudden, but
I'm resigning from my posts at the RISC-V Foundation (vice chair of the
software standing committee and chair of the UNIX platform specification
working group). I know it might seem a bit sudden, but
|
By
Palmer Dabbelt
·
#171
·
|
|
Re: [RISC-V] [software] [RISC-V] [tech-config] Profiles and Config and Device Tree
Thanks, Mark. This is very helpful.
Krste, it would be good to get your take on Profiles as well.
Arun
From: <software@...> on behalf of mark <markhimelstein@...>
Date: Thursday, July 30,
Thanks, Mark. This is very helpful.
Krste, it would be good to get your take on Profiles as well.
Arun
From: <software@...> on behalf of mark <markhimelstein@...>
Date: Thursday, July 30,
|
By
Arun Thomas
·
#170
·
|
|
Re: [RISC-V] [tech-config] Profiles and Config and Device Tree
I suggest the charter include but not be limited to:
1. define the syntactic format for the content that is human readable. including things like macros etc.
2. define the globally unique record &
I suggest the charter include but not be limited to:
1. define the syntactic format for the content that is human readable. including things like macros etc.
2. define the globally unique record &
|
By
mark
·
#169
·
|
|
Re: [RISC-V] [tech-config] Profiles and Config and Device Tree
[Adding Software and Platform]
I agree the Profiles TG will need to work closely with the Config and Platform TGs.
Mark, I think it might be helpful if you (and maybe Krste also) could create
[Adding Software and Platform]
I agree the Profiles TG will need to work closely with the Config and Platform TGs.
Mark, I think it might be helpful if you (and maybe Krste also) could create
|
By
Arun Thomas
·
#168
·
|
|
Re: Proposal v3: SBI PMU Extension
By
Anup Patel
·
#167
·
|
|
Re: Proposal v3: SBI PMU Extension
Hi Greg,
The SBI PMU extension provider for HS-mode is M-mode runtime firmware (OpenSBI) and for VS-mode the provider is HS-mode (Hypervisor).
We will enable HARDWARE counters in HCOUNTEREN
Hi Greg,
The SBI PMU extension provider for HS-mode is M-mode runtime firmware (OpenSBI) and for VS-mode the provider is HS-mode (Hypervisor).
We will enable HARDWARE counters in HCOUNTEREN
|
By
Anup Patel
·
#166
·
|
|
Re: Proposal v3: SBI PMU Extension
It looks like the m-mode firmware would be responsible for selecting
a suitable counter and taking the allocation work for s-mode software?
Could you elaborate or give a example to show how
It looks like the m-mode firmware would be responsible for selecting
a suitable counter and taking the allocation work for s-mode software?
Could you elaborate or give a example to show how
|
By
Zong Li
·
#165
·
|
|
Re: Proposal v3: SBI PMU Extension
Anup,
What is the plan with regards to scounteren and hcounteren? Is the caller (whether an OS or a hypervisor) supposed to take into account the relevant *counteren CSR's when specifying counter_idx
Anup,
What is the plan with regards to scounteren and hcounteren? Is the caller (whether an OS or a hypervisor) supposed to take into account the relevant *counteren CSR's when specifying counter_idx
|
By
Greg Favor
·
#164
·
|
|
Re: Proposal v3: SBI PMU Extension
Why not have SBI_PMU_COUNTER_SET_EVENT return a 32b hpmcounter bit mask when it fails (that - as Zong suggested - identifies hardware counters that do support the requested event)? Then
Why not have SBI_PMU_COUNTER_SET_EVENT return a 32b hpmcounter bit mask when it fails (that - as Zong suggested - identifies hardware counters that do support the requested event)? Then
|
By
Greg Favor
·
#163
·
|
|
Re: Proposal v3: SBI PMU Extension
By
Anup Patel
·
#162
·
|
|
Re: Proposal v3: SBI PMU Extension
Could it put the bitmap of counters which support the given event into
ret.value ($a1)
if it fails for the given counter, then s-mode software can
conveniently find which
next one is a good counter
Could it put the bitmap of counters which support the given event into
ret.value ($a1)
if it fails for the given counter, then s-mode software can
conveniently find which
next one is a good counter
|
By
Zong Li
·
#161
·
|
|
Re: Proposal v3: SBI PMU Extension
One SBI call to start/stop N counters will certainly be faster than N SBI calls.
We did not include SBI calls to start/stop a set of counters because Linux perf drivers only require mechanism to
One SBI call to start/stop N counters will certainly be faster than N SBI calls.
We did not include SBI calls to start/stop a set of counters because Linux perf drivers only require mechanism to
|
By
Anup Patel
·
#160
·
|
|
Re: Proposal v3: SBI PMU Extension
Should there also be a way to atomically specify start/stop for a set of counters, or is the latency of N SBI start/stop calls short enough that starting or stopping N counters will not take that
Should there also be a way to atomically specify start/stop for a set of counters, or is the latency of N SBI start/stop calls short enough that starting or stopping N counters will not take that
|
By
Brian Grayson
·
#159
·
|
|
Re: Proposal v3: SBI PMU Extension
By
Anup Patel
·
#158
·
|