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
b7225e4f
Commit
b7225e4f
authored
Jul 23, 2009
by
Borislav Petkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amd64_edac: remove memory and GART TLB error decoders
Signed-off-by:
Borislav Petkov
<
borislav.petkov@amd.com
>
parent
5110dbde
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
29 deletions
+7
-29
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.c
+7
-29
No files found.
drivers/edac/amd64_edac.c
View file @
b7225e4f
...
@@ -2209,28 +2209,6 @@ static int amd64_get_error_info(struct mem_ctl_info *mci,
...
@@ -2209,28 +2209,6 @@ static int amd64_get_error_info(struct mem_ctl_info *mci,
return
1
;
return
1
;
}
}
static
inline
void
amd64_decode_gart_tlb_error
(
struct
mem_ctl_info
*
mci
,
struct
err_regs
*
info
)
{
u32
ec
=
ERROR_CODE
(
info
->
nbsl
);
amd64_mc_printk
(
mci
,
KERN_ERR
,
"GART TLB event: transaction type(%s), "
"cache level(%s)
\n
"
,
TT_MSG
(
ec
),
LL_MSG
(
ec
));
}
static
inline
void
amd64_decode_mem_cache_error
(
struct
mem_ctl_info
*
mci
,
struct
err_regs
*
info
)
{
u32
ec
=
ERROR_CODE
(
info
->
nbsl
);
amd64_mc_printk
(
mci
,
KERN_ERR
,
"cache hierarchy error: memory transaction type(%s), "
"transaction type(%s), cache level(%s)
\n
"
,
RRRR_MSG
(
ec
),
TT_MSG
(
ec
),
LL_MSG
(
ec
));
}
/*
/*
* Handle any Correctable Errors (CEs) that have occurred. Check for valid ERROR
* Handle any Correctable Errors (CEs) that have occurred. Check for valid ERROR
* ADDRESS and process.
* ADDRESS and process.
...
@@ -2411,19 +2389,19 @@ void amd64_decode_nb_mce(struct mem_ctl_info *mci, struct err_regs *regs,
...
@@ -2411,19 +2389,19 @@ void amd64_decode_nb_mce(struct mem_ctl_info *mci, struct err_regs *regs,
if
(
!
report_gart_errors
)
if
(
!
report_gart_errors
)
return
;
return
;
pr_emerg
(
"
GART TLB error
\n
"
);
pr_emerg
(
"
GART TLB error, Transaction: %s, Cache Level %s
\n
"
,
amd64_decode_gart_tlb_error
(
mci
,
regs
);
TT_MSG
(
ec
),
LL_MSG
(
ec
)
);
}
else
if
(
MEM_ERROR
(
ec
))
{
}
else
if
(
MEM_ERROR
(
ec
))
{
pr_emerg
(
"Memory/Cache error
\n
"
);
pr_emerg
(
" Memory/Cache error, Transaction: %s, Type: %s,"
amd64_decode_mem_cache_error
(
mci
,
regs
);
" Cache Level: %s"
,
RRRR_MSG
(
ec
),
TT_MSG
(
ec
),
LL_MSG
(
ec
));
}
else
if
(
BUS_ERROR
(
ec
))
{
}
else
if
(
BUS_ERROR
(
ec
))
{
pr_emerg
(
"Bus (Link/DRAM) error
\n
"
);
pr_emerg
(
"
Bus (Link/DRAM) error
\n
"
);
amd64_decode_bus_error
(
mci
,
regs
);
amd64_decode_bus_error
(
mci
,
regs
);
}
else
{
}
else
{
/* shouldn't reach here! */
/* shouldn't reach here! */
amd64_mc_printk
(
mci
,
KERN_WARNING
,
amd64_mc_printk
(
mci
,
KERN_WARNING
,
"%s(): unknown MCE error 0x%x
\n
"
,
__func__
,
"%s(): unknown MCE error 0x%x
\n
"
,
__func__
,
ec
);
ec
);
}
}
pr_emerg
(
"%s.
\n
"
,
EXT_ERR_MSG
(
xec
));
pr_emerg
(
"%s.
\n
"
,
EXT_ERR_MSG
(
xec
));
...
...
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