From patchwork Tue Sep 1 16:21: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: 52938 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id 1BA0B2157D for ; Tue, 1 Sep 2015 16:22:16 +0000 (UTC) Received: by laeb10 with SMTP id b10sf2337681lae.1 for ; Tue, 01 Sep 2015 09:22:15 -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=kPISV5LiIdXjMLU+lZPCjS2LcweKO7p8uYB5bcobZIs=; b=eU4d9HHAzye3I7wPFbBfAmlczrFZPKn4S/4X1Bfo02vV0B3YHCK2Dzlwj/Dlx71n2n wTzN3IZrx/XW3mVbIjdzbNqJB4l7tz+4DEr+TABbNOWHWdvaxONx57cPPbPG9Vij51IR 5uMVK0JvtWZcNSetw9fc7fWuY1+EaLT1HMM/lTBX9YOU876sjeWzmssKF6c9o+yLasbj ZN/quqCNufh7DD7+xoWNgz2K7bowNPP7Zaua8nkhJNiV1cVpFiOBZHRGxHPdwu0NPm4v RGBuxJbG8vrXPSncl3NCDi0BlXeO6reOUsd3cS4nuCNyMYX3tiKTptFXkxIHR/WDQ9lg TNtg== X-Gm-Message-State: ALoCoQlFbJnrt6nag06GDmhGK/bmkUPbfwwF3m44eyTL5bZOt+M/hIL+tB5gsRQhqxmJ21XoC3zp X-Received: by 10.112.16.200 with SMTP id i8mr7899646lbd.20.1441124534997; Tue, 01 Sep 2015 09:22:14 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.101 with SMTP id z5ls591588laz.65.gmail; Tue, 01 Sep 2015 09:22:14 -0700 (PDT) X-Received: by 10.152.26.163 with SMTP id m3mr13752036lag.86.1441124534671; Tue, 01 Sep 2015 09:22:14 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id oa2si16816640lbb.128.2015.09.01.09.22.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Sep 2015 09:22:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lagj9 with SMTP id j9so681873lag.2 for ; Tue, 01 Sep 2015 09:22:14 -0700 (PDT) X-Received: by 10.112.146.135 with SMTP id tc7mr13828822lbb.35.1441124534543; Tue, 01 Sep 2015 09:22:14 -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 yn10csp648598lbb; Tue, 1 Sep 2015 09:22:13 -0700 (PDT) X-Received: by 10.66.142.132 with SMTP id rw4mr47829131pab.19.1441124533155; Tue, 01 Sep 2015 09:22:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ot2si14728435pbb.217.2015.09.01.09.22.12; Tue, 01 Sep 2015 09:22:13 -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 S1752886AbbIAQWF (ORCPT + 28 others); Tue, 1 Sep 2015 12:22:05 -0400 Received: from g2t1383g.austin.hp.com ([15.217.136.92]:40377 "EHLO g2t1383g.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752592AbbIAQWB (ORCPT ); Tue, 1 Sep 2015 12:22:01 -0400 Received: from g2t2352.austin.hp.com (g2t2352.austin.hp.com [15.217.128.51]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by g2t1383g.austin.hp.com (Postfix) with ESMTPS id F0BF53C59 for ; Tue, 1 Sep 2015 16:22:00 +0000 (UTC) Received: from g2t2360.austin.hp.com (g2t2360.austin.hp.com [16.197.8.247]) by g2t2352.austin.hp.com (Postfix) with ESMTP id E8878D6; Tue, 1 Sep 2015 16:21:59 +0000 (UTC) Received: from ljkz400 (ospra1.fc.hp.com [16.79.38.118]) by g2t2360.austin.hp.com (Postfix) with ESMTP id 39AE03A; Tue, 1 Sep 2015 16:21:56 +0000 (UTC) Date: Tue, 1 Sep 2015 12:21: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] arch/x86/mm/srat: Print non-volatile flag in SRAT Message-ID: <20150901162155.GB3418@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.49 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: , Nobody checks this flag but it would be interesting to know if it's being set on any platforms. 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))