kernel: Move to Linux 4.15.6-openpower1

This moves us to the 4.15 kernel series. The defconfig has been
refreshed, with the major difference being NVMe multipath support is now
enabled in the kernel.

Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/openpower/configs/barreleye_defconfig b/openpower/configs/barreleye_defconfig
index e15a22d..1793273 100644
--- a/openpower/configs/barreleye_defconfig
+++ b/openpower/configs/barreleye_defconfig
@@ -14,7 +14,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_defconfig"
diff --git a/openpower/configs/firenze_defconfig b/openpower/configs/firenze_defconfig
index c83e254..0c9c3c9 100644
--- a/openpower/configs/firenze_defconfig
+++ b/openpower/configs/firenze_defconfig
@@ -13,7 +13,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_defconfig"
diff --git a/openpower/configs/firestone_defconfig b/openpower/configs/firestone_defconfig
index b8a44e2..e08f365 100644
--- a/openpower/configs/firestone_defconfig
+++ b/openpower/configs/firestone_defconfig
@@ -14,7 +14,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_defconfig"
diff --git a/openpower/configs/garrison_defconfig b/openpower/configs/garrison_defconfig
index 06876af..e399ac2 100644
--- a/openpower/configs/garrison_defconfig
+++ b/openpower/configs/garrison_defconfig
@@ -14,7 +14,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_defconfig"
diff --git a/openpower/configs/habanero_defconfig b/openpower/configs/habanero_defconfig
index 40a7e4d..8b6d82d 100644
--- a/openpower/configs/habanero_defconfig
+++ b/openpower/configs/habanero_defconfig
@@ -15,7 +15,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_defconfig"
diff --git a/openpower/configs/linux/skiroot_p9_defconfig b/openpower/configs/linux/skiroot_p9_defconfig
index 7b08bae..309f182 100644
--- a/openpower/configs/linux/skiroot_p9_defconfig
+++ b/openpower/configs/linux/skiroot_p9_defconfig
@@ -13,6 +13,7 @@
 CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
+# CONFIG_CPU_ISOLATION is not set
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_LOG_BUF_SHIFT=20
@@ -75,6 +76,7 @@
 CONFIG_BLK_DEV_RAM_SIZE=65536
 CONFIG_VIRTIO_BLK=m
 CONFIG_BLK_DEV_NVME=m
+CONFIG_NVME_MULTIPATH=y
 CONFIG_EEPROM_AT24=y
 # CONFIG_CXL is not set
 CONFIG_BLK_DEV_SD=m
@@ -135,6 +137,7 @@
 CONFIG_IXGBE=m
 CONFIG_I40E=m
 CONFIG_MLX4_EN=m
+# CONFIG_MLX4_CORE_GEN2 is not set
 CONFIG_MLX5_CORE=m
 CONFIG_MLX5_CORE_EN=y
 # CONFIG_MLX5_MPFS is not set
@@ -152,6 +155,7 @@
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_IPMI_HANDLER=y
+# CONFIG_IPMI_PROC_INTERFACE is not set
 CONFIG_IPMI_DEVICE_INTERFACE=y
 CONFIG_IPMI_POWERNV=y
 CONFIG_HW_RANDOM=y
@@ -159,7 +163,6 @@
 # CONFIG_I2C_COMPAT is not set
 CONFIG_I2C_CHARDEV=y
 # CONFIG_I2C_HELPER_AUTO is not set
-# CONFIG_RC_CORE is not set
 CONFIG_DRM=y
 CONFIG_DRM_RADEON=y
 CONFIG_DRM_AST=m
diff --git a/openpower/configs/openpower_mambo_defconfig b/openpower/configs/openpower_mambo_defconfig
index 3f7e48d..66e0c24 100644
--- a/openpower/configs/openpower_mambo_defconfig
+++ b/openpower/configs/openpower_mambo_defconfig
@@ -11,7 +11,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_defconfig"
diff --git a/openpower/configs/openpower_p9_mambo_defconfig b/openpower/configs/openpower_p9_mambo_defconfig
index b0487bc..1f2e4b4 100644
--- a/openpower/configs/openpower_p9_mambo_defconfig
+++ b/openpower/configs/openpower_p9_mambo_defconfig
@@ -11,7 +11,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_defconfig"
diff --git a/openpower/configs/p9dsu_defconfig b/openpower/configs/p9dsu_defconfig
index 4362939..98e6355 100644
--- a/openpower/configs/p9dsu_defconfig
+++ b/openpower/configs/p9dsu_defconfig
@@ -14,7 +14,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_p9_defconfig"
diff --git a/openpower/configs/palmetto_defconfig b/openpower/configs/palmetto_defconfig
index 3389caa..f3be7df 100644
--- a/openpower/configs/palmetto_defconfig
+++ b/openpower/configs/palmetto_defconfig
@@ -13,7 +13,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_defconfig"
diff --git a/openpower/configs/pseries_defconfig b/openpower/configs/pseries_defconfig
index e27136f..9c3ff98 100644
--- a/openpower/configs/pseries_defconfig
+++ b/openpower/configs/pseries_defconfig
@@ -14,7 +14,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/pseries_skiroot_defconfig"
diff --git a/openpower/configs/romulus_defconfig b/openpower/configs/romulus_defconfig
index 5920e3e..401a516 100644
--- a/openpower/configs/romulus_defconfig
+++ b/openpower/configs/romulus_defconfig
@@ -14,7 +14,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_p9_defconfig"
@@ -41,7 +41,7 @@
 BR2_OPENPOWER_POWER9=y
 BR2_HOSTBOOT_CONFIG_FILE="romulus.config"
 BR2_OPENPOWER_MACHINE_XML_GITHUB_PROJECT_VALUE="romulus-xml"
-BR2_OPENPOWER_MACHINE_XML_VERSION="b788f99848d65192bbb76aa76ab456a5792f4315"
+BR2_OPENPOWER_MACHINE_XML_VERSION="dbebf6c151618c3e2d40b5cab5a8a53d07e62e62"
 BR2_OPENPOWER_MACHINE_XML_FILENAME="romulus.xml"
 BR2_OPENPOWER_SYSTEM_XML_FILENAME="ROMULUS_hb.system.xml"
 BR2_OPENPOWER_MRW_XML_FILENAME="ROMULUS_hb.mrw.xml"
diff --git a/openpower/configs/witherspoon_defconfig b/openpower/configs/witherspoon_defconfig
index 1e0e7b0..f534215 100644
--- a/openpower/configs/witherspoon_defconfig
+++ b/openpower/configs/witherspoon_defconfig
@@ -1,6 +1,5 @@
 BR2_powerpc64le=y
 BR2_powerpc_power8=y
-BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_OP_BUILD_PATH)/patches/witherspoon-patches"
 BR2_BINUTILS_EXTRA_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
 BR2_EXTRA_GCC_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
@@ -15,7 +14,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_p9_defconfig"
diff --git a/openpower/configs/zaius_defconfig b/openpower/configs/zaius_defconfig
index a09716c..524902a 100644
--- a/openpower/configs/zaius_defconfig
+++ b/openpower/configs/zaius_defconfig
@@ -1,6 +1,5 @@
 BR2_powerpc64le=y
 BR2_powerpc_power8=y
-BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_OP_BUILD_PATH)/patches/zaius-patches"
 BR2_BINUTILS_EXTRA_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
 BR2_EXTRA_GCC_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
@@ -15,7 +14,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_p9_defconfig"
diff --git a/openpower/configs/zz_defconfig b/openpower/configs/zz_defconfig
index f78a43f..42b1764 100644
--- a/openpower/configs/zz_defconfig
+++ b/openpower/configs/zz_defconfig
@@ -13,7 +13,7 @@
 BR2_ROOTFS_POST_BUILD_SCRIPT="../openpower/scripts/fixup-target-var ../openpower/scripts/firmware-whitelist"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.20"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.6"
 BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_OP_BUILD_PATH)/linux"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_OP_BUILD_PATH)/configs/linux/skiroot_p9_defconfig"
diff --git a/openpower/linux/0001-xhci-Reset-controller-on-xhci-shutdown.patch b/openpower/linux/0001-xhci-Reset-controller-on-xhci-shutdown.patch
index 6b416f0..897d708 100644
--- a/openpower/linux/0001-xhci-Reset-controller-on-xhci-shutdown.patch
+++ b/openpower/linux/0001-xhci-Reset-controller-on-xhci-shutdown.patch
@@ -1,7 +1,7 @@
 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Brian King <brking@linux.vnet.ibm.com>
 Date: Wed, 25 Oct 2017 10:42:59 +1100
-Subject: [PATCH 1/4] xhci: Reset controller on xhci shutdown
+Subject: [PATCH 1/3] xhci: Reset controller on xhci shutdown
 
 Fixes kexec boot. Without a hard reset, some USB chips will fail to
 initialize in a kexec booted kernel.
@@ -14,10 +14,10 @@
  1 file changed, 1 insertion(+)
 
 diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
-index e5677700dea4..bde3e3e30d3b 100644
+index 5c1326154e66..894f1879df53 100644
 --- a/drivers/usb/host/xhci.c
 +++ b/drivers/usb/host/xhci.c
-@@ -729,6 +729,7 @@ static void xhci_shutdown(struct usb_hcd *hcd)
+@@ -722,6 +722,7 @@ static void xhci_shutdown(struct usb_hcd *hcd)
  	/* Yet another workaround for spurious wakeups at shutdown with HSW */
  	if (xhci->quirks & XHCI_SPURIOUS_WAKEUP)
  		pci_set_power_state(to_pci_dev(hcd->self.sysdev), PCI_D3hot);
diff --git a/openpower/linux/0002-powerpc-64s-Add-workaround-for-P9-vector-CI-load-iss.patch b/openpower/linux/0002-powerpc-64s-Add-workaround-for-P9-vector-CI-load-iss.patch
deleted file mode 100644
index fd5e813..0000000
--- a/openpower/linux/0002-powerpc-64s-Add-workaround-for-P9-vector-CI-load-iss.patch
+++ /dev/null
@@ -1,438 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Michael Neuling <mikey@neuling.org>
-Date: Fri, 15 Sep 2017 15:25:48 +1000
-Subject: [PATCH 2/4] powerpc/64s: Add workaround for P9 vector CI load issue
-
-POWER9 DD2.1 and earlier has an issue where some cache inhibited
-vector load will return bad data. The workaround is two part, one
-firmware/microcode part triggers HMI interrupts when hitting such
-loads, the other part is this patch which then emulates the
-instructions in Linux.
-
-The affected instructions are limited to lxvd2x, lxvw4x, lxvb16x and
-lxvh8x.
-
-When an instruction triggers the HMI, all threads in the core will be
-sent to the HMI handler, not just the one running the vector load.
-
-In general, these spurious HMIs are detected by the emulation code and
-we just return back to the running process. Unfortunately, if a
-spurious interrupt occurs on a vector load that's to normal memory we
-have no way to detect that it's spurious (unless we walk the page
-tables, which is very expensive). In this case we emulate the load but
-we need do so using a vector load itself to ensure 128bit atomicity is
-preserved.
-
-Some additional debugfs emulated instruction counters are added also.
-
-Signed-off-by: Michael Neuling <mikey@neuling.org>
-Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-[mpe: Switch CONFIG_PPC_BOOK3S_64 to CONFIG_VSX to unbreak the build]
-Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-(cherry picked from commit 5080332c2c893118dbc18755f35c8b0131cf0fc4)
-Signed-off-by: Joel Stanley <joel@jms.id.au>
----
- arch/powerpc/include/asm/emulated_ops.h |   4 +
- arch/powerpc/include/asm/paca.h         |   1 +
- arch/powerpc/include/asm/uaccess.h      |  17 +++
- arch/powerpc/kernel/exceptions-64s.S    |  16 ++-
- arch/powerpc/kernel/mce.c               |  30 ++++-
- arch/powerpc/kernel/traps.c             | 201 ++++++++++++++++++++++++++++++++
- arch/powerpc/platforms/powernv/smp.c    |   7 ++
- 7 files changed, 271 insertions(+), 5 deletions(-)
-
-diff --git a/arch/powerpc/include/asm/emulated_ops.h b/arch/powerpc/include/asm/emulated_ops.h
-index f00e10e2a335..651e1354498e 100644
---- a/arch/powerpc/include/asm/emulated_ops.h
-+++ b/arch/powerpc/include/asm/emulated_ops.h
-@@ -55,6 +55,10 @@ extern struct ppc_emulated {
- 	struct ppc_emulated_entry mfdscr;
- 	struct ppc_emulated_entry mtdscr;
- 	struct ppc_emulated_entry lq_stq;
-+	struct ppc_emulated_entry lxvw4x;
-+	struct ppc_emulated_entry lxvh8x;
-+	struct ppc_emulated_entry lxvd2x;
-+	struct ppc_emulated_entry lxvb16x;
- #endif
- } ppc_emulated;
- 
-diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h
-index b8366df50d19..c9fff7b45691 100644
---- a/arch/powerpc/include/asm/paca.h
-+++ b/arch/powerpc/include/asm/paca.h
-@@ -210,6 +210,7 @@ struct paca_struct {
- 	 */
- 	u16 in_mce;
- 	u8 hmi_event_available;		/* HMI event is available */
-+	u8 hmi_p9_special_emu;		/* HMI P9 special emulation */
- #endif
- 
- 	/* Stuff for accurate time accounting */
-diff --git a/arch/powerpc/include/asm/uaccess.h b/arch/powerpc/include/asm/uaccess.h
-index 11f4bd07cce0..1e6ead577459 100644
---- a/arch/powerpc/include/asm/uaccess.h
-+++ b/arch/powerpc/include/asm/uaccess.h
-@@ -174,6 +174,23 @@ do {								\
- 
- extern long __get_user_bad(void);
- 
-+/*
-+ * This does an atomic 128 byte aligned load from userspace.
-+ * Upto caller to do enable_kernel_vmx() before calling!
-+ */
-+#define __get_user_atomic_128_aligned(kaddr, uaddr, err)		\
-+	__asm__ __volatile__(				\
-+		"1:	lvx  0,0,%1	# get user\n"	\
-+		" 	stvx 0,0,%2	# put kernel\n"	\
-+		"2:\n"					\
-+		".section .fixup,\"ax\"\n"		\
-+		"3:	li %0,%3\n"			\
-+		"	b 2b\n"				\
-+		".previous\n"				\
-+		EX_TABLE(1b, 3b)			\
-+		: "=r" (err)			\
-+		: "b" (uaddr), "b" (kaddr), "i" (-EFAULT), "0" (err))
-+
- #define __get_user_asm(x, addr, err, op)		\
- 	__asm__ __volatile__(				\
- 		"1:	"op" %1,0(%2)	# get_user\n"	\
-diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S
-index e9f72abc52b7..2dcfe36ee247 100644
---- a/arch/powerpc/kernel/exceptions-64s.S
-+++ b/arch/powerpc/kernel/exceptions-64s.S
-@@ -1060,6 +1060,8 @@ TRAMP_REAL_BEGIN(hmi_exception_early)
- 	EXCEPTION_PROLOG_COMMON_3(0xe60)
- 	addi	r3,r1,STACK_FRAME_OVERHEAD
- 	BRANCH_LINK_TO_FAR(hmi_exception_realmode) /* Function call ABI */
-+	cmpdi	cr0,r3,0
-+
- 	/* Windup the stack. */
- 	/* Move original HSRR0 and HSRR1 into the respective regs */
- 	ld	r9,_MSR(r1)
-@@ -1076,10 +1078,15 @@ TRAMP_REAL_BEGIN(hmi_exception_early)
- 	REST_8GPRS(2, r1)
- 	REST_GPR(10, r1)
- 	ld	r11,_CCR(r1)
-+	REST_2GPRS(12, r1)
-+	bne	1f
- 	mtcr	r11
- 	REST_GPR(11, r1)
--	REST_2GPRS(12, r1)
--	/* restore original r1. */
-+	ld	r1,GPR1(r1)
-+	hrfid
-+
-+1:	mtcr	r11
-+	REST_GPR(11, r1)
- 	ld	r1,GPR1(r1)
- 
- 	/*
-@@ -1092,8 +1099,9 @@ hmi_exception_after_realmode:
- 	EXCEPTION_PROLOG_0(PACA_EXGEN)
- 	b	tramp_real_hmi_exception
- 
--EXC_COMMON_ASYNC(hmi_exception_common, 0xe60, handle_hmi_exception)
--
-+EXC_COMMON_BEGIN(hmi_exception_common)
-+EXCEPTION_COMMON(PACA_EXGEN, 0xe60, hmi_exception_common, handle_hmi_exception,
-+        ret_from_except, FINISH_NAP;ADD_NVGPRS;ADD_RECONCILE;RUNLATCH_ON)
- 
- EXC_REAL_OOL_MASKABLE_HV(h_doorbell, 0xe80, 0x20)
- EXC_VIRT_OOL_MASKABLE_HV(h_doorbell, 0x4e80, 0x20, 0xe80)
-diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c
-index 9b2ea7e71c06..f588951b171d 100644
---- a/arch/powerpc/kernel/mce.c
-+++ b/arch/powerpc/kernel/mce.c
-@@ -470,6 +470,34 @@ long hmi_exception_realmode(struct pt_regs *regs)
- {
- 	__this_cpu_inc(irq_stat.hmi_exceptions);
- 
-+#ifdef CONFIG_PPC_BOOK3S_64
-+	/* Workaround for P9 vector CI loads (see p9_hmi_special_emu) */
-+	if (pvr_version_is(PVR_POWER9)) {
-+		unsigned long hmer = mfspr(SPRN_HMER);
-+
-+		/* Do we have the debug bit set */
-+		if (hmer & PPC_BIT(17)) {
-+			hmer &= ~PPC_BIT(17);
-+			mtspr(SPRN_HMER, hmer);
-+
-+			/*
-+			 * Now to avoid problems with soft-disable we
-+			 * only do the emulation if we are coming from
-+			 * user space
-+			 */
-+			if (user_mode(regs))
-+				local_paca->hmi_p9_special_emu = 1;
-+
-+			/*
-+			 * Don't bother going to OPAL if that's the
-+			 * only relevant bit.
-+			 */
-+			if (!(hmer & mfspr(SPRN_HMEER)))
-+				return local_paca->hmi_p9_special_emu;
-+		}
-+	}
-+#endif /* CONFIG_PPC_BOOK3S_64 */
-+
- 	wait_for_subcore_guest_exit();
- 
- 	if (ppc_md.hmi_exception_early)
-@@ -477,5 +505,5 @@ long hmi_exception_realmode(struct pt_regs *regs)
- 
- 	wait_for_tb_resync();
- 
--	return 0;
-+	return 1;
- }
-diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
-index 13c9dcdcba69..9ae1924c7d1a 100644
---- a/arch/powerpc/kernel/traps.c
-+++ b/arch/powerpc/kernel/traps.c
-@@ -37,6 +37,7 @@
- #include <linux/kdebug.h>
- #include <linux/ratelimit.h>
- #include <linux/context_tracking.h>
-+#include <linux/smp.h>
- 
- #include <asm/emulated_ops.h>
- #include <asm/pgtable.h>
-@@ -699,6 +700,187 @@ void SMIException(struct pt_regs *regs)
- 	die("System Management Interrupt", regs, SIGABRT);
- }
- 
-+#ifdef CONFIG_VSX
-+static void p9_hmi_special_emu(struct pt_regs *regs)
-+{
-+	unsigned int ra, rb, t, i, sel, instr, rc;
-+	const void __user *addr;
-+	u8 vbuf[16], *vdst;
-+	unsigned long ea, msr, msr_mask;
-+	bool swap;
-+
-+	if (__get_user_inatomic(instr, (unsigned int __user *)regs->nip))
-+		return;
-+
-+	/*
-+	 * lxvb16x	opcode: 0x7c0006d8
-+	 * lxvd2x	opcode: 0x7c000698
-+	 * lxvh8x	opcode: 0x7c000658
-+	 * lxvw4x	opcode: 0x7c000618
-+	 */
-+	if ((instr & 0xfc00073e) != 0x7c000618) {
-+		pr_devel("HMI vec emu: not vector CI %i:%s[%d] nip=%016lx"
-+			 " instr=%08x\n",
-+			 smp_processor_id(), current->comm, current->pid,
-+			 regs->nip, instr);
-+		return;
-+	}
-+
-+	/* Grab vector registers into the task struct */
-+	msr = regs->msr; /* Grab msr before we flush the bits */
-+	flush_vsx_to_thread(current);
-+	enable_kernel_altivec();
-+
-+	/*
-+	 * Is userspace running with a different endian (this is rare but
-+	 * not impossible)
-+	 */
-+	swap = (msr & MSR_LE) != (MSR_KERNEL & MSR_LE);
-+
-+	/* Decode the instruction */
-+	ra = (instr >> 16) & 0x1f;
-+	rb = (instr >> 11) & 0x1f;
-+	t = (instr >> 21) & 0x1f;
-+	if (instr & 1)
-+		vdst = (u8 *)&current->thread.vr_state.vr[t];
-+	else
-+		vdst = (u8 *)&current->thread.fp_state.fpr[t][0];
-+
-+	/* Grab the vector address */
-+	ea = regs->gpr[rb] + (ra ? regs->gpr[ra] : 0);
-+	if (is_32bit_task())
-+		ea &= 0xfffffffful;
-+	addr = (__force const void __user *)ea;
-+
-+	/* Check it */
-+	if (!access_ok(VERIFY_READ, addr, 16)) {
-+		pr_devel("HMI vec emu: bad access %i:%s[%d] nip=%016lx"
-+			 " instr=%08x addr=%016lx\n",
-+			 smp_processor_id(), current->comm, current->pid,
-+			 regs->nip, instr, (unsigned long)addr);
-+		return;
-+	}
-+
-+	/* Read the vector */
-+	rc = 0;
-+	if ((unsigned long)addr & 0xfUL)
-+		/* unaligned case */
-+		rc = __copy_from_user_inatomic(vbuf, addr, 16);
-+	else
-+		__get_user_atomic_128_aligned(vbuf, addr, rc);
-+	if (rc) {
-+		pr_devel("HMI vec emu: page fault %i:%s[%d] nip=%016lx"
-+			 " instr=%08x addr=%016lx\n",
-+			 smp_processor_id(), current->comm, current->pid,
-+			 regs->nip, instr, (unsigned long)addr);
-+		return;
-+	}
-+
-+	pr_devel("HMI vec emu: emulated vector CI %i:%s[%d] nip=%016lx"
-+		 " instr=%08x addr=%016lx\n",
-+		 smp_processor_id(), current->comm, current->pid, regs->nip,
-+		 instr, (unsigned long) addr);
-+
-+	/* Grab instruction "selector" */
-+	sel = (instr >> 6) & 3;
-+
-+	/*
-+	 * Check to make sure the facility is actually enabled. This
-+	 * could happen if we get a false positive hit.
-+	 *
-+	 * lxvd2x/lxvw4x always check MSR VSX sel = 0,2
-+	 * lxvh8x/lxvb16x check MSR VSX or VEC depending on VSR used sel = 1,3
-+	 */
-+	msr_mask = MSR_VSX;
-+	if ((sel & 1) && (instr & 1)) /* lxvh8x & lxvb16x + VSR >= 32 */
-+		msr_mask = MSR_VEC;
-+	if (!(msr & msr_mask)) {
-+		pr_devel("HMI vec emu: MSR fac clear %i:%s[%d] nip=%016lx"
-+			 " instr=%08x msr:%016lx\n",
-+			 smp_processor_id(), current->comm, current->pid,
-+			 regs->nip, instr, msr);
-+		return;
-+	}
-+
-+	/* Do logging here before we modify sel based on endian */
-+	switch (sel) {
-+	case 0:	/* lxvw4x */
-+		PPC_WARN_EMULATED(lxvw4x, regs);
-+		break;
-+	case 1: /* lxvh8x */
-+		PPC_WARN_EMULATED(lxvh8x, regs);
-+		break;
-+	case 2: /* lxvd2x */
-+		PPC_WARN_EMULATED(lxvd2x, regs);
-+		break;
-+	case 3: /* lxvb16x */
-+		PPC_WARN_EMULATED(lxvb16x, regs);
-+		break;
-+	}
-+
-+#ifdef __LITTLE_ENDIAN__
-+	/*
-+	 * An LE kernel stores the vector in the task struct as an LE
-+	 * byte array (effectively swapping both the components and
-+	 * the content of the components). Those instructions expect
-+	 * the components to remain in ascending address order, so we
-+	 * swap them back.
-+	 *
-+	 * If we are running a BE user space, the expectation is that
-+	 * of a simple memcpy, so forcing the emulation to look like
-+	 * a lxvb16x should do the trick.
-+	 */
-+	if (swap)
-+		sel = 3;
-+
-+	switch (sel) {
-+	case 0:	/* lxvw4x */
-+		for (i = 0; i < 4; i++)
-+			((u32 *)vdst)[i] = ((u32 *)vbuf)[3-i];
-+		break;
-+	case 1: /* lxvh8x */
-+		for (i = 0; i < 8; i++)
-+			((u16 *)vdst)[i] = ((u16 *)vbuf)[7-i];
-+		break;
-+	case 2: /* lxvd2x */
-+		for (i = 0; i < 2; i++)
-+			((u64 *)vdst)[i] = ((u64 *)vbuf)[1-i];
-+		break;
-+	case 3: /* lxvb16x */
-+		for (i = 0; i < 16; i++)
-+			vdst[i] = vbuf[15-i];
-+		break;
-+	}
-+#else /* __LITTLE_ENDIAN__ */
-+	/* On a big endian kernel, a BE userspace only needs a memcpy */
-+	if (!swap)
-+		sel = 3;
-+
-+	/* Otherwise, we need to swap the content of the components */
-+	switch (sel) {
-+	case 0:	/* lxvw4x */
-+		for (i = 0; i < 4; i++)
-+			((u32 *)vdst)[i] = cpu_to_le32(((u32 *)vbuf)[i]);
-+		break;
-+	case 1: /* lxvh8x */
-+		for (i = 0; i < 8; i++)
-+			((u16 *)vdst)[i] = cpu_to_le16(((u16 *)vbuf)[i]);
-+		break;
-+	case 2: /* lxvd2x */
-+		for (i = 0; i < 2; i++)
-+			((u64 *)vdst)[i] = cpu_to_le64(((u64 *)vbuf)[i]);
-+		break;
-+	case 3: /* lxvb16x */
-+		memcpy(vdst, vbuf, 16);
-+		break;
-+	}
-+#endif /* !__LITTLE_ENDIAN__ */
-+
-+	/* Go to next instruction */
-+	regs->nip += 4;
-+}
-+#endif /* CONFIG_VSX */
-+
- void handle_hmi_exception(struct pt_regs *regs)
- {
- 	struct pt_regs *old_regs;
-@@ -706,6 +888,21 @@ void handle_hmi_exception(struct pt_regs *regs)
- 	old_regs = set_irq_regs(regs);
- 	irq_enter();
- 
-+#ifdef CONFIG_VSX
-+	/* Real mode flagged P9 special emu is needed */
-+	if (local_paca->hmi_p9_special_emu) {
-+		local_paca->hmi_p9_special_emu = 0;
-+
-+		/*
-+		 * We don't want to take page faults while doing the
-+		 * emulation, we just replay the instruction if necessary.
-+		 */
-+		pagefault_disable();
-+		p9_hmi_special_emu(regs);
-+		pagefault_enable();
-+	}
-+#endif /* CONFIG_VSX */
-+
- 	if (ppc_md.handle_hmi_exception)
- 		ppc_md.handle_hmi_exception(regs);
- 
-@@ -1924,6 +2121,10 @@ struct ppc_emulated ppc_emulated = {
- 	WARN_EMULATED_SETUP(mfdscr),
- 	WARN_EMULATED_SETUP(mtdscr),
- 	WARN_EMULATED_SETUP(lq_stq),
-+	WARN_EMULATED_SETUP(lxvw4x),
-+	WARN_EMULATED_SETUP(lxvh8x),
-+	WARN_EMULATED_SETUP(lxvd2x),
-+	WARN_EMULATED_SETUP(lxvb16x),
- #endif
- };
- 
-diff --git a/arch/powerpc/platforms/powernv/smp.c b/arch/powerpc/platforms/powernv/smp.c
-index c17f81e433f7..355d3f99cafb 100644
---- a/arch/powerpc/platforms/powernv/smp.c
-+++ b/arch/powerpc/platforms/powernv/smp.c
-@@ -49,6 +49,13 @@
- 
- static void pnv_smp_setup_cpu(int cpu)
- {
-+	/*
-+	 * P9 workaround for CI vector load (see traps.c),
-+	 * enable the corresponding HMI interrupt
-+	 */
-+	if (pvr_version_is(PVR_POWER9))
-+		mtspr(SPRN_HMEER, mfspr(SPRN_HMEER) | PPC_BIT(17));
-+
- 	if (xive_enabled())
- 		xive_smp_setup_cpu();
- 	else if (cpu != boot_cpuid)
diff --git a/openpower/linux/0003-tg3-APE-heartbeat-changes.patch b/openpower/linux/0002-tg3-APE-heartbeat-changes.patch
similarity index 85%
rename from openpower/linux/0003-tg3-APE-heartbeat-changes.patch
rename to openpower/linux/0002-tg3-APE-heartbeat-changes.patch
index 7f986b5..e1860f6 100644
--- a/openpower/linux/0003-tg3-APE-heartbeat-changes.patch
+++ b/openpower/linux/0002-tg3-APE-heartbeat-changes.patch
@@ -1,7 +1,7 @@
 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Prashant Sreedharan <prashant.sreedharan@broadcom.com>
 Date: Mon, 19 Feb 2018 12:27:04 +0530
-Subject: [PATCH 3/4] tg3: APE heartbeat changes
+Subject: [PATCH 2/3] tg3: APE heartbeat changes
 
 In ungraceful host shutdown or driver crash case BMC connectivity is
 lost. APE firmware is missing the driver state in this
@@ -29,10 +29,10 @@
  2 files changed, 29 insertions(+), 11 deletions(-)
 
 diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
-index aef3fcf2f5b9..703af1bd196c 100644
+index 8995cfefbfcf..0cbf537c8f6c 100644
 --- a/drivers/net/ethernet/broadcom/tg3.c
 +++ b/drivers/net/ethernet/broadcom/tg3.c
-@@ -818,7 +818,7 @@ static int tg3_ape_event_lock(struct tg3 *tp, u32 timeout_us)
+@@ -820,7 +820,7 @@ static int tg3_ape_event_lock(struct tg3 *tp, u32 timeout_us)
  
  		tg3_ape_unlock(tp, TG3_APE_LOCK_MEM);
  
@@ -41,7 +41,7 @@
  		timeout_us -= (timeout_us > 10) ? 10 : timeout_us;
  	}
  
-@@ -920,8 +920,8 @@ static int tg3_ape_send_event(struct tg3 *tp, u32 event)
+@@ -922,8 +922,8 @@ static int tg3_ape_send_event(struct tg3 *tp, u32 event)
  	if (!(apedata & APE_FW_STATUS_READY))
  		return -EAGAIN;
  
@@ -52,7 +52,7 @@
  	if (err)
  		return err;
  
-@@ -944,6 +944,7 @@ static void tg3_ape_driver_state_change(struct tg3 *tp, int kind)
+@@ -946,6 +946,7 @@ static void tg3_ape_driver_state_change(struct tg3 *tp, int kind)
  
  	switch (kind) {
  	case RESET_KIND_INIT:
@@ -60,7 +60,7 @@
  		tg3_ape_write32(tp, TG3_APE_HOST_SEG_SIG,
  				APE_HOST_SEG_SIG_MAGIC);
  		tg3_ape_write32(tp, TG3_APE_HOST_SEG_LEN,
-@@ -960,13 +961,6 @@ static void tg3_ape_driver_state_change(struct tg3 *tp, int kind)
+@@ -962,13 +963,6 @@ static void tg3_ape_driver_state_change(struct tg3 *tp, int kind)
  		event = APE_EVENT_STATUS_STATE_START;
  		break;
  	case RESET_KIND_SHUTDOWN:
@@ -74,7 +74,7 @@
  		if (device_may_wakeup(&tp->pdev->dev) &&
  		    tg3_flag(tp, WOL_ENABLE)) {
  			tg3_ape_write32(tp, TG3_APE_HOST_WOL_SPEED,
-@@ -988,6 +982,18 @@ static void tg3_ape_driver_state_change(struct tg3 *tp, int kind)
+@@ -990,6 +984,18 @@ static void tg3_ape_driver_state_change(struct tg3 *tp, int kind)
  	tg3_ape_send_event(tp, event);
  }
  
@@ -93,7 +93,7 @@
  static void tg3_disable_ints(struct tg3 *tp)
  {
  	int i;
-@@ -7260,6 +7266,7 @@ static int tg3_poll_msix(struct napi_struct *napi, int budget)
+@@ -7262,6 +7268,7 @@ static int tg3_poll_msix(struct napi_struct *napi, int budget)
  		}
  	}
  
@@ -101,7 +101,7 @@
  	return work_done;
  
  tx_recovery:
-@@ -7342,6 +7349,7 @@ static int tg3_poll(struct napi_struct *napi, int budget)
+@@ -7344,6 +7351,7 @@ static int tg3_poll(struct napi_struct *napi, int budget)
  		}
  	}
  
@@ -109,7 +109,7 @@
  	return work_done;
  
  tx_recovery:
-@@ -10720,7 +10728,7 @@ static int tg3_reset_hw(struct tg3 *tp, bool reset_phy)
+@@ -10732,7 +10740,7 @@ static int tg3_reset_hw(struct tg3 *tp, bool reset_phy)
  	if (tg3_flag(tp, ENABLE_APE))
  		/* Write our heartbeat update interval to APE. */
  		tg3_ape_write32(tp, TG3_APE_HOST_HEARTBEAT_INT_MS,
@@ -118,7 +118,7 @@
  
  	tg3_write_sig_post_reset(tp, RESET_KIND_INIT);
  
-@@ -11065,6 +11073,9 @@ static void tg3_timer(unsigned long __opaque)
+@@ -11077,6 +11085,9 @@ static void tg3_timer(struct timer_list *t)
  		tp->asf_counter = tp->asf_multiplier;
  	}
  
@@ -128,7 +128,7 @@
  	spin_unlock(&tp->lock);
  
  restart_timer:
-@@ -16625,6 +16636,8 @@ static int tg3_get_invariants(struct tg3 *tp, const struct pci_device_id *ent)
+@@ -16636,6 +16647,8 @@ static int tg3_get_invariants(struct tg3 *tp, const struct pci_device_id *ent)
  				       pci_state_reg);
  
  		tg3_ape_lock_init(tp);
@@ -138,10 +138,10 @@
  
  	/* Set up tp->grc_local_ctrl before calling
 diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h
-index c2d02d02d1e6..99578ab2ddad 100644
+index 1f0271fa7c74..4b9d2906da90 100644
 --- a/drivers/net/ethernet/broadcom/tg3.h
 +++ b/drivers/net/ethernet/broadcom/tg3.h
-@@ -2494,6 +2494,7 @@
+@@ -2499,6 +2499,7 @@
  #define TG3_APE_LOCK_PHY3		5
  #define TG3_APE_LOCK_GPIO		7
  
@@ -149,7 +149,7 @@
  #define TG3_EEPROM_SB_F1R2_MBA_OFF	0x10
  
  
-@@ -3408,6 +3409,10 @@ struct tg3 {
+@@ -3413,6 +3414,10 @@ struct tg3 {
  	struct device			*hwmon_dev;
  	bool				link_up;
  	bool				pcierr_recovery;
diff --git a/openpower/linux/0004-Release-OpenPower-kernel.patch b/openpower/linux/0003-Release-OpenPower-kernel.patch
similarity index 68%
rename from openpower/linux/0004-Release-OpenPower-kernel.patch
rename to openpower/linux/0003-Release-OpenPower-kernel.patch
index 9e5e933..7946195 100644
--- a/openpower/linux/0004-Release-OpenPower-kernel.patch
+++ b/openpower/linux/0003-Release-OpenPower-kernel.patch
@@ -1,7 +1,7 @@
 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Joel Stanley <joel@jms.id.au>
-Date: Tue, 20 Feb 2018 11:14:30 +1030
-Subject: [PATCH 4/4] Release OpenPower kernel
+Date: Mon, 26 Feb 2018 10:34:14 +1030
+Subject: [PATCH 3/3] Release OpenPower kernel
 
 Signed-off-by: Joel Stanley <joel@jms.id.au>
 ---
@@ -9,15 +9,15 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Makefile b/Makefile
-index 33176140f133..621b3d99e2dd 100644
+index 51563c76bdf6..d0c84b13b1b3 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -2,7 +2,7 @@
  VERSION = 4
- PATCHLEVEL = 14
- SUBLEVEL = 20
+ PATCHLEVEL = 15
+ SUBLEVEL = 6
 -EXTRAVERSION =
 +EXTRAVERSION = -openpower1
- NAME = Petit Gorille
+ NAME = Fearless Coyote
  
  # *DOCUMENTATION*