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

[SCSI] ipr: Handle new SAS error codes

Add definitions for some SAS error codes that can be
logged by ipr SAS adapters.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

authored by

Brian King and committed by
James Bottomley
896bbd21 b5145d25

+28
+28
drivers/scsi/ipr.c
··· 175 175 "Qualified success"}, 176 176 {0x01080000, 1, 1, 177 177 "FFFE: Soft device bus error recovered by the IOA"}, 178 + {0x01088100, 0, 1, 179 + "4101: Soft device bus fabric error"}, 178 180 {0x01170600, 0, 1, 179 181 "FFF9: Device sector reassign successful"}, 180 182 {0x01170900, 0, 1, ··· 227 225 "3109: IOA timed out a device command"}, 228 226 {0x04088000, 0, 0, 229 227 "3120: SCSI bus is not operational"}, 228 + {0x04088100, 0, 1, 229 + "4100: Hard device bus fabric error"}, 230 230 {0x04118000, 0, 1, 231 231 "9000: IOA reserved area data check"}, 232 232 {0x04118100, 0, 1, ··· 277 273 "9091: Incorrect hardware configuration change has been detected"}, 278 274 {0x04678000, 0, 1, 279 275 "9073: Invalid multi-adapter configuration"}, 276 + {0x04678100, 0, 1, 277 + "4010: Incorrect connection between cascaded expanders"}, 278 + {0x04678200, 0, 1, 279 + "4020: Connections exceed IOA design limits"}, 280 + {0x04678300, 0, 1, 281 + "4030: Incorrect multipath connection"}, 282 + {0x04679000, 0, 1, 283 + "4110: Unsupported enclosure function"}, 280 284 {0x046E0000, 0, 1, 281 285 "FFF4: Command to logical unit failed"}, 282 286 {0x05240000, 1, 0, ··· 309 297 "9031: Array protection temporarily suspended, protection resuming"}, 310 298 {0x06040600, 0, 1, 311 299 "9040: Array protection temporarily suspended, protection resuming"}, 300 + {0x06288000, 0, 1, 301 + "3140: Device bus not ready to ready transition"}, 312 302 {0x06290000, 0, 1, 313 303 "FFFB: SCSI bus was reset"}, 314 304 {0x06290500, 0, 0, ··· 333 319 "3150: SCSI bus configuration error"}, 334 320 {0x06678100, 0, 1, 335 321 "9074: Asymmetric advanced function disk configuration"}, 322 + {0x06678300, 0, 1, 323 + "4040: Incomplete multipath connection between IOA and enclosure"}, 324 + {0x06678400, 0, 1, 325 + "4041: Incomplete multipath connection between enclosure and device"}, 326 + {0x06678500, 0, 1, 327 + "9075: Incomplete multipath connection between IOA and remote IOA"}, 328 + {0x06678600, 0, 1, 329 + "9076: Configuration error, missing remote IOA"}, 330 + {0x06679100, 0, 1, 331 + "4050: Enclosure does not support a required multipath function"}, 336 332 {0x06690200, 0, 1, 337 333 "9041: Array protection temporarily suspended"}, 338 334 {0x06698200, 0, 1, ··· 355 331 "9072: Link not operational transition"}, 356 332 {0x066B8200, 0, 1, 357 333 "9032: Array exposed but still protected"}, 334 + {0x066B9100, 0, 1, 335 + "4061: Multipath redundancy level got better"}, 336 + {0x066B9200, 0, 1, 337 + "4060: Multipath redundancy level got worse"}, 358 338 {0x07270000, 0, 0, 359 339 "Failure due to other device"}, 360 340 {0x07278000, 0, 1,