linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/4] hwmon: (it87) Add access control for SMBus
@ 2023-04-09  3:47 Frank Crawford
  2023-04-09  3:47 ` [PATCH v1 1/4] hwmon: (it87) Disable SMBus access for environmental controller registers Frank Crawford
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Frank Crawford @ 2023-04-09  3:47 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck; +Cc: linux-hwmon, Frank Crawford

Some chips support Environmental Controller access through SMBus.
On those chips, it is possible that an Embedded Controller accesses
Environmental Controller chip registers at any time. There is no real
means for synchronization. On banked chips, this can and will result in
access errors with unpredictable result.

Disable SMBus access while reading or writing environmental controller
registers to work around the problem.

---
Frank Crawford (4):
  Some chips support Environmental Controller access through SMBus.
    Disable SMBus access while reading or writing environmental
    controller registers.
  Add calls to smbus_enable/smbus_disable as required.
  Test for error in call to it87_update_device and return error.
  Disable/enable SMBus access for IT8622E chipset.

 drivers/hwmon/it87.c | 288 +++++++++++++++++++++++++++++++++++--------
 1 file changed, 240 insertions(+), 48 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-12 18:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-09  3:47 [PATCH v1 0/4] hwmon: (it87) Add access control for SMBus Frank Crawford
2023-04-09  3:47 ` [PATCH v1 1/4] hwmon: (it87) Disable SMBus access for environmental controller registers Frank Crawford
2023-04-09  3:47 ` [PATCH v1 2/4] hwmon: (it87) Add calls to smbus_enable/smbus_disable as required Frank Crawford
2023-04-12 18:44   ` Guenter Roeck
2023-04-09  3:47 ` [PATCH v1 3/4] hwmon: (it87) Test for error in it87_update_device Frank Crawford
2023-04-12 18:46   ` Guenter Roeck
2023-04-09  3:47 ` [PATCH v1 4/4] hwmon: (it87) Disable/enable SMBus access for IT8622E chipset Frank Crawford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).