Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe-ppc32
Commits
14c1d39d
Commit
14c1d39d
authored
Sep 18, 2018
by
Philippe Gerum
Browse files
genirq: ipipe: detect pipeline-unsafe MSI handlers
parent
67157bba
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/irq/msi.c
View file @
14c1d39d
...
...
@@ -251,6 +251,9 @@ static void msi_domain_update_chip_ops(struct msi_domain_info *info)
struct
irq_chip
*
chip
=
info
->
chip
;
BUG_ON
(
!
chip
||
!
chip
->
irq_mask
||
!
chip
->
irq_unmask
);
WARN_ONCE
(
IS_ENABLED
(
CONFIG_IPIPE
)
&&
(
chip
->
flags
&
IRQCHIP_PIPELINE_SAFE
)
==
0
,
"MSI domain irqchip %s is not pipeline-safe!"
,
chip
->
name
);
if
(
!
chip
->
irq_set_affinity
)
chip
->
irq_set_affinity
=
msi_domain_set_affinity
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment