Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp659565pxu; Thu, 3 Dec 2020 09:28:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGaXgAbvgk50TBdi1qACqWDzgaIaKSAy6OEaisq3bX5xPt+UyfxdkVryFk+cf0JWyrT7jf X-Received: by 2002:a17:906:7d98:: with SMTP id v24mr3529669ejo.129.1607016538514; Thu, 03 Dec 2020 09:28:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607016538; cv=none; d=google.com; s=arc-20160816; b=tKFLKsUYW8ivfS9ljbOOMFSfZVICZdidlzIYubW1ArTtTmvJFqIAAOc6xRAp/BjhSD g4GVAwghIx11GPjnFKz1N8NML/e1Wnc4Iv3yTGPrB1wT37InG/q8a1TS0GxXxxE4CcNR hbJIgYkXSmTk2ZrlBmnH7t9TP3gOrNZrune2JdKxHWrlIgx1A1tPwD9pqveenV+xfEHV rngFpw86vVSWIxboN7WQDMBE+PxY5nv4QOvWwvL9Iu3YmUbdJU4L0Ct8tuFPOLHIX14V VUfpY/jlgyxCWwu7taXgnPbEbqx8d/hxl6gkisNd7HN+1WTs5om8rAJ+7ZvZ+sriNV6q JkEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=3ENOrf4pJnjaltkMdfBqRyQRe5scB86a028pmLJHifg=; b=qPf0VN9Fie3S7tsOyxg1wK6Z4r3gmA5c5JwIgdTma6jKgWuGhz+DP5I0bdxh5Okoit jlGdShP2YYBrR2v9Jo74IYh1GEIfT5dMXi1npDCYTqKgL2NthROgMgd4zKzNzwOF2Vjr KPHzSbjFdDKbzjAQpBxVgvpKtXUD4r2XIZgOD/yJ3AIiB87ng2TuYyS4WfZ4Ef6UltAO xDMx9ofB6W1XvuP+UG3bbFyZ2phlNDZFYCr3En3QLiE+QDp4Cj6/he0oH7qDeGj/KDlT kR08xuB3v5TDc9QEgQWnv5R4hBGp5D/rz0+32ldOpr79AwbGfE4OXPLv2HI3ByFmCi7v hFgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=F3gQ6KIu; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j1si1262124edf.417.2020.12.03.09.28.29; Thu, 03 Dec 2020 09:28:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=F3gQ6KIu; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726167AbgLCR0D (ORCPT + 99 others); Thu, 3 Dec 2020 12:26:03 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:41798 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbgLCR0C (ORCPT ); Thu, 3 Dec 2020 12:26:02 -0500 Date: Thu, 03 Dec 2020 17:25:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1607016320; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3ENOrf4pJnjaltkMdfBqRyQRe5scB86a028pmLJHifg=; b=F3gQ6KIutH7hi9RYZDmzUE90gRdytpxxaj7Sl1XgOFPUDjzHKCTBUeOiyE8vJZfaS3Qu+o 9lvN5M6At1NpwUqsvvzyAYvm2nxSrRpAhR7QEOO4AqVf4uRSgA517LUhKvmG0qX6E9oTmT 0gE4fjlZ6yhyNUcJDsc3xq4k1qaXjRFs2qrwz3hGVwhUDtZxzXZiO+AF6CBpd0RW9w9IXK BazU86qtLvbBxKqwjM9zCLgE3oC3VbpTSe1Je7S4t9WdffEU6ZQrSpxxTFecmTcwGaq0Rv ibwq6UgOYkmk0/lhrEL7BE4e4O/Pb2Z7fdvGEz+6uzrSAT62oX7L3qneuU6XLw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1607016320; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3ENOrf4pJnjaltkMdfBqRyQRe5scB86a028pmLJHifg=; b=KknVXHRE9Z4fsxr2lz2yv7TEvoiaJU7P+ePFf15RwP7wsv4131lBmCBM/w19CP8TM9Eewe WPWgyqbRO1GIA2BQ== From: "tip-bot2 for Mike Travis" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/urgent] x86/platform/uv: Fix UV4 hub revision adjustment Cc: Mike Travis , Borislav Petkov , Steve Wahl , Dimitri Sivanich , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20201203152252.371199-1-mike.travis@hpe.com> References: <20201203152252.371199-1-mike.travis@hpe.com> MIME-Version: 1.0 Message-ID: <160701631938.3364.11621785550869389030.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 8dcc0e19dfbd73ad6b3172924d6da8f7f3f8b3b0 Gitweb: https://git.kernel.org/tip/8dcc0e19dfbd73ad6b3172924d6da8f7f3f8b3b0 Author: Mike Travis AuthorDate: Thu, 03 Dec 2020 09:22:52 -06:00 Committer: Borislav Petkov CommitterDate: Thu, 03 Dec 2020 18:09:18 +01:00 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: 647128f1536e ("x86/platform/uv: Update UV MMRs for UV5") Signed-off-by: Mike Travis Signed-off-by: Borislav Petkov Reviewed-by: Steve Wahl Acked-by: Dimitri Sivanich Link: https://lkml.kernel.org/r/20201203152252.371199-1-mike.travis@hpe.com --- arch/x86/kernel/apic/x2apic_uv_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index 1b98f8c..235f5cd 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c @@ -161,7 +161,7 @@ static int __init early_set_hub_type(void) /* UV4/4A only have a revision difference */ case UV4_HUB_PART_NUMBER: uv_min_hub_revision_id = node_id.s.revision - + UV4_HUB_REVISION_BASE; + + UV4_HUB_REVISION_BASE - 1; uv_hub_type_set(UV4); if (uv_min_hub_revision_id == UV4A_HUB_REVISION_BASE) uv_hub_type_set(UV4|UV4A);