Re: Proposal v2: SBI PMU Extension
toggle quoted message
Show quoted text
-----Original Message-----The SBI_PMU_COUNTER_DESCRIBE call is designed considering aspect. This call provides list of event_idx supported by a given counter_idx (including RAW events) so when allocating a counter in event_add() we can easily find matching counter. This means Linux RISC-V PMU only needs to deal with SBI calls for handling all types of SBI PMU counters and events. In other words, no need to parse DT/ACPI for event mappings. Regards, Anup mhpmevent3 register gets me the event I want, and there is no support for |
|