diff options
author | Kajol Jain <[email protected]> | 2022-11-30 23:15:13 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-12-02 20:39:26 +1100 |
commit | 03f7c1d2a49acd30e38789cd809d3300721e9b0e (patch) | |
tree | 12856b4715c9b38547ad6947b55a221259acc2e3 /net/lapb/lapb_timer.c | |
parent | 4d0eea415216fe3791da2f65eb41399e70c7bedf (diff) |
powerpc/hv-gpci: Fix hv_gpci event list
Based on getPerfCountInfo v1.018 documentation, some of the
hv_gpci events were deprecated for platform firmware that
supports counter_info_version 0x8 or above.
Fix the hv_gpci event list by adding a new attribute group
called "hv_gpci_event_attrs_v6" and a "ENABLE_EVENTS_COUNTERINFO_V6"
macro to enable these events for platform firmware
that supports counter_info_version 0x6 or below. And assigning
the hv_gpci event list based on output counter info version
of underlying plaform.
Fixes: 97bf2640184f ("powerpc/perf/hv-gpci: add the remaining gpci requests")
Signed-off-by: Kajol Jain <[email protected]>
Reviewed-by: Madhavan Srinivasan <[email protected]>
Reviewed-by: Athira Rajeev <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions