Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ACPI: pfr_telemetry: Fix info leak in pfrt_log_ioctl() | Dan Carpenter | 2022-01-10 | 1 | -0/+1 |
| | | | | | | | | | | The "data_info" struct is copied to the user. It has a 4 byte struct hole after the last struct member so we need to memset that to avoid copying uninitialized stack data to the user. Fixes: b0013e037a8b ("ACPI: Introduce Platform Firmware Runtime Telemetry driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> | ||||
* | ACPI: Introduce Platform Firmware Runtime Telemetry driver | Chen Yu | 2021-12-27 | 1 | -0/+434 |
This driver allows user space to fetch telemetry data from the firmware with the help of the Platform Firmware Runtime Telemetry interface. Both PFRU and PFRT are based on ACPI _DSM interfaces located under special device objects in the ACPI Namespace, but these interfaces are different from each other, so it is better to provide a separate driver from each of them, even though they share some common definitions and naming conventions. Tested-by: Hongyu Ning <hongyu.ning@intel.com> Signed-off-by: Chen Yu <yu.c.chen@intel.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |