From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EDD4C433DB for ; Mon, 8 Mar 2021 11:41:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1EA2A65009 for ; Mon, 8 Mar 2021 11:41:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231252AbhCHLlQ (ORCPT ); Mon, 8 Mar 2021 06:41:16 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:45398 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbhCHLlC (ORCPT ); Mon, 8 Mar 2021 06:41:02 -0500 Date: Mon, 08 Mar 2021 11:41:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1615203661; 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=7nwDCLHhhwHRnil5SA8c4cMC244WlNuluCG1JbTYoiM=; b=REydwh/rVh1lyHcanAd2ReZm9MuGmBepREAyDYm9I4FxF/2tvZ/uZoVrziF5aQ6xb4fWJM sdryUrLpQKT/7irxXJ6U1I3AH1HvZaW8mgDJCNzewZVTi0lS2xeKfTghrlMvY12LjIRCB7 CnvEq/oeLD7HtbAaD+gYeHbHSLwSG70zwibgqXRp6Os9bokxVxzFuviOmC6PtbOS7lnN4l Ghc9SUppKfvHvKS/AndDTtUSrDk/B5AlEqGxwNUgbhphQXxCwwsCs1Z8fffthREGjJ7dCN cFffZJYCnK7XVqTZKfKisgUB1cR/0Q3bzZRwxZZkDFZmAWwnSLI5Ie8vKkLaVA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1615203661; 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=7nwDCLHhhwHRnil5SA8c4cMC244WlNuluCG1JbTYoiM=; b=y1ITC2/0h6klA7WBXfSyPV5blLeJi1cqhL0KLPL3dmhuf9w/TQDGY6DPBlkWQJF8lb9mch MKIERXjmGvRlRyDw== 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/platform] x86/platform/uv: Set section block size for hubless architectures Cc: Mike Travis , Borislav Petkov , Steve Wahl , Russ Anderson , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210305162853.299892-1-mike.travis@hpe.com> References: <20210305162853.299892-1-mike.travis@hpe.com> MIME-Version: 1.0 Message-ID: <161520366063.398.17015803098326869178.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/platform branch of tip: Commit-ID: 6840a150b9daf35e4d21ab9780d0a03b4ed74a5b Gitweb: https://git.kernel.org/tip/6840a150b9daf35e4d21ab9780d0a03b4ed74a5b Author: Mike Travis AuthorDate: Fri, 05 Mar 2021 10:28:53 -06:00 Committer: Borislav Petkov CommitterDate: Mon, 08 Mar 2021 12:17:53 +01:00 x86/platform/uv: Set section block size for hubless architectures Commit bbbd2b51a2aa ("x86/platform/UV: Use new set memory block size function") added a call to set the block size value that is needed by the kernel to set the boundaries in the section list. This was done for UV Hubbed systems but missed in the UV Hubless setup. Fix that mistake by adding that same set call for hubless systems, which support the same NVRAMs and Intel BIOS, thus the same problem occurs. [ bp: Massage commit message. ] Fixes: bbbd2b51a2aa ("x86/platform/UV: Use new set memory block size function") Signed-off-by: Mike Travis Signed-off-by: Borislav Petkov Reviewed-by: Steve Wahl Reviewed-by: Russ Anderson Link: https://lkml.kernel.org/r/20210305162853.299892-1-mike.travis@hpe.com --- arch/x86/kernel/apic/x2apic_uv_x.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index 52bc217..c9ddd23 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c @@ -1671,6 +1671,9 @@ static __init int uv_system_init_hubless(void) if (rc < 0) return rc; + /* Set section block size for current node memory */ + set_block_size(); + /* Create user access node */ if (rc >= 0) uv_setup_proc_files(1);