Re: [PATCH 0/2] ACPI PSVT table exported to userspace

From: Pandruvada, Srinivas
Date: Tue May 23 2023 - 18:03:14 EST


Sent by mistake. Please ignore.

Thanks,
Srinivas

On Tue, 2023-05-23 at 15:01 -0700, Srinivas Pandruvada wrote:
> From: Todd Brandt <todd.e.brandt@xxxxxxxxxxxxxxx>
>
> I've completed an update to the acpi_thermal_rel driver
> which provides the PSVT table to userspace. It includes a python
> test script for testing and to help explain how to use it.
> I've tested it on my Broadwell system and it seems to work well.
>
> Todd Brandt (2):
>   Added PSVT table to acpi_thermal_rel driver. Its exported to
> userspace
>         via an ioctl to the acpi_thermal_rel device. The PSVT table
>     consists of     12 fields:
>   Added a simple python script for testing the thermal tables.
>
>  drivers/thermal/int340x_thermal/acpi_thermal_rel.c | 188
> +++++++++++++++++++++
>  drivers/thermal/int340x_thermal/acpi_thermal_rel.h |  55 ++++++
>  scripts/acpi-thermal-rel-test.py                   | 148
> ++++++++++++++++
>  3 files changed, 391 insertions(+)
>  create mode 100644 scripts/acpi-thermal-rel-test.py
>