[PATCH V2] platform: generic: allwinner: correct mhpmevent count

Inochi Amaoto inochiama at outlook.com
Sat Aug 19 21:56:32 PDT 2023


Thanks. This is good for me. And the patch does not need any further changes.

Sorry for the wrong message id.

>On Sun, Aug 20, 2023 at 8:53 AM Inochi Amaoto <inochiama at outlook.com> wrote:
>>
>> Thanks, but now I have a small problem: wheather the bit cycles and bit
>> instructions should be set in soc extensions init? Or these two bits should
>> be handled in sbi pmu init?
>
>The mphm_mask only represents the available HPM counters. The fixed
>counters are assumed to be available.
>
>This is already taken care by ib/sbi/sbi_pmu.c in the pmu_add_hw_event_map().
>
>Regards,
>Anup



More information about the opensbi mailing list