[{"id":1761686,"web_url":"http://patchwork.ozlabs.org/comment/1761686/","msgid":"<3xkKpz5Mmcz9s7F@ozlabs.org>","date":"2017-09-01T13:29:47","subject":"Re: [1/4] powerpc/smp: Use cpu_to_chip_id() to find core siblings","submitter":{"id":69509,"url":"http://patchwork.ozlabs.org/api/people/69509/","name":"Michael Ellerman","email":"patch-notifications@ellerman.id.au"},"content":"On Thu, 2017-06-29 at 07:12:53 UTC, Oliver O'Halloran wrote:\n> When building the CPU scheduler topology the kernel uses the ibm,chipid\n> property from the devicetree to group logical CPUs. Currently the DT\n> search for this property is open-coded in smp.c and this functionality\n> is a duplication of what's in cpu_to_chip_id() already. This patch\n> removes the existing search in favor of that.\n> \n> It's worth mentioning that the semantics of the search are different\n> in cpu_to_chip_id(). When there is no ibm,chipid in the CPUs node it\n> will also search /cpus and / for the property, but this should not\n> effect the output topology.\n> \n> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>\n\nSeries applied to powerpc next, thanks.\n\nhttps://git.kernel.org/powerpc/c/e3d8b67e2c60dcd35661d34df249f2\n\ncheers","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkKwd2sZQz9t32\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  1 Sep 2017 23:34:41 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xkKwc6RdfzDqh4\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  1 Sep 2017 23:34:40 +1000 (AEST)","from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xkKpz6kWdzDqfx\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri,  1 Sep 2017 23:29:47 +1000 (AEST)","by ozlabs.org (Postfix, from userid 1034)\n\tid 3xkKpz5Mmcz9s7F; Fri,  1 Sep 2017 23:29:47 +1000 (AEST)"],"X-powerpc-patch-notification":"thanks","X-powerpc-patch-commit":"e3d8b67e2c60dcd35661d34df249f20d20463f0c","In-Reply-To":"<20170629071256.8159-2-oohall@gmail.com>","To":"Oliver O'Halloran <oohall@gmail.com>, linuxppc-dev@lists.ozlabs.org","From":"Michael Ellerman <patch-notifications@ellerman.id.au>","Subject":"Re: [1/4] powerpc/smp: Use cpu_to_chip_id() to find core siblings","Message-Id":"<3xkKpz5Mmcz9s7F@ozlabs.org>","Date":"Fri,  1 Sep 2017 23:29:47 +1000 (AEST)","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"mikey@neuling.org, Oliver O'Halloran <oohall@gmail.com>","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}}]