Merge pull request #1874 from stewart-ibm/disable-stop11

witherspoon: (temporarily) disable stop11 to work around special wake…
diff --git a/openpower/configs/witherspoon_defconfig b/openpower/configs/witherspoon_defconfig
index 0f7a5c3..7e5dc99 100644
--- a/openpower/configs/witherspoon_defconfig
+++ b/openpower/configs/witherspoon_defconfig
@@ -1,5 +1,6 @@
 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
diff --git a/openpower/patches/witherspoon-patches/machine-xml/0001-Disable-stop11-to-workaround-special-wakeup-bug.patch b/openpower/patches/witherspoon-patches/machine-xml/0001-Disable-stop11-to-workaround-special-wakeup-bug.patch
new file mode 100644
index 0000000..7531aa6
--- /dev/null
+++ b/openpower/patches/witherspoon-patches/machine-xml/0001-Disable-stop11-to-workaround-special-wakeup-bug.patch
@@ -0,0 +1,26 @@
+From 4a67af9ad8cafeac5bddbcad3e7d875ab5538c27 Mon Sep 17 00:00:00 2001
+From: Stewart Smith <stewart@linux.vnet.ibm.com>
+Date: Thu, 15 Feb 2018 14:18:07 +1100
+Subject: [PATCH] Disable stop11 to workaround special wakeup bug
+
+Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
+---
+ witherspoon.xml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/witherspoon.xml b/witherspoon.xml
+index 09a09fc68217..eddd1ac257e6 100644
+--- a/witherspoon.xml
++++ b/witherspoon.xml
+@@ -17295,7 +17295,7 @@
+ 	</attribute>
+ 	<attribute>
+ 		<id>SUPPORTED_STOP_STATES</id>
+-		<default>0xEC100000</default>
++		<default>0xEC000000</default>
+ 	</attribute>
+ 	<attribute>
+ 		<id>SUPPORTS_DYNAMIC_MEM_VOLT</id>
+-- 
+2.14.3
+