Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
517e7610
Commit
517e7610
authored
8 years ago
by
Vineet Gupta
Browse files
Options
Download
Email Patches
Plain Diff
ARCv2: MCIP: update the BCR per current changes
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
36425cd6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
arch/arc/kernel/mcip.c
arch/arc/kernel/mcip.c
+1
-2
include/soc/arc/mcip.h
include/soc/arc/mcip.h
+8
-8
No files found.
arch/arc/kernel/mcip.c
View file @
517e7610
...
@@ -93,11 +93,10 @@ static void mcip_probe_n_setup(void)
...
@@ -93,11 +93,10 @@ static void mcip_probe_n_setup(void)
READ_BCR
(
ARC_REG_MCIP_BCR
,
mp
);
READ_BCR
(
ARC_REG_MCIP_BCR
,
mp
);
sprintf
(
smp_cpuinfo_buf
,
sprintf
(
smp_cpuinfo_buf
,
"Extn [SMP]
\t
: ARConnect (v%d): %d cores with %s%s%s%s
%s
\n
"
,
"Extn [SMP]
\t
: ARConnect (v%d): %d cores with %s%s%s%s
\n
"
,
mp
.
ver
,
mp
.
num_cores
,
mp
.
ver
,
mp
.
num_cores
,
IS_AVAIL1
(
mp
.
ipi
,
"IPI "
),
IS_AVAIL1
(
mp
.
ipi
,
"IPI "
),
IS_AVAIL1
(
mp
.
idu
,
"IDU "
),
IS_AVAIL1
(
mp
.
idu
,
"IDU "
),
IS_AVAIL1
(
mp
.
llm
,
"LLM "
),
IS_AVAIL1
(
mp
.
dbg
,
"DEBUG "
),
IS_AVAIL1
(
mp
.
dbg
,
"DEBUG "
),
IS_AVAIL1
(
mp
.
gfrc
,
"GFRC"
));
IS_AVAIL1
(
mp
.
gfrc
,
"GFRC"
));
...
...
This diff is collapsed.
Click to expand it.
include/soc/arc/mcip.h
View file @
517e7610
...
@@ -55,17 +55,17 @@ struct mcip_cmd {
...
@@ -55,17 +55,17 @@ struct mcip_cmd {
struct
mcip_bcr
{
struct
mcip_bcr
{
#ifdef CONFIG_CPU_BIG_ENDIAN
#ifdef CONFIG_CPU_BIG_ENDIAN
unsigned
int
pad3
:
8
,
unsigned
int
pad4
:
6
,
pw_dom
:
1
,
pad3
:
1
,
idu:
1
,
llm
:
1
,
num_cores
:
6
,
idu:
1
,
pad2
:
1
,
num_cores
:
6
,
iocoh
:
1
,
gfrc
:
1
,
dbg
:
1
,
p
ad2
:
1
,
pad
:
1
,
gfrc
:
1
,
dbg
:
1
,
p
w
:
1
,
msg:
1
,
sem
:
1
,
ipi
:
1
,
pad
:
1
,
msg:
1
,
sem
:
1
,
ipi
:
1
,
slv
:
1
,
ver:
8
;
ver:
8
;
#else
#else
unsigned
int
ver
:
8
,
unsigned
int
ver
:
8
,
pad
:
1
,
ipi
:
1
,
sem
:
1
,
msg
:
1
,
slv
:
1
,
ipi
:
1
,
sem
:
1
,
msg
:
1
,
p
ad2
:
1
,
dbg
:
1
,
gfrc
:
1
,
iocoh
:
1
,
p
w
:
1
,
dbg
:
1
,
gfrc
:
1
,
pad
:
1
,
num_cores:
6
,
llm
:
1
,
idu
:
1
,
num_cores:
6
,
pad2
:
1
,
idu
:
1
,
pad3:
8
;
pad3:
1
,
pw_dom
:
1
,
pad4
:
6
;
#endif
#endif
};
};
...
...
This diff is collapsed.
Click to expand it.
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