Skip to content

Commit 8dcc0e1

Browse files
mike-travissuryasaimadhu
authored andcommitted
x86/platform/uv: Fix UV4 hub revision adjustment
Currently, UV4 is incorrectly identified as UV4A and UV4A as UV5. Hub chip starts with revision 1, fix it. [ bp: Massage commit message. ] Fixes: 647128f ("x86/platform/uv: Update UV MMRs for UV5") Signed-off-by: Mike Travis <mike.travis@hpe.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Steve Wahl <steve.wahl@hpe.com> Acked-by: Dimitri Sivanich <dimitri.sivanich@hpe.com> Link: https://lkml.kernel.org/r/20201203152252.371199-1-mike.travis@hpe.com
1 parent fae3a13 commit 8dcc0e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/kernel/apic/x2apic_uv_x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static int __init early_set_hub_type(void)
161161
/* UV4/4A only have a revision difference */
162162
case UV4_HUB_PART_NUMBER:
163163
uv_min_hub_revision_id = node_id.s.revision
164-
+ UV4_HUB_REVISION_BASE;
164+
+ UV4_HUB_REVISION_BASE - 1;
165165
uv_hub_type_set(UV4);
166166
if (uv_min_hub_revision_id == UV4A_HUB_REVISION_BASE)
167167
uv_hub_type_set(UV4|UV4A);

0 commit comments

Comments
 (0)