Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4585612pxj; Wed, 12 May 2021 08:42:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzy/0nMTHvtxGA3+8DGAhbT7DwXiZFik1ZP/6h1hSkfnlzBCE1CQLd5gkIIvXMSwShrDa9F X-Received: by 2002:a4a:db42:: with SMTP id 2mr17373534oot.47.1620834174286; Wed, 12 May 2021 08:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834174; cv=none; d=google.com; s=arc-20160816; b=xfNsiSOUu78xoPtYomalKaX4JPsnJuVaKKDUMhZJBJ5jkjvu0v9QGl6xZuPNrfSvI5 4M70UeGnFHlD8wLZhq1NUjyWCnVdh80PabFpc89hzws4pJ/mQzOD6+YDfFVtdeCzByot j3RGKLvRjha9tH4cdGhvW7z5+AkYONvP4d4+xTL9zw9+afBvvWM+7bBATo2dB5FmWzsm pK08nruV91CjEBrCnH5T5ww66UszeZMwMBHdHFuiHi7DJjJiiGaBJRdsgsSgXRsp1d7n vLrPln9yoSD0oXIOXGE4dd7etTAvnaVwaIeKVUS0NL1wxEgLpsKhtLDgBtYsgpJ7ghlE 7GpQ== 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=g766nbmw3Zh3Ohll5WdBJIy6zZGop17rO9w+eRY8mgQ=; b=Tz2ezs46U4vrwTi4D8QNzrkwpejXGEU9mz+NB5ZSyBK4P4d63u117nNyPFCqZINKBd vFwNqlGx2bbPV37DmZgDcD/dZ/4D821Qu4V7QRq+8MxqSvOoXFaBBLP20ajQOYcmKZCY Zp2bawisoHhPWZAbZKIK8wQsuI3Q0wH5Tqh0fP0+Ha9I4bS/ZLYGKD203SWfz3R3dNNR SGLPv61JKoWc7ciCTWLgUke7nG5WicSSoy89Mgk2qYvXGZK5MqGwrJNgluJePxH1GWZh fXJFHSXhSHSLAcd5tH84m5R0oV2glMk6spQq5hBw0FNmrGmWD6XGdX2KLkzgWOM3Q8er R6qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1IDg0i5t; 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 e6si255876oti.120.2021.05.12.08.42.40; Wed, 12 May 2021 08:42:54 -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=1IDg0i5t; 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 S233542AbhELPm2 (ORCPT + 99 others); Wed, 12 May 2021 11:42:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:50812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233573AbhELPSb (ORCPT ); Wed, 12 May 2021 11:18:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1AC5A61434; Wed, 12 May 2021 15:07:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832064; bh=ERHstO4VURucCm/aMeQ0hymlhFLSb4PSENuyxNM/sdM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1IDg0i5tcjLyDiCCs7HzPWakHRhWEFuTAxl/eduQstdTKtjHYgfvW3BaMK6n5v1eC bnKAamIadoLguIrnNBx0oCNMmt6pvWIEsjoVAprfgcqPT1Hf4UKhJ8Eg8eQYhiJgBv 7GmmLF7EoJWMEPeNVXurjhNJNEJ76wAx4zEuVJvc= 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.10 127/530] x86/platform/uv: Set section block size for hubless architectures Date: Wed, 12 May 2021 16:43:57 +0200 Message-Id: <20210512144823.988251997@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@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 235f5cde06fc..40f466de8924 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c @@ -1652,6 +1652,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