Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6240511ybv; Wed, 12 Feb 2020 08:30:55 -0800 (PST) X-Google-Smtp-Source: APXvYqweiUysEkKX/ecLeXrnvhaz3bgmaDkIh9/H/W4il/HFm5/H/CDscACfINov/ZhfDjcexMWu X-Received: by 2002:a05:6808:8cd:: with SMTP id k13mr6855017oij.4.1581525054990; Wed, 12 Feb 2020 08:30:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581525054; cv=none; d=google.com; s=arc-20160816; b=VCQaQ/+rv1DQodF+P8a3UgJbawf89zqOUXQpKRcOEH/0snkrbVM8OR1MGKvdyv8UGS ymLfPM/MktLsDk/ghPgdTLaQ7Isr+IAbmKFgZO423+JMu71ORlvR0Q+3Nspmas3n3w4u wSikg/bQUdmuq82CCmYLWbrLHklAWollNbrq250PE9+RiiTJBugvMb3p+IPDKKIsWTWC Rz0yMCl5lZFPW5v4H+6Be0FN2PtMeOQRRV97x/iJpk1E/3rzuu1AE+1mpoYJDxAZdiLY KN0dfo1cNbyRpj6UDLnsGiWqVgbIxOpyX8ZuBvHGnCytt/zGVrvQkN4R/nERUzcBzVQy +UxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=647g8a8Lt3ytHPQLGC+Zkvcfptz2Smcfs4FoMFLjKRU=; b=kUu49d+vNWVGYfVciJXUA4btwQmXu5WWNuvL3Ue4QlHzgIh/aOCwlU3f7LYMdyPDvs mknm+0MC0v+2nbb4jROrswes4Hin1aUHvaGjS5lEWtUKOcDHTyF6wQWmgAuRj6xBv2P7 O+QGPt3HgTIJMrubGWzi40q+MVNBiV6rYWVMklwkh5H8kkqEcntzh7Em8JAv02gGzDjv gxWyCEP3PAS3u+lOHptaW8DJravIEa7hp+tEv+DiU9urYrrHzMaATaKvYns7hbC4u67V PYFELz8O32zZUE4MV8YjHorjBrukagCYMoD/h3pMIdZadb2qPQ7P3lF3CVNMj5fRiL0+ E+uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fJBoaSI0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si423508otp.124.2020.02.12.08.30.41; Wed, 12 Feb 2020 08:30:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fJBoaSI0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728226AbgBLQ3c (ORCPT + 99 others); Wed, 12 Feb 2020 11:29:32 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:37379 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727361AbgBLQ3b (ORCPT ); Wed, 12 Feb 2020 11:29:31 -0500 Received: by mail-ot1-f67.google.com with SMTP id d3so2516868otp.4 for ; Wed, 12 Feb 2020 08:29:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=647g8a8Lt3ytHPQLGC+Zkvcfptz2Smcfs4FoMFLjKRU=; b=fJBoaSI0tDyGiB+SX2LJTQPvgdQN85ITMAUE7AB+w3z3H6fCsgY2DX4U6x+xEkNyxy lgTCrIPKF0eXqy2YBT5fSM4l3H9+XIbZH8GEGfjuQKlPxZ5p8JXCZb8r+klFRI3t7Qf2 ESoCpMXzUxLU55bKVBpYYh7c6he8IBVIu0qiUgLNeL4CY0S8tVpLquHkAQoVUTHBg9wW TGgtF4DpVnYQQ3Aio3SGwS4QcMwq4T/md1bG2ZKFBe4iNy9b1iV7B3DfkGQo/4jg40KV vK9oUrVWlKpOfIVGuwXEggTZJvRsIrOQ0wjVoIFsMT6hK608eokjdjGoBbuDF1flSnGK tA1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=647g8a8Lt3ytHPQLGC+Zkvcfptz2Smcfs4FoMFLjKRU=; b=q7lU0h/BjhM/2DXxAx0uFUAu5YADdsRp6aWmSUNLArRJPmO0pVU6XKdSvuhTQOLCUL g0Zy/ozbQwrrhq5TNvAYF/pvO2diG/K9Xg2PUn6NLuX3L/Fcvl40moJF4+doafrM36cu S1pxuPos84G4n4WHi07mc+ktDCTcUQqWiiu70M2tSKrDJJZIrJGxzmF4iyiALC8kXB1m yRm0Es7HQHPF5e/fMlFVTqSAM7fdwPdIj4TOtNWANyG4jeIQFE1Gki0N2c2PzCR8KfKq 0uEoY2rSlvei6h7A6uzzpAZZidaFFDk9N0L/LjQ3yriBO1Tiw/pyqD2zKE0n/DLWNBQ+ 8nNw== X-Gm-Message-State: APjAAAX5vvAu89rCVnzf38wimvG6ugkuJuv4xszFXfrI+YdUy9VgGtL6 TdhQdwvBavbzo1/N4RdeuDVMHnnmd0NjM9wGpMAqGg== X-Received: by 2002:a9d:7852:: with SMTP id c18mr9463684otm.247.1581524971031; Wed, 12 Feb 2020 08:29:31 -0800 (PST) MIME-Version: 1.0 References: <20190805142706.22520-1-keith.busch@intel.com> <20190805142706.22520-4-keith.busch@intel.com> <1922204.kTHyOg1r71@kreacher> In-Reply-To: <1922204.kTHyOg1r71@kreacher> From: Dan Williams Date: Wed, 12 Feb 2020 08:29:20 -0800 Message-ID: Subject: Re: [PATCH 3/3] acpi/hmat: Skip publishing target info for nodes with no online memory To: "Rafael J. Wysocki" Cc: Linux Kernel Mailing List , ACPI Devel Maling List , Dave Hansen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 26, 2019 at 2:05 AM Rafael J. Wysocki wrote: > > On Monday, August 12, 2019 10:59:58 AM CEST Rafael J. Wysocki wrote: > > On Mon, Aug 5, 2019 at 4:30 PM Keith Busch wrote: > > > > > > From: Dan Williams > > > > > > There are multiple scenarios where the HMAT may contain information > > > about proximity domains that are not currently online. Rather than fail > > > to report any HMAT data just elide those offline domains. > > > > > > If and when those domains are later onlined they can be added to the > > > HMEM reporting at that point. > > > > > > This was found while testing EFI_MEMORY_SP support which reserves > > > "specific purpose" memory from the general allocation pool. If that > > > reservation results in an empty numa-node then the node is not marked > > > online leading a spurious: > > > > > > "acpi/hmat: Ignoring HMAT: Invalid table" > > > > > > ...result for HMAT parsing. > > > > > > Reviewed-by: Dave Hansen > > > Reviewed-by: Keith Busch > > > Acked-by: Rafael J. Wysocki > > > Signed-off-by: Dan Williams > > > > When you send somebody else's patches, you should sign them off as a > > rule, but since you sent this one with your own R-by, I converted that > > to a S-o-b. > > > > And all patches in the series have been applied. I want to flag this patch (commit 5c7ed4385424 "HMAT: Skip publishing target info for nodes with no online memory") for -stable to cleanup a spurious WARN_ON: WARNING: CPU: 7 PID: 1 at drivers/base/node.c:191 node_set_perf_attrs+0x90/0xa0 CPU: 7 PID: 1 Comm: swapper/0 Not tainted 5.3.6-100.fc29.x86_64 #1 RIP: 0010:node_set_perf_attrs+0x90/0xa0 Call Trace: ? do_early_param+0x8e/0x8e hmat_init+0x2ff/0x443 ? hmat_parse_subtable+0x55a/0x55a ? do_early_param+0x8e/0x8e do_one_initcall+0x46/0x1f4 Do you mind if I forward to stable@, or do you collect ACPI patches to send to stable@?