Make all it87 drivers SMP safe
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest0 of 2 patches 0 repliesNew
- v23 patches 3 repliesSuperseded
- v13 patches 1 replySuperseded
Changes in v3 from the cover letter
- Totally abandon the spinlock based approach and use "request_muxed_region" to hold off requestors if the resource is busy.
Patches in v3 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] Make all it87 drivers SMP safe
There are 3 different drivers that touch the it87 hardware registers. The 3 drivers have been written independently and access the it87 hardware registers assuming they are the only driver accessing it. This change attempts to serialize access to the hardware by using "request_muxed_region" macro defined by Alan Cox. Call to this macro will hold off the requestor if the resource is currently busy. The use of the above macro makes it possible to get rid of spinlocks in it8712f_wdt.c and it87_wdt.c watchdog drivers. This also greatly simplifies the implementation of it87_wdt.c driver.
01 - Changes to it87 watchdog driver to use "request_muxed_region"
drivers/watchdog/it8712f_wdt.c drivers/watchdog/it87_wdt.c
02 - Chages to hwmon it87 driver to use "request_muxed_region"
drivers/hwmon/it87.c
drivers/hwmon/it87.c | 4 ++++ drivers/watchdog/it8712f_wdt.c | 9 ++++----- drivers/watchdog/it87_wdt.c | 39 ++++----------------------------------- 3 files changed, 12 insertions(+), 40 deletions(-)
Patch History:
v3:
- Totally abandon the spinlock based approach and use "request_muxed_region" to hold off requestors if the resource is busy.
v2:
- More verbose patch headers. Add In-Reply-To: field.
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors