Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2127933lqa; Tue, 30 Apr 2024 08:49:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVcz32ZCyfRfW7VsxJ2nBPR9hCqUKYBxa9s1B7+90wwjMBZAweP51FyBJ3vWDw0vfjKRQ6WlMDFok7ZyaCm60gdSFnRIVcy7uwdTP8TUw== X-Google-Smtp-Source: AGHT+IEhCjjdom1+Swx96xzVMG5I8WJAzsjxCncHODvz9885Hq+1SEeX3hFElCYAM8DifB57ogbG X-Received: by 2002:a50:d7d6:0:b0:570:1ddc:5e4f with SMTP id m22-20020a50d7d6000000b005701ddc5e4fmr182373edj.8.1714492161637; Tue, 30 Apr 2024 08:49:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714492161; cv=pass; d=google.com; s=arc-20160816; b=nQJNzgutk93VZ/wMuHOIW9ImAOd3uACtpJr4VcKiOwaGjzYt6KecyelQNG3neuNRfT 5qt3CqBGPuc6Uadrt/mZe37uw72SlNWx7S2qmKiPsZ9Fx3/GBzXYsyF069l6hz8IIGkF aAHrHz2sz0AQt+JzwY7om8Nu+Z4iDtVmv26ocZ54WNQJBnyv1NzIck/NKC4m14GYB92Q cqaVV51GF71Eh1sA5/3opveFoXfMZGsWwgdjdIOKYtNMPZ2QeusO8Lz9JBObL6Yo7tYp 6HD9U5uZi54uLwqAWzol/j+3AzgrLRuFKF3wj3wWhSiuNhCAeK4CCS8wfxc6vKO9zAG8 kBWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DsSOTH0bAfdnPArUE45KHJJKyF/FM9HnQ7I8GjPquv8=; fh=c6TSZZl33ZgExW25F8IM6esD3+DQBolzSD7a1Z3xHbI=; b=Jtzubqq13zsHZxCtEQwzqWQxtgcWT//LBGm2qKLABqZlqQrvPdrOhsA/6d9WGdXvcz JAw1nUd7pzG6s/WhHbUNEdceUje356Goi50n2fEp2rIe6LB3I1EBwD/My3YuhQiDwvHJ IEYqRyhUMJHZIxUqIeDfacHg7sAYGE1kETKcbkxBPomUZmFbd4ZNE19GhZ98U2n7kY34 iFsMA6mtegqMwlZqjYLUdYngwQrE7bcViUhEyzfKsMmGOJys6jVzv1VcyP2V9aO6TCLv C/TlG+ZqtIbHa6DB9P89SQbmbwXhHmpi9fHttJPtp/eX7vCzWTwkHRL0mtmuDsgvWnEZ ZwcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Mpl/akSL"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-164304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t12-20020a50ab4c000000b0056e5bf5b980si7065317edc.538.2024.04.30.08.49.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 08:49:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Mpl/akSL"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-164304-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5D5C71F217FF for ; Tue, 30 Apr 2024 15:49:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7475175561; Tue, 30 Apr 2024 15:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Mpl/akSL" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33005171E68; Tue, 30 Apr 2024 15:49:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714492147; cv=none; b=Luv/IzpjqFViDLWBErcMTK1lB9/oBRXpcZTklr1qGw7dF/MZnvuFd9i2Dc5+zNXr7uZbW2CMhsYN42Iu0jbxoog3ysmyw9mMKRg3I+zIOEngLpHC3ktX9ZkamsGjKbWDWQ/rst03JmBWLwiQJWFkzsKijpp1z8cOvCpj/iWQ6tw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714492147; c=relaxed/simple; bh=n5du6BmH1eDhxeN3CgYrS0Up0ITWwxkbEDux8vu9RSU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iAEcEBELrc3XIozRInljMFKfqv/4+VNrZsSpDJccNEZ72glF7NXyNtw/77A9V4UXf3k2cLAOGtV53tt3K07i5ef1FxlML3aP9jOxtoDNUbBnnbprFuEh632IJxx4C6HfiB1g1mseOD8K54Nd/Bi55+z6fk8248avVOTEtZkSUVI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Mpl/akSL; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714492146; x=1746028146; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=n5du6BmH1eDhxeN3CgYrS0Up0ITWwxkbEDux8vu9RSU=; b=Mpl/akSLR4FsuTffsVNQc0evC0DpxKb5DWnmfoZgsCX00eUy5NtfxfW8 /zkK50X9RZu8Uiz7vcj+03wwHUgdFofeVVVLCx/447IL6NtZL/5qRq0Od GRm9HLMkxbiKtOoTgmPm/TvBmtymFhDfQ6xvjUvvZolApB5lqaKPwliUC U+sI8o4h25Wzjr4XpkNZAIFqFJPIhY/SN36POHD9imikOsj/VNC0TQ6dY b5ucnmf/NUsSG0Mss2EBANGTMMG4jg9+LQZXBdmQYmXvVSCZUObreK9UF WjXsU3FoaZ0vhKSsym/bKmTS7JOoJHdWMyc0yGlgxOLEQggRQdaqWyXey g==; X-CSE-ConnectionGUID: aFx9boHeQD23odF0Yu/1rw== X-CSE-MsgGUID: BIw1Mp1nS+uypYgAnztc3A== X-IronPort-AV: E=McAfee;i="6600,9927,11060"; a="10136348" X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="10136348" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 08:49:06 -0700 X-CSE-ConnectionGUID: +dkN6csMReS40ygK6hCZZQ== X-CSE-MsgGUID: 0HHI0/4VRMCfje7CxOIIQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="26586173" Received: from aschofie-mobl2.amr.corp.intel.com (HELO aschofie-mobl2) ([10.251.17.48]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 08:49:05 -0700 Date: Tue, 30 Apr 2024 08:49:03 -0700 From: Alison Schofield To: Robert Richter Cc: "Rafael J. Wysocki" , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Dan Williams , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org, "H. Peter Anvin" , Len Brown Subject: Re: [PATCH v6 5/7] ACPI/NUMA: Return memblk modification state from numa_fill_memblks() Message-ID: References: <20240430092200.2335887-1-rrichter@amd.com> <20240430092200.2335887-6-rrichter@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240430092200.2335887-6-rrichter@amd.com> On Tue, Apr 30, 2024 at 11:21:58AM +0200, Robert Richter wrote: > When registering a memory range a possibly overlapping memory block > will be extended instead of creating a new one. If both ranges exactly > overlap, the blocks remain unchanged and are just reused. The > information if a memblock was extended is useful for diagnostics. > > Change return code of numa_fill_memblks() to also report if memblocks > have been modified. Reviewed-by: Alison Schofield > > Link: https://lore.kernel.org/all/ZiqnbD0CB9WUL1zu@aschofie-mobl2/T/#u > Cc: Alison Schofield > Signed-off-by: Robert Richter > --- > arch/x86/mm/numa.c | 33 ++++++++++++++++++--------------- > drivers/acpi/numa/srat.c | 5 +++-- > 2 files changed, 21 insertions(+), 17 deletions(-) snip