Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6538719ybv; Wed, 12 Feb 2020 14:24:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzgzmkzc6zJ03L87LUayLSVeJ3RUveWnGFe3gsCV/uA0VJePGbMvMBLTNVy5h68UcyVkDFM X-Received: by 2002:aca:2416:: with SMTP id n22mr845984oic.169.1581546244538; Wed, 12 Feb 2020 14:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581546244; cv=none; d=google.com; s=arc-20160816; b=scugFNuvmrjaKpBcpjtL39S1NysZBiCbUOkLVm3LCgOiVASNrah8unb7exzXThEw1u FpdUsO2WeZpopRPGfNG0MW4DaF/B32UHlQFgf+V6tBeChZK0M+MMBYD82dX7TVaMwsN8 xfJatY+kl6e+mFV14j+1+nlBJJyeKJOZCRYvbC2sjrNt3ZJjmkbBagiLZKrKpsDhdK5W /5IY9zbroQLitot2rtmc7ardmV9xrlR4xVBCeuLSCvvNloX+WrZT3yJik4VZ3LV6l62Y 5Wdoyp86z63QX7au2BS+2Wl83BDrtaor3v4l2sZT59kh+fK79lfGh82m4oDkVyUQgRGN b5xQ== 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; bh=fCkVC9NqRVI+yjNU/x8RfyABDYXvK7aIQSvHuq/V4LY=; b=BHP4KKjXKLTxXZekyReCiCZ+qbXeJ5QgWgR5/WkEv7VEBlcHInUI0pqat8ClOmetwf 21j1DrvsOAQ8tJutpLqgRUBLLFfz4fcjiUu8UG3XeO+8WOIlhMS++sGvuOhFSfufCEJl h7GkCTssdebZOtZ8czDm0sNdKpx4E3BwpJW2wQk+u1AmMxuzQRxUCo3qKo4cagWmT6rx c/SX/ckNhIgFWUYRonBxK5iZiBI+w/yTllUvMdwlI5rtT1O5GXXiESaSJD9EkyVVcY7H 52A0gpXVmVdYXLtpQzsmDFVbC2vpAovGjK6G1b5wDzgM18cHL5F1Q5oUYWPwGc1Iz8rs NP6A== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si205405oic.225.2020.02.12.14.23.52; Wed, 12 Feb 2020 14:24:04 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729140AbgBLWXm (ORCPT + 99 others); Wed, 12 Feb 2020 17:23:42 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:45581 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727564AbgBLWXm (ORCPT ); Wed, 12 Feb 2020 17:23:42 -0500 Received: by mail-ot1-f68.google.com with SMTP id 59so3569616otp.12; Wed, 12 Feb 2020 14:23:42 -0800 (PST) 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=fCkVC9NqRVI+yjNU/x8RfyABDYXvK7aIQSvHuq/V4LY=; b=LN9x4PDO+sbBYznxmJJpB//3PbHAMxr+Dp5f68RGgky0vQ9m+OnrSok2gkRLz8OYZP OcPZh4G/zHgHBOYk1Mf86x9y9w5ZgUjRYqsy8twmCZOMi/Jtn0ZWXPXfB7GcXzJd3+GX b3E8V51ecpAmwf6152/LMDkRMd1hgKXxNBSQQY9WpAaDKIdh2RqwChEPqENzhtGkcBzv yZoSa4mBK28ucbkIDR8CUIKWAStq6opTiDsuCgEfB0M6QQrRFBIoXTDiTi1kzAyaDi/T EAmGKIEs2/yye5o5RhC63z8N1hmBd+MmHRhatkX3AXSVkL2LfwRNy63730vSQKZsTz2d Xgug== X-Gm-Message-State: APjAAAU3/cuf2rmayPiLu4fLNJCwltLLnieshHv3IBUVzjmjZFrPtgye yOmpUCf8lHSjkGk50CXUOBIw2YXeusO9eXhe+3+SGQ== X-Received: by 2002:a05:6830:4b9:: with SMTP id l25mr11303250otd.266.1581546221551; Wed, 12 Feb 2020 14:23:41 -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: From: "Rafael J. Wysocki" Date: Wed, 12 Feb 2020 23:23:28 +0100 Message-ID: Subject: Re: [PATCH 3/3] acpi/hmat: Skip publishing target info for nodes with no online memory To: Dan Williams Cc: "Rafael J. Wysocki" , 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 Wed, Feb 12, 2020 at 5:29 PM Dan Williams wrote: > > 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@? Please forward it, thanks!