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
nexedi
linux
Commits
7432acf3
Commit
7432acf3
authored
Apr 04, 2018
by
Bjorn Helgaas
Committed by
Bjorn Helgaas
Apr 04, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lorenzo/pci/xilinx'
* lorenzo/pci/xilinx: PCI: pcie-xilinx-nwl: Fix mask value to disable MSIs
parents
d2f48c5d
74502918
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/pci/host/pcie-xilinx-nwl.c
drivers/pci/host/pcie-xilinx-nwl.c
+2
-2
No files found.
drivers/pci/host/pcie-xilinx-nwl.c
View file @
7432acf3
...
...
@@ -630,7 +630,7 @@ static int nwl_pcie_enable_msi(struct nwl_pcie *pcie)
* For high range MSI interrupts: disable, clear any pending,
* and enable
*/
nwl_bridge_writel
(
pcie
,
(
u32
)
~
MSGF_MSI_SR_HI_MASK
,
MSGF_MSI_MASK_HI
);
nwl_bridge_writel
(
pcie
,
0
,
MSGF_MSI_MASK_HI
);
nwl_bridge_writel
(
pcie
,
nwl_bridge_readl
(
pcie
,
MSGF_MSI_STATUS_HI
)
&
MSGF_MSI_SR_HI_MASK
,
MSGF_MSI_STATUS_HI
);
...
...
@@ -641,7 +641,7 @@ static int nwl_pcie_enable_msi(struct nwl_pcie *pcie)
* For low range MSI interrupts: disable, clear any pending,
* and enable
*/
nwl_bridge_writel
(
pcie
,
(
u32
)
~
MSGF_MSI_SR_LO_MASK
,
MSGF_MSI_MASK_LO
);
nwl_bridge_writel
(
pcie
,
0
,
MSGF_MSI_MASK_LO
);
nwl_bridge_writel
(
pcie
,
nwl_bridge_readl
(
pcie
,
MSGF_MSI_STATUS_LO
)
&
MSGF_MSI_SR_LO_MASK
,
MSGF_MSI_STATUS_LO
);
...
...
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