public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] i2c: smbus cleanups and SPD support for piix4
@ 2024-06-27 17:48 Thomas Weißschuh
  2024-06-27 17:48 ` [PATCH v2 1/4] i2c: smbus: only limit max banks to eight Thomas Weißschuh
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Thomas Weißschuh @ 2024-06-27 17:48 UTC (permalink / raw)
  To: Andi Shyti, Jean Delvare
  Cc: linux-i2c, linux-kernel, Guenter Roeck, Wolfram Sang,
	Heiner Kallweit, Thomas Weißschuh

Patches 1-3 are preparation patches, with patch 1 being a fix.
Patch 4 is the actual change to piix4.

Patch 3 drops the warning about muxed busses.
I didn't feel that the warning only would warrant the additional
complexity it introduces with multiple callers of i2c_register_spd().

If other feel different, maybe a more generic warning/info or a source
code comment would suffice.

On a machine with 32 slots of which 16 are populated only the first 8
slots are addressable, half of which are empty.
Unfortunately I couldn't run a custom kernel for testing.
But manually instantiating ee1004 devices worked as expected,
so the proposed changes should also work.

Tested with spd5118 and two DIMMs.

Guenter, I dropped your Tested-by as the piix4 patch changed.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v2:
- Add new i2c-smbus prep patches
- Only register SPD for port 0
- Link to v1: https://lore.kernel.org/r/20240530-piix4-spd-v1-1-9cbf1abebf41@weissschuh.net

---
Thomas Weißschuh (4):
      i2c: smbus: only limit max banks to eight
      i2c: smbus: probe SPDs on a best-effort basis
      i2c: smbus: drop warning about muxed segments requirement
      i2c: piix4: Register SPDs

 drivers/i2c/busses/Kconfig     |  1 +
 drivers/i2c/busses/i2c-piix4.c |  4 ++++
 drivers/i2c/i2c-smbus.c        | 15 ++++-----------
 3 files changed, 9 insertions(+), 11 deletions(-)
---
base-commit: 4e2600bca665197acb537ae63f24d3075e6bac8b
change-id: 20240530-piix4-spd-39c156b22959

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


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

end of thread, other threads:[~2024-07-09 17:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-27 17:48 [PATCH v2 0/4] i2c: smbus cleanups and SPD support for piix4 Thomas Weißschuh
2024-06-27 17:48 ` [PATCH v2 1/4] i2c: smbus: only limit max banks to eight Thomas Weißschuh
2024-07-04 21:57   ` Andi Shyti
2024-07-05  5:55     ` Thomas Weißschuh 
2024-07-05  7:26       ` Heiner Kallweit
2024-07-05 11:56       ` Andi Shyti
2024-07-09 17:27         ` Thomas Weißschuh
2024-06-27 17:48 ` [PATCH v2 2/4] i2c: smbus: probe SPDs on a best-effort basis Thomas Weißschuh
2024-06-27 17:48 ` [PATCH v2 3/4] i2c: smbus: drop warning about muxed segments requirement Thomas Weißschuh
2024-06-27 17:48 ` [PATCH v2 4/4] i2c: piix4: Register SPDs Thomas Weißschuh
2024-06-28 23:09   ` Guenter Roeck
2024-06-29  7:19     ` Thomas Weißschuh
2024-06-29 14:01       ` Guenter Roeck
2024-06-29 14:09       ` Guenter Roeck
2024-07-04 21:45       ` Andi Shyti
2024-07-04 21:56 ` [PATCH v2 0/4] i2c: smbus cleanups and SPD support for piix4 Andi Shyti
2024-07-05  5:51   ` Thomas Weißschuh 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox