Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
83ebb3e3
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
83ebb3e3
编写于
4月 05, 2011
作者:
B
Benjamin Herrenschmidt
浏览文件
操作
浏览文件
下载
差异文件
Merge remote branch 'kumar/merge' into merge
上级
b2a8b4b8
a94d7b35
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
38 addition
and
27 deletion
+38
-27
arch/powerpc/boot/dts/p1020rdb.dts
arch/powerpc/boot/dts/p1020rdb.dts
+6
-6
arch/powerpc/boot/dts/p2020rdb.dts
arch/powerpc/boot/dts/p2020rdb.dts
+6
-6
arch/powerpc/boot/dts/p2020rdb_camp_core0.dts
arch/powerpc/boot/dts/p2020rdb_camp_core0.dts
+2
-2
arch/powerpc/boot/dts/p2020rdb_camp_core1.dts
arch/powerpc/boot/dts/p2020rdb_camp_core1.dts
+5
-5
drivers/edac/mpc85xx_edac.c
drivers/edac/mpc85xx_edac.c
+19
-8
未找到文件。
arch/powerpc/boot/dts/p1020rdb.dts
浏览文件 @
83ebb3e3
/*
*
P1020
RDB
Device
Tree
Source
*
*
Copyright
2009
Freescale
Semiconductor
Inc
.
*
Copyright
2009
-
2011
Freescale
Semiconductor
Inc
.
*
*
This
program
is
free
software
;
you
can
redistribute
it
and
/
or
modify
it
*
under
the
terms
of
the
GNU
General
Public
License
as
published
by
the
...
...
@@ -553,7 +553,7 @@
reg = <0 0xffe09000 0 0x1000>;
bus-range = <0 255>;
ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
0x1000000 0x0 0x00000000 0 0xffc
3
0000 0x0 0x10000>;
0x1000000 0x0 0x00000000 0 0xffc
1
0000 0x0 0x10000>;
clock-frequency = <33333333>;
interrupt-parent = <&mpic>;
interrupts = <16 2>;
...
...
@@ -580,8 +580,8 @@
#address-cells = <3>;
reg = <0 0xffe0a000 0 0x1000>;
bus-range = <0 255>;
ranges = <0x2000000 0x0 0x
c0000000 0 0xc
0000000 0x0 0x20000000
0x1000000 0x0 0x00000000 0 0xffc
2
0000 0x0 0x10000>;
ranges = <0x2000000 0x0 0x
80000000 0 0x8
0000000 0x0 0x20000000
0x1000000 0x0 0x00000000 0 0xffc
0
0000 0x0 0x10000>;
clock-frequency = <33333333>;
interrupt-parent = <&mpic>;
interrupts = <16 2>;
...
...
@@ -590,8 +590,8 @@
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
ranges = <0x2000000 0x0 0x
c
0000000
0x2000000 0x0 0x
c
0000000
ranges = <0x2000000 0x0 0x
8
0000000
0x2000000 0x0 0x
8
0000000
0x0 0x20000000
0x1000000 0x0 0x0
...
...
arch/powerpc/boot/dts/p2020rdb.dts
浏览文件 @
83ebb3e3
/*
*
P2020
RDB
Device
Tree
Source
*
*
Copyright
2009
Freescale
Semiconductor
Inc
.
*
Copyright
2009
-
2011
Freescale
Semiconductor
Inc
.
*
*
This
program
is
free
software
;
you
can
redistribute
it
and
/
or
modify
it
*
under
the
terms
of
the
GNU
General
Public
License
as
published
by
the
...
...
@@ -537,7 +537,7 @@
reg
=
<
0
0xffe09000
0
0x1000
>;
bus
-
range
=
<
0
255
>;
ranges
=
<
0x2000000
0x0
0xa0000000
0
0xa0000000
0x0
0x20000000
0x1000000
0x0
0x00000000
0
0xffc
3
0000
0x0
0x10000
>;
0x1000000
0x0
0x00000000
0
0xffc
1
0000
0x0
0x10000
>;
clock
-
frequency
=
<
33333333
>;
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
25
2
>;
...
...
@@ -564,8 +564,8 @@
#
address
-
cells
=
<
3
>;
reg
=
<
0
0xffe0a000
0
0x1000
>;
bus
-
range
=
<
0
255
>;
ranges
=
<
0x2000000
0x0
0x
c0000000
0
0xc
0000000
0x0
0x20000000
0x1000000
0x0
0x00000000
0
0xffc
2
0000
0x0
0x10000
>;
ranges
=
<
0x2000000
0x0
0x
80000000
0
0x8
0000000
0x0
0x20000000
0x1000000
0x0
0x00000000
0
0xffc
0
0000
0x0
0x10000
>;
clock
-
frequency
=
<
33333333
>;
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
26
2
>;
...
...
@@ -574,8 +574,8 @@
#
size
-
cells
=
<
2
>;
#
address
-
cells
=
<
3
>;
device_type
=
"pci"
;
ranges
=
<
0x2000000
0x0
0x
c
0000000
0x2000000
0x0
0x
c
0000000
ranges
=
<
0x2000000
0x0
0x
8
0000000
0x2000000
0x0
0x
8
0000000
0x0
0x20000000
0x1000000
0x0
0x0
...
...
arch/powerpc/boot/dts/p2020rdb_camp_core0.dts
浏览文件 @
83ebb3e3
...
...
@@ -6,7 +6,7 @@
*
This
dts
file
allows
core0
to
have
memory
,
l2
,
i2c
,
spi
,
gpio
,
dma1
,
usb
,
*
eth1
,
eth2
,
sdhc
,
crypto
,
global
-
util
,
pci0
.
*
*
Copyright
2009
Freescale
Semiconductor
Inc
.
*
Copyright
2009
-
2011
Freescale
Semiconductor
Inc
.
*
*
This
program
is
free
software
;
you
can
redistribute
it
and
/
or
modify
it
*
under
the
terms
of
the
GNU
General
Public
License
as
published
by
the
...
...
@@ -342,7 +342,7 @@
reg
=
<
0
0xffe09000
0
0x1000
>;
bus
-
range
=
<
0
255
>;
ranges
=
<
0x2000000
0x0
0xa0000000
0
0xa0000000
0x0
0x20000000
0x1000000
0x0
0x00000000
0
0xffc
3
0000
0x0
0x10000
>;
0x1000000
0x0
0x00000000
0
0xffc
1
0000
0x0
0x10000
>;
clock
-
frequency
=
<
33333333
>;
interrupt
-
parent
=
<&
mpic
>;
interrupts
=
<
25
2
>;
...
...
arch/powerpc/boot/dts/p2020rdb_camp_core1.dts
浏览文件 @
83ebb3e3
...
...
@@ -7,7 +7,7 @@
*
*
Please
note
to
add
"-b 1"
for
core1
's dts compiling.
*
* Copyright 2009 Freescale Semiconductor Inc.
* Copyright 2009
-2011
Freescale Semiconductor Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
...
...
@@ -162,8 +162,8 @@
#address-cells = <3>;
reg = <0 0xffe0a000 0 0x1000>;
bus-range = <0 255>;
ranges = <0x2000000 0x0 0x
c0000000 0 0xc
0000000 0x0 0x20000000
0x1000000 0x0 0x00000000 0 0xffc
2
0000 0x0 0x10000>;
ranges = <0x2000000 0x0 0x
80000000 0 0x8
0000000 0x0 0x20000000
0x1000000 0x0 0x00000000 0 0xffc
0
0000 0x0 0x10000>;
clock-frequency = <33333333>;
interrupt-parent = <&mpic>;
interrupts = <26 2>;
...
...
@@ -172,8 +172,8 @@
#size-cells = <2>;
#address-cells = <3>;
device_type = "pci";
ranges = <0x2000000 0x0 0x
c
0000000
0x2000000 0x0 0x
c
0000000
ranges = <0x2000000 0x0 0x
8
0000000
0x2000000 0x0 0x
8
0000000
0x0 0x20000000
0x1000000 0x0 0x0
...
...
drivers/edac/mpc85xx_edac.c
浏览文件 @
83ebb3e3
...
...
@@ -1147,13 +1147,14 @@ static struct platform_driver mpc85xx_mc_err_driver = {
static
void
__init
mpc85xx_mc_clear_rfxe
(
void
*
data
)
{
orig_hid1
[
smp_processor_id
()]
=
mfspr
(
SPRN_HID1
);
mtspr
(
SPRN_HID1
,
(
orig_hid1
[
smp_processor_id
()]
&
~
0x20000
));
mtspr
(
SPRN_HID1
,
(
orig_hid1
[
smp_processor_id
()]
&
~
HID1_RFXE
));
}
#endif
static
int
__init
mpc85xx_mc_init
(
void
)
{
int
res
=
0
;
u32
pvr
=
0
;
printk
(
KERN_INFO
"Freescale(R) MPC85xx EDAC driver, "
"(C) 2006 Montavista Software
\n
"
);
...
...
@@ -1183,12 +1184,17 @@ static int __init mpc85xx_mc_init(void)
#endif
#ifdef CONFIG_FSL_SOC_BOOKE
/*
* need to clear HID1[RFXE] to disable machine check int
* so we can catch it
*/
if
(
edac_op_state
==
EDAC_OPSTATE_INT
)
on_each_cpu
(
mpc85xx_mc_clear_rfxe
,
NULL
,
0
);
pvr
=
mfspr
(
SPRN_PVR
);
if
((
PVR_VER
(
pvr
)
==
PVR_VER_E500V1
)
||
(
PVR_VER
(
pvr
)
==
PVR_VER_E500V2
))
{
/*
* need to clear HID1[RFXE] to disable machine check int
* so we can catch it
*/
if
(
edac_op_state
==
EDAC_OPSTATE_INT
)
on_each_cpu
(
mpc85xx_mc_clear_rfxe
,
NULL
,
0
);
}
#endif
return
0
;
...
...
@@ -1206,7 +1212,12 @@ static void __exit mpc85xx_mc_restore_hid1(void *data)
static
void
__exit
mpc85xx_mc_exit
(
void
)
{
#ifdef CONFIG_FSL_SOC_BOOKE
on_each_cpu
(
mpc85xx_mc_restore_hid1
,
NULL
,
0
);
u32
pvr
=
mfspr
(
SPRN_PVR
);
if
((
PVR_VER
(
pvr
)
==
PVR_VER_E500V1
)
||
(
PVR_VER
(
pvr
)
==
PVR_VER_E500V2
))
{
on_each_cpu
(
mpc85xx_mc_restore_hid1
,
NULL
,
0
);
}
#endif
#ifdef CONFIG_PCI
platform_driver_unregister
(
&
mpc85xx_pci_err_driver
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录