Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
dde5cfff
Commit
dde5cfff
authored
Oct 10, 2020
by
Marc Zyngier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'irq/irqchip-fixes' into irq/irqchip-next
Signed-off-by:
Marc Zyngier
<
maz@kernel.org
>
parents
408f110e
1d1e5630
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
drivers/irqchip/irq-loongson-htvec.c
drivers/irqchip/irq-loongson-htvec.c
+2
-2
drivers/irqchip/irq-ti-sci-inta.c
drivers/irqchip/irq-ti-sci-inta.c
+2
-2
drivers/irqchip/irq-ti-sci-intr.c
drivers/irqchip/irq-ti-sci-intr.c
+2
-2
No files found.
drivers/irqchip/irq-loongson-htvec.c
View file @
dde5cfff
...
...
@@ -151,7 +151,7 @@ static void htvec_reset(struct htvec *priv)
/* Clear IRQ cause registers, mask all interrupts */
for
(
idx
=
0
;
idx
<
priv
->
num_parents
;
idx
++
)
{
writel_relaxed
(
0x0
,
priv
->
base
+
HTVEC_EN_OFF
+
4
*
idx
);
writel_relaxed
(
0xFFFFFFFF
,
priv
->
base
);
writel_relaxed
(
0xFFFFFFFF
,
priv
->
base
+
4
*
idx
);
}
}
...
...
@@ -172,7 +172,7 @@ static int htvec_of_init(struct device_node *node,
goto
free_priv
;
}
/* Interrupt may come from any of the
4 interrupt line
*/
/* Interrupt may come from any of the
8 interrupt lines
*/
for
(
i
=
0
;
i
<
HTVEC_MAX_PARENT_IRQ
;
i
++
)
{
parent_irq
[
i
]
=
irq_of_parse_and_map
(
node
,
i
);
if
(
parent_irq
[
i
]
<=
0
)
...
...
drivers/irqchip/irq-ti-sci-inta.c
View file @
dde5cfff
...
...
@@ -175,8 +175,8 @@ static struct ti_sci_inta_vint_desc *ti_sci_inta_alloc_parent_irq(struct irq_dom
struct
irq_fwspec
parent_fwspec
;
struct
device_node
*
parent_node
;
unsigned
int
parent_virq
;
u16
vint_id
,
p_hwirq
;
int
ret
;
int
p_hwirq
,
ret
;
u16
vint_id
;
vint_id
=
ti_sci_get_free_resource
(
inta
->
vint
);
if
(
vint_id
==
TI_SCI_RESOURCE_NULL
)
...
...
drivers/irqchip/irq-ti-sci-intr.c
View file @
dde5cfff
...
...
@@ -137,8 +137,8 @@ static int ti_sci_intr_alloc_parent_irq(struct irq_domain *domain,
struct
ti_sci_intr_irq_domain
*
intr
=
domain
->
host_data
;
struct
device_node
*
parent_node
;
struct
irq_fwspec
fwspec
;
u16
out_irq
,
p_hwirq
;
int
err
=
0
;
int
p_hwirq
,
err
=
0
;
u16
out_irq
;
out_irq
=
ti_sci_get_free_resource
(
intr
->
out_irqs
);
if
(
out_irq
==
TI_SCI_RESOURCE_NULL
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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