linux: Update to v4.2.1-openpower1
This brings in the 4.2.1 stable release, and the accraid RAID driver for
PMC-Sierra RAID on Habanero.
The RAID driver is submitted upstream to the linux-scsi mailing list,
but is not yet in a tree.
The stable release brings in a few commits that are of interest to
OpenPower platforms:
94d718d024e xfs: return errors from partial I/O failures to files
2937b784b19 xfs: Fix file type directory corruption for btree directories
95310b79776 libxfs: readahead of dir3 data blocks should use the read verifier
0a3b19cef4f sched: Fix cpu_active_mask/cpu_online_mask race
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/openpower/linux/linux-0014-aacraid-IOCTL-fix.patch b/openpower/linux/linux-0014-aacraid-IOCTL-fix.patch
new file mode 100644
index 0000000..6faddc8
--- /dev/null
+++ b/openpower/linux/linux-0014-aacraid-IOCTL-fix.patch
@@ -0,0 +1,36 @@
+From 892fadaa9806538ae2c419449c66f4c2838fff2d Mon Sep 17 00:00:00 2001
+From: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com>
+Date: Fri, 28 Aug 2015 06:38:39 -0400
+Subject: [PATCH 14/18] aacraid: IOCTL fix
+
+Driver blocks ioctls once it received shutdown/suspend request during
+suspend/hybernation. This patch unblocks ioctls on resume path.
+
+Reviewed-by: Tomas Henzl <thenzl@redhat.com>
+Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com>
+Reviewed-by: Karthikeya Sunkesula <Karthikeya.Sunkesula@pmcs.com>
+Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com>
+Signed-off-by: Joel Stanley <joel@jms.id.au>
+---
+ drivers/scsi/aacraid/linit.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
+index 37375cf..3b6e5c6 100644
+--- a/drivers/scsi/aacraid/linit.c
++++ b/drivers/scsi/aacraid/linit.c
+@@ -1448,6 +1448,11 @@ static int aac_resume(struct pci_dev *pdev)
+ pci_set_master(pdev);
+ if (aac_acquire_resources(aac))
+ goto fail_device;
++ /*
++ * reset this flag to unblock ioctl() as it was set at
++ * aac_send_shutdown() to block ioctls from upperlayer
++ */
++ aac->adapter_shutdown = 0;
+ scsi_unblock_requests(shost);
+
+ return 0;
+--
+2.5.0
+