Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2103237lqa; Tue, 30 Apr 2024 08:14:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW39sZwdWpmn5+hvJIIEp92XCoaRLvlTzJ9V6ZUc3HaaQ9IptzgEavs82UY7jvhpZXFiKEYaQHudXwm0qbGxEB/qlQb5JC5UY9AXyxvsQ== X-Google-Smtp-Source: AGHT+IFk/wHMEzSBdiCKLcbAMqUvdZhcCweHspgW6x45xMuaiG8HaSnd/HKhVK3B8vvEfRhCrm6A X-Received: by 2002:a17:90b:4a85:b0:2ae:d03b:9594 with SMTP id lp5-20020a17090b4a8500b002aed03b9594mr9129423pjb.39.1714490071107; Tue, 30 Apr 2024 08:14:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714490071; cv=pass; d=google.com; s=arc-20160816; b=jdfMkxjBQ++M89ERLp434KhYAbpE7ANvGSvf6YlM6rorkVClba3Tlpiw70rmO1nNvO UMXW1Exqyxr03H2W/qLuiYyRvyY0iEzQ/hFZfmk+30LHqtKvZV5FXOgg76MvrUjsr2qO S4jMO8meqNqmFIkZZolKK5jsC7qy9N5I7mtruR+X5kOA0/9DPEdhrAcGRUIZ91hABd5B SZhhUWjLiUpofKi/JeT62EfmJ3IDzH48QWKqiZBsXvjAZcAgn6b0igUFbjhyd5jfcrfG Y6bQYSgqzyVm8WHBDlTneBmH4ZsC23Zn71FuCnrDSQmjAirEImiDuqlmpQylPzpf65j8 5MmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=TeSOhEAUwtrIrxj0sDUDX2+MMsKpnrDQeCTxx+TSMa0=; fh=0IaDSwdgIWfCbLs1+adCRhh/ZnNPBWK3GxjSUVnWeJ8=; b=nCZCDF7DXsdQwVd5mIg891KFrPXkIs+1A4BW0EVnzqHTXRNSEpdXuhexMvwOmBeZZE YRgG5CNzC3wU4Oq86EcYE/udFtk7/K9jeoteIAsW5thDceY1K7rUHe3qkoF5daFDpf7r wuEh/766d3uJcSCitiUlCjG6L+tsfkou92FowEpqQK27TzQjor8p8GhEM/FwFviDnLvI i69cvUJjyhzwwv6WKXkKcLSJxyKDBHDM9v5LVYZE9V4H9g/wij31T1268d2SbcbYGGnI xW0gyS4A0jKwjV4DE6YHm40r2G0f9ZkjICI7k4ogUl/zswsQExZggCUpqSMTmO/odUnU dYfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-164239-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fy20-20020a17090b021400b002b2848f7a16si1629135pjb.11.2024.04.30.08.14.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 08:14:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164239-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-164239-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A8174281F82 for ; Tue, 30 Apr 2024 15:14:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CE80C143732; Tue, 30 Apr 2024 15:14:21 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 E5A2813D275; Tue, 30 Apr 2024 15:14:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490061; cv=none; b=h+2favszlnMob4cFTexopQ8NxRUyiy6Ph1FsJ5wMR225AumICE+6SbvjSzCAEHG5on5i+fB8SXPnYVnqvga9rB7JtgYMBpDy5CDJwQ4v93nDQl49R1Q1sGiefVLhGrWNXGUuu4uMRBgP8b7OaukJVVpUF+bi6yWUZv7nqeXt9r4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490061; c=relaxed/simple; bh=mUx66NGo+sPvkc+tvVGPZI9oRT3hr/+yib3narTd4GA=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oOcwDBX81kXyQ/vXg5GqAaHW5qhA9gDhbAkNjUfhZ7h8lEb1onx/b9+GaNeX5R/Ujy7oKh4PUrNqNDE4Q/umWZkma/N6LMRheMTGrYrmSESYb6nEQ47YCby7mvtoTlhl8xFdochCTqtciZ4qnI3mBfJhSFqfmzt+joKkIxcNBh0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4VTNvZ4rFvz6GD6F; Tue, 30 Apr 2024 23:11:38 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 05231140A30; Tue, 30 Apr 2024 23:14:16 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 30 Apr 2024 16:14:15 +0100 Date: Tue, 30 Apr 2024 16:14:14 +0100 From: Jonathan Cameron To: Robert Richter CC: "Rafael J. Wysocki" , Dave Hansen , Andy Lutomirski , "Peter Zijlstra" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , , Dan Williams , Alison Schofield , , , , "H. Peter Anvin" , Len Brown Subject: Re: [PATCH v6 5/7] ACPI/NUMA: Return memblk modification state from numa_fill_memblks() Message-ID: <20240430161414.00003334@Huawei.com> In-Reply-To: <20240430092200.2335887-6-rrichter@amd.com> References: <20240430092200.2335887-1-rrichter@amd.com> <20240430092200.2335887-6-rrichter@amd.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) 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-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100003.china.huawei.com (7.191.160.210) To lhrpeml500005.china.huawei.com (7.191.163.240) On Tue, 30 Apr 2024 11:21:58 +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. > > Link: https://lore.kernel.org/all/ZiqnbD0CB9WUL1zu@aschofie-mobl2/T/#u > Cc: Alison Schofield > Signed-off-by: Robert Richter Seems correct to me. Reviewed-by: Jonathan Cameron