Skip to contentSkip to conversation

i2c: i801: Adding Intel Lewisburg support for iTCO

PATCH Superseded Alexandra Yates 3 participants 5 messages Feb 4, 2016 – Feb 5, 2016 1 message not in the archive

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [PATCH V2] i2c: i801: Adding Intel Lewisburg support for iTCO

#1 lore raw

PATCH v2 1/1 i2c: i801: Adding Intel Lewisburg support for iTCO

Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog resources have been moved to reside under the i801 SMBus host controller whereas previously they were under the LPC device.

This patch adds Intel lewisburg SMBus support for iTCO device.

---
 drivers/i2c/busses/i2c-i801.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/i2c/busses/i2c-i801.c +2 -0
index f62d697..27fa0cb 100644
@@ -1271,6 +1271,8 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
 	switch (dev->device) {
 	case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_SMBUS:
 	case PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_SMBUS:
+	case PCI_DEVICE_ID_INTEL_LEWISBURG_SMBUS:
+	case PCI_DEVICE_ID_INTEL_LEWISBURG_SSKU_SMBUS:
 	case PCI_DEVICE_ID_INTEL_DNV_SMBUS:
 		priv->features |= FEATURE_I2C_BLOCK_READ;
 		priv->features |= FEATURE_IRQ;
Signature · 1 line
1.9.1
#2 lore raw
Quoted 7 lines · Alexandra Yates

Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog resources have been moved to reside under the i801 SMBus host controller whereas previously they were under the LPC device.

This patch adds Intel lewisburg SMBus support for iTCO device.

Please state what has changed in v2 of this patch?

Reviewed-by
#3 lore raw
Quoted 10 lines · Wolfram Sang
Quoted 7 lines · Alexandra Yates

Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog resources have been moved to reside under the i801 SMBus host controller whereas previously they were under the LPC device.

This patch adds Intel lewisburg SMBus support for iTCO device.

Please state what has changed in v2 of this patch?

Yes, Alexandra, please always include a changelog (between the --- separator and the diffstat) when posting patch updates.

In this case there is no code change, the only change is the subject.

If I understand correctly, this is a fixup for commit cdc5a3110e7c3ae793f367285789a6bc39c962dc ("i2c: i801: add Intel Lewisburg device IDs") which should have included these changes. If so, please mention it in the commit message. It may also make sense to tag the patch for stable [v4.4].

Thanks,

Signature · 2 lines
Jean Delvare
SUSE L3 Support
#4 lore raw

Hi Jean,

Thank you for your review and feedback.

Quoted 8 lines · Jean Delvare
Quoted 7 lines · Wolfram Sang
Quoted 6 lines · Alexandra Yates

Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog resources have been moved to reside under the i801 SMBus host controller whereas previously they were under the LPC device.

This patch adds Intel lewisburg SMBus support for iTCO device.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

Please state what has changed in v2 of this patch?

Yes, Alexandra, please always include a changelog (between the --- separator and the diffstat) when posting patch updates.

In this case there is no code change, the only change is the subject.

correct

Quoted 6 lines

If I understand correctly, this is a fixup for commit cdc5a3110e7c3ae793f367285789a6bc39c962dc ("i2c: i801: add Intel Lewisburg device IDs") which should have included these changes. If so, please mention it in the commit message. It may also make sense to tag the patch for stable [v4.4].

It is an addition to that commit, at the time I submitted the commit I wasn't aware that this portion was needed to load dynamically since this part of the code was in flux as well. As it is the driver loads using modprobe. I'll add that to the commit message to make it clear and resend the patch.

Quoted 5 lines

Thanks,

Signature · 2 lines
Thank you,
<Alexandra>
#5 lore raw
In reply to Wolfram Sang

Hi Wolfram,

Quoted 11 lines · Wolfram Sang
Quoted 7 lines · Alexandra Yates

Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog resources have been moved to reside under the i801 SMBus host controller whereas previously they were under the LPC device.

This patch adds Intel lewisburg SMBus support for iTCO device.

Please state what has changed in v2 of this patch?

The subject line changed I added i2c:i801 per your past request to match the subject format for the list.

Signature · 2 lines
Thank you,
<Alexandra>