diff options
author | Jack Steiner <steiner@sgi.com> | 2010-01-13 00:09:04 +0300 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-01-15 22:08:55 +0300 |
commit | 7a1110e861b2666ac09f5708d6fbe71d18ce64bb (patch) | |
tree | 2958eb36de538330534c94ccfc5960133b3a4633 /arch/x86/include/asm/uv | |
parent | e68266b7001a4e29af083716f0c36c0d6dbb1b39 (diff) | |
download | linux-7a1110e861b2666ac09f5708d6fbe71d18ce64bb.tar.xz |
x86, uv: Add function retrieving node controller revision number
Add function for determining the revision id of the SGI UV
node controller chip (HUB). This function is needed in a
subsequent patch.
Signed-off-by: Jack Steiner <steiner@sgi.com>
LKML-Reference: <20100112210904.GA24546@sgi.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/uv')
-rw-r--r-- | arch/x86/include/asm/uv/uv_hub.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/include/asm/uv/uv_hub.h b/arch/x86/include/asm/uv/uv_hub.h index bc54fa965af3..40be813fefb1 100644 --- a/arch/x86/include/asm/uv/uv_hub.h +++ b/arch/x86/include/asm/uv/uv_hub.h @@ -495,5 +495,17 @@ static inline void uv_hub_send_ipi(int pnode, int apicid, int vector) uv_write_global_mmr64(pnode, UVH_IPI_INT, val); } +/* + * Get the minimum revision number of the hub chips within the partition. + * 1 - initial rev 1.0 silicon + * 2 - rev 2.0 production silicon + */ +static inline int uv_get_min_hub_revision_id(void) +{ + extern int uv_min_hub_revision_id; + + return uv_min_hub_revision_id; +} + #endif /* CONFIG_X86_64 */ #endif /* _ASM_X86_UV_UV_HUB_H */ |