]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl_msi: mark the msi cascade handler IRQF_NO_THREAD
authorKevin Hao <haokexin@gmail.com>
Fri, 14 Nov 2014 05:51:22 +0000 (13:51 +0800)
committerScott Wood <scottwood@freescale.com>
Tue, 18 Nov 2014 04:00:30 +0000 (22:00 -0600)
commitc90f1e74d71075d579524c0acf27549a5fcffa19
tree5e71f83a6ce3f4f77b0f77fcb30c7d7d1fbf4c76
parent311328ab9d1910b33ebbef87ff5ea8c3e09f23c2
powerpc/fsl_msi: mark the msi cascade handler IRQF_NO_THREAD

The commit 3a10746f507a ("powerpc/fsl_msi: change the irq handler from
chained to normal") changes the msi cascade handler from chained to
normal. Since cascade handler must run in hard interrupt context, this
will cause kernel panic if we force threading of all the interrupt
handler via kernel command parameter 'threadirqs'. So mark the irq
handler IRQF_NO_THREAD explicitly.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/fsl_msi.c