From 4fb68305b565ca671c2d0f1a47b3f77a7af47d46 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 26 Aug 2010 16:23:47 -0700 Subject: [PATCH] delete broken powerpc-initialise-paca-kstack-before-early_setup_secondary.patch --- ...-kstack-before-early_setup_secondary.patch | 51 ------------------- queue-2.6.32/series | 1 - ...-kstack-before-early_setup_secondary.patch | 51 ------------------- queue-2.6.34/series | 1 - ...-kstack-before-early_setup_secondary.patch | 51 ------------------- queue-2.6.35/series | 1 - 6 files changed, 156 deletions(-) delete mode 100644 queue-2.6.32/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch delete mode 100644 queue-2.6.34/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch delete mode 100644 queue-2.6.35/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch diff --git a/queue-2.6.32/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch b/queue-2.6.32/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch deleted file mode 100644 index 1331a260cfe..00000000000 --- a/queue-2.6.32/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f761622e59433130bc33ad086ce219feee9eb961 Mon Sep 17 00:00:00 2001 -From: Matt Evans -Date: Thu, 12 Aug 2010 20:58:28 +0000 -Subject: powerpc: Initialise paca->kstack before early_setup_secondary - -From: Matt Evans - -commit f761622e59433130bc33ad086ce219feee9eb961 upstream. - -As early setup calls down to slb_initialize(), we must have kstack -initialised before checking "should we add a bolted SLB entry for our kstack?" - -Failing to do so means stack access requires an SLB miss exception to refill -an entry dynamically, if the stack isn't accessible via SLB(0) (kernel text -& static data). It's not always allowable to take such a miss, and -intermittent crashes will result. - -Primary CPUs don't have this issue; an SLB entry is not bolted for their -stack anyway (as that lives within SLB(0)). This patch therefore only -affects the init of secondaries. - -Signed-off-by: Matt Evans -Signed-off-by: Benjamin Herrenschmidt -Signed-off-by: Greg Kroah-Hartman - ---- - arch/powerpc/kernel/head_64.S | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- a/arch/powerpc/kernel/head_64.S -+++ b/arch/powerpc/kernel/head_64.S -@@ -563,9 +563,6 @@ __secondary_start: - /* Set thread priority to MEDIUM */ - HMT_MEDIUM - -- /* Do early setup for that CPU (stab, slb, hash table pointer) */ -- bl .early_setup_secondary -- - /* Initialize the kernel stack. Just a repeat for iSeries. */ - LOAD_REG_ADDR(r3, current_set) - sldi r28,r24,3 /* get current_set[cpu#] */ -@@ -573,6 +570,9 @@ __secondary_start: - addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD - std r1,PACAKSAVE(r13) - -+ /* Do early setup for that CPU (stab, slb, hash table pointer) */ -+ bl .early_setup_secondary -+ - /* Clear backchain so we get nice backtraces */ - li r7,0 - mtlr r7 diff --git a/queue-2.6.32/series b/queue-2.6.32/series index f5ae7141ac4..ba324c2fb2a 100644 --- a/queue-2.6.32/series +++ b/queue-2.6.32/series @@ -46,7 +46,6 @@ netlink-fix-compat-recvmsg.patch drm-radeon-kms-fix-typo-in-radeon_compute_pll_gain.patch drm-stop-information-leak-of-old-kernel-stack.patch powerpc-fix-typo-in-uimage-target.patch -powerpc-initialise-paca-kstack-before-early_setup_secondary.patch usb-option-add-celot-ct-650.patch usb-add-device-ids-for-igotu-to-navman.patch usb-pl2303-new-vendor-and-product-id.patch diff --git a/queue-2.6.34/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch b/queue-2.6.34/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch deleted file mode 100644 index 135b25c8848..00000000000 --- a/queue-2.6.34/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f761622e59433130bc33ad086ce219feee9eb961 Mon Sep 17 00:00:00 2001 -From: Matt Evans -Date: Thu, 12 Aug 2010 20:58:28 +0000 -Subject: powerpc: Initialise paca->kstack before early_setup_secondary - -From: Matt Evans - -commit f761622e59433130bc33ad086ce219feee9eb961 upstream. - -As early setup calls down to slb_initialize(), we must have kstack -initialised before checking "should we add a bolted SLB entry for our kstack?" - -Failing to do so means stack access requires an SLB miss exception to refill -an entry dynamically, if the stack isn't accessible via SLB(0) (kernel text -& static data). It's not always allowable to take such a miss, and -intermittent crashes will result. - -Primary CPUs don't have this issue; an SLB entry is not bolted for their -stack anyway (as that lives within SLB(0)). This patch therefore only -affects the init of secondaries. - -Signed-off-by: Matt Evans -Signed-off-by: Benjamin Herrenschmidt -Signed-off-by: Greg Kroah-Hartman - ---- - arch/powerpc/kernel/head_64.S | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- a/arch/powerpc/kernel/head_64.S -+++ b/arch/powerpc/kernel/head_64.S -@@ -572,9 +572,6 @@ __secondary_start: - /* Set thread priority to MEDIUM */ - HMT_MEDIUM - -- /* Do early setup for that CPU (stab, slb, hash table pointer) */ -- bl .early_setup_secondary -- - /* Initialize the kernel stack. Just a repeat for iSeries. */ - LOAD_REG_ADDR(r3, current_set) - sldi r28,r24,3 /* get current_set[cpu#] */ -@@ -582,6 +579,9 @@ __secondary_start: - addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD - std r1,PACAKSAVE(r13) - -+ /* Do early setup for that CPU (stab, slb, hash table pointer) */ -+ bl .early_setup_secondary -+ - /* Clear backchain so we get nice backtraces */ - li r7,0 - mtlr r7 diff --git a/queue-2.6.34/series b/queue-2.6.34/series index 304ba9acbfc..4dfcc621e59 100644 --- a/queue-2.6.34/series +++ b/queue-2.6.34/series @@ -77,7 +77,6 @@ drm-radeon-kms-fix-sideport-detection-on-newer-rs880-boards.patch drm-radeon-kms-fix-gtt-vram-overlapping-test.patch drm-stop-information-leak-of-old-kernel-stack.patch powerpc-fix-typo-in-uimage-target.patch -powerpc-initialise-paca-kstack-before-early_setup_secondary.patch usb-option-add-celot-ct-650.patch usb-add-device-ids-for-igotu-to-navman.patch usb-pl2303-new-vendor-and-product-id.patch diff --git a/queue-2.6.35/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch b/queue-2.6.35/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch deleted file mode 100644 index 135b25c8848..00000000000 --- a/queue-2.6.35/powerpc-initialise-paca-kstack-before-early_setup_secondary.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f761622e59433130bc33ad086ce219feee9eb961 Mon Sep 17 00:00:00 2001 -From: Matt Evans -Date: Thu, 12 Aug 2010 20:58:28 +0000 -Subject: powerpc: Initialise paca->kstack before early_setup_secondary - -From: Matt Evans - -commit f761622e59433130bc33ad086ce219feee9eb961 upstream. - -As early setup calls down to slb_initialize(), we must have kstack -initialised before checking "should we add a bolted SLB entry for our kstack?" - -Failing to do so means stack access requires an SLB miss exception to refill -an entry dynamically, if the stack isn't accessible via SLB(0) (kernel text -& static data). It's not always allowable to take such a miss, and -intermittent crashes will result. - -Primary CPUs don't have this issue; an SLB entry is not bolted for their -stack anyway (as that lives within SLB(0)). This patch therefore only -affects the init of secondaries. - -Signed-off-by: Matt Evans -Signed-off-by: Benjamin Herrenschmidt -Signed-off-by: Greg Kroah-Hartman - ---- - arch/powerpc/kernel/head_64.S | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- a/arch/powerpc/kernel/head_64.S -+++ b/arch/powerpc/kernel/head_64.S -@@ -572,9 +572,6 @@ __secondary_start: - /* Set thread priority to MEDIUM */ - HMT_MEDIUM - -- /* Do early setup for that CPU (stab, slb, hash table pointer) */ -- bl .early_setup_secondary -- - /* Initialize the kernel stack. Just a repeat for iSeries. */ - LOAD_REG_ADDR(r3, current_set) - sldi r28,r24,3 /* get current_set[cpu#] */ -@@ -582,6 +579,9 @@ __secondary_start: - addi r1,r1,THREAD_SIZE-STACK_FRAME_OVERHEAD - std r1,PACAKSAVE(r13) - -+ /* Do early setup for that CPU (stab, slb, hash table pointer) */ -+ bl .early_setup_secondary -+ - /* Clear backchain so we get nice backtraces */ - li r7,0 - mtlr r7 diff --git a/queue-2.6.35/series b/queue-2.6.35/series index 3ef20d7e7c5..c3aa7e2f8b6 100644 --- a/queue-2.6.35/series +++ b/queue-2.6.35/series @@ -100,7 +100,6 @@ staging-batman-adv-create-batman_if-only-on-register-event.patch staging-batman-adv-don-t-use-net_dev-after-dev_put.patch staging-batman-adv-don-t-write-in-not-allocated-packet_buff.patch powerpc-fix-typo-in-uimage-target.patch -powerpc-initialise-paca-kstack-before-early_setup_secondary.patch usb-option-add-celot-ct-650.patch usb-add-device-ids-for-igotu-to-navman.patch usb-pl2303-new-vendor-and-product-id.patch -- 2.47.3