Re: [PATCH i-g-t] tests/perf_pmu: Restore sysfs freq in exit handler

2024-01-08 Thread Belgaumkar, Vinay
On 1/5/2024 3:33 AM, Kamil Konieczny wrote: Hi Vinay, On 2024-01-04 at 17:10:00 -0800, Vinay Belgaumkar wrote: looks good, there are some nits, first about subject: [PATCH i-g-t] tests/perf_pmu: Restore sysfs freq in exit handler s!tests/perf_pmu:!tests/intel/perf_pmu:! Also you can drop

Re: [PATCH i-g-t] tests/perf_pmu: Restore sysfs freq in exit handler

2024-01-05 Thread Kamil Konieczny
Hi Vinay, On 2024-01-04 at 17:10:00 -0800, Vinay Belgaumkar wrote: looks good, there are some nits, first about subject: [PATCH i-g-t] tests/perf_pmu: Restore sysfs freq in exit handler s!tests/perf_pmu:!tests/intel/perf_pmu:! Also you can drop "sysfs", so it will look: [PATCH i-

[PATCH i-g-t] tests/perf_pmu: Restore sysfs freq in exit handler

2024-01-04 Thread Vinay Belgaumkar
Seeing random issues where this test starts with invalid values. Ensure that we restore the frequencies in case test exits early due to some system issues. Link: https://gitlab.freedesktop.org/drm/intel/-/issues/9432 Signed-off-by: Vinay Belgaumkar --- tests/intel/perf_pmu.c | 53