Skip to content

hwmon: (it87) Add param to ignore ACPI resource

Ahmad Khalifa linux-hwmon 3 versions – Applied

Status from this message: Applied to hwmon-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 7 repliesSuperseded
  3. v11 patch 1 replySuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2hwmon: (it87) Add param to ignore ACPI resource conflictsdrivers/hwmon/it87.c+8 -21 reply
2/2hwmon: (it87) Check for a valid chip before using force_iddrivers/hwmon/it87.c+7 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] hwmon: (it87) Add param to ignore ACPI resource

Changes in this patch set:

* Add parameter to ignore ACPI resource conflicts as an alternate to using 'acpi_enforce_resources=lax'.
Some BIOSes reserve resources and don't use them and the system wide parameter may result in failures to certain drivers.

* Check there is a chip before using force_id parameter as there is no value in registering a non-existent chip

Code is inspired by the original it87 patchset dating back to 2017 (around 5 years and 2 weeks since the date of the original ignore_resource_conflict param)

Tested with it8688 on Gigabyte board with id as it8628 and compared against the out of tree module running the it8688 values (which in turn is blindly based off of the it8686 values) and the results are the same for the enabled sensors (i.e. not all 6 fans/temps/in are valid)

v2: updates with comments: [2]
* Add missing patch description, not just cover letter
* split change for the force_id check into separate commit

v3: v2 thread -> [3]
* Fix formatting and switch to 0 for permissions
* Patch descriptions and subject

[1]: https://lore.kernel.org/linux-hwmon/6c8b5fbd514df708af84630544eca6ee12766bbd.camel@crawford.emu.id.au/
[2]: https://lore.kernel.org/linux-hwmon/[email protected]/T/#u
[3]: https://lore.kernel.org/linux-hwmon/[email protected]/

Ahmad Khalifa (2):
hwmon: (it87) Add param to ignore ACPI resource conflicts
hwmon: (it87) Check for a valid chip before using force_id

 drivers/hwmon/it87.c | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

base-commit: c3e0e1e23c70455916ff3472072437b3605c6cfe

Signature · 1 line
2.30.2