From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2FC8C433EF for ; Mon, 4 Oct 2021 18:13:46 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 1CE1B61247 for ; Mon, 4 Oct 2021 18:13:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1CE1B61247 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 65A3E4B2A1; Mon, 4 Oct 2021 14:13:45 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mu4bKtmuDZrN; Mon, 4 Oct 2021 14:13:44 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 822C64B2A5; Mon, 4 Oct 2021 14:13:44 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id CEAAD4B252 for ; Mon, 4 Oct 2021 14:13:42 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 106aZNYUjWeo for ; Mon, 4 Oct 2021 14:13:40 -0400 (EDT) Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id C61B24B29E for ; Mon, 4 Oct 2021 14:13:40 -0400 (EDT) Received: by mail-oi1-f171.google.com with SMTP id v10so22725336oic.12 for ; Mon, 04 Oct 2021 11:13:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7MmG9UNeaN9rX2Xe0UpnHbblcz68hViXX139qRa5xqs=; b=VPDZPLLIapdnctCEZWricxqBLfeIFjWBm+lukVyu4+t5tDlYDY61Dmp05cAef0glhQ IvLTnF8QwsNV2DnAhmxTpuUrFfcOMfVOafaOhCj4eciMR062IMUzGYAT7opWjmSeCWvn nDi2aQn+brzNOaaurtbqz2zunwlge6bC6LZq+GOGa0S/Hnt8gK/Xu8NvSpRVkSakfqYr wSjwU7j3AZih15ox56TNOcI1k/FgR36BkcaEFrRqPLFtOmHfUXYytu5+LK7SiEFy4zkq Li9GY02q4R3htSZv0IxQbJy7CpL4BUwhaDHnyxI6Wrcn9D5GvGzSSeG0SNri+H5u3bll STUg== X-Gm-Message-State: AOAM530Tbuiza3g1ALoG7F2YnSU3MwrE9G/48CPYsfoLLEyz2/w+pAv0 NNImnTu5m+jFua3TQN4zJg== X-Google-Smtp-Source: ABdhPJx0ioUdg1qmUioj/6ORoTI6fqApCcPadwhZIZ/aH8TQKsWdiLD5MArO3D+E2krV4WhpTIUqEA== X-Received: by 2002:aca:1b09:: with SMTP id b9mr14672812oib.55.1633371220108; Mon, 04 Oct 2021 11:13:40 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id d7sm2973690ooa.36.2021.10.04.11.13.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 11:13:39 -0700 (PDT) Received: (nullmailer pid 1588507 invoked by uid 1000); Mon, 04 Oct 2021 18:13:38 -0000 Date: Mon, 4 Oct 2021 13:13:38 -0500 From: Rob Herring To: Gavin Shan Subject: Re: [PATCH v2 1/2] Documentation, dt, numa: Add note to empty NUMA node Message-ID: References: <20210927064119.127285-1-gshan@redhat.com> <20210927064119.127285-2-gshan@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210927064119.127285-2-gshan@redhat.com> Cc: devicetree@vger.kernel.org, linux-efi@vger.kernel.org, maz@kernel.org, rdunlap@infradead.org, linux-kernel@vger.kernel.org, shan.gavin@gmail.com, catalin.marinas@arm.com, will@kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Mon, 27 Sep 2021 14:41:18 +0800, Gavin Shan wrote: > The empty memory nodes, where no memory resides in, are allowed. > The NUMA node IDs are still valid and parsed, but memory may be > added to them through hotplug afterwards. Currently, QEMU fails > to boot when multiple empty memory nodes are specified. It's > caused by device-tree population failure and duplicated memory > node names. > > The device-tree specification doesn't provide how empty NUMA > nodes are handled. Besides, I finds difficulty to get where > this case is documented. So lets add a section for empty memory > nodes to cover it in NUMA binding document. > > Signed-off-by: Gavin Shan > --- > Documentation/devicetree/bindings/numa.txt | 46 +++++++++++++++++++++- > 1 file changed, 45 insertions(+), 1 deletion(-) > Applied, thanks! _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E610C433F5 for ; Mon, 4 Oct 2021 18:13:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F1C6361350 for ; Mon, 4 Oct 2021 18:13:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233558AbhJDSPa (ORCPT ); Mon, 4 Oct 2021 14:15:30 -0400 Received: from mail-oi1-f171.google.com ([209.85.167.171]:42951 "EHLO mail-oi1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233226AbhJDSP3 (ORCPT ); Mon, 4 Oct 2021 14:15:29 -0400 Received: by mail-oi1-f171.google.com with SMTP id x124so22729592oix.9; Mon, 04 Oct 2021 11:13:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7MmG9UNeaN9rX2Xe0UpnHbblcz68hViXX139qRa5xqs=; b=CYMDUgQVW7UT0G1bG4WG1rXhKfJBnAgcadn8Vu1u+BcLNU7lrvQmKBdOACNByaPjNG P8gDlGn+lGyXIR/fQgTVxQfQQ/J8ED6L23xq9uVlshYBP9aVKygbxKEw+gx0Pbzm21Sw NuxiW1cfYFUejxt719WxOpSiDUXdpXkb7cAiiPL+PWIZqAVseYHWqx8/zW/Fz6A31iig +dcKv4CJArG/gHwSSJb55UtxRqlVdr/5jV5iLuyKypvJglKutnChHl+N38Ps76gXu5ET piItricQ+XmtiXzk5Zkn61kNQdu/jrlr1J/aBC4sVGeXE4aA+H9SBbiOLy0rnOS3ygG3 KB/w== X-Gm-Message-State: AOAM533FpsN/+55MoDx+J6TACs5a9rBRreNxynWfYJzrFdnu6ut9X1JQ 3YHqC7pgDE/9Ab+fqt+O8g== X-Google-Smtp-Source: ABdhPJx0ioUdg1qmUioj/6ORoTI6fqApCcPadwhZIZ/aH8TQKsWdiLD5MArO3D+E2krV4WhpTIUqEA== X-Received: by 2002:aca:1b09:: with SMTP id b9mr14672812oib.55.1633371220108; Mon, 04 Oct 2021 11:13:40 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id d7sm2973690ooa.36.2021.10.04.11.13.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 11:13:39 -0700 (PDT) Received: (nullmailer pid 1588507 invoked by uid 1000); Mon, 04 Oct 2021 18:13:38 -0000 Date: Mon, 4 Oct 2021 13:13:38 -0500 From: Rob Herring To: Gavin Shan Cc: devicetree@vger.kernel.org, catalin.marinas@arm.com, shan.gavin@gmail.com, will@kernel.org, rdunlap@infradead.org, maz@kernel.org, linux-efi@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] Documentation, dt, numa: Add note to empty NUMA node Message-ID: References: <20210927064119.127285-1-gshan@redhat.com> <20210927064119.127285-2-gshan@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210927064119.127285-2-gshan@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org On Mon, 27 Sep 2021 14:41:18 +0800, Gavin Shan wrote: > The empty memory nodes, where no memory resides in, are allowed. > The NUMA node IDs are still valid and parsed, but memory may be > added to them through hotplug afterwards. Currently, QEMU fails > to boot when multiple empty memory nodes are specified. It's > caused by device-tree population failure and duplicated memory > node names. > > The device-tree specification doesn't provide how empty NUMA > nodes are handled. Besides, I finds difficulty to get where > this case is documented. So lets add a section for empty memory > nodes to cover it in NUMA binding document. > > Signed-off-by: Gavin Shan > --- > Documentation/devicetree/bindings/numa.txt | 46 +++++++++++++++++++++- > 1 file changed, 45 insertions(+), 1 deletion(-) > Applied, thanks! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D14BC433F5 for ; Mon, 4 Oct 2021 18:15:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F25E61247 for ; Mon, 4 Oct 2021 18:15:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1F25E61247 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KlCzZGqqjDFLO+3hHLaGxsT3dN/DJ5STOUI43IXTM7I=; b=FUcGgYdHHLYd0C tyN7V/9N0AGySai7DshzwBXCKJ7d5DsDYSRGuqBHRT2Q8QrOzBEobbZUkUsrnzW1kCaQxRath8D4J GswpgRw9v/6YphgWANBBnWRvZl6ihAoT5rLaGZgygrLIB6Q1E63Q8iGmAxucDX6r61IRXs/kc7S9K taah/eBr1c3HiNZndd0qbirVtXG6MJrNTBZyYqp5RZecU9Sh8L9uWK6zHwD5O4k6DNy+604N2amYo V++yPZwBj9UYVYn87LCqG4GlaC9CqwTYPlZLPOIMMzsm/q+4QR55TBZC9DGVBb93JLfMELh3QaW2P 1X8McfF0gHRkWxqPBhjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXST9-007czs-Pl; Mon, 04 Oct 2021 18:13:43 +0000 Received: from mail-oi1-f182.google.com ([209.85.167.182]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXST6-007cyb-O5 for linux-arm-kernel@lists.infradead.org; Mon, 04 Oct 2021 18:13:42 +0000 Received: by mail-oi1-f182.google.com with SMTP id w206so22779182oiw.4 for ; Mon, 04 Oct 2021 11:13:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7MmG9UNeaN9rX2Xe0UpnHbblcz68hViXX139qRa5xqs=; b=OOv49KLiDdt8Ov/hsYtCfXdTg3ISKFjDZifWs6jXLgQN4ohS2PzeWq9SyowFa0p4Cd O/mq0wuGGA5ffqrr5gptsIb2zY5mF5k9o+4+QKyBTUirZq75bounBxdqToM+mflVsbsv HHO/eYm2BEWaEEG6xrfUGkvXpt0cNh74hFqTnOB9FaX4xZNHXVfIAHsBd7jnH6HMfwsW pKFoiy2DqZWxzFhYyAVJZOaHMHxR1fzazyPg4XHaW2ZzOsrzHnPnloT7pgRqbpR3w6mL cemwTDXbCGJU/Sa3HmXOrQBDQ0BRL3VdsS4k/nHUN/hWpYZ8/hzIEOS6NxH26IaBHNIh PuAw== X-Gm-Message-State: AOAM532Dq2iK3Y8kAgpfDYq6Q1Lp/a5buW2pIRDgFxQNQHOe5LFWPBzm MAx4yE+UwvKgcSjxYuRElA== X-Google-Smtp-Source: ABdhPJx0ioUdg1qmUioj/6ORoTI6fqApCcPadwhZIZ/aH8TQKsWdiLD5MArO3D+E2krV4WhpTIUqEA== X-Received: by 2002:aca:1b09:: with SMTP id b9mr14672812oib.55.1633371220108; Mon, 04 Oct 2021 11:13:40 -0700 (PDT) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id d7sm2973690ooa.36.2021.10.04.11.13.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 11:13:39 -0700 (PDT) Received: (nullmailer pid 1588507 invoked by uid 1000); Mon, 04 Oct 2021 18:13:38 -0000 Date: Mon, 4 Oct 2021 13:13:38 -0500 From: Rob Herring To: Gavin Shan Cc: devicetree@vger.kernel.org, catalin.marinas@arm.com, shan.gavin@gmail.com, will@kernel.org, rdunlap@infradead.org, maz@kernel.org, linux-efi@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] Documentation, dt, numa: Add note to empty NUMA node Message-ID: References: <20210927064119.127285-1-gshan@redhat.com> <20210927064119.127285-2-gshan@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210927064119.127285-2-gshan@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211004_111340_819310_9A3DBF07 X-CRM114-Status: GOOD ( 13.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 27 Sep 2021 14:41:18 +0800, Gavin Shan wrote: > The empty memory nodes, where no memory resides in, are allowed. > The NUMA node IDs are still valid and parsed, but memory may be > added to them through hotplug afterwards. Currently, QEMU fails > to boot when multiple empty memory nodes are specified. It's > caused by device-tree population failure and duplicated memory > node names. > > The device-tree specification doesn't provide how empty NUMA > nodes are handled. Besides, I finds difficulty to get where > this case is documented. So lets add a section for empty memory > nodes to cover it in NUMA binding document. > > Signed-off-by: Gavin Shan > --- > Documentation/devicetree/bindings/numa.txt | 46 +++++++++++++++++++++- > 1 file changed, 45 insertions(+), 1 deletion(-) > Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel