Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2157366pxb; Fri, 5 Mar 2021 08:30:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7OMpuzwVVspvkqzcfJt/vbsIBGFQMxFqnEbgBLCAzKRW9oUqpZlupXE3PIQfTvijAWPyX X-Received: by 2002:aa7:c398:: with SMTP id k24mr9690771edq.61.1614961850851; Fri, 05 Mar 2021 08:30:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614961850; cv=none; d=google.com; s=arc-20160816; b=SSl2VZyecy1Z82p3RecYtrbdj9hUklSTAK1Tus4l8XJ1lWGClxlajsvtNYrJ7UPOlY fbZnU4ugTdhfzAj8PuefRItYln34alEePhYoWmP25JtbBvnx4lYG2+rDJL9c3mJHeZlZ cqWfqbHTDTNhn7waliVvMBAQwMc5BK/vBGIsd1BNI6LJZMJti+1BmEkqYUVwrbA6lZu4 HO1/P1ziX6+y06pSzAZYrygelZBSHIXtM5soMMfDArYycQLAtfaUoMvKYgedREhZ9U/D Ejitj8yUrcQFudsZfxKUtHpH+KiRvvxeHwa3InLATc5IPChLDPBv19+41uDaCL/UyRxJ SUgA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=fJHyDTB2qPx+sZf6HGzCPJL+APYbN9P6V3Y1YSTgLkg=; b=PyBi2vurlv7KxGsQmNZkgVwYx7f+bwCJng1ZGDZeQPDF7sC+3/wT0hggykwnD2h+wJ sUp+CGC1kQM1YWoxdHywOqWxQAdy6pgKyN6qKHA2QIq7kEV4m+VNZKrw0jHktoI3A9XW BjHhuo1jOQk5lpw0fEU4+AmRDdpFK/2XkWczrkGEPWY/o9iIQH9CEzXJlp6zeTiIycXJ ADKVLGtazNYbChS1WwzpQ0PUcLG5Yn8GRteL0shy0jilkOtUoTDqV4cQu1jJfFDc7Rbn H1ludjLEOFO0jnZDpt0PAlN0+q5lzCzyD6fxqTor1DLNKGqcfgzUaqDN++nQzk/7/t1y 9xUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b="ChkZ/+Iy"; 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=hpe.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b26si1636922edx.214.2021.03.05.08.30.26; Fri, 05 Mar 2021 08:30:50 -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=@hpe.com header.s=pps0720 header.b="ChkZ/+Iy"; 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=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230387AbhCEQ30 (ORCPT + 99 others); Fri, 5 Mar 2021 11:29:26 -0500 Received: from mx0a-002e3701.pphosted.com ([148.163.147.86]:37986 "EHLO mx0a-002e3701.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230249AbhCEQ3Q (ORCPT ); Fri, 5 Mar 2021 11:29:16 -0500 Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 125GOAXi001599; Fri, 5 Mar 2021 16:29:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pps0720; bh=fJHyDTB2qPx+sZf6HGzCPJL+APYbN9P6V3Y1YSTgLkg=; b=ChkZ/+Iys3Az4ekP4HQ+/L3SjbR4IH8047LydBdT7q8DRaf760tIya+bdcF325aTPw8m +sl8rmm4GAyrPgyFACYvkKb8r+B9X3W+odos90PAUPgpNpoU8qOS0Ntv7pkJ1nVyorcj fR7ejuetWopl0XwVuwfR97mgtMjRAiD1O5UBrNd4Y/Dee9/FIJtoH3Aja2xs1DAV0M5k 5MIn6wmDlGnnRphJRjnJc3UV3OfXXbjzlij9Ar87yEHdj2uxEPDgBa5TinNDOVcZ26FB 8yeXnQOf6fDSpHDD5MDLnT6QoeEbYO/GVamDZsUvNC93H/5jpTePjMAi1JitarIb1Gn3 dA== Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0a-002e3701.pphosted.com with ESMTP id 373feec5ge-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Mar 2021 16:29:04 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 2A2EB83; Fri, 5 Mar 2021 16:29:03 +0000 (UTC) Received: from dog.eag.rdlabs.hpecorp.net (dog.eag.rdlabs.hpecorp.net [128.162.243.181]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 5E05237; Fri, 5 Mar 2021 16:29:02 +0000 (UTC) From: Mike Travis To: Borislav Petkov , Ingo Molnar , Thomas Gleixner , Steve Wahl , x86@kernel.org, linux-kernel@vger.kernel.org Cc: Mike Travis , Russ Anderson , Dimitri Sivanich , Russ Anderson , "H. Peter Anvin" Subject: [PATCH v2] x86/platform/uv: Add set of kernel block size for hubless arches Date: Fri, 5 Mar 2021 10:28:53 -0600 Message-Id: <20210305162853.299892-1-mike.travis@hpe.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-03-05_10:2021-03-03,2021-03-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 mlxlogscore=999 clxscore=1015 spamscore=0 lowpriorityscore=0 phishscore=0 suspectscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103050082 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit below 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. Fixes: bbbd2b51a2aa ("x86/platform/UV: Use new set memory block size function") Signed-off-by: Mike Travis Reviewed-by: Steve Wahl Reviewed-by: Russ Anderson --- v2: Change patch description to match requirements. --- 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.21.0