diff options
author | Helge Deller <deller@gmx.de> | 2017-01-08 13:01:11 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-05-10 18:46:14 +0300 |
commit | c8c3735997a3aa184fa81742bb6c4062a26af2f3 (patch) | |
tree | 3d6e8864e8935ac167efc3313913444b4eb2e811 /arch/parisc/include/asm/processor.h | |
parent | c3e5523fcffdc9df8faa7d66f5ad8c1c833e1795 (diff) | |
download | linux-c8c3735997a3aa184fa81742bb6c4062a26af2f3.tar.xz |
parisc: Enhance detection of synchronous cr16 clocksources
The cr16 clocks of the physical PARISC CPUs are usually nonsynchronous.
Nevertheless, it seems that each CPU socket (which holds two cores) of
PA8800 and PA8900 CPUs (e.g. in a C8000 workstation) is fed by the same
clock source, which makes the cr16 clocks of each CPU socket syncronous.
Let's try to detect such situations and mark the cr16 clocksource stable
on single-socket and single-core machines.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/processor.h')
-rw-r--r-- | arch/parisc/include/asm/processor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h index a3661ee6b060..ea4e6ae091d0 100644 --- a/arch/parisc/include/asm/processor.h +++ b/arch/parisc/include/asm/processor.h @@ -103,6 +103,8 @@ struct cpuinfo_parisc { unsigned long bh_count; /* number of times bh was invoked */ unsigned long fp_rev; unsigned long fp_model; + unsigned long cpu_num; /* CPU number from PAT firmware */ + unsigned long cpu_loc; /* CPU location from PAT firmware */ unsigned int state; struct parisc_device *dev; unsigned long loops_per_jiffy; |