Skip to contentSkip to conversation

Patch "i2c: piix4: Fix request_region size" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jun 15, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

i2c: piix4: Fix request_region size

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
i2c-piix4-fix-request_region-size.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Thu Jun 15 11:12:23 CEST 2017

From: Ricardo Ribalda <[email protected]>
Date: Tue, 23 May 2017 21:53:45 -0400
Subject: i2c: piix4: Fix request_region size

From: Ricardo Ribalda <[email protected]>

[ Upstream commit f43128c75202f29ee71aa83e6c320a911137c189 ]

Since '701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC")' we are using the SMBSLVCNT register at offset 0x8. We need to request it.

Fixes 701dc207bf55 ("i2c: piix4: Avoid race conditions with IMC")
---
 drivers/i2c/busses/i2c-piix4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-piix4.c +1 -1
@@ -58,7 +58,7 @@
 #define SMBSLVDAT	(0xC + piix4_smba)
 
 /* count for request_region */
-#define SMBIOSIZE	8
+#define SMBIOSIZE	9
 
 /* PCI Address Constants */
 #define SMBBA		0x090

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/i2c-piix4-request-the-smbus-semaphore-inside-the-mutex.patch queue-4.9/i2c-piix4-fix-request_region-size.patch