linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/4] iMC SMBUS driver and DIMM bus probing
@ 2013-12-21  1:45 Andy Lutomirski
       [not found] ` <cover.1387588711.git.luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Andy Lutomirski @ 2013-12-21  1:45 UTC (permalink / raw)
  To: Wolfram Sang, linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: Jean Delvare, Guenter Roeck, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	Mauro Carvalho Chehab, Rui Wang, Andy Lutomirski

Intel LGA2011 machines have dedicated SMBUS controllers for DIMM
sockets.  Because they're dedicated, they can be safely and accurately
probed, since all devices on them are known to be attached to DIMMs.
The devices found are:
 - SPD EEPROMs
 - TSODs (Temperature Sensor on DIMMs)
 - Other interesting things, with drivers hopefully to follow...

This patch series adds a simple generic layer for probing for DIMMs over
SMBUS and an i2c bus driver for the iMC controller found on Intel
LGA2011 chips.

It now uses only modern infrastructure -- new-style I2C probing and the
at24 (instead of eeprom) driver.

I've tested this on a Core i7 Extreme and on a Xeon E5 server.  I haven't
tested it on an LGA2011 Ivy Bridge box, since I don't have one.

Patches 1-3 are useful even without patch 4.  I'm still hoping for feedback
on patch 4.

Changes from v5:
 - Rebase to a6ddeee32dad (i.e. -linus from today) and re-test

Changes from v4:
 - Added the sb_edac changes -- i2c_imc and sb_edac can now coexist
 - Added some paranoid race detection.
 - The driver now confirms its ability to claim software control of the SMBUS
   master.  This prevents unpleasant problems on systems that enable CLTT
   (closed loop thermal throttling).
 - Reordered the patches so that the DIMM bus code is last.

Changes from v3:
 - Dropped redundant "tsod" driver
 - Dropped eeprom modalias
 - Switched to probing for the "eeprom" and "jc42"

Andy Lutomirski (4):
  Move Intel SNB device ids from sb_edac to pci_ids.h
  sb_edac: Claim a different PCI device
  i2c_imc: New driver for Intel's iMC, found on LGA2011 chips
  i2c, i2c_imc: Add DIMM bus code

 drivers/edac/sb_edac.c        |  32 +--
 drivers/i2c/busses/Kconfig    |  19 ++
 drivers/i2c/busses/Makefile   |   5 +
 drivers/i2c/busses/dimm-bus.c |  97 ++++++++
 drivers/i2c/busses/i2c-imc.c  | 562 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/i2c/dimm-bus.h  |  24 ++
 include/linux/pci_ids.h       |  15 ++
 7 files changed, 723 insertions(+), 31 deletions(-)
 create mode 100644 drivers/i2c/busses/dimm-bus.c
 create mode 100644 drivers/i2c/busses/i2c-imc.c
 create mode 100644 include/linux/i2c/dimm-bus.h

-- 
1.8.3.1

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

end of thread, other threads:[~2014-02-28 20:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21  1:45 [PATCH v6 0/4] iMC SMBUS driver and DIMM bus probing Andy Lutomirski
     [not found] ` <cover.1387588711.git.luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>
2013-12-21  1:45   ` [PATCH v6 1/4] Move Intel SNB device ids from sb_edac to pci_ids.h Andy Lutomirski
2013-12-21  1:45 ` [PATCH v6 2/4] sb_edac: Claim a different PCI device Andy Lutomirski
2013-12-21  1:45 ` [PATCH v6 3/4] i2c_imc: New driver for Intel's iMC, found on LGA2011 chips Andy Lutomirski
     [not found]   ` <5508fef38f88601de1973d4252bc7aa98b54ea53.1387588711.git.luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>
2014-02-19 15:38     ` Wolfram Sang
2014-02-19 17:10       ` Andy Lutomirski
2013-12-21  1:45 ` [PATCH v6 4/4] i2c, i2c_imc: Add DIMM bus code Andy Lutomirski
     [not found]   ` <15eccfa508fd0f55230c4274e3e968f91a123b73.1387588711.git.luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>
2014-02-19 15:16     ` Wolfram Sang
2014-02-19 17:30       ` Andy Lutomirski
     [not found]         ` <CALCETrVBPzGqaXbZVgUZMw7D5U5YnUMJOEsw1r=TceLYjJ39JA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-19 18:51           ` Mauro Carvalho Chehab
     [not found]             ` <20140220035128.14da0f79.m.chehab-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-02-19 19:03               ` Luck, Tony
     [not found]                 ` <3908561D78D1C84285E8C5FCA982C28F31DCC6F8-P5GAC/sN6hlZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-02-20  1:39                   ` Andy Lutomirski
     [not found]                     ` <CALCETrVwSj3KGcPqQD2Kd9W5FCHyPWLukCVr0BZLdQc_Fgz4qA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-20 16:42                       ` Luck, Tony
     [not found]                         ` <3908561D78D1C84285E8C5FCA982C28F31DCD1E1-P5GAC/sN6hlZtRGVdHMbwrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-02-20 23:43                           ` Andy Lutomirski
2014-02-28 19:15                       ` Mauro Carvalho Chehab
2014-02-28 20:14                         ` Andy Lutomirski
2014-02-19 19:26           ` One Thousand Gnomes
     [not found]             ` <20140219192646.1a62521d-mUKnrFFms3BCCTY1wZZT65JpZx93mCW/@public.gmane.org>
2014-02-20  1:30               ` Andy Lutomirski
2014-02-21 15:32                 ` One Thousand Gnomes
2014-02-25 19:54                   ` Andy Lutomirski

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).