From patchwork Tue Sep 1 19:41:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linda Knippers X-Patchwork-Id: 52945 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 24AC42300F for ; Tue, 1 Sep 2015 19:42:07 +0000 (UTC) Received: by lamp12 with SMTP id p12sf4246322lam.2 for ; Tue, 01 Sep 2015 12:42:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:cc:subject:message-id :mime-version:content-type:content-disposition:user-agent:sender :precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=EfwEtexzXy7olJZ0fPeVVQvxKnkASADtfGjAzahKWkE=; b=MgAlBc3/vVnToCX4OHTiGuBVXXtw8ctbDuvW8t88Br9azh2sSBfL/NLUjdSjBNKiEs 3s4n7bFmZYbzwMRHYNw2naurnAGXEPhriHSd8i4OviRrSxa6ABLlZreU0ghHtALQNFn0 KpBPYr9TLXl8t/r5YO631s0YtgT61zMjIJ/7jIaltuDrCPfqMI8P/BVQ+h6uG4MFVQ3E PwBAfFkMyUFYXlB1tPaKlYnrtgn47FjJmd0HpK6nJKvFtyAX6U+NpRvEfPgOSDHAwO3f xOeIQppv4JCVKW1RYXjAwtttE/kSC6Tp4jl+/XJpBWl/1K4ew9nWgcqhqYmNk5+U2Ngx SCwA== X-Gm-Message-State: ALoCoQmDOFZbvZ7gP+N0m6LpLEwcQSV6CdQWhiu331OwoedXV4RUXtE9q7uO24u8r5jJv/Y35fuL X-Received: by 10.194.184.6 with SMTP id eq6mr8105653wjc.4.1441136525939; Tue, 01 Sep 2015 12:42:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.100 with SMTP id s4ls638809lag.83.gmail; Tue, 01 Sep 2015 12:42:05 -0700 (PDT) X-Received: by 10.112.146.106 with SMTP id tb10mr14088765lbb.22.1441136525594; Tue, 01 Sep 2015 12:42:05 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id aj7si17389294lbc.11.2015.09.01.12.42.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Sep 2015 12:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lanb10 with SMTP id b10so7139947lan.3 for ; Tue, 01 Sep 2015 12:42:05 -0700 (PDT) X-Received: by 10.152.18.194 with SMTP id y2mr4686973lad.88.1441136525262; Tue, 01 Sep 2015 12:42:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.164.42 with SMTP id yn10csp76738lbb; Tue, 1 Sep 2015 12:42:04 -0700 (PDT) X-Received: by 10.68.166.196 with SMTP id zi4mr49018497pbb.83.1441136524066; Tue, 01 Sep 2015 12:42:04 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qh6si31457310pdb.33.2015.09.01.12.42.02; Tue, 01 Sep 2015 12:42:04 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105AbbIATmB (ORCPT + 28 others); Tue, 1 Sep 2015 15:42:01 -0400 Received: from g4t3426.houston.hp.com ([15.201.208.54]:34281 "EHLO g4t3426.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751669AbbIATmA (ORCPT ); Tue, 1 Sep 2015 15:42:00 -0400 Received: from g4t3433.houston.hp.com (g4t3433.houston.hp.com [16.210.25.219]) by g4t3426.houston.hp.com (Postfix) with ESMTP id 731B415E; Tue, 1 Sep 2015 19:41:59 +0000 (UTC) Received: from ljkz400 (ospra1.fc.hp.com [16.79.38.118]) by g4t3433.houston.hp.com (Postfix) with ESMTP id 2683454; Tue, 1 Sep 2015 19:41:56 +0000 (UTC) Date: Tue, 1 Sep 2015 15:41:55 -0400 From: Linda Knippers To: linux-kernel@vger.kernel.org Cc: x86@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com Subject: [PATCH v2] arch/x86/mm/srat: Print non-volatile flag in SRAT Message-ID: <20150901194154.GA4939@ljkz400> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linda.knippers@hp.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , With the addition of NVDIMM support, a question came up as to whether NVDIMM ranges should be in the SRAT with this bit set. I think the consensus was no because the ranges are in the NFIT with proximity domain information there. ACPI is not clear on the meaning of this bit in the SRAT. If someone is setting it, we might want to ask them what they expect to happen with it. Right now this bit is only printed if all the ACPI debug information is turned on. Signed-off-by: Linda Knippers --- arch/x86/mm/srat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/mm/srat.c b/arch/x86/mm/srat.c index 66338a6..c2aea63 100644 --- a/arch/x86/mm/srat.c +++ b/arch/x86/mm/srat.c @@ -192,10 +192,11 @@ acpi_numa_memory_affinity_init(struct acpi_srat_mem_affinity *ma) node_set(node, numa_nodes_parsed); - pr_info("SRAT: Node %u PXM %u [mem %#010Lx-%#010Lx]%s\n", + pr_info("SRAT: Node %u PXM %u [mem %#010Lx-%#010Lx]%s%s\n", node, pxm, (unsigned long long) start, (unsigned long long) end - 1, - hotpluggable ? " hotplug" : ""); + hotpluggable ? " hotplug" : "", + ma->flags & ACPI_SRAT_MEM_NON_VOLATILE ? " non-volatile" : ""); /* Mark hotplug range in memblock. */ if (hotpluggable && memblock_mark_hotplug(start, ma->length))