Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fsi: scom: Remove PIB reset during probe

The PIB reset causes problems for the running P9 chip. The reset
shouldn't be performed by this driver.

Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Reviewed-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Joel Stanley <joel@jms.id.au>

authored by

Eddie James and committed by
Benjamin Herrenschmidt
52b7116e 26d79b27

-8
-8
drivers/fsi/fsi-scom.c
··· 26 26 27 27 #define FSI_ENGID_SCOM 0x5 28 28 29 - #define SCOM_FSI2PIB_DELAY 50 30 - 31 29 /* SCOM engine register set */ 32 30 #define SCOM_DATA0_REG 0x00 33 31 #define SCOM_DATA1_REG 0x04 34 32 #define SCOM_CMD_REG 0x08 35 - #define SCOM_RESET_REG 0x1C 36 33 37 - #define SCOM_RESET_CMD 0x80000000 38 34 #define SCOM_WRITE_CMD 0x80000000 39 35 40 36 struct scom_device { ··· 176 180 177 181 static int scom_probe(struct device *dev) 178 182 { 179 - uint32_t data; 180 183 struct fsi_device *fsi_dev = to_fsi_dev(dev); 181 184 struct scom_device *scom; 182 185 ··· 191 196 scom->mdev.name = scom->name; 192 197 scom->mdev.parent = dev; 193 198 list_add(&scom->link, &scom_devices); 194 - 195 - data = cpu_to_be32(SCOM_RESET_CMD); 196 - fsi_device_write(fsi_dev, SCOM_RESET_REG, &data, sizeof(uint32_t)); 197 199 198 200 return misc_register(&scom->mdev); 199 201 }