Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4706778pxj; Wed, 12 May 2021 11:20:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwugp9AgTx2MFM4CBiO7u2aFzAzA375hKGkI00egbuJei2dSjflbduzBkLMZoN2o0g7KgLR X-Received: by 2002:aa7:dc49:: with SMTP id g9mr1451625edu.160.1620843623984; Wed, 12 May 2021 11:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620843623; cv=none; d=google.com; s=arc-20160816; b=Is0y/tNpE2R//rge7Hab3Xt0TCfjb+AkojO6NuyBpX5AAHd4lm8p+OMG2IUwnTlYOT 3QZ+qAg00ADiKZumA/WzYux3FOYshJVJ6YpNio93ukFNFeQ04KPhdpc2K35GFLs5Us4N 2LEyaoiarTlVWQCRrT5cRiAjZBS+5X3UzU31cSViBBHw0F6vkMJ34tkFUPq3HhNb8uoG NYkLsWVAfjUh31Iu/z0arYlaSBHWHUD8az84te2ifcvKqz5NHZeRYuLe1xnCBW7vratU 0bxVNUivKvF/1sfJIg1p8A2LseByXdNzqk9gb4TpX0IHJKqxJj1E7fXuUbR2CeIddySW AqNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pWjjgMsGHXyOOcyzZyZDXIdgsBgI7q9pGtR4+6trmyQ=; b=o3ZajCXt8JAYQPXEQ+FfkWe9FsrfkqL8LEu00pkrtgokGDDyiGf6s8Kpki2D+qOqad 4ymmHo947JT8uo2RPXIUKS3ptt63Tt9EdmACsHURPnUWHYR4EomAVVmykjfvEqtMbeM5 vGRcNKDLRFbAXegkuwP1K6Xso3hm6L7FiLPhmpz7Fd97YMsh6/nky2mb/gJla/2i66A2 RuNBEjnCtD4RMOYQpG0lpEvLMmihWh9k+oaRKLTi5fqZj07s56qLSh8+pd88XseEufQd 98sayJqK2uCpkxYY6Q9HFozCifzyAvYnsNOjqjCGET4oPU3xGR0hPgra2fPjd60ejtI4 J5aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LCuFD7aK; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si351718eds.436.2021.05.12.11.20.00; Wed, 12 May 2021 11:20:23 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=LCuFD7aK; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354698AbhELSS0 (ORCPT + 99 others); Wed, 12 May 2021 14:18:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:46720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231283AbhELQ2C (ORCPT ); Wed, 12 May 2021 12:28:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7067D6187E; Wed, 12 May 2021 15:56:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620834972; bh=AfPs3V9N5lrToc/yNlhtmH+SLviDHvncSLuv9nnMneY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LCuFD7aKH1mTAC8y8uZMuV3jdTfGfZrKRnrkuwnp628zM+e+o5vq+Mb0nCVKa3FSV Na68zZBN1wwNEiYqH4eLbzhDGlhzcxco3htQnKpF6ubTI6Tlv1mvrAsRnsBE7bwZ48 +GtEwns9dmF3qhjA/3stdrWWa6ZGeaZLQIZhWCH4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mike Travis , Borislav Petkov , Steve Wahl , Russ Anderson , Sasha Levin Subject: [PATCH 5.12 158/677] x86/platform/uv: Set section block size for hubless architectures Date: Wed, 12 May 2021 16:43:24 +0200 Message-Id: <20210512144842.499738268@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144837.204217980@linuxfoundation.org> References: <20210512144837.204217980@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mike Travis [ Upstream commit 6840a150b9daf35e4d21ab9780d0a03b4ed74a5b ] 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 Signed-off-by: Sasha Levin --- 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 52bc217ca8c3..c9ddd233e32f 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); -- 2.30.2