From: <gregkh@linuxfoundation.org>
To: gregkh@linuxfoundation.org, jslaby@suse.cz, mikey@neuling.org,
mpe@ellerman.id.au
Cc: <stable@vger.kernel.org>, <stable-commits@vger.kernel.org>
Subject: Patch "Revert: "powerpc/tm: Check for already reclaimed tasks"" has been added to the 4.4-stable tree
Date: Fri, 06 May 2016 12:32:57 -0400 [thread overview]
Message-ID: <1462552377226250@kroah.com> (raw)
This is a note to let you know that I've just added the patch titled
Revert: "powerpc/tm: Check for already reclaimed tasks"
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
revert-powerpc-tm-check-for-already-reclaimed-tasks.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From foo@baz Fri May 6 12:03:29 EDT 2016
Date: Fri, 06 May 2016 12:03:29 -0400
To: Greg KH <gregkh@linuxfoundation.org>
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Revert: "powerpc/tm: Check for already reclaimed tasks"
This reverts commit e924c60db1b4891e45d15a33474ac5fab62cf029 which was
commit 7f821fc9c77a9b01fe7b1d6e72717b33d8d64142 upstream.
It shouldn't have been applied as the original was already in 4.4.
Reported-by: Jiri Slaby <jslaby@suse.cz>
Cc: Michael Neuling <mikey@neuling.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/powerpc/kernel/process.c | 18 ------------------
1 file changed, 18 deletions(-)
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -569,24 +569,6 @@ static void tm_reclaim_thread(struct thr
if (!MSR_TM_SUSPENDED(mfmsr()))
return;
- /*
- * Use the current MSR TM suspended bit to track if we have
- * checkpointed state outstanding.
- * On signal delivery, we'd normally reclaim the checkpointed
- * state to obtain stack pointer (see:get_tm_stackpointer()).
- * This will then directly return to userspace without going
- * through __switch_to(). However, if the stack frame is bad,
- * we need to exit this thread which calls __switch_to() which
- * will again attempt to reclaim the already saved tm state.
- * Hence we need to check that we've not already reclaimed
- * this state.
- * We do this using the current MSR, rather tracking it in
- * some specific thread_struct bit, as it has the additional
- * benifit of checking for a potential TM bad thing exception.
- */
- if (!MSR_TM_SUSPENDED(mfmsr()))
- return;
-
tm_reclaim(thr, thr->regs->msr, cause);
/* Having done the reclaim, we now have the checkpointed
Patches currently in stable-queue which might be from gregkh@linuxfoundation.org are
queue-4.4/rdma-iw_cxgb4-fix-bar2-virt-addr-calculation-for-t4-chips.patch
queue-4.4/revert-powerpc-tm-check-for-already-reclaimed-tasks.patch
queue-4.4/ata-ahci_xgene-dereferencing-uninitialized-pointer-in-probe.patch
queue-4.4/lpfc-fix-misleading-indentation.patch
queue-4.4/ipvs-handle-ip_vs_fill_iph_skb_off-failure.patch
queue-4.4/clk-qcom-msm8960-fix-ce3_src-register-offset.patch
queue-4.4/clk-versatile-sp810-support-reentrance.patch
queue-4.4/clk-rockchip-free-memory-in-error-cases-when-registering-clock-branches.patch
queue-4.4/ipvs-correct-initial-offset-of-call-id-header-search-in-sip-persistence-engine.patch
queue-4.4/clk-divider-make-sure-read-only-dividers-do-not-write-to-their-register.patch
queue-4.4/mfd-intel-lpss-remove-clock-tree-on-error-path.patch
queue-4.4/nbd-ratelimit-error-msgs-after-socket-close.patch
queue-4.4/mwifiex-fix-corner-case-association-failure.patch
queue-4.4/cns3xxx-fix-pci-cns3xxx_write_config.patch
queue-4.4/clk-qcom-msm8960-fix-ce3_core-clk-enable-register.patch
queue-4.4/ipvs-drop-first-packet-to-redirect-conntrack.patch
queue-4.4/soc-rockchip-power-domain-fix-err-handle-while-probing.patch
queue-4.4/clk-meson-fix-meson_clk_register_clks-signature-type-mismatch.patch
reply other threads:[~2016-05-06 17:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462552377226250@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=jslaby@suse.cz \
--cc=mikey@neuling.org \
--cc=mpe@ellerman.id.au \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.