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
2c2277dc
Commit
2c2277dc
authored
Nov 25, 2015
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Imporove debug info about space registers and TLB configuration
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
fbdd9501
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
arch/parisc/include/asm/pdc.h
arch/parisc/include/asm/pdc.h
+1
-1
arch/parisc/kernel/cache.c
arch/parisc/kernel/cache.c
+22
-4
No files found.
arch/parisc/include/asm/pdc.h
View file @
2c2277dc
...
@@ -63,7 +63,7 @@ struct pdc_tlb_cf { /* for PDC_CACHE (I/D-TLB's) */
...
@@ -63,7 +63,7 @@ struct pdc_tlb_cf { /* for PDC_CACHE (I/D-TLB's) */
tc_page
:
1
,
/* 0 = 2K page-size-machine, 1 = 4k page size */
tc_page
:
1
,
/* 0 = 2K page-size-machine, 1 = 4k page size */
tc_cst
:
3
,
/* 0 = incoherent operations, else coherent operations */
tc_cst
:
3
,
/* 0 = incoherent operations, else coherent operations */
tc_aid
:
5
,
/* ITLB: width of access ids of processor (encoded!) */
tc_aid
:
5
,
/* ITLB: width of access ids of processor (encoded!) */
tc_
pad1
:
8
;
/* ITLB: width of space-registers (encoded) */
tc_
sr
:
8
;
/* ITLB: width of space-registers (encoded) */
};
};
struct
pdc_cache_info
{
/* main-PDC_CACHE-structure (caches & TLB's) */
struct
pdc_cache_info
{
/* main-PDC_CACHE-structure (caches & TLB's) */
...
...
arch/parisc/kernel/cache.c
View file @
2c2277dc
...
@@ -172,6 +172,24 @@ parisc_cache_init(void)
...
@@ -172,6 +172,24 @@ parisc_cache_init(void)
cache_info.ic_count,
cache_info.ic_count,
cache_info.ic_loop);
cache_info.ic_loop);
printk("IT base 0x%lx stride 0x%lx count 0x%lx loop 0x%lx off_base 0x%lx off_stride 0x%lx off_count 0x%lx\n",
cache_info.it_sp_base,
cache_info.it_sp_stride,
cache_info.it_sp_count,
cache_info.it_loop,
cache_info.it_off_base,
cache_info.it_off_stride,
cache_info.it_off_count);
printk("DT base 0x%lx stride 0x%lx count 0x%lx loop 0x%lx off_base 0x%lx off_stride 0x%lx off_count 0x%lx\n",
cache_info.dt_sp_base,
cache_info.dt_sp_stride,
cache_info.dt_sp_count,
cache_info.dt_loop,
cache_info.dt_off_base,
cache_info.dt_off_stride,
cache_info.dt_off_count);
printk("ic_conf = 0x%lx alias %d blk %d line %d shift %d\n",
printk("ic_conf = 0x%lx alias %d blk %d line %d shift %d\n",
*(unsigned long *) (&cache_info.ic_conf),
*(unsigned long *) (&cache_info.ic_conf),
cache_info.ic_conf.cc_alias,
cache_info.ic_conf.cc_alias,
...
@@ -184,19 +202,19 @@ parisc_cache_init(void)
...
@@ -184,19 +202,19 @@ parisc_cache_init(void)
cache_info.ic_conf.cc_cst,
cache_info.ic_conf.cc_cst,
cache_info.ic_conf.cc_hv);
cache_info.ic_conf.cc_hv);
printk("D-TLB conf: sh %d page %d cst %d aid %d
pad1
%d\n",
printk("D-TLB conf: sh %d page %d cst %d aid %d
sr
%d\n",
cache_info.dt_conf.tc_sh,
cache_info.dt_conf.tc_sh,
cache_info.dt_conf.tc_page,
cache_info.dt_conf.tc_page,
cache_info.dt_conf.tc_cst,
cache_info.dt_conf.tc_cst,
cache_info.dt_conf.tc_aid,
cache_info.dt_conf.tc_aid,
cache_info.dt_conf.tc_
pad1
);
cache_info.dt_conf.tc_
sr
);
printk("I-TLB conf: sh %d page %d cst %d aid %d
pad1
%d\n",
printk("I-TLB conf: sh %d page %d cst %d aid %d
sr
%d\n",
cache_info.it_conf.tc_sh,
cache_info.it_conf.tc_sh,
cache_info.it_conf.tc_page,
cache_info.it_conf.tc_page,
cache_info.it_conf.tc_cst,
cache_info.it_conf.tc_cst,
cache_info.it_conf.tc_aid,
cache_info.it_conf.tc_aid,
cache_info.it_conf.tc_
pad1
);
cache_info.it_conf.tc_
sr
);
#endif
#endif
split_tlb
=
0
;
split_tlb
=
0
;
...
...
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