Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1782807rwd; Thu, 18 May 2023 17:54:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6k6I8byCmURFnwuTI//JqWqY9bv0VHkRdKB74f8xM53V/8vi4/whrLiLQcmIa2Qol82Jf9 X-Received: by 2002:a17:902:7d8d:b0:1aa:d971:4623 with SMTP id a13-20020a1709027d8d00b001aad9714623mr898115plm.38.1684457645357; Thu, 18 May 2023 17:54:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684457645; cv=none; d=google.com; s=arc-20160816; b=nhMV5VWE3O1M4kG/WFBWjYmQEnTKmGy9/88SwU13SwlhobPRbuDgYDrPqenJB2d7N7 H5JjM71blTJkRXxZchzTLOZpuFfDjNSISiTiaMRTzixBnrl9hibU8zbpfSpbFfE53+dn /H97y85L2QuOJet5j2RyAKvaKOE7SYE+mpD0/eK9sW/zZCDrC9JXqY/hbpGwvy4ck9bx tNKw7atuyvnMtUMx7iSm8Dq/gnxCenrQVAsvbO1j/zAyJNqsOAbHBbIOq23yOw5xuSLA c5/K5lOzCS9Ps79jVRX/XMfANftamtlcf0RzSTLhGXuIooh9OSs3vT25+ube0aQIc4t7 INzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DU7fSGdA2sYtbWtWsZDCaDcLZwEKM5TMPKUHGtc8mNE=; b=y3MO2ybS3WSzQqXX0WwpCu618Q6Yd5QMqFMJTQbOHnRAkYWf0VWF87B6tKnvSmcpoX S7zs8L+UlEvvOmxw28r+sunVdA3YHYoYeUDwzvQRb5auY0RAh46lwZY+qYBSnKy1HJUn q+CvbRD02JqghpEoNlFyh2VQiZTJUfPTvlUINWNUaXIlg3mpVlvp1un3AlU8emeon3V8 7iURUgvZGJ6x2a1SiY5YA7xCmtLhyezQJFHLtcbNy45GrnkC/SMM32az3Gaq3mMsj/yB SqGJ6YLx5A85pOwLLRN2EC25pg67xPMZFqMm/CekLKe+tTgTyBEbDEif23fkfj1LoFow LqRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ELtDRQUH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020a17090311cf00b001a6709378c0si2725417plh.333.2023.05.18.17.53.52; Thu, 18 May 2023 17:54:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ELtDRQUH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230418AbjESA0Z (ORCPT + 99 others); Thu, 18 May 2023 20:26:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230430AbjESA0W (ORCPT ); Thu, 18 May 2023 20:26:22 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 785C2E0; Thu, 18 May 2023 17:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684455966; x=1715991966; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vmNO3nCpeED9i66p4eJ06n2xbLKfA9JoMG33j6lzFIg=; b=ELtDRQUHOdwmsyI4NPGmLdOtkzoN9/DMcbhqhWSb2T2JxlT9ab3OdghU spKQgbgrhtMkAxmrPPwV5xw7jGylHq5U5XoZ99ltpauEQANeXxCld8rHF t/dVgzG0UFUF4a8aNqKnmsLKXymjOhmzVtHtem4fANXu1eSnCDmN9Jios zprSy6cdA3NLpasiaEVea0VpFBuX91r7iHOsTA/Ar2x5Ux7+fVnW15Jhn +nobccGqaEpSPUPA4x9pCPWwmSq1IEpZirVPVcPdzn89QEZlnI2xe2MbK wEyBpXjIt324TxEwu/0xJJNJuzHeADetSFtLRQO+dCpKwbKlJUsBpt9LH A==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="355451069" X-IronPort-AV: E=Sophos;i="6.00,175,1681196400"; d="scan'208";a="355451069" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 17:26:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="705376838" X-IronPort-AV: E=Sophos;i="6.00,175,1681196400"; d="scan'208";a="705376838" Received: from aschofie-mobl2.amr.corp.intel.com (HELO aschofie-mobl2) ([10.251.20.44]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 17:26:04 -0700 Date: Thu, 18 May 2023 17:26:03 -0700 From: Alison Schofield To: Dave Hansen Cc: "Rafael J. Wysocki" , Len Brown , Dan Williams , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Andrew Morton , Jonathan Cameron , Dave Jiang , x86@kernel.org, linux-cxl@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] x86/numa: Introduce numa_fill_memblks() Message-ID: References: <8dc725c8-613a-b51b-6cc1-80d2275ca130@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8dc725c8-613a-b51b-6cc1-80d2275ca130@intel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 18, 2023 at 05:08:16PM -0700, Dave Hansen wrote: > On 5/18/23 17:04, alison.schofield@intel.com wrote: > > The initial use case is the ACPI driver that needs to extend > > SRAT defined proximity domains to an entire CXL CFMWS Window[1]. > > Dumb question time: Why didn't the SRAT just cover this sucker in the > first place? Are we fixing up a BIOS bug or is there a legitimate > reason that the SRAT didn't cover it up front? > > There is no requirement that the BIOS describe (in the SRAT) all the HPA assigned to a CFMWS Window. The HPA range may not actually map to any memory at boot time. It can be persistent capacity or may be there to enable hot-plug. IIUC BIOS can pick and choose and define volatile regions wherever it pleases. So, no we're not fixing up a BIOS bug, nor doing a BIOS sanity check.