diff options
author | Helge Deller <deller@gmx.de> | 2016-11-17 21:27:50 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-12-12 22:28:09 +0100 |
commit | 637250cc8f5e2bfc5c3a96802d1d96b4987a1d62 (patch) | |
tree | 0c6d2c70971ff8314564fcde4e4c830f9d1dfa54 /arch/parisc/include/asm/pdcpat.h | |
parent | parisc: Re-enable interrupts early (diff) | |
download | linux-637250cc8f5e2bfc5c3a96802d1d96b4987a1d62.tar.xz linux-637250cc8f5e2bfc5c3a96802d1d96b4987a1d62.zip |
parisc: Enhance CPU detection code on PAT machines
This patch fixes the debug code which runs during the inventory scan on
machines with PAT firmware.
Additionally print out the relationship between the detected logical CPU
number and it's physical location and physical cpu number.
This leads to information which can be used to feed numa-structures in
the kernel in later patches. An example output is from my single-CPU (2
cores) C8000 machine is:
Logical CPU #0 is physical cpu #0 at 0xffff0000ffff15, hpa 0xfffffffffe780000
Logical CPU #1 is physical cpu #1 at 0xffff0000ffff15, hpa 0xfffffffffe781000
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/pdcpat.h')
-rw-r--r-- | arch/parisc/include/asm/pdcpat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/pdcpat.h b/arch/parisc/include/asm/pdcpat.h index 47539f117958..e1d289092705 100644 --- a/arch/parisc/include/asm/pdcpat.h +++ b/arch/parisc/include/asm/pdcpat.h @@ -289,7 +289,7 @@ extern int pdc_pat_cell_get_number(struct pdc_pat_cell_num *cell_info); extern int pdc_pat_cell_module(unsigned long *actcnt, unsigned long ploc, unsigned long mod, unsigned long view_type, void *mem_addr); extern int pdc_pat_cell_num_to_loc(void *, unsigned long); -extern int pdc_pat_cpu_get_number(struct pdc_pat_cpu_num *cpu_info, void *hpa); +extern int pdc_pat_cpu_get_number(struct pdc_pat_cpu_num *cpu_info, unsigned long hpa); extern int pdc_pat_pd_get_addr_map(unsigned long *actual_len, void *mem_addr, unsigned long count, unsigned long offset); |