Skip to content

hwmon: (dell-smm) Improve init code

Armin Wolf linux-hwmon lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- replace pr_warn() with pr_warn_once()

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hwmon: (dell-smm) Avoid unnecessary SMM calls during initdrivers/hwmon/dell-smm-hwmon.c+14 -230 replies
2/3hwmon: (dell-smm) Cleanup init codedrivers/hwmon/dell-smm-hwmon.c+3 -60 replies
3/3hwmon: (dell-smm) Warn if SMM call took a very long time to executedrivers/hwmon/dell-smm-hwmon.c+6 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] hwmon: (dell-smm) Improve init code

This patch series improves the init code of the dell_smm_hwmon driver. The first patch speeds up device initialisation by avoiding unnecessary SMM calls during init, which might be slow on some machines. The second patch is a small cleanup patch, while the third patch allows for easier diagnosis of audio problems caused by really slow SMM calls.

Tested on a Dell Inspiron 3505.

Changes in v2:
- replace pr_warn() with pr_warn_once()

Armin Wolf (3):
hwmon: (dell-smm) Avoid unnecessary SMM calls during init
hwmon: (dell-smm) Cleanup init code
hwmon: (dell-smm) Warn if SMM call took a very long time to execute

 drivers/hwmon/dell-smm-hwmon.c | 50 +++++++++++++++-------------------
 1 file changed, 22 insertions(+), 28 deletions(-)

--
2.30.2