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
5af47db7
Commit
5af47db7
authored
Oct 30, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Add some missing print_symbol() calls.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
9001f285
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
arch/sparc64/kernel/traps.c
arch/sparc64/kernel/traps.c
+8
-0
No files found.
arch/sparc64/kernel/traps.c
View file @
5af47db7
...
@@ -87,6 +87,7 @@ static void dump_tl1_traplog(struct tl1_traplog *p)
...
@@ -87,6 +87,7 @@ static void dump_tl1_traplog(struct tl1_traplog *p)
i
+
1
,
i
+
1
,
p
->
trapstack
[
i
].
tstate
,
p
->
trapstack
[
i
].
tpc
,
p
->
trapstack
[
i
].
tstate
,
p
->
trapstack
[
i
].
tpc
,
p
->
trapstack
[
i
].
tnpc
,
p
->
trapstack
[
i
].
tt
);
p
->
trapstack
[
i
].
tnpc
,
p
->
trapstack
[
i
].
tt
);
print_symbol
(
"TRAPLOG: TPC<%s>
\n
"
,
p
->
trapstack
[
i
].
tpc
);
}
}
}
}
...
@@ -1134,6 +1135,9 @@ static void cheetah_log_errors(struct pt_regs *regs, struct cheetah_err_info *in
...
@@ -1134,6 +1135,9 @@ static void cheetah_log_errors(struct pt_regs *regs, struct cheetah_err_info *in
printk
(
"%s"
"ERROR(%d): TPC[%lx] TNPC[%lx] O7[%lx] TSTATE[%lx]
\n
"
,
printk
(
"%s"
"ERROR(%d): TPC[%lx] TNPC[%lx] O7[%lx] TSTATE[%lx]
\n
"
,
(
recoverable
?
KERN_WARNING
:
KERN_CRIT
),
smp_processor_id
(),
(
recoverable
?
KERN_WARNING
:
KERN_CRIT
),
smp_processor_id
(),
regs
->
tpc
,
regs
->
tnpc
,
regs
->
u_regs
[
UREG_I7
],
regs
->
tstate
);
regs
->
tpc
,
regs
->
tnpc
,
regs
->
u_regs
[
UREG_I7
],
regs
->
tstate
);
printk
(
"%s"
"ERROR(%d): "
,
(
recoverable
?
KERN_WARNING
:
KERN_CRIT
),
smp_processor_id
());
print_symbol
(
"TPC<%s>
\n
"
,
regs
->
tpc
);
printk
(
"%s"
"ERROR(%d): M_SYND(%lx), E_SYND(%lx)%s%s
\n
"
,
printk
(
"%s"
"ERROR(%d): M_SYND(%lx), E_SYND(%lx)%s%s
\n
"
,
(
recoverable
?
KERN_WARNING
:
KERN_CRIT
),
smp_processor_id
(),
(
recoverable
?
KERN_WARNING
:
KERN_CRIT
),
smp_processor_id
(),
(
afsr
&
CHAFSR_M_SYNDROME
)
>>
CHAFSR_M_SYNDROME_SHIFT
,
(
afsr
&
CHAFSR_M_SYNDROME
)
>>
CHAFSR_M_SYNDROME_SHIFT
,
...
@@ -1741,6 +1745,7 @@ void cheetah_plus_parity_error(int type, struct pt_regs *regs)
...
@@ -1741,6 +1745,7 @@ void cheetah_plus_parity_error(int type, struct pt_regs *regs)
smp_processor_id
(),
smp_processor_id
(),
(
type
&
0x1
)
?
'I'
:
'D'
,
(
type
&
0x1
)
?
'I'
:
'D'
,
regs
->
tpc
);
regs
->
tpc
);
print_symbol
(
KERN_EMERG
"TPC<%s>
\n
"
,
regs
->
tpc
);
panic
(
"Irrecoverable Cheetah+ parity error."
);
panic
(
"Irrecoverable Cheetah+ parity error."
);
}
}
...
@@ -1748,6 +1753,7 @@ void cheetah_plus_parity_error(int type, struct pt_regs *regs)
...
@@ -1748,6 +1753,7 @@ void cheetah_plus_parity_error(int type, struct pt_regs *regs)
smp_processor_id
(),
smp_processor_id
(),
(
type
&
0x1
)
?
'I'
:
'D'
,
(
type
&
0x1
)
?
'I'
:
'D'
,
regs
->
tpc
);
regs
->
tpc
);
print_symbol
(
KERN_WARNING
"TPC<%s>
\n
"
,
regs
->
tpc
);
}
}
struct
sun4v_error_entry
{
struct
sun4v_error_entry
{
...
@@ -1946,6 +1952,7 @@ void sun4v_itlb_error_report(struct pt_regs *regs, int tl)
...
@@ -1946,6 +1952,7 @@ void sun4v_itlb_error_report(struct pt_regs *regs, int tl)
printk
(
KERN_EMERG
"SUN4V-ITLB: Error at TPC[%lx], tl %d
\n
"
,
printk
(
KERN_EMERG
"SUN4V-ITLB: Error at TPC[%lx], tl %d
\n
"
,
regs
->
tpc
,
tl
);
regs
->
tpc
,
tl
);
print_symbol
(
KERN_EMERG
"SUN4V-ITLB: TPC<%s>
\n
"
,
regs
->
tpc
);
printk
(
KERN_EMERG
"SUN4V-ITLB: vaddr[%lx] ctx[%lx] "
printk
(
KERN_EMERG
"SUN4V-ITLB: vaddr[%lx] ctx[%lx] "
"pte[%lx] error[%lx]
\n
"
,
"pte[%lx] error[%lx]
\n
"
,
sun4v_err_itlb_vaddr
,
sun4v_err_itlb_ctx
,
sun4v_err_itlb_vaddr
,
sun4v_err_itlb_ctx
,
...
@@ -1966,6 +1973,7 @@ void sun4v_dtlb_error_report(struct pt_regs *regs, int tl)
...
@@ -1966,6 +1973,7 @@ void sun4v_dtlb_error_report(struct pt_regs *regs, int tl)
printk
(
KERN_EMERG
"SUN4V-DTLB: Error at TPC[%lx], tl %d
\n
"
,
printk
(
KERN_EMERG
"SUN4V-DTLB: Error at TPC[%lx], tl %d
\n
"
,
regs
->
tpc
,
tl
);
regs
->
tpc
,
tl
);
print_symbol
(
KERN_EMERG
"SUN4V-DTLB: TPC<%s>
\n
"
,
regs
->
tpc
);
printk
(
KERN_EMERG
"SUN4V-DTLB: vaddr[%lx] ctx[%lx] "
printk
(
KERN_EMERG
"SUN4V-DTLB: vaddr[%lx] ctx[%lx] "
"pte[%lx] error[%lx]
\n
"
,
"pte[%lx] error[%lx]
\n
"
,
sun4v_err_dtlb_vaddr
,
sun4v_err_dtlb_ctx
,
sun4v_err_dtlb_vaddr
,
sun4v_err_dtlb_ctx
,
...
...
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