* Patch "ARCv2: intc: Use kflag if STATUS32.IE must be reset" has been added to the 4.8-stable tree
@ 2016-10-20 13:29 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-10-20 13:29 UTC (permalink / raw)
To: yuriy.kolerov, gregkh, vgupta; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
ARCv2: intc: Use kflag if STATUS32.IE must be reset
to the 4.8-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:
arcv2-intc-use-kflag-if-status32.ie-must-be-reset.patch
and it can be found in the queue-4.8 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 bc0c7ece6191d89f435e4e4016f74167430c6c21 Mon Sep 17 00:00:00 2001
From: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
Date: Mon, 12 Sep 2016 18:55:03 +0300
Subject: ARCv2: intc: Use kflag if STATUS32.IE must be reset
From: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
commit bc0c7ece6191d89f435e4e4016f74167430c6c21 upstream.
In the end of "arc_init_IRQ" STATUS32.IE flag is going to be affected by
"flag" instruction but "flag" never touches IE flag on ARCv2. So "kflag"
instruction must be used instead of "flag".
Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/arc/kernel/intc-arcv2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arc/kernel/intc-arcv2.c
+++ b/arch/arc/kernel/intc-arcv2.c
@@ -74,7 +74,7 @@ void arc_init_IRQ(void)
tmp = read_aux_reg(0xa);
tmp |= STATUS_AD_MASK | (irq_prio << 1);
tmp &= ~STATUS_IE_MASK;
- asm volatile("flag %0 \n"::"r"(tmp));
+ asm volatile("kflag %0 \n"::"r"(tmp));
}
static void arcv2_irq_mask(struct irq_data *data)
Patches currently in stable-queue which might be from yuriy.kolerov@synopsys.com are
queue-4.8/arcv2-intc-use-kflag-if-status32.ie-must-be-reset.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-20 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20 13:29 Patch "ARCv2: intc: Use kflag if STATUS32.IE must be reset" has been added to the 4.8-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).