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
7474ef6f
Commit
7474ef6f
authored
Aug 19, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: fixes for pci_name() changes
parent
9b3fd877
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
arch/ppc64/kernel/eeh.c
arch/ppc64/kernel/eeh.c
+11
-2
arch/ppc64/kernel/pSeries_pci.c
arch/ppc64/kernel/pSeries_pci.c
+2
-0
No files found.
arch/ppc64/kernel/eeh.c
View file @
7474ef6f
...
...
@@ -115,8 +115,17 @@ unsigned long eeh_check_failure(void *token, unsigned long val)
ret
=
rtas_call
(
ibm_read_slot_reset_state
,
3
,
3
,
rets
,
dn
->
eeh_config_addr
,
BUID_HI
(
dn
->
phb
->
buid
),
BUID_LO
(
dn
->
phb
->
buid
));
if
(
ret
==
0
&&
rets
[
1
]
==
1
&&
rets
[
0
]
>=
2
)
{
panic
(
"EEH: MMIO failure (%ld) on device:
\n
%s %s
\n
"
,
rets
[
0
],
pci_name
(
dev
),
dev
->
dev
.
name
);
/*
* XXX We should create a separate sysctl for this.
*
* Since the panic_on_oops sysctl is used to halt
* the system in light of potential corruption, we
* can use it here.
*/
if
(
panic_on_oops
)
panic
(
"EEH: MMIO failure (%ld) on device:
\n
%s
\n
"
,
rets
[
0
],
pci_name
(
dev
));
else
printk
(
"EEH: MMIO failure (%ld) on device:
\n
%s
\n
"
,
rets
[
0
],
pci_name
(
dev
));
}
}
eeh_false_positives
++
;
...
...
arch/ppc64/kernel/pSeries_pci.c
View file @
7474ef6f
...
...
@@ -427,6 +427,7 @@ unsigned long __init find_and_init_phbs(void)
void
pcibios_name_device
(
struct
pci_dev
*
dev
)
{
#if 0
struct device_node *dn;
/*
...
...
@@ -446,6 +447,7 @@ void pcibios_name_device(struct pci_dev *dev)
}
}
}
#endif
}
void
__init
pcibios_fixup_device_resources
(
struct
pci_dev
*
dev
,
...
...
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