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
2cbd42db
Commit
2cbd42db
authored
Mar 27, 2007
by
Kyle McMartin
Committed by
Kyle McMartin
May 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PARISC] Let PA-8900 processors boot
Signed-off-by:
Kyle McMartin
<
kyle@parisc-linux.org
>
parent
27f282b9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
6 deletions
+12
-6
arch/parisc/kernel/hardware.c
arch/parisc/kernel/hardware.c
+3
-1
arch/parisc/kernel/perf.c
arch/parisc/kernel/perf.c
+4
-2
arch/parisc/kernel/setup.c
arch/parisc/kernel/setup.c
+1
-0
include/asm-parisc/hardware.h
include/asm-parisc/hardware.h
+2
-1
include/asm-parisc/processor.h
include/asm-parisc/processor.h
+2
-2
No files found.
arch/parisc/kernel/hardware.c
View file @
2cbd42db
...
@@ -1296,6 +1296,7 @@ static struct hp_cpu_type_mask {
...
@@ -1296,6 +1296,7 @@ static struct hp_cpu_type_mask {
{
0x05f0
,
0x0ff0
,
pcxw2
},
/* 0x05f0 - 0x05ff */
{
0x05f0
,
0x0ff0
,
pcxw2
},
/* 0x05f0 - 0x05ff */
{
0x0600
,
0x0fe0
,
pcxl
},
/* 0x0600 - 0x061f */
{
0x0600
,
0x0fe0
,
pcxl
},
/* 0x0600 - 0x061f */
{
0x0880
,
0x0ff0
,
mako
},
/* 0x0880 - 0x088f */
{
0x0880
,
0x0ff0
,
mako
},
/* 0x0880 - 0x088f */
{
0x0890
,
0x0ff0
,
mako2
},
/* 0x0890 - 0x089f */
{
0x0000
,
0x0000
,
pcx
}
/* terminate table */
{
0x0000
,
0x0000
,
pcx
}
/* terminate table */
};
};
...
@@ -1311,7 +1312,8 @@ char *cpu_name_version[][2] = {
...
@@ -1311,7 +1312,8 @@ char *cpu_name_version[][2] = {
[
pcxw
]
=
{
"PA8500 (PCX-W)"
,
"2.0"
},
[
pcxw
]
=
{
"PA8500 (PCX-W)"
,
"2.0"
},
[
pcxw_
]
=
{
"PA8600 (PCX-W+)"
,
"2.0"
},
[
pcxw_
]
=
{
"PA8600 (PCX-W+)"
,
"2.0"
},
[
pcxw2
]
=
{
"PA8700 (PCX-W2)"
,
"2.0"
},
[
pcxw2
]
=
{
"PA8700 (PCX-W2)"
,
"2.0"
},
[
mako
]
=
{
"PA8800 (Mako)"
,
"2.0"
}
[
mako
]
=
{
"PA8800 (Mako)"
,
"2.0"
},
[
mako2
]
=
{
"PA8900 (Shortfin)"
,
"2.0"
}
};
};
const
char
*
__init
const
char
*
__init
...
...
arch/parisc/kernel/perf.c
View file @
2cbd42db
...
@@ -511,10 +511,12 @@ static int __init perf_init(void)
...
@@ -511,10 +511,12 @@ static int __init perf_init(void)
}
else
if
(
boot_cpu_data
.
cpu_type
==
pcxw
||
}
else
if
(
boot_cpu_data
.
cpu_type
==
pcxw
||
boot_cpu_data
.
cpu_type
==
pcxw_
||
boot_cpu_data
.
cpu_type
==
pcxw_
||
boot_cpu_data
.
cpu_type
==
pcxw2
||
boot_cpu_data
.
cpu_type
==
pcxw2
||
boot_cpu_data
.
cpu_type
==
mako
)
{
boot_cpu_data
.
cpu_type
==
mako
||
boot_cpu_data
.
cpu_type
==
mako2
)
{
perf_processor_interface
=
CUDA_INTF
;
perf_processor_interface
=
CUDA_INTF
;
if
(
boot_cpu_data
.
cpu_type
==
pcxw2
||
if
(
boot_cpu_data
.
cpu_type
==
pcxw2
||
boot_cpu_data
.
cpu_type
==
mako
)
boot_cpu_data
.
cpu_type
==
mako
||
boot_cpu_data
.
cpu_type
==
mako2
)
bitmask_array
=
perf_bitmasks_piranha
;
bitmask_array
=
perf_bitmasks_piranha
;
}
else
{
}
else
{
perf_processor_interface
=
UNKNOWN_INTF
;
perf_processor_interface
=
UNKNOWN_INTF
;
...
...
arch/parisc/kernel/setup.c
View file @
2cbd42db
...
@@ -225,6 +225,7 @@ static void __init parisc_proc_mkdir(void)
...
@@ -225,6 +225,7 @@ static void __init parisc_proc_mkdir(void)
}
}
break
;
break
;
case
mako
:
case
mako
:
case
mako2
:
if
(
NULL
==
proc_mckinley_root
)
if
(
NULL
==
proc_mckinley_root
)
{
{
proc_mckinley_root
=
proc_mkdir
(
"bus/mckinley"
,
NULL
);
proc_mckinley_root
=
proc_mkdir
(
"bus/mckinley"
,
NULL
);
...
...
include/asm-parisc/hardware.h
View file @
2cbd42db
...
@@ -31,7 +31,8 @@ enum cpu_type {
...
@@ -31,7 +31,8 @@ enum cpu_type {
pcxw
=
8
,
/* pa8500 pa 2.0 */
pcxw
=
8
,
/* pa8500 pa 2.0 */
pcxw_
=
9
,
/* pa8600 (w+) pa 2.0 */
pcxw_
=
9
,
/* pa8600 (w+) pa 2.0 */
pcxw2
=
10
,
/* pa8700 pa 2.0 */
pcxw2
=
10
,
/* pa8700 pa 2.0 */
mako
=
11
/* pa8800 pa 2.0 */
mako
=
11
,
/* pa8800 pa 2.0 */
mako2
=
12
/* pa8900 pa 2.0 */
};
};
extern
char
*
cpu_name_version
[][
2
];
/* mapping from enum cpu_type to strings */
extern
char
*
cpu_name_version
[][
2
];
/* mapping from enum cpu_type to strings */
...
...
include/asm-parisc/processor.h
View file @
2cbd42db
...
@@ -334,8 +334,8 @@ extern unsigned long get_wchan(struct task_struct *p);
...
@@ -334,8 +334,8 @@ extern unsigned long get_wchan(struct task_struct *p);
static
inline
int
parisc_requires_coherency
(
void
)
static
inline
int
parisc_requires_coherency
(
void
)
{
{
#ifdef CONFIG_PA8X00
#ifdef CONFIG_PA8X00
/* FIXME: also pa8900 - when we see one */
return
(
boot_cpu_data
.
cpu_type
==
mako
)
||
return
boot_cpu_data
.
cpu_type
==
mako
;
(
boot_cpu_data
.
cpu_type
==
mako2
)
;
#else
#else
return
0
;
return
0
;
#endif
#endif
...
...
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